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: def __init__(self, mac, name) -> None:
"""Initialize the Switchbot.""" """Initialize the Switchbot."""
# pylint: disable=import-error, no-member
import switchbot import switchbot
self._state = False self._state = False
self._name = name self._name = name

View file

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

View file

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

View file

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