Comment out bluepy libraries from requirements_all.txt (#20856)

* Comment bluepy libraries from requirements_all.txt, fixes #20778

* Comment bluepy libraries from requirements_all.txt, fixes #20778

* Comment bluepy libraries from requirements_all.txt, fixes #20778
This commit is contained in:
Daniel Høyer Iversen 2019-02-26 23:50:48 +01:00 committed by Paulus Schoutsen
parent 9cff1dd4ba
commit efa48848a5
4 changed files with 23 additions and 19 deletions

View File

@ -36,6 +36,7 @@ class SwitchBot(SwitchDevice):
def __init__(self, mac, name) -> None:
"""Initialize the Switchbot."""
# pylint: disable=import-error, no-member
import switchbot
self._state = False
self._name = name

View File

@ -42,6 +42,7 @@ class Switchmate(SwitchDevice):
def __init__(self, mac, name, flip_on_off) -> None:
"""Initialize the Switchmate."""
# pylint: disable=import-error, no-member, no-value-for-parameter
import switchmate
self._mac = mac
self._name = name

View File

@ -57,7 +57,7 @@ PyQRCode==1.2.1
PyRMVtransport==0.1.3
# homeassistant.components.switch.switchbot
PySwitchbot==0.5
# PySwitchbot==0.5
# homeassistant.components.sensor.transport_nsw
PyTransportNSW==0.1.1
@ -906,7 +906,7 @@ pyMetno==0.4.6
pyRFXtrx==0.23
# homeassistant.components.switch.switchmate
pySwitchmate==0.4.5
# pySwitchmate==0.4.5
# homeassistant.components.tibber
pyTibber==0.9.4

View File

@ -8,31 +8,33 @@ import sys
import fnmatch
COMMENT_REQUIREMENTS = (
'RPi.GPIO',
'raspihats',
'rpi-rf',
'Adafruit-DHT',
'Adafruit_BBIO',
'fritzconnection',
'pybluez',
'avion',
'beacontools',
'blinkt',
'bluepy',
'bme680',
'credstash',
'decora',
'envirophat',
'evdev',
'face_recognition',
'fritzconnection',
'i2csense',
'opencv-python',
'py_noaa',
'pybluez',
'pycups',
'PySwitchbot',
'pySwitchmate',
'python-eq3bt',
'python-lirc',
'pyuserinput',
'evdev',
'pycups',
'python-eq3bt',
'avion',
'decora',
'face_recognition',
'blinkt',
'raspihats',
'rpi-rf',
'RPi.GPIO',
'smbus-cffi',
'envirophat',
'i2csense',
'credstash',
'bme680',
'py_noaa',
)
TEST_REQUIREMENTS = (