diff --git a/homeassistant/components/abode/__init__.py b/homeassistant/components/abode/__init__.py index 591bae1a9cf..3a64a5e31f0 100644 --- a/homeassistant/components/abode/__init__.py +++ b/homeassistant/components/abode/__init__.py @@ -13,8 +13,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers import discovery from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['abodepy==0.15.0'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by goabode.com" diff --git a/homeassistant/components/abode/alarm_control_panel.py b/homeassistant/components/abode/alarm_control_panel.py index d7426e04166..d1d75b7417e 100644 --- a/homeassistant/components/abode/alarm_control_panel.py +++ b/homeassistant/components/abode/alarm_control_panel.py @@ -8,8 +8,6 @@ from homeassistant.const import ( from . import ATTRIBUTION, DOMAIN as ABODE_DOMAIN, AbodeDevice -DEPENDENCIES = ['abode'] - _LOGGER = logging.getLogger(__name__) ICON = 'mdi:security' diff --git a/homeassistant/components/abode/binary_sensor.py b/homeassistant/components/abode/binary_sensor.py index 874723420ed..e3f74e9f4ec 100644 --- a/homeassistant/components/abode/binary_sensor.py +++ b/homeassistant/components/abode/binary_sensor.py @@ -7,8 +7,6 @@ from . import DOMAIN as ABODE_DOMAIN, AbodeAutomation, AbodeDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['abode'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up a sensor for an Abode device.""" diff --git a/homeassistant/components/abode/camera.py b/homeassistant/components/abode/camera.py index d37644eccc3..d0e4e833029 100644 --- a/homeassistant/components/abode/camera.py +++ b/homeassistant/components/abode/camera.py @@ -9,8 +9,6 @@ from homeassistant.util import Throttle from . import DOMAIN as ABODE_DOMAIN, AbodeDevice -DEPENDENCIES = ['abode'] - MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=90) _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/abode/cover.py b/homeassistant/components/abode/cover.py index c40159164dc..4c868daf4ba 100644 --- a/homeassistant/components/abode/cover.py +++ b/homeassistant/components/abode/cover.py @@ -5,8 +5,6 @@ from homeassistant.components.cover import CoverDevice from . import DOMAIN as ABODE_DOMAIN, AbodeDevice -DEPENDENCIES = ['abode'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/abode/light.py b/homeassistant/components/abode/light.py index 9e88acce41f..6b3e5025c51 100644 --- a/homeassistant/components/abode/light.py +++ b/homeassistant/components/abode/light.py @@ -10,8 +10,6 @@ from homeassistant.util.color import ( from . import DOMAIN as ABODE_DOMAIN, AbodeDevice -DEPENDENCIES = ['abode'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/abode/lock.py b/homeassistant/components/abode/lock.py index 0f568a4ace2..c1272a3de5f 100644 --- a/homeassistant/components/abode/lock.py +++ b/homeassistant/components/abode/lock.py @@ -5,8 +5,6 @@ from homeassistant.components.lock import LockDevice from . import DOMAIN as ABODE_DOMAIN, AbodeDevice -DEPENDENCIES = ['abode'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/abode/sensor.py b/homeassistant/components/abode/sensor.py index ef6941c76d8..b7e8fc1a118 100644 --- a/homeassistant/components/abode/sensor.py +++ b/homeassistant/components/abode/sensor.py @@ -8,8 +8,6 @@ from . import DOMAIN as ABODE_DOMAIN, AbodeDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['abode'] - # Sensor types: Name, icon SENSOR_TYPES = { 'temp': ['Temperature', DEVICE_CLASS_TEMPERATURE], diff --git a/homeassistant/components/abode/switch.py b/homeassistant/components/abode/switch.py index 3e3ce031855..74d1ea57bad 100644 --- a/homeassistant/components/abode/switch.py +++ b/homeassistant/components/abode/switch.py @@ -7,8 +7,6 @@ from . import DOMAIN as ABODE_DOMAIN, AbodeAutomation, AbodeDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['abode'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up Abode switch devices.""" diff --git a/homeassistant/components/acer_projector/switch.py b/homeassistant/components/acer_projector/switch.py index df6fb8816aa..242f3f4a009 100644 --- a/homeassistant/components/acer_projector/switch.py +++ b/homeassistant/components/acer_projector/switch.py @@ -9,8 +9,6 @@ from homeassistant.const import ( STATE_ON, STATE_OFF, STATE_UNKNOWN, CONF_NAME, CONF_FILENAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyserial==3.1.1'] - _LOGGER = logging.getLogger(__name__) CONF_TIMEOUT = 'timeout' diff --git a/homeassistant/components/ads/__init__.py b/homeassistant/components/ads/__init__.py index 92c6ecb3335..ba49f8abd9a 100644 --- a/homeassistant/components/ads/__init__.py +++ b/homeassistant/components/ads/__init__.py @@ -14,8 +14,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyads==3.0.7'] - _LOGGER = logging.getLogger(__name__) DATA_ADS = 'data_ads' diff --git a/homeassistant/components/ads/binary_sensor.py b/homeassistant/components/ads/binary_sensor.py index baa44cb498f..b6f3a54e437 100644 --- a/homeassistant/components/ads/binary_sensor.py +++ b/homeassistant/components/ads/binary_sensor.py @@ -13,8 +13,6 @@ from . import CONF_ADS_VAR, DATA_ADS, AdsEntity, STATE_KEY_STATE _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'ADS binary sensor' -DEPENDENCIES = ['ads'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADS_VAR): cv.string, vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, diff --git a/homeassistant/components/ads/light.py b/homeassistant/components/ads/light.py index 49961565dce..5168f49acdc 100644 --- a/homeassistant/components/ads/light.py +++ b/homeassistant/components/ads/light.py @@ -12,7 +12,6 @@ from . import CONF_ADS_VAR, CONF_ADS_VAR_BRIGHTNESS, DATA_ADS, \ AdsEntity, STATE_KEY_BRIGHTNESS, STATE_KEY_STATE _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ads'] DEFAULT_NAME = 'ADS Light' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADS_VAR): cv.string, diff --git a/homeassistant/components/ads/sensor.py b/homeassistant/components/ads/sensor.py index e74b8753d4b..415eea09ddf 100644 --- a/homeassistant/components/ads/sensor.py +++ b/homeassistant/components/ads/sensor.py @@ -14,8 +14,6 @@ from . import CONF_ADS_FACTOR, CONF_ADS_TYPE, CONF_ADS_VAR, \ _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = "ADS sensor" -DEPENDENCIES = ['ads'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADS_VAR): cv.string, vol.Optional(CONF_ADS_FACTOR): cv.positive_int, diff --git a/homeassistant/components/ads/switch.py b/homeassistant/components/ads/switch.py index 0dfbeb811a0..23e130f2695 100644 --- a/homeassistant/components/ads/switch.py +++ b/homeassistant/components/ads/switch.py @@ -11,8 +11,6 @@ from . import CONF_ADS_VAR, DATA_ADS, AdsEntity, STATE_KEY_STATE _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ads'] - DEFAULT_NAME = 'ADS Switch' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/aftership/sensor.py b/homeassistant/components/aftership/sensor.py index eefbb299a07..fae3e38c96b 100644 --- a/homeassistant/components/aftership/sensor.py +++ b/homeassistant/components/aftership/sensor.py @@ -13,8 +13,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle from .const import DOMAIN -REQUIREMENTS = ['pyaftership==0.1.2'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = 'Information provided by AfterShip' diff --git a/homeassistant/components/airvisual/sensor.py b/homeassistant/components/airvisual/sensor.py index 7fad7bb35be..55670020133 100644 --- a/homeassistant/components/airvisual/sensor.py +++ b/homeassistant/components/airvisual/sensor.py @@ -13,7 +13,6 @@ from homeassistant.helpers import aiohttp_client, config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pyairvisual==3.0.1'] _LOGGER = getLogger(__name__) ATTR_CITY = 'city' diff --git a/homeassistant/components/aladdin_connect/cover.py b/homeassistant/components/aladdin_connect/cover.py index 01146fecbb6..70c85fd58a5 100644 --- a/homeassistant/components/aladdin_connect/cover.py +++ b/homeassistant/components/aladdin_connect/cover.py @@ -9,8 +9,6 @@ from homeassistant.const import (CONF_USERNAME, CONF_PASSWORD, STATE_CLOSED, STATE_OPENING, STATE_CLOSING, STATE_OPEN) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['aladdin_connect==0.3'] - _LOGGER = logging.getLogger(__name__) NOTIFICATION_ID = 'aladdin_notification' diff --git a/homeassistant/components/alarmdecoder/__init__.py b/homeassistant/components/alarmdecoder/__init__.py index 5b1296b39de..b4d1a2e0b9f 100644 --- a/homeassistant/components/alarmdecoder/__init__.py +++ b/homeassistant/components/alarmdecoder/__init__.py @@ -10,8 +10,6 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.util import dt as dt_util from homeassistant.components.binary_sensor import DEVICE_CLASSES_SCHEMA -REQUIREMENTS = ['alarmdecoder==1.13.2'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'alarmdecoder' diff --git a/homeassistant/components/alarmdecoder/alarm_control_panel.py b/homeassistant/components/alarmdecoder/alarm_control_panel.py index d7eced933dd..51645b516b9 100644 --- a/homeassistant/components/alarmdecoder/alarm_control_panel.py +++ b/homeassistant/components/alarmdecoder/alarm_control_panel.py @@ -13,8 +13,6 @@ from . import DATA_AD, SIGNAL_PANEL_MESSAGE _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['alarmdecoder'] - SERVICE_ALARM_TOGGLE_CHIME = 'alarmdecoder_alarm_toggle_chime' ALARM_TOGGLE_CHIME_SCHEMA = vol.Schema({ vol.Required(ATTR_CODE): cv.string, diff --git a/homeassistant/components/alarmdecoder/binary_sensor.py b/homeassistant/components/alarmdecoder/binary_sensor.py index 09e63b4d664..91ff8b381b5 100644 --- a/homeassistant/components/alarmdecoder/binary_sensor.py +++ b/homeassistant/components/alarmdecoder/binary_sensor.py @@ -8,8 +8,6 @@ from . import ( CONF_ZONE_RFID, CONF_ZONE_TYPE, CONF_ZONES, SIGNAL_REL_MESSAGE, SIGNAL_RFX_MESSAGE, SIGNAL_ZONE_FAULT, SIGNAL_ZONE_RESTORE, ZONE_SCHEMA) -DEPENDENCIES = ['alarmdecoder'] - _LOGGER = logging.getLogger(__name__) ATTR_RF_BIT0 = 'rf_bit0' diff --git a/homeassistant/components/alarmdecoder/sensor.py b/homeassistant/components/alarmdecoder/sensor.py index 88371dad17a..9fb37d62376 100644 --- a/homeassistant/components/alarmdecoder/sensor.py +++ b/homeassistant/components/alarmdecoder/sensor.py @@ -7,8 +7,6 @@ from . import SIGNAL_PANEL_MESSAGE _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['alarmdecoder'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up for AlarmDecoder sensor devices.""" diff --git a/homeassistant/components/alarmdotcom/alarm_control_panel.py b/homeassistant/components/alarmdotcom/alarm_control_panel.py index ea581aca747..5919bf84f41 100644 --- a/homeassistant/components/alarmdotcom/alarm_control_panel.py +++ b/homeassistant/components/alarmdotcom/alarm_control_panel.py @@ -12,8 +12,6 @@ from homeassistant.const import ( from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyalarmdotcom==0.3.2'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Alarm.com' diff --git a/homeassistant/components/alexa/__init__.py b/homeassistant/components/alexa/__init__.py index 062d698d512..862605b64b5 100644 --- a/homeassistant/components/alexa/__init__.py +++ b/homeassistant/components/alexa/__init__.py @@ -17,8 +17,6 @@ _LOGGER = logging.getLogger(__name__) CONF_FLASH_BRIEFINGS = 'flash_briefings' CONF_SMART_HOME = 'smart_home' -DEPENDENCIES = ['http'] - ALEXA_ENTITY_SCHEMA = vol.Schema({ vol.Optional(smart_home.CONF_DESCRIPTION): cv.string, vol.Optional(smart_home.CONF_DISPLAY_CATEGORIES): cv.string, diff --git a/homeassistant/components/alpha_vantage/sensor.py b/homeassistant/components/alpha_vantage/sensor.py index 0eb57e5b27a..9ea6797a56e 100644 --- a/homeassistant/components/alpha_vantage/sensor.py +++ b/homeassistant/components/alpha_vantage/sensor.py @@ -10,8 +10,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['alpha_vantage==2.1.0'] - _LOGGER = logging.getLogger(__name__) ATTR_CLOSE = 'close' diff --git a/homeassistant/components/amazon_polly/tts.py b/homeassistant/components/amazon_polly/tts.py index d29ae32fb57..4511a587a60 100644 --- a/homeassistant/components/amazon_polly/tts.py +++ b/homeassistant/components/amazon_polly/tts.py @@ -6,8 +6,6 @@ import voluptuous as vol from homeassistant.components.tts import PLATFORM_SCHEMA, Provider import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['boto3==1.9.16'] - _LOGGER = logging.getLogger(__name__) CONF_REGION = 'region_name' diff --git a/homeassistant/components/ambient_station/__init__.py b/homeassistant/components/ambient_station/__init__.py index 944d4e14e7d..2c185c3bc71 100644 --- a/homeassistant/components/ambient_station/__init__.py +++ b/homeassistant/components/ambient_station/__init__.py @@ -20,8 +20,6 @@ from .const import ( ATTR_LAST_DATA, CONF_APP_KEY, DATA_CLIENT, DOMAIN, TOPIC_UPDATE, TYPE_BINARY_SENSOR, TYPE_SENSOR) -REQUIREMENTS = ['aioambient==0.3.0'] - _LOGGER = logging.getLogger(__name__) DATA_CONFIG = 'config' diff --git a/homeassistant/components/ambient_station/binary_sensor.py b/homeassistant/components/ambient_station/binary_sensor.py index 04a38901683..02f7590c307 100644 --- a/homeassistant/components/ambient_station/binary_sensor.py +++ b/homeassistant/components/ambient_station/binary_sensor.py @@ -12,8 +12,6 @@ from .const import ATTR_LAST_DATA, DATA_CLIENT, DOMAIN, TYPE_BINARY_SENSOR _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ambient_station'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/ambient_station/sensor.py b/homeassistant/components/ambient_station/sensor.py index b394dc558e6..9c50d97fb03 100644 --- a/homeassistant/components/ambient_station/sensor.py +++ b/homeassistant/components/ambient_station/sensor.py @@ -8,8 +8,6 @@ from .const import ATTR_LAST_DATA, DATA_CLIENT, DOMAIN, TYPE_SENSOR _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ambient_station'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/amcrest/__init__.py b/homeassistant/components/amcrest/__init__.py index a4c020efcdf..3a0a983fceb 100644 --- a/homeassistant/components/amcrest/__init__.py +++ b/homeassistant/components/amcrest/__init__.py @@ -12,9 +12,6 @@ from homeassistant.const import ( from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['amcrest==1.3.0'] -DEPENDENCIES = ['ffmpeg'] - _LOGGER = logging.getLogger(__name__) CONF_AUTHENTICATION = 'authentication' diff --git a/homeassistant/components/amcrest/binary_sensor.py b/homeassistant/components/amcrest/binary_sensor.py index 113918ed041..b591616a88d 100644 --- a/homeassistant/components/amcrest/binary_sensor.py +++ b/homeassistant/components/amcrest/binary_sensor.py @@ -7,8 +7,6 @@ from homeassistant.components.binary_sensor import ( from homeassistant.const import CONF_NAME, CONF_BINARY_SENSORS from . import DATA_AMCREST, BINARY_SENSORS -DEPENDENCIES = ['amcrest'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=5) diff --git a/homeassistant/components/amcrest/camera.py b/homeassistant/components/amcrest/camera.py index f361c4e0183..07f5d403ba8 100644 --- a/homeassistant/components/amcrest/camera.py +++ b/homeassistant/components/amcrest/camera.py @@ -12,8 +12,6 @@ from homeassistant.helpers.aiohttp_client import ( from . import DATA_AMCREST, STREAM_SOURCE_LIST, TIMEOUT -DEPENDENCIES = ['amcrest', 'ffmpeg'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/amcrest/sensor.py b/homeassistant/components/amcrest/sensor.py index 119520e6a03..56cb021052e 100644 --- a/homeassistant/components/amcrest/sensor.py +++ b/homeassistant/components/amcrest/sensor.py @@ -7,8 +7,6 @@ from homeassistant.helpers.entity import Entity from . import DATA_AMCREST, SENSORS -DEPENDENCIES = ['amcrest'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=10) diff --git a/homeassistant/components/amcrest/switch.py b/homeassistant/components/amcrest/switch.py index 0bbd290b3ac..90f750d1797 100644 --- a/homeassistant/components/amcrest/switch.py +++ b/homeassistant/components/amcrest/switch.py @@ -8,8 +8,6 @@ from . import DATA_AMCREST, SWITCHES _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['amcrest'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/ampio/air_quality.py b/homeassistant/components/ampio/air_quality.py index f7aa98aec7c..339f490bae5 100644 --- a/homeassistant/components/ampio/air_quality.py +++ b/homeassistant/components/ampio/air_quality.py @@ -11,8 +11,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['asmog==0.0.6'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = 'Data provided by Ampio' diff --git a/homeassistant/components/android_ip_webcam/__init__.py b/homeassistant/components/android_ip_webcam/__init__.py index 600efd55a16..dfb6d143e9a 100644 --- a/homeassistant/components/android_ip_webcam/__init__.py +++ b/homeassistant/components/android_ip_webcam/__init__.py @@ -21,8 +21,6 @@ from homeassistant.util.dt import utcnow from homeassistant.components.mjpeg.camera import ( CONF_MJPEG_URL, CONF_STILL_IMAGE_URL) -REQUIREMENTS = ['pydroid-ipcam==0.8'] - _LOGGER = logging.getLogger(__name__) ATTR_AUD_CONNS = 'Audio Connections' diff --git a/homeassistant/components/android_ip_webcam/binary_sensor.py b/homeassistant/components/android_ip_webcam/binary_sensor.py index c058c44c503..dbe50d81862 100644 --- a/homeassistant/components/android_ip_webcam/binary_sensor.py +++ b/homeassistant/components/android_ip_webcam/binary_sensor.py @@ -3,8 +3,6 @@ from homeassistant.components.binary_sensor import BinarySensorDevice from . import CONF_HOST, CONF_NAME, DATA_IP_WEBCAM, KEY_MAP, AndroidIPCamEntity -DEPENDENCIES = ['android_ip_webcam'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/android_ip_webcam/sensor.py b/homeassistant/components/android_ip_webcam/sensor.py index 4d29493d64f..9748b6ba548 100644 --- a/homeassistant/components/android_ip_webcam/sensor.py +++ b/homeassistant/components/android_ip_webcam/sensor.py @@ -5,8 +5,6 @@ from . import ( CONF_HOST, CONF_NAME, CONF_SENSORS, DATA_IP_WEBCAM, ICON_MAP, KEY_MAP, AndroidIPCamEntity) -DEPENDENCIES = ['android_ip_webcam'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/android_ip_webcam/switch.py b/homeassistant/components/android_ip_webcam/switch.py index 0304c5747f7..e894913f5a4 100644 --- a/homeassistant/components/android_ip_webcam/switch.py +++ b/homeassistant/components/android_ip_webcam/switch.py @@ -5,8 +5,6 @@ from . import ( CONF_HOST, CONF_NAME, CONF_SWITCHES, DATA_IP_WEBCAM, ICON_MAP, KEY_MAP, AndroidIPCamEntity) -DEPENDENCIES = ['android_ip_webcam'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/androidtv/media_player.py b/homeassistant/components/androidtv/media_player.py index 706ef6f8402..2677144a144 100644 --- a/homeassistant/components/androidtv/media_player.py +++ b/homeassistant/components/androidtv/media_player.py @@ -18,8 +18,6 @@ import homeassistant.helpers.config_validation as cv ANDROIDTV_DOMAIN = 'androidtv' -REQUIREMENTS = ['androidtv==0.0.15'] - _LOGGER = logging.getLogger(__name__) SUPPORT_ANDROIDTV = SUPPORT_PAUSE | SUPPORT_PLAY | \ diff --git a/homeassistant/components/anel_pwrctrl/switch.py b/homeassistant/components/anel_pwrctrl/switch.py index b9b3070b97e..7552e35fe4b 100644 --- a/homeassistant/components/anel_pwrctrl/switch.py +++ b/homeassistant/components/anel_pwrctrl/switch.py @@ -10,8 +10,6 @@ from homeassistant.components.switch import (SwitchDevice, PLATFORM_SCHEMA) from homeassistant.const import (CONF_HOST, CONF_PASSWORD, CONF_USERNAME) from homeassistant.util import Throttle -REQUIREMENTS = ['anel_pwrctrl-homeassistant==0.0.1.dev2'] - _LOGGER = logging.getLogger(__name__) CONF_PORT_RECV = 'port_recv' diff --git a/homeassistant/components/anthemav/media_player.py b/homeassistant/components/anthemav/media_player.py index c7ee579bc17..1a335fc2ce6 100644 --- a/homeassistant/components/anthemav/media_player.py +++ b/homeassistant/components/anthemav/media_player.py @@ -13,8 +13,6 @@ from homeassistant.const import ( STATE_ON) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['anthemav==1.1.10'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'anthemav' diff --git a/homeassistant/components/apcupsd/__init__.py b/homeassistant/components/apcupsd/__init__.py index aab6f6dda01..d4649db0203 100644 --- a/homeassistant/components/apcupsd/__init__.py +++ b/homeassistant/components/apcupsd/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import (CONF_HOST, CONF_PORT) import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['apcaccess==0.0.13'] - _LOGGER = logging.getLogger(__name__) CONF_TYPE = 'type' diff --git a/homeassistant/components/apcupsd/binary_sensor.py b/homeassistant/components/apcupsd/binary_sensor.py index 445dab9b074..367b3c2b9b5 100644 --- a/homeassistant/components/apcupsd/binary_sensor.py +++ b/homeassistant/components/apcupsd/binary_sensor.py @@ -8,8 +8,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components import apcupsd DEFAULT_NAME = 'UPS Online Status' -DEPENDENCIES = [apcupsd.DOMAIN] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, }) diff --git a/homeassistant/components/apcupsd/sensor.py b/homeassistant/components/apcupsd/sensor.py index 09f9b324bdd..ae1ad10223d 100644 --- a/homeassistant/components/apcupsd/sensor.py +++ b/homeassistant/components/apcupsd/sensor.py @@ -11,8 +11,6 @@ from homeassistant.helpers.entity import Entity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = [apcupsd.DOMAIN] - SENSOR_PREFIX = 'UPS ' SENSOR_TYPES = { 'alarmdel': ['Alarm Delay', '', 'mdi:alarm'], diff --git a/homeassistant/components/api/__init__.py b/homeassistant/components/api/__init__.py index beba17ee2ea..0e860854af4 100644 --- a/homeassistant/components/api/__init__.py +++ b/homeassistant/components/api/__init__.py @@ -33,8 +33,6 @@ ATTR_REQUIRES_API_PASSWORD = 'requires_api_password' ATTR_VERSION = 'version' DOMAIN = 'api' -DEPENDENCIES = ['http'] - STREAM_PING_PAYLOAD = 'ping' STREAM_PING_INTERVAL = 50 # seconds diff --git a/homeassistant/components/apns/notify.py b/homeassistant/components/apns/notify.py index d7f6559fe7e..365bdbcb4f5 100644 --- a/homeassistant/components/apns/notify.py +++ b/homeassistant/components/apns/notify.py @@ -13,8 +13,6 @@ from homeassistant.helpers.event import track_state_change from homeassistant.components.notify import ( ATTR_DATA, ATTR_TARGET, DOMAIN, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['apns2==0.3.0'] - APNS_DEVICES = 'apns.yaml' CONF_CERTFILE = 'cert_file' CONF_TOPIC = 'topic' diff --git a/homeassistant/components/apple_tv/__init__.py b/homeassistant/components/apple_tv/__init__.py index b265dc533eb..0ebe29ed47c 100644 --- a/homeassistant/components/apple_tv/__init__.py +++ b/homeassistant/components/apple_tv/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers import discovery from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyatv==0.3.12'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'apple_tv' diff --git a/homeassistant/components/apple_tv/media_player.py b/homeassistant/components/apple_tv/media_player.py index e00ce6ed13b..9698ef4c704 100644 --- a/homeassistant/components/apple_tv/media_player.py +++ b/homeassistant/components/apple_tv/media_player.py @@ -14,8 +14,6 @@ import homeassistant.util.dt as dt_util from . import ATTR_ATV, ATTR_POWER, DATA_APPLE_TV, DATA_ENTITIES -DEPENDENCIES = ['apple_tv'] - _LOGGER = logging.getLogger(__name__) SUPPORT_APPLE_TV = SUPPORT_TURN_ON | SUPPORT_TURN_OFF | SUPPORT_PLAY_MEDIA | \ diff --git a/homeassistant/components/apple_tv/remote.py b/homeassistant/components/apple_tv/remote.py index 25b500ac09d..2839e3a5324 100644 --- a/homeassistant/components/apple_tv/remote.py +++ b/homeassistant/components/apple_tv/remote.py @@ -4,8 +4,6 @@ from homeassistant.const import CONF_HOST, CONF_NAME from . import ATTR_ATV, ATTR_POWER, DATA_APPLE_TV -DEPENDENCIES = ['apple_tv'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/aqualogic/__init__.py b/homeassistant/components/aqualogic/__init__.py index a4f83b573f7..65718463218 100644 --- a/homeassistant/components/aqualogic/__init__.py +++ b/homeassistant/components/aqualogic/__init__.py @@ -11,8 +11,6 @@ from homeassistant.const import (CONF_HOST, CONF_PORT, EVENT_HOMEASSISTANT_STOP) from homeassistant.helpers import config_validation as cv -REQUIREMENTS = ["aqualogic==1.0"] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'aqualogic' diff --git a/homeassistant/components/aqualogic/sensor.py b/homeassistant/components/aqualogic/sensor.py index dc06a2127e9..454cdbd7f6b 100644 --- a/homeassistant/components/aqualogic/sensor.py +++ b/homeassistant/components/aqualogic/sensor.py @@ -14,8 +14,6 @@ from . import DOMAIN, UPDATE_TOPIC _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['aqualogic'] - TEMP_UNITS = [TEMP_CELSIUS, TEMP_FAHRENHEIT] PERCENT_UNITS = ['%', '%'] SALT_UNITS = ['g/L', 'PPM'] diff --git a/homeassistant/components/aqualogic/switch.py b/homeassistant/components/aqualogic/switch.py index 21e573f944b..b8bd8e41244 100644 --- a/homeassistant/components/aqualogic/switch.py +++ b/homeassistant/components/aqualogic/switch.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from . import DOMAIN, UPDATE_TOPIC -DEPENDENCIES = ['aqualogic'] - _LOGGER = logging.getLogger(__name__) SWITCH_TYPES = { diff --git a/homeassistant/components/aquostv/media_player.py b/homeassistant/components/aquostv/media_player.py index 0ffe48d21ec..a4e88f02a59 100644 --- a/homeassistant/components/aquostv/media_player.py +++ b/homeassistant/components/aquostv/media_player.py @@ -15,8 +15,6 @@ from homeassistant.const import ( CONF_USERNAME, STATE_OFF, STATE_ON) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['sharp_aquos_rc==0.3.2'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Sharp Aquos TV' diff --git a/homeassistant/components/arduino/__init__.py b/homeassistant/components/arduino/__init__.py index 351122e74f0..a6841e07564 100644 --- a/homeassistant/components/arduino/__init__.py +++ b/homeassistant/components/arduino/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import ( from homeassistant.const import CONF_PORT import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['PyMata==2.14'] - _LOGGER = logging.getLogger(__name__) BOARD = None diff --git a/homeassistant/components/arduino/sensor.py b/homeassistant/components/arduino/sensor.py index ff758ea5847..0cc6e006b89 100644 --- a/homeassistant/components/arduino/sensor.py +++ b/homeassistant/components/arduino/sensor.py @@ -14,8 +14,6 @@ _LOGGER = logging.getLogger(__name__) CONF_PINS = 'pins' CONF_TYPE = 'analog' -DEPENDENCIES = ['arduino'] - PIN_SCHEMA = vol.Schema({ vol.Required(CONF_NAME): cv.string, }) diff --git a/homeassistant/components/arduino/switch.py b/homeassistant/components/arduino/switch.py index 947c5188766..92e91196a9a 100644 --- a/homeassistant/components/arduino/switch.py +++ b/homeassistant/components/arduino/switch.py @@ -8,8 +8,6 @@ from homeassistant.components.switch import (SwitchDevice, PLATFORM_SCHEMA) from homeassistant.const import CONF_NAME import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['arduino'] - _LOGGER = logging.getLogger(__name__) CONF_PINS = 'pins' diff --git a/homeassistant/components/arlo/__init__.py b/homeassistant/components/arlo/__init__.py index cbb720778e5..38230c2f05f 100644 --- a/homeassistant/components/arlo/__init__.py +++ b/homeassistant/components/arlo/__init__.py @@ -11,8 +11,6 @@ from homeassistant.const import ( from homeassistant.helpers.event import track_time_interval from homeassistant.helpers.dispatcher import dispatcher_send -REQUIREMENTS = ['pyarlo==0.2.3'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by arlo.netgear.com" diff --git a/homeassistant/components/arlo/alarm_control_panel.py b/homeassistant/components/arlo/alarm_control_panel.py index 3557ed125c6..a7addfb86ea 100644 --- a/homeassistant/components/arlo/alarm_control_panel.py +++ b/homeassistant/components/arlo/alarm_control_panel.py @@ -22,8 +22,6 @@ CONF_HOME_MODE_NAME = 'home_mode_name' CONF_AWAY_MODE_NAME = 'away_mode_name' CONF_NIGHT_MODE_NAME = 'night_mode_name' -DEPENDENCIES = ['arlo'] - DISARMED = 'disarmed' ICON = 'mdi:security' diff --git a/homeassistant/components/arlo/camera.py b/homeassistant/components/arlo/camera.py index d4b00f00625..166e0781044 100644 --- a/homeassistant/components/arlo/camera.py +++ b/homeassistant/components/arlo/camera.py @@ -13,8 +13,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_connect from . import DATA_ARLO, DEFAULT_BRAND, SIGNAL_UPDATE_ARLO -DEPENDENCIES = ['arlo', 'ffmpeg'] - _LOGGER = logging.getLogger(__name__) ARLO_MODE_ARMED = 'armed' diff --git a/homeassistant/components/arlo/sensor.py b/homeassistant/components/arlo/sensor.py index e08669eb80b..f83caec386b 100644 --- a/homeassistant/components/arlo/sensor.py +++ b/homeassistant/components/arlo/sensor.py @@ -17,8 +17,6 @@ from . import ATTRIBUTION, DATA_ARLO, DEFAULT_BRAND, SIGNAL_UPDATE_ARLO _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['arlo'] - # sensor_type [ description, unit, icon ] SENSOR_TYPES = { 'last_capture': ['Last', None, 'run-fast'], diff --git a/homeassistant/components/aruba/device_tracker.py b/homeassistant/components/aruba/device_tracker.py index ed1fee25a6c..cde144e68f6 100644 --- a/homeassistant/components/aruba/device_tracker.py +++ b/homeassistant/components/aruba/device_tracker.py @@ -11,8 +11,6 @@ from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_USERNAME _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pexpect==4.6.0'] - _DEVICES_REGEX = re.compile( r'(?P([^\s]+)?)\s+' + r'(?P([0-9]{1,3}[\.]){3}[0-9]{1,3})\s+' + diff --git a/homeassistant/components/arwn/sensor.py b/homeassistant/components/arwn/sensor.py index aef43c4b401..94b552c6eba 100644 --- a/homeassistant/components/arwn/sensor.py +++ b/homeassistant/components/arwn/sensor.py @@ -10,7 +10,6 @@ from homeassistant.util import slugify _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] DOMAIN = 'arwn' DATA_ARWN = 'arwn' diff --git a/homeassistant/components/asterisk_cdr/mailbox.py b/homeassistant/components/asterisk_cdr/mailbox.py index db5d4e8d6ee..647067b60d4 100644 --- a/homeassistant/components/asterisk_cdr/mailbox.py +++ b/homeassistant/components/asterisk_cdr/mailbox.py @@ -11,8 +11,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_connect _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['asterisk_mbox'] - MAILBOX_NAME = 'asterisk_cdr' diff --git a/homeassistant/components/asterisk_mbox/__init__.py b/homeassistant/components/asterisk_mbox/__init__.py index d8d3b194cd7..a354226bbc0 100644 --- a/homeassistant/components/asterisk_mbox/__init__.py +++ b/homeassistant/components/asterisk_mbox/__init__.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.dispatcher import ( async_dispatcher_send, dispatcher_connect) -REQUIREMENTS = ['asterisk_mbox==0.5.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'asterisk_mbox' diff --git a/homeassistant/components/asterisk_mbox/mailbox.py b/homeassistant/components/asterisk_mbox/mailbox.py index a3e7c3f4d61..f79c8922214 100644 --- a/homeassistant/components/asterisk_mbox/mailbox.py +++ b/homeassistant/components/asterisk_mbox/mailbox.py @@ -10,8 +10,6 @@ from . import DOMAIN as ASTERISK_DOMAIN _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['asterisk_mbox'] - SIGNAL_MESSAGE_REQUEST = 'asterisk_mbox.message_request' SIGNAL_MESSAGE_UPDATE = 'asterisk_mbox.message_updated' diff --git a/homeassistant/components/asuswrt/__init__.py b/homeassistant/components/asuswrt/__init__.py index 9b004b5bc04..cc51a15f8e8 100644 --- a/homeassistant/components/asuswrt/__init__.py +++ b/homeassistant/components/asuswrt/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import ( from homeassistant.helpers import config_validation as cv from homeassistant.helpers.discovery import async_load_platform -REQUIREMENTS = ['aioasuswrt==1.1.21'] - _LOGGER = logging.getLogger(__name__) CONF_PUB_KEY = 'pub_key' diff --git a/homeassistant/components/asuswrt/device_tracker.py b/homeassistant/components/asuswrt/device_tracker.py index d115e640ffa..68641f670aa 100644 --- a/homeassistant/components/asuswrt/device_tracker.py +++ b/homeassistant/components/asuswrt/device_tracker.py @@ -5,8 +5,6 @@ from homeassistant.components.device_tracker import DeviceScanner from . import DATA_ASUSWRT -DEPENDENCIES = ['asuswrt'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/asuswrt/sensor.py b/homeassistant/components/asuswrt/sensor.py index ac80a447e28..8ae629bd12d 100644 --- a/homeassistant/components/asuswrt/sensor.py +++ b/homeassistant/components/asuswrt/sensor.py @@ -5,8 +5,6 @@ from homeassistant.helpers.entity import Entity from . import DATA_ASUSWRT -DEPENDENCIES = ['asuswrt'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/august/__init__.py b/homeassistant/components/august/__init__.py index 8e749dca46e..e18c25706c1 100644 --- a/homeassistant/components/august/__init__.py +++ b/homeassistant/components/august/__init__.py @@ -15,8 +15,6 @@ _LOGGER = logging.getLogger(__name__) _CONFIGURING = {} -REQUIREMENTS = ['py-august==0.7.0'] - DEFAULT_TIMEOUT = 10 ACTIVITY_FETCH_LIMIT = 10 ACTIVITY_INITIAL_FETCH_LIMIT = 20 diff --git a/homeassistant/components/august/binary_sensor.py b/homeassistant/components/august/binary_sensor.py index 3a69d41177d..d1f69645802 100644 --- a/homeassistant/components/august/binary_sensor.py +++ b/homeassistant/components/august/binary_sensor.py @@ -8,8 +8,6 @@ from . import DATA_AUGUST _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['august'] - SCAN_INTERVAL = timedelta(seconds=5) diff --git a/homeassistant/components/august/camera.py b/homeassistant/components/august/camera.py index 53a9d78bc60..0bf8a28f904 100644 --- a/homeassistant/components/august/camera.py +++ b/homeassistant/components/august/camera.py @@ -7,8 +7,6 @@ from homeassistant.components.camera import Camera from . import DATA_AUGUST, DEFAULT_TIMEOUT -DEPENDENCIES = ['august'] - SCAN_INTERVAL = timedelta(seconds=5) diff --git a/homeassistant/components/august/lock.py b/homeassistant/components/august/lock.py index e112eaa2592..5ad2bdc3b5b 100644 --- a/homeassistant/components/august/lock.py +++ b/homeassistant/components/august/lock.py @@ -9,8 +9,6 @@ from . import DATA_AUGUST _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['august'] - SCAN_INTERVAL = timedelta(seconds=5) diff --git a/homeassistant/components/auth/__init__.py b/homeassistant/components/auth/__init__.py index d0157158aca..f1deaf0cb85 100644 --- a/homeassistant/components/auth/__init__.py +++ b/homeassistant/components/auth/__init__.py @@ -138,8 +138,6 @@ from . import login_flow from . import mfa_setup_flow DOMAIN = 'auth' -DEPENDENCIES = ['http'] - WS_TYPE_CURRENT_USER = 'auth/current_user' SCHEMA_WS_CURRENT_USER = websocket_api.BASE_COMMAND_MESSAGE_SCHEMA.extend({ vol.Required('type'): WS_TYPE_CURRENT_USER, diff --git a/homeassistant/components/automatic/device_tracker.py b/homeassistant/components/automatic/device_tracker.py index 8abd81e63be..04e069a04f9 100644 --- a/homeassistant/components/automatic/device_tracker.py +++ b/homeassistant/components/automatic/device_tracker.py @@ -18,8 +18,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv from homeassistant.helpers.event import async_track_time_interval -REQUIREMENTS = ['aioautomatic==0.6.5'] - _LOGGER = logging.getLogger(__name__) ATTR_FUEL_LEVEL = 'fuel_level' @@ -34,8 +32,6 @@ DATA_CONFIGURING = 'automatic_configurator_clients' DATA_REFRESH_TOKEN = 'refresh_token' DEFAULT_SCOPE = ['location', 'trip', 'vehicle:events', 'vehicle:profile'] DEFAULT_TIMEOUT = 5 -DEPENDENCIES = ['http'] - EVENT_AUTOMATIC_UPDATE = 'automatic_update' FULL_SCOPE = DEFAULT_SCOPE + ['current_location'] diff --git a/homeassistant/components/automation/__init__.py b/homeassistant/components/automation/__init__.py index b1470582d59..fa8b77da768 100644 --- a/homeassistant/components/automation/__init__.py +++ b/homeassistant/components/automation/__init__.py @@ -21,7 +21,6 @@ from homeassistant.loader import bind_hass from homeassistant.util.dt import utcnow DOMAIN = 'automation' -DEPENDENCIES = ['group'] ENTITY_ID_FORMAT = DOMAIN + '.{}' GROUP_NAME_ALL_AUTOMATIONS = 'all automations' diff --git a/homeassistant/components/automation/litejet.py b/homeassistant/components/automation/litejet.py index 20c689d74cf..51ec5baccfd 100644 --- a/homeassistant/components/automation/litejet.py +++ b/homeassistant/components/automation/litejet.py @@ -9,8 +9,6 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util from homeassistant.helpers.event import track_point_in_utc_time -DEPENDENCIES = ['litejet'] - _LOGGER = logging.getLogger(__name__) CONF_NUMBER = 'number' diff --git a/homeassistant/components/automation/mqtt.py b/homeassistant/components/automation/mqtt.py index ff89cd47024..837a22362b5 100644 --- a/homeassistant/components/automation/mqtt.py +++ b/homeassistant/components/automation/mqtt.py @@ -8,8 +8,6 @@ from homeassistant.components import mqtt from homeassistant.const import (CONF_PLATFORM, CONF_PAYLOAD) import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['mqtt'] - CONF_ENCODING = 'encoding' CONF_TOPIC = 'topic' DEFAULT_ENCODING = 'utf-8' diff --git a/homeassistant/components/avion/light.py b/homeassistant/components/avion/light.py index 65172025b56..b138b8bf61f 100644 --- a/homeassistant/components/avion/light.py +++ b/homeassistant/components/avion/light.py @@ -12,8 +12,6 @@ from homeassistant.const import ( CONF_USERNAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['avion==0.10'] - _LOGGER = logging.getLogger(__name__) SUPPORT_AVION_LED = SUPPORT_BRIGHTNESS diff --git a/homeassistant/components/awair/sensor.py b/homeassistant/components/awair/sensor.py index 7fdcc673549..85f18e87d13 100644 --- a/homeassistant/components/awair/sensor.py +++ b/homeassistant/components/awair/sensor.py @@ -15,8 +15,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle, dt -REQUIREMENTS = ['python_awair==0.0.4'] - _LOGGER = logging.getLogger(__name__) ATTR_SCORE = 'score' diff --git a/homeassistant/components/aws/__init__.py b/homeassistant/components/aws/__init__.py index a15e56e9de8..9533d2c776d 100644 --- a/homeassistant/components/aws/__init__.py +++ b/homeassistant/components/aws/__init__.py @@ -26,8 +26,6 @@ from .const import ( DOMAIN, ) -REQUIREMENTS = ["aiobotocore==0.10.2"] - _LOGGER = logging.getLogger(__name__) AWS_CREDENTIAL_SCHEMA = vol.Schema( diff --git a/homeassistant/components/aws/notify.py b/homeassistant/components/aws/notify.py index 48b80b64ce2..3a6193f403d 100644 --- a/homeassistant/components/aws/notify.py +++ b/homeassistant/components/aws/notify.py @@ -21,8 +21,6 @@ from .const import ( DATA_SESSIONS, ) -DEPENDENCIES = ["aws"] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/axis/__init__.py b/homeassistant/components/axis/__init__.py index e9ed37477a5..0cfa8923682 100644 --- a/homeassistant/components/axis/__init__.py +++ b/homeassistant/components/axis/__init__.py @@ -11,8 +11,6 @@ from .config_flow import DEVICE_SCHEMA from .const import CONF_CAMERA, CONF_EVENTS, DEFAULT_TRIGGER_TIME, DOMAIN from .device import AxisNetworkDevice, get_device -REQUIREMENTS = ['axis==19'] - CONFIG_SCHEMA = vol.Schema({ DOMAIN: cv.schema_with_slug_keys(DEVICE_SCHEMA), }, extra=vol.ALLOW_EXTRA) diff --git a/homeassistant/components/axis/binary_sensor.py b/homeassistant/components/axis/binary_sensor.py index 30e0e759a2c..c4393380351 100644 --- a/homeassistant/components/axis/binary_sensor.py +++ b/homeassistant/components/axis/binary_sensor.py @@ -11,8 +11,6 @@ from homeassistant.util.dt import utcnow from .const import DOMAIN as AXIS_DOMAIN, LOGGER -DEPENDENCIES = [AXIS_DOMAIN] - async def async_setup_entry(hass, config_entry, async_add_entities): """Set up a Axis binary sensor.""" diff --git a/homeassistant/components/axis/camera.py b/homeassistant/components/axis/camera.py index 62b694a99bb..11368339e0d 100644 --- a/homeassistant/components/axis/camera.py +++ b/homeassistant/components/axis/camera.py @@ -11,8 +11,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_connect from .const import DOMAIN as AXIS_DOMAIN -DEPENDENCIES = [AXIS_DOMAIN] - AXIS_IMAGE = 'http://{}:{}/axis-cgi/jpg/image.cgi' AXIS_VIDEO = 'http://{}:{}/axis-cgi/mjpg/video.cgi' AXIS_STREAM = 'rtsp://{}:{}@{}/axis-media/media.amp?videocodec=h264' diff --git a/homeassistant/components/baidu/tts.py b/homeassistant/components/baidu/tts.py index fbe27591ef5..faf62e92651 100644 --- a/homeassistant/components/baidu/tts.py +++ b/homeassistant/components/baidu/tts.py @@ -7,8 +7,6 @@ from homeassistant.components.tts import CONF_LANG, PLATFORM_SCHEMA, Provider from homeassistant.const import CONF_API_KEY import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ["baidu-aip==1.6.6"] - _LOGGER = logging.getLogger(__name__) SUPPORTED_LANGUAGES = ['zh'] diff --git a/homeassistant/components/bbb_gpio/__init__.py b/homeassistant/components/bbb_gpio/__init__.py index 7749af8f335..85ea5753739 100644 --- a/homeassistant/components/bbb_gpio/__init__.py +++ b/homeassistant/components/bbb_gpio/__init__.py @@ -4,8 +4,6 @@ import logging from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['Adafruit_BBIO==1.0.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'bbb_gpio' diff --git a/homeassistant/components/bbb_gpio/binary_sensor.py b/homeassistant/components/bbb_gpio/binary_sensor.py index 1ee371dcc2a..bcc45a4af32 100644 --- a/homeassistant/components/bbb_gpio/binary_sensor.py +++ b/homeassistant/components/bbb_gpio/binary_sensor.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['bbb_gpio'] - CONF_PINS = 'pins' CONF_BOUNCETIME = 'bouncetime' CONF_INVERT_LOGIC = 'invert_logic' diff --git a/homeassistant/components/bbb_gpio/switch.py b/homeassistant/components/bbb_gpio/switch.py index 3ad46fd61ae..49b4c5de19c 100644 --- a/homeassistant/components/bbb_gpio/switch.py +++ b/homeassistant/components/bbb_gpio/switch.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['bbb_gpio'] - CONF_PINS = 'pins' CONF_INITIAL = 'initial' CONF_INVERT_LOGIC = 'invert_logic' diff --git a/homeassistant/components/bbox/device_tracker.py b/homeassistant/components/bbox/device_tracker.py index badbcdc8a0b..f70969aa61b 100644 --- a/homeassistant/components/bbox/device_tracker.py +++ b/homeassistant/components/bbox/device_tracker.py @@ -12,8 +12,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pybbox==0.0.5-alpha'] - _LOGGER = logging.getLogger(__name__) DEFAULT_HOST = '192.168.1.254' diff --git a/homeassistant/components/bbox/sensor.py b/homeassistant/components/bbox/sensor.py index 5b3c31d1ddf..80fa82b30fc 100644 --- a/homeassistant/components/bbox/sensor.py +++ b/homeassistant/components/bbox/sensor.py @@ -12,8 +12,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pybbox==0.0.5-alpha'] - _LOGGER = logging.getLogger(__name__) BANDWIDTH_MEGABITS_SECONDS = 'Mb/s' # type: str diff --git a/homeassistant/components/bh1750/sensor.py b/homeassistant/components/bh1750/sensor.py index e30eededa51..eaee023ce86 100644 --- a/homeassistant/components/bh1750/sensor.py +++ b/homeassistant/components/bh1750/sensor.py @@ -9,9 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.const import CONF_NAME, DEVICE_CLASS_ILLUMINANCE from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['i2csense==0.0.4', - 'smbus-cffi==0.5.1'] - _LOGGER = logging.getLogger(__name__) CONF_I2C_ADDRESS = 'i2c_address' diff --git a/homeassistant/components/bitcoin/sensor.py b/homeassistant/components/bitcoin/sensor.py index 3bc14637a87..6ccb10f50e6 100644 --- a/homeassistant/components/bitcoin/sensor.py +++ b/homeassistant/components/bitcoin/sensor.py @@ -10,8 +10,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['blockchain==1.4.4'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by blockchain.info" diff --git a/homeassistant/components/blackbird/media_player.py b/homeassistant/components/blackbird/media_player.py index c66bc412160..be0538a89e9 100644 --- a/homeassistant/components/blackbird/media_player.py +++ b/homeassistant/components/blackbird/media_player.py @@ -14,8 +14,6 @@ from homeassistant.const import ( STATE_ON) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyblackbird==0.5'] - _LOGGER = logging.getLogger(__name__) SUPPORT_BLACKBIRD = SUPPORT_TURN_ON | SUPPORT_TURN_OFF | SUPPORT_SELECT_SOURCE diff --git a/homeassistant/components/blink/__init__.py b/homeassistant/components/blink/__init__.py index 488209e3689..397ee097cae 100644 --- a/homeassistant/components/blink/__init__.py +++ b/homeassistant/components/blink/__init__.py @@ -10,8 +10,6 @@ from homeassistant.const import ( CONF_BINARY_SENSORS, CONF_SENSORS, CONF_FILENAME, CONF_MONITORED_CONDITIONS, TEMP_FAHRENHEIT) -REQUIREMENTS = ['blinkpy==0.13.1'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'blink' diff --git a/homeassistant/components/blink/alarm_control_panel.py b/homeassistant/components/blink/alarm_control_panel.py index 75e645dff5f..8cc89d90b2f 100644 --- a/homeassistant/components/blink/alarm_control_panel.py +++ b/homeassistant/components/blink/alarm_control_panel.py @@ -9,8 +9,6 @@ from . import BLINK_DATA, DEFAULT_ATTRIBUTION _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['blink'] - ICON = 'mdi:security' diff --git a/homeassistant/components/blink/binary_sensor.py b/homeassistant/components/blink/binary_sensor.py index 466b73caf5f..4c268989d32 100644 --- a/homeassistant/components/blink/binary_sensor.py +++ b/homeassistant/components/blink/binary_sensor.py @@ -4,8 +4,6 @@ from homeassistant.const import CONF_MONITORED_CONDITIONS from . import BINARY_SENSORS, BLINK_DATA -DEPENDENCIES = ['blink'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the blink binary sensors.""" diff --git a/homeassistant/components/blink/camera.py b/homeassistant/components/blink/camera.py index 1da3080e3ff..d1301319a81 100644 --- a/homeassistant/components/blink/camera.py +++ b/homeassistant/components/blink/camera.py @@ -7,8 +7,6 @@ from . import BLINK_DATA, DEFAULT_BRAND _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['blink'] - ATTR_VIDEO_CLIP = 'video' ATTR_IMAGE = 'image' diff --git a/homeassistant/components/blink/sensor.py b/homeassistant/components/blink/sensor.py index 0e97db9d7d4..6fb8be8e4ea 100644 --- a/homeassistant/components/blink/sensor.py +++ b/homeassistant/components/blink/sensor.py @@ -8,8 +8,6 @@ from . import BLINK_DATA, SENSORS _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['blink'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up a Blink sensor.""" diff --git a/homeassistant/components/blinksticklight/light.py b/homeassistant/components/blinksticklight/light.py index 0d4c7b736f3..8eab6afaeb7 100644 --- a/homeassistant/components/blinksticklight/light.py +++ b/homeassistant/components/blinksticklight/light.py @@ -10,8 +10,6 @@ from homeassistant.const import CONF_NAME import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['blinkstick==1.1.8'] - _LOGGER = logging.getLogger(__name__) CONF_SERIAL = 'serial' diff --git a/homeassistant/components/blinkt/light.py b/homeassistant/components/blinkt/light.py index 57d19172614..cb3e854b388 100644 --- a/homeassistant/components/blinkt/light.py +++ b/homeassistant/components/blinkt/light.py @@ -11,8 +11,6 @@ from homeassistant.components.light import ( from homeassistant.const import CONF_NAME import homeassistant.util.color as color_util -REQUIREMENTS = ['blinkt==0.1.0'] - _LOGGER = logging.getLogger(__name__) SUPPORT_BLINKT = (SUPPORT_BRIGHTNESS | SUPPORT_COLOR) diff --git a/homeassistant/components/blockchain/sensor.py b/homeassistant/components/blockchain/sensor.py index def1dc3309f..436e2979a6e 100644 --- a/homeassistant/components/blockchain/sensor.py +++ b/homeassistant/components/blockchain/sensor.py @@ -9,8 +9,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import (CONF_NAME, ATTR_ATTRIBUTION) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['python-blockchain-api==0.0.2'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by blockchain.info" diff --git a/homeassistant/components/bloomsky/binary_sensor.py b/homeassistant/components/bloomsky/binary_sensor.py index 8d4a89a0179..b17c4e4c257 100644 --- a/homeassistant/components/bloomsky/binary_sensor.py +++ b/homeassistant/components/bloomsky/binary_sensor.py @@ -12,8 +12,6 @@ from . import BLOOMSKY _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['bloomsky'] - SENSOR_TYPES = { 'Rain': 'moisture', 'Night': None, diff --git a/homeassistant/components/bloomsky/camera.py b/homeassistant/components/bloomsky/camera.py index a2e1d8e2d3a..a748ff2b5b8 100644 --- a/homeassistant/components/bloomsky/camera.py +++ b/homeassistant/components/bloomsky/camera.py @@ -7,8 +7,6 @@ from homeassistant.components.camera import Camera from . import BLOOMSKY -DEPENDENCIES = ['bloomsky'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up access to BloomSky cameras.""" diff --git a/homeassistant/components/bloomsky/sensor.py b/homeassistant/components/bloomsky/sensor.py index 6909c57eec4..e7d4bc5c8eb 100644 --- a/homeassistant/components/bloomsky/sensor.py +++ b/homeassistant/components/bloomsky/sensor.py @@ -12,8 +12,6 @@ from . import BLOOMSKY LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['bloomsky'] - # These are the available sensors SENSOR_TYPES = ['Temperature', 'Humidity', diff --git a/homeassistant/components/bluesound/media_player.py b/homeassistant/components/bluesound/media_player.py index c4cd3572e75..080afeea280 100644 --- a/homeassistant/components/bluesound/media_player.py +++ b/homeassistant/components/bluesound/media_player.py @@ -29,8 +29,6 @@ from homeassistant.helpers.event import async_track_time_interval from homeassistant.util import Throttle import homeassistant.util.dt as dt_util -REQUIREMENTS = ['xmltodict==0.11.0'] - _LOGGER = logging.getLogger(__name__) ATTR_MASTER = 'master' diff --git a/homeassistant/components/bluetooth_le_tracker/device_tracker.py b/homeassistant/components/bluetooth_le_tracker/device_tracker.py index dfb5fa073b9..f1aab4e1fd5 100644 --- a/homeassistant/components/bluetooth_le_tracker/device_tracker.py +++ b/homeassistant/components/bluetooth_le_tracker/device_tracker.py @@ -10,8 +10,6 @@ import homeassistant.util.dt as dt_util _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pygatt[GATTTOOL]==3.2.0'] - BLE_PREFIX = 'BLE_' MIN_SEEN_NEW = 5 diff --git a/homeassistant/components/bluetooth_tracker/device_tracker.py b/homeassistant/components/bluetooth_tracker/device_tracker.py index 3a4aa888001..d464e87ce64 100644 --- a/homeassistant/components/bluetooth_tracker/device_tracker.py +++ b/homeassistant/components/bluetooth_tracker/device_tracker.py @@ -13,8 +13,6 @@ import homeassistant.util.dt as dt_util _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pybluez==0.22', 'bt_proximity==0.1.2'] - BT_PREFIX = 'BT_' CONF_REQUEST_RSSI = 'request_rssi' diff --git a/homeassistant/components/bme280/sensor.py b/homeassistant/components/bme280/sensor.py index 73982ecc628..66b4ba67258 100644 --- a/homeassistant/components/bme280/sensor.py +++ b/homeassistant/components/bme280/sensor.py @@ -13,9 +13,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle from homeassistant.util.temperature import celsius_to_fahrenheit -REQUIREMENTS = ['i2csense==0.0.4', - 'smbus-cffi==0.5.1'] - _LOGGER = logging.getLogger(__name__) CONF_I2C_ADDRESS = 'i2c_address' diff --git a/homeassistant/components/bme680/sensor.py b/homeassistant/components/bme680/sensor.py index 8f515cc469a..73fe827be6b 100644 --- a/homeassistant/components/bme680/sensor.py +++ b/homeassistant/components/bme680/sensor.py @@ -13,9 +13,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity from homeassistant.util.temperature import celsius_to_fahrenheit -REQUIREMENTS = ['bme680==1.0.5', - 'smbus-cffi==0.5.1'] - _LOGGER = logging.getLogger(__name__) CONF_I2C_ADDRESS = 'i2c_address' diff --git a/homeassistant/components/bmw_connected_drive/__init__.py b/homeassistant/components/bmw_connected_drive/__init__.py index e1ac30120d2..10c58696740 100644 --- a/homeassistant/components/bmw_connected_drive/__init__.py +++ b/homeassistant/components/bmw_connected_drive/__init__.py @@ -9,8 +9,6 @@ from homeassistant.helpers import discovery from homeassistant.helpers.event import track_utc_time_change import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['bimmer_connected==0.5.3'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'bmw_connected_drive' diff --git a/homeassistant/components/bmw_connected_drive/binary_sensor.py b/homeassistant/components/bmw_connected_drive/binary_sensor.py index deab157292d..8769fcf7d62 100644 --- a/homeassistant/components/bmw_connected_drive/binary_sensor.py +++ b/homeassistant/components/bmw_connected_drive/binary_sensor.py @@ -6,8 +6,6 @@ from homeassistant.const import LENGTH_KILOMETERS from . import DOMAIN as BMW_DOMAIN -DEPENDENCIES = ['bmw_connected_drive'] - _LOGGER = logging.getLogger(__name__) SENSOR_TYPES = { diff --git a/homeassistant/components/bmw_connected_drive/device_tracker.py b/homeassistant/components/bmw_connected_drive/device_tracker.py index 20e84e33e29..229488186ae 100644 --- a/homeassistant/components/bmw_connected_drive/device_tracker.py +++ b/homeassistant/components/bmw_connected_drive/device_tracker.py @@ -5,8 +5,6 @@ from homeassistant.util import slugify from . import DOMAIN as BMW_DOMAIN -DEPENDENCIES = ['bmw_connected_drive'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bmw_connected_drive/lock.py b/homeassistant/components/bmw_connected_drive/lock.py index fe646dcd1c9..455e1427b05 100644 --- a/homeassistant/components/bmw_connected_drive/lock.py +++ b/homeassistant/components/bmw_connected_drive/lock.py @@ -6,8 +6,6 @@ from homeassistant.const import STATE_LOCKED, STATE_UNLOCKED from . import DOMAIN as BMW_DOMAIN -DEPENDENCIES = ['bmw_connected_drive'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bmw_connected_drive/sensor.py b/homeassistant/components/bmw_connected_drive/sensor.py index 03c03f01b4a..4d8b7adde1b 100644 --- a/homeassistant/components/bmw_connected_drive/sensor.py +++ b/homeassistant/components/bmw_connected_drive/sensor.py @@ -9,8 +9,6 @@ from homeassistant.helpers.icon import icon_for_battery_level from . import DOMAIN as BMW_DOMAIN -DEPENDENCIES = ['bmw_connected_drive'] - _LOGGER = logging.getLogger(__name__) ATTR_TO_HA_METRIC = { diff --git a/homeassistant/components/bom/camera.py b/homeassistant/components/bom/camera.py index d3e78034015..87ffd4ab791 100644 --- a/homeassistant/components/bom/camera.py +++ b/homeassistant/components/bom/camera.py @@ -5,8 +5,6 @@ from homeassistant.components.camera import PLATFORM_SCHEMA, Camera from homeassistant.const import CONF_ID, CONF_NAME from homeassistant.helpers import config_validation as cv -REQUIREMENTS = ['bomradarloop==0.1.2'] - CONF_DELTA = 'delta' CONF_FRAMES = 'frames' CONF_LOCATION = 'location' diff --git a/homeassistant/components/braviatv/media_player.py b/homeassistant/components/braviatv/media_player.py index 45fdb63a4a9..6377561009d 100644 --- a/homeassistant/components/braviatv/media_player.py +++ b/homeassistant/components/braviatv/media_player.py @@ -15,8 +15,6 @@ from homeassistant.const import CONF_HOST, CONF_NAME, STATE_OFF, STATE_ON import homeassistant.helpers.config_validation as cv from homeassistant.util.json import load_json, save_json -REQUIREMENTS = ['braviarc-homeassistant==0.3.7.dev0'] - BRAVIA_CONFIG_FILE = 'bravia.conf' CLIENTID_PREFIX = 'HomeAssistant' diff --git a/homeassistant/components/broadlink/sensor.py b/homeassistant/components/broadlink/sensor.py index b3ce245a979..c542d8f5549 100644 --- a/homeassistant/components/broadlink/sensor.py +++ b/homeassistant/components/broadlink/sensor.py @@ -14,8 +14,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['broadlink==0.9.0'] - _LOGGER = logging.getLogger(__name__) DEVICE_DEFAULT_NAME = 'Broadlink sensor' diff --git a/homeassistant/components/broadlink/switch.py b/homeassistant/components/broadlink/switch.py index 8695f70786c..f2f7b4a5d95 100644 --- a/homeassistant/components/broadlink/switch.py +++ b/homeassistant/components/broadlink/switch.py @@ -17,8 +17,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle, slugify from homeassistant.util.dt import utcnow -REQUIREMENTS = ['broadlink==0.9.0'] - _LOGGER = logging.getLogger(__name__) TIME_BETWEEN_UPDATES = timedelta(seconds=5) diff --git a/homeassistant/components/brottsplatskartan/sensor.py b/homeassistant/components/brottsplatskartan/sensor.py index f990dd1aba1..c36c5c0ad1c 100644 --- a/homeassistant/components/brottsplatskartan/sensor.py +++ b/homeassistant/components/brottsplatskartan/sensor.py @@ -12,8 +12,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['brottsplatskartan==0.0.1'] - _LOGGER = logging.getLogger(__name__) CONF_AREA = 'area' diff --git a/homeassistant/components/brunt/cover.py b/homeassistant/components/brunt/cover.py index dc17cebcec2..f9455ae0910 100644 --- a/homeassistant/components/brunt/cover.py +++ b/homeassistant/components/brunt/cover.py @@ -13,8 +13,6 @@ from homeassistant.components.cover import ( ) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['brunt==0.1.3'] - _LOGGER = logging.getLogger(__name__) COVER_FEATURES = SUPPORT_OPEN | SUPPORT_CLOSE | SUPPORT_SET_POSITION diff --git a/homeassistant/components/bt_home_hub_5/device_tracker.py b/homeassistant/components/bt_home_hub_5/device_tracker.py index 61853c0af89..65f88e05d1c 100644 --- a/homeassistant/components/bt_home_hub_5/device_tracker.py +++ b/homeassistant/components/bt_home_hub_5/device_tracker.py @@ -8,8 +8,6 @@ from homeassistant.components.device_tracker import (DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST -REQUIREMENTS = ['bthomehub5-devicelist==0.1.1'] - _LOGGER = logging.getLogger(__name__) CONF_DEFAULT_IP = '192.168.1.254' diff --git a/homeassistant/components/bt_smarthub/device_tracker.py b/homeassistant/components/bt_smarthub/device_tracker.py index 5820feda567..adc873f56b3 100644 --- a/homeassistant/components/bt_smarthub/device_tracker.py +++ b/homeassistant/components/bt_smarthub/device_tracker.py @@ -8,8 +8,6 @@ from homeassistant.components.device_tracker import ( DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST -REQUIREMENTS = ['btsmarthub_devicelist==0.1.3'] - _LOGGER = logging.getLogger(__name__) CONF_DEFAULT_IP = '192.168.1.254' diff --git a/homeassistant/components/buienradar/sensor.py b/homeassistant/components/buienradar/sensor.py index 754873fa2c9..f3aaa9b7537 100644 --- a/homeassistant/components/buienradar/sensor.py +++ b/homeassistant/components/buienradar/sensor.py @@ -17,8 +17,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import async_track_point_in_utc_time from homeassistant.util import dt as dt_util -REQUIREMENTS = ['buienradar==0.91'] - _LOGGER = logging.getLogger(__name__) MEASURED_LABEL = 'Measured' diff --git a/homeassistant/components/buienradar/weather.py b/homeassistant/components/buienradar/weather.py index 86dcb229a78..7d77bec7cca 100644 --- a/homeassistant/components/buienradar/weather.py +++ b/homeassistant/components/buienradar/weather.py @@ -13,8 +13,6 @@ from homeassistant.helpers import config_validation as cv # Reuse data and API logic from the sensor implementation from .sensor import BrData -REQUIREMENTS = ['buienradar==0.91'] - _LOGGER = logging.getLogger(__name__) DATA_CONDITION = 'buienradar_condition' diff --git a/homeassistant/components/caldav/calendar.py b/homeassistant/components/caldav/calendar.py index 65cb20811b8..446473c7f40 100644 --- a/homeassistant/components/caldav/calendar.py +++ b/homeassistant/components/caldav/calendar.py @@ -12,8 +12,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle, dt -REQUIREMENTS = ['caldav==0.5.0'] - _LOGGER = logging.getLogger(__name__) CONF_DEVICE_ID = 'device_id' diff --git a/homeassistant/components/calendar/__init__.py b/homeassistant/components/calendar/__init__.py index aa9e3153fe5..73a779816a3 100644 --- a/homeassistant/components/calendar/__init__.py +++ b/homeassistant/components/calendar/__init__.py @@ -22,8 +22,6 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'calendar' -DEPENDENCIES = ['http'] - ENTITY_ID_FORMAT = DOMAIN + '.{}' SCAN_INTERVAL = timedelta(seconds=60) diff --git a/homeassistant/components/camera/__init__.py b/homeassistant/components/camera/__init__.py index 2ddab537acc..1287de92ffd 100644 --- a/homeassistant/components/camera/__init__.py +++ b/homeassistant/components/camera/__init__.py @@ -36,8 +36,6 @@ import homeassistant.helpers.config_validation as cv from .const import DOMAIN, DATA_CAMERA_PREFS from .prefs import CameraPreferences -DEPENDENCIES = ['http'] - _LOGGER = logging.getLogger(__name__) SERVICE_ENABLE_MOTION = 'enable_motion_detection' diff --git a/homeassistant/components/canary/__init__.py b/homeassistant/components/canary/__init__.py index e53c7e22d2d..52b38f14795 100644 --- a/homeassistant/components/canary/__init__.py +++ b/homeassistant/components/canary/__init__.py @@ -10,8 +10,6 @@ from homeassistant.const import CONF_USERNAME, CONF_PASSWORD, CONF_TIMEOUT from homeassistant.helpers import discovery from homeassistant.util import Throttle -REQUIREMENTS = ['py-canary==0.5.0'] - _LOGGER = logging.getLogger(__name__) NOTIFICATION_ID = 'canary_notification' diff --git a/homeassistant/components/canary/alarm_control_panel.py b/homeassistant/components/canary/alarm_control_panel.py index faa7d819a2e..7402d785532 100644 --- a/homeassistant/components/canary/alarm_control_panel.py +++ b/homeassistant/components/canary/alarm_control_panel.py @@ -8,8 +8,6 @@ from homeassistant.const import ( from . import DATA_CANARY -DEPENDENCIES = ['canary'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/canary/camera.py b/homeassistant/components/canary/camera.py index fc740a46f62..33e1265921f 100644 --- a/homeassistant/components/canary/camera.py +++ b/homeassistant/components/canary/camera.py @@ -13,8 +13,6 @@ from homeassistant.util import Throttle from . import DATA_CANARY, DEFAULT_TIMEOUT -DEPENDENCIES = ['canary', 'ffmpeg'] - _LOGGER = logging.getLogger(__name__) CONF_FFMPEG_ARGUMENTS = 'ffmpeg_arguments' diff --git a/homeassistant/components/canary/sensor.py b/homeassistant/components/canary/sensor.py index fb3aaf78b0a..220abc9b387 100644 --- a/homeassistant/components/canary/sensor.py +++ b/homeassistant/components/canary/sensor.py @@ -6,8 +6,6 @@ from homeassistant.helpers.icon import icon_for_battery_level from . import DATA_CANARY -DEPENDENCIES = ['canary'] - SENSOR_VALUE_PRECISION = 2 ATTR_AIR_QUALITY = "air_quality" diff --git a/homeassistant/components/cast/__init__.py b/homeassistant/components/cast/__init__.py index 0ec3ac150d7..1a93020c229 100644 --- a/homeassistant/components/cast/__init__.py +++ b/homeassistant/components/cast/__init__.py @@ -2,8 +2,6 @@ from homeassistant import config_entries from homeassistant.helpers import config_entry_flow -REQUIREMENTS = ['pychromecast==3.2.0'] - DOMAIN = 'cast' diff --git a/homeassistant/components/channels/media_player.py b/homeassistant/components/channels/media_player.py index afe29ae079f..abd3281d11a 100644 --- a/homeassistant/components/channels/media_player.py +++ b/homeassistant/components/channels/media_player.py @@ -15,8 +15,6 @@ from homeassistant.const import ( STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pychannels==1.0.0'] - _LOGGER = logging.getLogger(__name__) DATA_CHANNELS = 'channels' diff --git a/homeassistant/components/cisco_ios/device_tracker.py b/homeassistant/components/cisco_ios/device_tracker.py index d5a64626e89..5eb03970989 100644 --- a/homeassistant/components/cisco_ios/device_tracker.py +++ b/homeassistant/components/cisco_ios/device_tracker.py @@ -11,8 +11,6 @@ from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_USERNAME, \ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pexpect==4.6.0'] - PLATFORM_SCHEMA = vol.All( PLATFORM_SCHEMA.extend({ vol.Required(CONF_HOST): cv.string, diff --git a/homeassistant/components/cisco_mobility_express/device_tracker.py b/homeassistant/components/cisco_mobility_express/device_tracker.py index a722a994350..4af94588d3b 100644 --- a/homeassistant/components/cisco_mobility_express/device_tracker.py +++ b/homeassistant/components/cisco_mobility_express/device_tracker.py @@ -9,10 +9,6 @@ from homeassistant.components.device_tracker import ( from homeassistant.const import ( CONF_HOST, CONF_USERNAME, CONF_PASSWORD, CONF_SSL, CONF_VERIFY_SSL) - -REQUIREMENTS = ['ciscomobilityexpress==0.1.5'] - - _LOGGER = logging.getLogger(__name__) DEFAULT_SSL = False diff --git a/homeassistant/components/cisco_webex_teams/notify.py b/homeassistant/components/cisco_webex_teams/notify.py index f893d4071b0..22f8679f618 100644 --- a/homeassistant/components/cisco_webex_teams/notify.py +++ b/homeassistant/components/cisco_webex_teams/notify.py @@ -8,8 +8,6 @@ from homeassistant.components.notify import ( from homeassistant.const import (CONF_TOKEN) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['webexteamssdk==1.1.1'] - _LOGGER = logging.getLogger(__name__) CONF_ROOM_ID = 'room_id' diff --git a/homeassistant/components/ciscospark/notify.py b/homeassistant/components/ciscospark/notify.py index 2eccb233a3c..320c342b143 100644 --- a/homeassistant/components/ciscospark/notify.py +++ b/homeassistant/components/ciscospark/notify.py @@ -9,8 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.notify import (ATTR_TITLE, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['ciscosparkapi==0.4.2'] - _LOGGER = logging.getLogger(__name__) CONF_ROOMID = 'roomid' diff --git a/homeassistant/components/clementine/media_player.py b/homeassistant/components/clementine/media_player.py index 65c6be19845..fc6e27be1bd 100644 --- a/homeassistant/components/clementine/media_player.py +++ b/homeassistant/components/clementine/media_player.py @@ -16,8 +16,6 @@ from homeassistant.const import ( STATE_PAUSED, STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-clementine-remote==1.0.1'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Clementine Remote' diff --git a/homeassistant/components/cloud/__init__.py b/homeassistant/components/cloud/__init__.py index 41045ba1f91..ee0cd0c0090 100644 --- a/homeassistant/components/cloud/__init__.py +++ b/homeassistant/components/cloud/__init__.py @@ -24,9 +24,6 @@ from .const import ( CONF_USER_POOL_ID, DOMAIN, MODE_DEV, MODE_PROD) from .prefs import CloudPreferences -REQUIREMENTS = ['hass-nabucasa==0.11'] -DEPENDENCIES = ['http'] - _LOGGER = logging.getLogger(__name__) DEFAULT_MODE = MODE_PROD diff --git a/homeassistant/components/cloud/binary_sensor.py b/homeassistant/components/cloud/binary_sensor.py index 19a6528e321..3e4aaf9cc84 100644 --- a/homeassistant/components/cloud/binary_sensor.py +++ b/homeassistant/components/cloud/binary_sensor.py @@ -6,8 +6,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_connect from .const import DISPATCHER_REMOTE_UPDATE, DOMAIN -DEPENDENCIES = ['cloud'] - WAIT_UNTIL_CHANGE = 3 diff --git a/homeassistant/components/cloudflare/__init__.py b/homeassistant/components/cloudflare/__init__.py index 363e7c5eeb1..ce88f820fe3 100644 --- a/homeassistant/components/cloudflare/__init__.py +++ b/homeassistant/components/cloudflare/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import CONF_API_KEY, CONF_EMAIL, CONF_ZONE import homeassistant.helpers.config_validation as cv from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['pycfdns==0.0.1'] - _LOGGER = logging.getLogger(__name__) CONF_RECORDS = 'records' diff --git a/homeassistant/components/cmus/media_player.py b/homeassistant/components/cmus/media_player.py index e5134508fea..4f1dfc50536 100644 --- a/homeassistant/components/cmus/media_player.py +++ b/homeassistant/components/cmus/media_player.py @@ -14,8 +14,6 @@ from homeassistant.const import ( STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pycmus==0.1.1'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'cmus' diff --git a/homeassistant/components/co2signal/sensor.py b/homeassistant/components/co2signal/sensor.py index b9ae5e26ebe..990521d0418 100644 --- a/homeassistant/components/co2signal/sensor.py +++ b/homeassistant/components/co2signal/sensor.py @@ -11,8 +11,6 @@ from homeassistant.helpers.entity import Entity CONF_COUNTRY_CODE = "country_code" -REQUIREMENTS = ['co2signal==0.4.2'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = 'Data provided by CO2signal' diff --git a/homeassistant/components/coinbase/__init__.py b/homeassistant/components/coinbase/__init__.py index 40d04eadb3a..21efd5f9b8e 100644 --- a/homeassistant/components/coinbase/__init__.py +++ b/homeassistant/components/coinbase/__init__.py @@ -9,8 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform from homeassistant.util import Throttle -REQUIREMENTS = ['coinbase==2.1.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'coinbase' diff --git a/homeassistant/components/coinbase/sensor.py b/homeassistant/components/coinbase/sensor.py index 2483d46b38a..9470999efbb 100644 --- a/homeassistant/components/coinbase/sensor.py +++ b/homeassistant/components/coinbase/sensor.py @@ -17,7 +17,6 @@ DEFAULT_COIN_ICON = 'mdi:coin' ATTRIBUTION = "Data provided by coinbase.com" DATA_COINBASE = 'coinbase_cache' -DEPENDENCIES = ['coinbase'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/coinmarketcap/sensor.py b/homeassistant/components/coinmarketcap/sensor.py index a39f11b5352..4d8af5a721d 100644 --- a/homeassistant/components/coinmarketcap/sensor.py +++ b/homeassistant/components/coinmarketcap/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import ( ATTR_ATTRIBUTION, CONF_DISPLAY_CURRENCY) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['coinmarketcap==5.0.3'] - _LOGGER = logging.getLogger(__name__) ATTR_VOLUME_24H = 'volume_24h' diff --git a/homeassistant/components/comfoconnect/__init__.py b/homeassistant/components/comfoconnect/__init__.py index 64ebec18545..3c50f3fb723 100644 --- a/homeassistant/components/comfoconnect/__init__.py +++ b/homeassistant/components/comfoconnect/__init__.py @@ -9,8 +9,6 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv from homeassistant.helpers.dispatcher import dispatcher_send -REQUIREMENTS = ['pycomfoconnect==0.3'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'comfoconnect' diff --git a/homeassistant/components/comfoconnect/fan.py b/homeassistant/components/comfoconnect/fan.py index 88dcffcfd21..56175f0bca0 100644 --- a/homeassistant/components/comfoconnect/fan.py +++ b/homeassistant/components/comfoconnect/fan.py @@ -10,8 +10,6 @@ from . import DOMAIN, SIGNAL_COMFOCONNECT_UPDATE_RECEIVED, ComfoConnectBridge _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['comfoconnect'] - SPEED_MAPPING = { 0: SPEED_OFF, 1: SPEED_LOW, diff --git a/homeassistant/components/comfoconnect/sensor.py b/homeassistant/components/comfoconnect/sensor.py index edb96b8d279..db2a9393e2b 100644 --- a/homeassistant/components/comfoconnect/sensor.py +++ b/homeassistant/components/comfoconnect/sensor.py @@ -12,8 +12,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['comfoconnect'] - SENSOR_TYPES = {} diff --git a/homeassistant/components/concord232/alarm_control_panel.py b/homeassistant/components/concord232/alarm_control_panel.py index a209fba93ed..c56e7e71531 100644 --- a/homeassistant/components/concord232/alarm_control_panel.py +++ b/homeassistant/components/concord232/alarm_control_panel.py @@ -12,8 +12,6 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_PORT, CONF_CODE, CONF_MODE, STATE_ALARM_ARMED_AWAY, STATE_ALARM_ARMED_HOME, STATE_ALARM_DISARMED) -REQUIREMENTS = ['concord232==0.15'] - _LOGGER = logging.getLogger(__name__) DEFAULT_HOST = 'localhost' diff --git a/homeassistant/components/concord232/binary_sensor.py b/homeassistant/components/concord232/binary_sensor.py index c1a31eb9ead..ae464da9798 100644 --- a/homeassistant/components/concord232/binary_sensor.py +++ b/homeassistant/components/concord232/binary_sensor.py @@ -10,8 +10,6 @@ from homeassistant.components.binary_sensor import ( from homeassistant.const import (CONF_HOST, CONF_PORT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['concord232==0.15'] - _LOGGER = logging.getLogger(__name__) CONF_EXCLUDE_ZONES = 'exclude_zones' diff --git a/homeassistant/components/config/__init__.py b/homeassistant/components/config/__init__.py index 7807c527370..3752d5d37bf 100644 --- a/homeassistant/components/config/__init__.py +++ b/homeassistant/components/config/__init__.py @@ -12,7 +12,6 @@ from homeassistant.components.http import HomeAssistantView from homeassistant.util.yaml import load_yaml, dump DOMAIN = 'config' -DEPENDENCIES = ['http'] SECTIONS = ( 'area_registry', 'auth', diff --git a/homeassistant/components/conversation/__init__.py b/homeassistant/components/conversation/__init__.py index bb2d692f249..bd577127fa0 100644 --- a/homeassistant/components/conversation/__init__.py +++ b/homeassistant/components/conversation/__init__.py @@ -21,7 +21,6 @@ _LOGGER = logging.getLogger(__name__) ATTR_TEXT = 'text' -DEPENDENCIES = ['http'] DOMAIN = 'conversation' REGEX_TURN_COMMAND = re.compile(r'turn (?P(?: |\w)+) (?P\w+)') diff --git a/homeassistant/components/coolmaster/climate.py b/homeassistant/components/coolmaster/climate.py index 77bb9a6b213..d6402bd893c 100644 --- a/homeassistant/components/coolmaster/climate.py +++ b/homeassistant/components/coolmaster/climate.py @@ -13,8 +13,6 @@ from homeassistant.const import ( ATTR_TEMPERATURE, CONF_HOST, CONF_PORT, TEMP_CELSIUS, TEMP_FAHRENHEIT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pycoolmasternet==0.0.4'] - SUPPORT_FLAGS = (SUPPORT_TARGET_TEMPERATURE | SUPPORT_FAN_MODE | SUPPORT_OPERATION_MODE | SUPPORT_ON_OFF) diff --git a/homeassistant/components/cover/__init__.py b/homeassistant/components/cover/__init__.py index 9bb1aacfaf1..8609d3c9cf6 100644 --- a/homeassistant/components/cover/__init__.py +++ b/homeassistant/components/cover/__init__.py @@ -22,7 +22,6 @@ from homeassistant.const import ( _LOGGER = logging.getLogger(__name__) DOMAIN = 'cover' -DEPENDENCIES = ['group'] SCAN_INTERVAL = timedelta(seconds=15) GROUP_NAME_ALL_COVERS = 'all covers' diff --git a/homeassistant/components/cppm_tracker/device_tracker.py b/homeassistant/components/cppm_tracker/device_tracker.py index 31d8122692a..608ce6dad6b 100755 --- a/homeassistant/components/cppm_tracker/device_tracker.py +++ b/homeassistant/components/cppm_tracker/device_tracker.py @@ -11,8 +11,6 @@ from homeassistant.const import ( CONF_HOST, CONF_API_KEY ) -REQUIREMENTS = ['clearpasspy==1.0.2'] - SCAN_INTERVAL = timedelta(seconds=120) CLIENT_ID = 'client_id' diff --git a/homeassistant/components/cpuspeed/sensor.py b/homeassistant/components/cpuspeed/sensor.py index 98d22c20d15..ef9cb218cd7 100644 --- a/homeassistant/components/cpuspeed/sensor.py +++ b/homeassistant/components/cpuspeed/sensor.py @@ -8,8 +8,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import CONF_NAME from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['py-cpuinfo==5.0.0'] - _LOGGER = logging.getLogger(__name__) ATTR_BRAND = 'Brand' diff --git a/homeassistant/components/crimereports/sensor.py b/homeassistant/components/crimereports/sensor.py index 13934675517..5e25d800247 100644 --- a/homeassistant/components/crimereports/sensor.py +++ b/homeassistant/components/crimereports/sensor.py @@ -16,8 +16,6 @@ from homeassistant.util.distance import convert from homeassistant.util.dt import now import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['crimereports==1.0.1'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'crimereports' diff --git a/homeassistant/components/cups/sensor.py b/homeassistant/components/cups/sensor.py index 97f894aed86..cf0ba5f7f8d 100644 --- a/homeassistant/components/cups/sensor.py +++ b/homeassistant/components/cups/sensor.py @@ -10,8 +10,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import CONF_HOST, CONF_PORT from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pycups==1.9.73'] - _LOGGER = logging.getLogger(__name__) ATTR_DEVICE_URI = 'device_uri' diff --git a/homeassistant/components/daikin/__init__.py b/homeassistant/components/daikin/__init__.py index 8e96ccb8738..fc15ebea772 100644 --- a/homeassistant/components/daikin/__init__.py +++ b/homeassistant/components/daikin/__init__.py @@ -17,8 +17,6 @@ from homeassistant.util import Throttle from . import config_flow # noqa pylint_disable=unused-import -REQUIREMENTS = ['pydaikin==1.4.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'daikin' diff --git a/homeassistant/components/danfoss_air/__init__.py b/homeassistant/components/danfoss_air/__init__.py index f4a7b92c17c..a340b94e9a4 100644 --- a/homeassistant/components/danfoss_air/__init__.py +++ b/homeassistant/components/danfoss_air/__init__.py @@ -9,8 +9,6 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['pydanfossair==0.0.7'] - _LOGGER = logging.getLogger(__name__) DANFOSS_AIR_PLATFORMS = ['sensor', 'binary_sensor', 'switch'] diff --git a/homeassistant/components/darksky/sensor.py b/homeassistant/components/darksky/sensor.py index 6aee3457acb..63c2f782d17 100644 --- a/homeassistant/components/darksky/sensor.py +++ b/homeassistant/components/darksky/sensor.py @@ -14,8 +14,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['python-forecastio==1.4.0'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Powered by Dark Sky" diff --git a/homeassistant/components/darksky/weather.py b/homeassistant/components/darksky/weather.py index 5b3db4312bf..dd945e7b01c 100644 --- a/homeassistant/components/darksky/weather.py +++ b/homeassistant/components/darksky/weather.py @@ -16,8 +16,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle from homeassistant.util.pressure import convert as convert_pressure -REQUIREMENTS = ['python-forecastio==1.4.0'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Powered by Dark Sky" diff --git a/homeassistant/components/datadog/__init__.py b/homeassistant/components/datadog/__init__.py index 3b519514d17..a59d828301c 100644 --- a/homeassistant/components/datadog/__init__.py +++ b/homeassistant/components/datadog/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import ( from homeassistant.helpers import state as state_helper import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['datadog==0.15.0'] - _LOGGER = logging.getLogger(__name__) CONF_RATE = 'rate' diff --git a/homeassistant/components/deconz/__init__.py b/homeassistant/components/deconz/__init__.py index 807f82821fb..153e654f3fb 100644 --- a/homeassistant/components/deconz/__init__.py +++ b/homeassistant/components/deconz/__init__.py @@ -13,8 +13,6 @@ from .const import ( CONF_MASTER_GATEWAY, DEFAULT_PORT, DOMAIN, _LOGGER) from .gateway import DeconzGateway -REQUIREMENTS = ['pydeconz==54'] - CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({ vol.Optional(CONF_API_KEY): cv.string, diff --git a/homeassistant/components/deconz/binary_sensor.py b/homeassistant/components/deconz/binary_sensor.py index 70de1fd7cf4..fbb15abc744 100644 --- a/homeassistant/components/deconz/binary_sensor.py +++ b/homeassistant/components/deconz/binary_sensor.py @@ -8,8 +8,6 @@ from .const import ATTR_DARK, ATTR_ON, NEW_SENSOR from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] - ATTR_ORIENTATION = 'orientation' ATTR_TILTANGLE = 'tiltangle' ATTR_VIBRATIONSTRENGTH = 'vibrationstrength' diff --git a/homeassistant/components/deconz/climate.py b/homeassistant/components/deconz/climate.py index c4327d3c497..c4a021a80c2 100644 --- a/homeassistant/components/deconz/climate.py +++ b/homeassistant/components/deconz/climate.py @@ -11,8 +11,6 @@ from .const import ATTR_OFFSET, ATTR_VALVE, NEW_SENSOR from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] - async def async_setup_entry(hass, config_entry, async_add_entities): """Set up the deCONZ climate devices. diff --git a/homeassistant/components/deconz/cover.py b/homeassistant/components/deconz/cover.py index 903c1160eb8..45a1b0c67e5 100644 --- a/homeassistant/components/deconz/cover.py +++ b/homeassistant/components/deconz/cover.py @@ -9,8 +9,6 @@ from .const import COVER_TYPES, DAMPERS, NEW_LIGHT, WINDOW_COVERS from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] - ZIGBEE_SPEC = ['lumi.curtain'] diff --git a/homeassistant/components/deconz/light.py b/homeassistant/components/deconz/light.py index b5a2b075f75..7514162fefa 100644 --- a/homeassistant/components/deconz/light.py +++ b/homeassistant/components/deconz/light.py @@ -12,8 +12,6 @@ from .const import COVER_TYPES, NEW_GROUP, NEW_LIGHT, SWITCH_TYPES from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/deconz/scene.py b/homeassistant/components/deconz/scene.py index 1ae1e079daa..d2e7f6719e9 100644 --- a/homeassistant/components/deconz/scene.py +++ b/homeassistant/components/deconz/scene.py @@ -6,8 +6,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_connect from .const import NEW_SCENE from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/deconz/sensor.py b/homeassistant/components/deconz/sensor.py index 7c3109e1f59..9f1e87db4ba 100644 --- a/homeassistant/components/deconz/sensor.py +++ b/homeassistant/components/deconz/sensor.py @@ -9,8 +9,6 @@ from .const import ATTR_DARK, ATTR_ON, NEW_SENSOR from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] - ATTR_CURRENT = 'current' ATTR_DAYLIGHT = 'daylight' ATTR_EVENT_ID = 'event_id' diff --git a/homeassistant/components/deconz/switch.py b/homeassistant/components/deconz/switch.py index b9f959766fc..c399f5da128 100644 --- a/homeassistant/components/deconz/switch.py +++ b/homeassistant/components/deconz/switch.py @@ -7,8 +7,6 @@ from .const import NEW_LIGHT, POWER_PLUGS, SIRENS from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/decora/light.py b/homeassistant/components/decora/light.py index fc8b2859c07..2f6c050b79e 100644 --- a/homeassistant/components/decora/light.py +++ b/homeassistant/components/decora/light.py @@ -12,8 +12,6 @@ from homeassistant.components.light import ( PLATFORM_SCHEMA) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['decora==0.6', 'bluepy==1.1.4'] - _LOGGER = logging.getLogger(__name__) SUPPORT_DECORA_LED = (SUPPORT_BRIGHTNESS) diff --git a/homeassistant/components/decora_wifi/light.py b/homeassistant/components/decora_wifi/light.py index b7be6bffb01..390af765b62 100644 --- a/homeassistant/components/decora_wifi/light.py +++ b/homeassistant/components/decora_wifi/light.py @@ -12,8 +12,6 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['decora_wifi==1.3'] - _LOGGER = logging.getLogger(__name__) # Validation of the user's configuration diff --git a/homeassistant/components/default_config/__init__.py b/homeassistant/components/default_config/__init__.py index 6743893888d..273513262d5 100644 --- a/homeassistant/components/default_config/__init__.py +++ b/homeassistant/components/default_config/__init__.py @@ -5,26 +5,6 @@ except ImportError: av = None DOMAIN = 'default_config' -DEPENDENCIES = [ - 'automation', - 'cloud', - 'config', - 'conversation', - 'frontend', - 'history', - 'logbook', - 'map', - 'mobile_app', - 'person', - 'script', - 'sun', - 'system_health', - 'updater', - 'zeroconf', -] -# Only automatically set up the stream component when dependency installed -if av is not None: - DEPENDENCIES.append('stream') async def async_setup(hass, config): diff --git a/homeassistant/components/deluge/sensor.py b/homeassistant/components/deluge/sensor.py index 32b1c16a47c..1002ae51077 100644 --- a/homeassistant/components/deluge/sensor.py +++ b/homeassistant/components/deluge/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['deluge-client==1.4.0'] - _LOGGER = logging.getLogger(__name__) _THROTTLED_REFRESH = None diff --git a/homeassistant/components/deluge/switch.py b/homeassistant/components/deluge/switch.py index d7c60bd96e2..d72ce9a5308 100644 --- a/homeassistant/components/deluge/switch.py +++ b/homeassistant/components/deluge/switch.py @@ -11,8 +11,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import ToggleEntity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['deluge-client==1.4.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Deluge Switch' diff --git a/homeassistant/components/demo/__init__.py b/homeassistant/components/demo/__init__.py index 354f0c0e375..50d1eebdcd3 100644 --- a/homeassistant/components/demo/__init__.py +++ b/homeassistant/components/demo/__init__.py @@ -7,7 +7,6 @@ from homeassistant import bootstrap import homeassistant.core as ha from homeassistant.const import ATTR_ENTITY_ID, CONF_PLATFORM -DEPENDENCIES = ['conversation', 'zone'] DOMAIN = 'demo' COMPONENTS_WITH_DEMO_PLATFORM = [ diff --git a/homeassistant/components/denonavr/media_player.py b/homeassistant/components/denonavr/media_player.py index 0adafe4f472..da416ce8045 100644 --- a/homeassistant/components/denonavr/media_player.py +++ b/homeassistant/components/denonavr/media_player.py @@ -18,8 +18,6 @@ from homeassistant.const import ( STATE_PAUSED, STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['denonavr==0.7.8'] - _LOGGER = logging.getLogger(__name__) ATTR_SOUND_MODE_RAW = 'sound_mode_raw' diff --git a/homeassistant/components/deutsche_bahn/sensor.py b/homeassistant/components/deutsche_bahn/sensor.py index 41584b2561f..9c7518eb8ef 100644 --- a/homeassistant/components/deutsche_bahn/sensor.py +++ b/homeassistant/components/deutsche_bahn/sensor.py @@ -9,8 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity import homeassistant.util.dt as dt_util -REQUIREMENTS = ['schiene==0.23'] - _LOGGER = logging.getLogger(__name__) CONF_DESTINATION = 'to' diff --git a/homeassistant/components/device_sun_light_trigger/__init__.py b/homeassistant/components/device_sun_light_trigger/__init__.py index 00adefc6b5c..945f8368671 100644 --- a/homeassistant/components/device_sun_light_trigger/__init__.py +++ b/homeassistant/components/device_sun_light_trigger/__init__.py @@ -17,8 +17,6 @@ from homeassistant.helpers.sun import is_up, get_astral_event_next import homeassistant.helpers.config_validation as cv DOMAIN = 'device_sun_light_trigger' -DEPENDENCIES = ['light', 'device_tracker', 'group'] - CONF_DEVICE_GROUP = 'device_group' CONF_DISABLE_TURN_OFF = 'disable_turn_off' CONF_LIGHT_GROUP = 'light_group' diff --git a/homeassistant/components/device_tracker/__init__.py b/homeassistant/components/device_tracker/__init__.py index 42d301721da..60dac103a46 100644 --- a/homeassistant/components/device_tracker/__init__.py +++ b/homeassistant/components/device_tracker/__init__.py @@ -35,8 +35,6 @@ from homeassistant.const import ( _LOGGER = logging.getLogger(__name__) DOMAIN = 'device_tracker' -DEPENDENCIES = ['zone', 'group'] - GROUP_NAME_ALL_DEVICES = 'all devices' ENTITY_ID_ALL_DEVICES = group.ENTITY_ID_FORMAT.format('all_devices') diff --git a/homeassistant/components/dht/sensor.py b/homeassistant/components/dht/sensor.py index 719c2525f0a..d544bfa74e8 100644 --- a/homeassistant/components/dht/sensor.py +++ b/homeassistant/components/dht/sensor.py @@ -12,8 +12,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle from homeassistant.util.temperature import celsius_to_fahrenheit -REQUIREMENTS = ['Adafruit-DHT==1.4.0'] - _LOGGER = logging.getLogger(__name__) CONF_PIN = 'pin' diff --git a/homeassistant/components/dialogflow/__init__.py b/homeassistant/components/dialogflow/__init__.py index 1536fe3d236..a6134d4b19c 100644 --- a/homeassistant/components/dialogflow/__init__.py +++ b/homeassistant/components/dialogflow/__init__.py @@ -10,7 +10,6 @@ from homeassistant.helpers import intent, template, config_entry_flow _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['webhook'] DOMAIN = 'dialogflow' SOURCE = "Home Assistant Dialogflow" diff --git a/homeassistant/components/digital_ocean/__init__.py b/homeassistant/components/digital_ocean/__init__.py index 7975a6eea0d..9e034b2428d 100644 --- a/homeassistant/components/digital_ocean/__init__.py +++ b/homeassistant/components/digital_ocean/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import CONF_ACCESS_TOKEN from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-digitalocean==1.13.2'] - _LOGGER = logging.getLogger(__name__) ATTR_CREATED_AT = 'created_at' diff --git a/homeassistant/components/digital_ocean/binary_sensor.py b/homeassistant/components/digital_ocean/binary_sensor.py index d496a09161b..83406247a07 100644 --- a/homeassistant/components/digital_ocean/binary_sensor.py +++ b/homeassistant/components/digital_ocean/binary_sensor.py @@ -17,8 +17,6 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Droplet' DEFAULT_DEVICE_CLASS = 'moving' -DEPENDENCIES = ['digital_ocean'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_DROPLETS): vol.All(cv.ensure_list, [cv.string]), }) diff --git a/homeassistant/components/digital_ocean/switch.py b/homeassistant/components/digital_ocean/switch.py index bc4a6a29b42..8016ccef0ea 100644 --- a/homeassistant/components/digital_ocean/switch.py +++ b/homeassistant/components/digital_ocean/switch.py @@ -14,8 +14,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['digital_ocean'] - DEFAULT_NAME = 'Droplet' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/digitalloggers/switch.py b/homeassistant/components/digitalloggers/switch.py index 89973cfad0c..4d1a87c44f9 100644 --- a/homeassistant/components/digitalloggers/switch.py +++ b/homeassistant/components/digitalloggers/switch.py @@ -10,8 +10,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['dlipower==0.7.165'] - _LOGGER = logging.getLogger(__name__) CONF_CYCLETIME = 'cycletime' diff --git a/homeassistant/components/directv/media_player.py b/homeassistant/components/directv/media_player.py index 3a30282bdf4..aaffd44d572 100644 --- a/homeassistant/components/directv/media_player.py +++ b/homeassistant/components/directv/media_player.py @@ -15,8 +15,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['directpy==0.5'] - _LOGGER = logging.getLogger(__name__) ATTR_MEDIA_CURRENTLY_RECORDING = 'media_currently_recording' diff --git a/homeassistant/components/discogs/sensor.py b/homeassistant/components/discogs/sensor.py index f8d66688b4f..f9f821668f9 100644 --- a/homeassistant/components/discogs/sensor.py +++ b/homeassistant/components/discogs/sensor.py @@ -12,8 +12,6 @@ from homeassistant.helpers.aiohttp_client import SERVER_SOFTWARE import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['discogs_client==2.2.1'] - _LOGGER = logging.getLogger(__name__) ATTR_IDENTITY = 'identity' diff --git a/homeassistant/components/discord/notify.py b/homeassistant/components/discord/notify.py index cb6fc8329c6..faf79d14e33 100644 --- a/homeassistant/components/discord/notify.py +++ b/homeassistant/components/discord/notify.py @@ -12,8 +12,6 @@ from homeassistant.components.notify import (ATTR_DATA, ATTR_TARGET, _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['discord.py==0.16.12'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_TOKEN): cv.string }) diff --git a/homeassistant/components/discovery/__init__.py b/homeassistant/components/discovery/__init__.py index 8e3a350c5ca..7490b530926 100644 --- a/homeassistant/components/discovery/__init__.py +++ b/homeassistant/components/discovery/__init__.py @@ -20,8 +20,6 @@ from homeassistant.helpers.event import async_track_point_in_utc_time from homeassistant.helpers.discovery import async_load_platform, async_discover import homeassistant.util.dt as dt_util -REQUIREMENTS = ['netdisco==2.6.0'] - DOMAIN = 'discovery' SCAN_INTERVAL = timedelta(seconds=300) diff --git a/homeassistant/components/dlib_face_detect/image_processing.py b/homeassistant/components/dlib_face_detect/image_processing.py index 49fbfadff7e..0bc657a615d 100644 --- a/homeassistant/components/dlib_face_detect/image_processing.py +++ b/homeassistant/components/dlib_face_detect/image_processing.py @@ -8,8 +8,6 @@ from homeassistant.components.image_processing import PLATFORM_SCHEMA # noqa from homeassistant.components.image_processing import ( ImageProcessingFaceEntity, CONF_SOURCE, CONF_ENTITY_ID, CONF_NAME) -REQUIREMENTS = ['face_recognition==1.2.3'] - _LOGGER = logging.getLogger(__name__) ATTR_LOCATION = 'location' diff --git a/homeassistant/components/dlib_face_identify/image_processing.py b/homeassistant/components/dlib_face_identify/image_processing.py index a3b91235125..569b1ecece2 100644 --- a/homeassistant/components/dlib_face_identify/image_processing.py +++ b/homeassistant/components/dlib_face_identify/image_processing.py @@ -10,8 +10,6 @@ from homeassistant.components.image_processing import ( CONF_NAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['face_recognition==1.2.3'] - _LOGGER = logging.getLogger(__name__) ATTR_NAME = 'name' diff --git a/homeassistant/components/dlink/switch.py b/homeassistant/components/dlink/switch.py index 812fd3882b3..7164bb2310a 100644 --- a/homeassistant/components/dlink/switch.py +++ b/homeassistant/components/dlink/switch.py @@ -12,8 +12,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.util import dt as dt_util -REQUIREMENTS = ['pyW215==0.6.0'] - _LOGGER = logging.getLogger(__name__) ATTR_TOTAL_CONSUMPTION = 'total_consumption' diff --git a/homeassistant/components/dlna_dmr/media_player.py b/homeassistant/components/dlna_dmr/media_player.py index 54c19f70ef3..6f29bd65d56 100644 --- a/homeassistant/components/dlna_dmr/media_player.py +++ b/homeassistant/components/dlna_dmr/media_player.py @@ -27,8 +27,6 @@ from homeassistant.helpers.typing import HomeAssistantType import homeassistant.helpers.config_validation as cv from homeassistant.util import get_local_ip -REQUIREMENTS = ['async-upnp-client==0.14.7'] - _LOGGER = logging.getLogger(__name__) DLNA_DMR_DATA = 'dlna_dmr' diff --git a/homeassistant/components/dnsip/sensor.py b/homeassistant/components/dnsip/sensor.py index 13c9be7bb14..976abb1401b 100644 --- a/homeassistant/components/dnsip/sensor.py +++ b/homeassistant/components/dnsip/sensor.py @@ -8,8 +8,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['aiodns==1.1.1'] - _LOGGER = logging.getLogger(__name__) CONF_NAME = 'name' diff --git a/homeassistant/components/dominos/__init__.py b/homeassistant/components/dominos/__init__.py index 1c8966f3b4b..3c5cb3ed6ec 100644 --- a/homeassistant/components/dominos/__init__.py +++ b/homeassistant/components/dominos/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.entity_component import EntityComponent from homeassistant.util import Throttle -REQUIREMENTS = ['pizzapi==0.0.3'] - _LOGGER = logging.getLogger(__name__) # The domain of your component. Should be equal to the name of your component. @@ -34,8 +32,6 @@ ATTR_ORDER_CODES = 'codes' MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=10) MIN_TIME_BETWEEN_STORE_UPDATES = timedelta(minutes=3330) -DEPENDENCIES = ['http'] - _ORDERS_SCHEMA = vol.Schema({ vol.Required(ATTR_ORDER_NAME): cv.string, vol.Required(ATTR_ORDER_CODES): vol.All(cv.ensure_list, [cv.string]), diff --git a/homeassistant/components/doorbird/__init__.py b/homeassistant/components/doorbird/__init__.py index 25a2c5caff9..477d96770bc 100644 --- a/homeassistant/components/doorbird/__init__.py +++ b/homeassistant/components/doorbird/__init__.py @@ -11,8 +11,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.util import dt as dt_util, slugify -REQUIREMENTS = ['doorbirdpy==2.0.8'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'doorbird' diff --git a/homeassistant/components/doorbird/camera.py b/homeassistant/components/doorbird/camera.py index a93b0fbf194..9a20a91c758 100644 --- a/homeassistant/components/doorbird/camera.py +++ b/homeassistant/components/doorbird/camera.py @@ -11,8 +11,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession from . import DOMAIN as DOORBIRD_DOMAIN -DEPENDENCIES = ['doorbird'] - _CAMERA_LAST_VISITOR = "{} Last Ring" _CAMERA_LAST_MOTION = "{} Last Motion" _CAMERA_LIVE = "{} Live" diff --git a/homeassistant/components/doorbird/switch.py b/homeassistant/components/doorbird/switch.py index ba6f96660d1..f3b1f5f059e 100644 --- a/homeassistant/components/doorbird/switch.py +++ b/homeassistant/components/doorbird/switch.py @@ -6,8 +6,6 @@ from homeassistant.components.switch import SwitchDevice from . import DOMAIN as DOORBIRD_DOMAIN -DEPENDENCIES = ['doorbird'] - _LOGGER = logging.getLogger(__name__) IR_RELAY = '__ir_light__' diff --git a/homeassistant/components/dovado/__init__.py b/homeassistant/components/dovado/__init__.py index df2eed3011a..2a240c2a79e 100644 --- a/homeassistant/components/dovado/__init__.py +++ b/homeassistant/components/dovado/__init__.py @@ -12,8 +12,6 @@ from homeassistant.util import Throttle _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['dovado==0.4.1'] - DOMAIN = 'dovado' CONFIG_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/dovado/notify.py b/homeassistant/components/dovado/notify.py index 59827529ed3..f9d9e5574a1 100644 --- a/homeassistant/components/dovado/notify.py +++ b/homeassistant/components/dovado/notify.py @@ -8,8 +8,6 @@ from . import DOMAIN as DOVADO_DOMAIN _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['dovado'] - def get_service(hass, config, discovery_info=None): """Get the Dovado Router SMS notification service.""" diff --git a/homeassistant/components/dovado/sensor.py b/homeassistant/components/dovado/sensor.py index 56c4ee03a3a..7a825118fc6 100644 --- a/homeassistant/components/dovado/sensor.py +++ b/homeassistant/components/dovado/sensor.py @@ -14,8 +14,6 @@ from . import DOMAIN as DOVADO_DOMAIN _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['dovado'] - MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=30) SENSOR_UPLOAD = 'upload' diff --git a/homeassistant/components/dsmr/sensor.py b/homeassistant/components/dsmr/sensor.py index 74f6cb37fc2..d7acc5c28bf 100644 --- a/homeassistant/components/dsmr/sensor.py +++ b/homeassistant/components/dsmr/sensor.py @@ -15,8 +15,6 @@ from homeassistant.helpers.entity import Entity _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['dsmr_parser==0.12'] - CONF_DSMR_VERSION = 'dsmr_version' CONF_RECONNECT_INTERVAL = 'reconnect_interval' CONF_PRECISION = 'precision' diff --git a/homeassistant/components/duke_energy/sensor.py b/homeassistant/components/duke_energy/sensor.py index 9aada348418..e364e35048b 100644 --- a/homeassistant/components/duke_energy/sensor.py +++ b/homeassistant/components/duke_energy/sensor.py @@ -8,8 +8,6 @@ from homeassistant.const import CONF_USERNAME, CONF_PASSWORD from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pydukeenergy==0.0.6'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/dunehd/media_player.py b/homeassistant/components/dunehd/media_player.py index 70d96424ced..a5698c74654 100644 --- a/homeassistant/components/dunehd/media_player.py +++ b/homeassistant/components/dunehd/media_player.py @@ -11,8 +11,6 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, STATE_OFF, STATE_ON, STATE_PAUSED, STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pdunehd==1.3'] - DEFAULT_NAME = 'DuneHD' CONF_SOURCES = 'sources' diff --git a/homeassistant/components/dweet/__init__.py b/homeassistant/components/dweet/__init__.py index f8e5b181163..148eeeec9a4 100644 --- a/homeassistant/components/dweet/__init__.py +++ b/homeassistant/components/dweet/__init__.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers import state as state_helper from homeassistant.util import Throttle -REQUIREMENTS = ['dweepy==0.3.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'dweet' diff --git a/homeassistant/components/dweet/sensor.py b/homeassistant/components/dweet/sensor.py index d1a64201e6d..55f3c5341a3 100644 --- a/homeassistant/components/dweet/sensor.py +++ b/homeassistant/components/dweet/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import ( CONF_NAME, CONF_VALUE_TEMPLATE, CONF_UNIT_OF_MEASUREMENT, CONF_DEVICE) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['dweepy==0.3.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Dweet.io Sensor' diff --git a/homeassistant/components/dyson/__init__.py b/homeassistant/components/dyson/__init__.py index eccf8aac364..a857d6657fd 100644 --- a/homeassistant/components/dyson/__init__.py +++ b/homeassistant/components/dyson/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import ( CONF_DEVICES, CONF_PASSWORD, CONF_TIMEOUT, CONF_USERNAME) from homeassistant.helpers import discovery -REQUIREMENTS = ['libpurecool==0.5.0'] - _LOGGER = logging.getLogger(__name__) CONF_LANGUAGE = 'language' diff --git a/homeassistant/components/dyson/fan.py b/homeassistant/components/dyson/fan.py index 0140378968b..03a55f8abbe 100644 --- a/homeassistant/components/dyson/fan.py +++ b/homeassistant/components/dyson/fan.py @@ -27,7 +27,6 @@ ATTR_CARBON_FILTER = 'carbon_filter' ATTR_DYSON_SPEED = 'dyson_speed' ATTR_DYSON_SPEED_LIST = 'dyson_speed_list' -DEPENDENCIES = ['dyson'] DYSON_DOMAIN = 'dyson' DYSON_FAN_DEVICES = 'dyson_fan_devices' diff --git a/homeassistant/components/dyson/sensor.py b/homeassistant/components/dyson/sensor.py index 2c7a71f5724..56c924d1a54 100644 --- a/homeassistant/components/dyson/sensor.py +++ b/homeassistant/components/dyson/sensor.py @@ -6,8 +6,6 @@ from homeassistant.helpers.entity import Entity from . import DYSON_DEVICES -DEPENDENCIES = ['dyson'] - SENSOR_UNITS = { 'air_quality': None, 'dust': None, diff --git a/homeassistant/components/dyson/vacuum.py b/homeassistant/components/dyson/vacuum.py index f1822b4043b..0bb2368f690 100644 --- a/homeassistant/components/dyson/vacuum.py +++ b/homeassistant/components/dyson/vacuum.py @@ -15,8 +15,6 @@ ATTR_CLEAN_ID = 'clean_id' ATTR_FULL_CLEAN_TYPE = 'full_clean_type' ATTR_POSITION = 'position' -DEPENDENCIES = ['dyson'] - DYSON_360_EYE_DEVICES = "dyson_360_eye_devices" SUPPORT_DYSON = SUPPORT_TURN_ON | SUPPORT_TURN_OFF | SUPPORT_PAUSE | \ diff --git a/homeassistant/components/ebox/sensor.py b/homeassistant/components/ebox/sensor.py index 24458e444dc..aaf3384d55f 100644 --- a/homeassistant/components/ebox/sensor.py +++ b/homeassistant/components/ebox/sensor.py @@ -21,8 +21,6 @@ from homeassistant.util import Throttle from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['pyebox==1.1.4'] - _LOGGER = logging.getLogger(__name__) GIGABITS = 'Gb' # type: str diff --git a/homeassistant/components/ebusd/__init__.py b/homeassistant/components/ebusd/__init__.py index bc1b3aa9595..15ff523f4fb 100644 --- a/homeassistant/components/ebusd/__init__.py +++ b/homeassistant/components/ebusd/__init__.py @@ -13,8 +13,6 @@ from homeassistant.util import Throttle from .const import (DOMAIN, SENSOR_TYPES) -REQUIREMENTS = ['ebusdpy==0.0.16'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'ebusd' diff --git a/homeassistant/components/ebusd/sensor.py b/homeassistant/components/ebusd/sensor.py index 942ba107509..f73bb09b509 100644 --- a/homeassistant/components/ebusd/sensor.py +++ b/homeassistant/components/ebusd/sensor.py @@ -6,8 +6,6 @@ from homeassistant.helpers.entity import Entity from .const import DOMAIN -DEPENDENCIES = ['ebusd'] - TIME_FRAME1_BEGIN = 'time_frame1_begin' TIME_FRAME1_END = 'time_frame1_end' TIME_FRAME2_BEGIN = 'time_frame2_begin' diff --git a/homeassistant/components/ecoal_boiler/__init__.py b/homeassistant/components/ecoal_boiler/__init__.py index 6ab9fc3181c..796324d9337 100644 --- a/homeassistant/components/ecoal_boiler/__init__.py +++ b/homeassistant/components/ecoal_boiler/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import (CONF_HOST, CONF_PASSWORD, CONF_USERNAME, import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform -REQUIREMENTS = ['ecoaliface==0.4.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = "ecoal_boiler" diff --git a/homeassistant/components/ecoal_boiler/sensor.py b/homeassistant/components/ecoal_boiler/sensor.py index ef8b39842d9..f1998dd5b2e 100644 --- a/homeassistant/components/ecoal_boiler/sensor.py +++ b/homeassistant/components/ecoal_boiler/sensor.py @@ -8,8 +8,6 @@ from . import AVAILABLE_SENSORS, DATA_ECOAL_BOILER _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ecoal_boiler'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the ecoal sensors.""" diff --git a/homeassistant/components/ecoal_boiler/switch.py b/homeassistant/components/ecoal_boiler/switch.py index db8759a032a..9f286e625a5 100644 --- a/homeassistant/components/ecoal_boiler/switch.py +++ b/homeassistant/components/ecoal_boiler/switch.py @@ -8,8 +8,6 @@ from . import AVAILABLE_PUMPS, DATA_ECOAL_BOILER _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ecoal_boiler'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up switches based on ecoal interface.""" diff --git a/homeassistant/components/ecobee/__init__.py b/homeassistant/components/ecobee/__init__.py index 167132a5f41..5f9ae6a919d 100644 --- a/homeassistant/components/ecobee/__init__.py +++ b/homeassistant/components/ecobee/__init__.py @@ -11,8 +11,6 @@ from homeassistant.const import CONF_API_KEY from homeassistant.util import Throttle from homeassistant.util.json import save_json -REQUIREMENTS = ['python-ecobee-api==0.0.18'] - _CONFIGURING = {} _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ecobee/binary_sensor.py b/homeassistant/components/ecobee/binary_sensor.py index ca8e551bf5e..0989b9ded97 100644 --- a/homeassistant/components/ecobee/binary_sensor.py +++ b/homeassistant/components/ecobee/binary_sensor.py @@ -2,8 +2,6 @@ from homeassistant.components import ecobee from homeassistant.components.binary_sensor import BinarySensorDevice -DEPENDENCIES = ['ecobee'] - ECOBEE_CONFIG_FILE = 'ecobee.conf' diff --git a/homeassistant/components/ecobee/climate.py b/homeassistant/components/ecobee/climate.py index 44a3800afa9..3fe1646ee02 100644 --- a/homeassistant/components/ecobee/climate.py +++ b/homeassistant/components/ecobee/climate.py @@ -27,8 +27,6 @@ TEMPERATURE_HOLD = 'temp' VACATION_HOLD = 'vacation' AWAY_MODE = 'awayMode' -DEPENDENCIES = ['ecobee'] - SERVICE_SET_FAN_MIN_ON_TIME = 'ecobee_set_fan_min_on_time' SERVICE_RESUME_PROGRAM = 'ecobee_resume_program' diff --git a/homeassistant/components/ecobee/notify.py b/homeassistant/components/ecobee/notify.py index 9824d20b85e..d6e4e8f0c63 100644 --- a/homeassistant/components/ecobee/notify.py +++ b/homeassistant/components/ecobee/notify.py @@ -10,8 +10,6 @@ from homeassistant.components.notify import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ecobee'] - CONF_INDEX = 'index' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/ecobee/sensor.py b/homeassistant/components/ecobee/sensor.py index 1f9fd5cbde8..436903a645f 100644 --- a/homeassistant/components/ecobee/sensor.py +++ b/homeassistant/components/ecobee/sensor.py @@ -4,8 +4,6 @@ from homeassistant.const import ( DEVICE_CLASS_HUMIDITY, DEVICE_CLASS_TEMPERATURE, TEMP_FAHRENHEIT) from homeassistant.helpers.entity import Entity -DEPENDENCIES = ['ecobee'] - ECOBEE_CONFIG_FILE = 'ecobee.conf' SENSOR_TYPES = { diff --git a/homeassistant/components/ecobee/weather.py b/homeassistant/components/ecobee/weather.py index 2ba5f362b7d..f5058434f38 100644 --- a/homeassistant/components/ecobee/weather.py +++ b/homeassistant/components/ecobee/weather.py @@ -7,8 +7,6 @@ from homeassistant.components.weather import ( ATTR_FORECAST_TIME, ATTR_FORECAST_WIND_SPEED, WeatherEntity) from homeassistant.const import TEMP_FAHRENHEIT -DEPENDENCIES = ['ecobee'] - ATTR_FORECAST_TEMP_HIGH = 'temphigh' ATTR_FORECAST_PRESSURE = 'pressure' ATTR_FORECAST_VISIBILITY = 'visibility' diff --git a/homeassistant/components/econet/water_heater.py b/homeassistant/components/econet/water_heater.py index 90176842bf1..4c47e24d705 100644 --- a/homeassistant/components/econet/water_heater.py +++ b/homeassistant/components/econet/water_heater.py @@ -13,8 +13,6 @@ from homeassistant.const import ( TEMP_FAHRENHEIT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyeconet==0.0.10'] - _LOGGER = logging.getLogger(__name__) ATTR_VACATION_START = 'next_vacation_start_date' diff --git a/homeassistant/components/ecovacs/__init__.py b/homeassistant/components/ecovacs/__init__.py index 124cae3ca47..da87af722a6 100644 --- a/homeassistant/components/ecovacs/__init__.py +++ b/homeassistant/components/ecovacs/__init__.py @@ -10,8 +10,6 @@ from homeassistant.const import ( from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['sucks==0.9.3'] - _LOGGER = logging.getLogger(__name__) DOMAIN = "ecovacs" diff --git a/homeassistant/components/ecovacs/vacuum.py b/homeassistant/components/ecovacs/vacuum.py index b9fe94f2bed..ee374871d31 100644 --- a/homeassistant/components/ecovacs/vacuum.py +++ b/homeassistant/components/ecovacs/vacuum.py @@ -11,8 +11,6 @@ from . import ECOVACS_DEVICES _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ecovacs'] - SUPPORT_ECOVACS = ( SUPPORT_BATTERY | SUPPORT_RETURN_HOME | SUPPORT_CLEAN_SPOT | SUPPORT_STOP | SUPPORT_TURN_OFF | SUPPORT_TURN_ON | SUPPORT_LOCATE | diff --git a/homeassistant/components/eddystone_temperature/sensor.py b/homeassistant/components/eddystone_temperature/sensor.py index ae3d498d30c..aad279934e5 100644 --- a/homeassistant/components/eddystone_temperature/sensor.py +++ b/homeassistant/components/eddystone_temperature/sensor.py @@ -18,8 +18,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['beacontools[scan]==1.2.3', 'construct==2.9.45'] - _LOGGER = logging.getLogger(__name__) CONF_BEACONS = 'beacons' diff --git a/homeassistant/components/edimax/switch.py b/homeassistant/components/edimax/switch.py index 338e6ac932c..535ae65800f 100644 --- a/homeassistant/components/edimax/switch.py +++ b/homeassistant/components/edimax/switch.py @@ -8,8 +8,6 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_PASSWORD, CONF_USERNAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyedimax==0.1'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Edimax Smart Plug' diff --git a/homeassistant/components/edp_redy/__init__.py b/homeassistant/components/edp_redy/__init__.py index 9b8bfaa437a..af012064194 100644 --- a/homeassistant/components/edp_redy/__init__.py +++ b/homeassistant/components/edp_redy/__init__.py @@ -20,8 +20,6 @@ EDP_REDY = 'edp_redy' DATA_UPDATE_TOPIC = '{0}_data_update'.format(DOMAIN) UPDATE_INTERVAL = 60 -REQUIREMENTS = ['edp_redy==0.0.3'] - CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({ vol.Required(CONF_USERNAME): cv.string, diff --git a/homeassistant/components/edp_redy/sensor.py b/homeassistant/components/edp_redy/sensor.py index b8f9c031c29..cf9766ede66 100644 --- a/homeassistant/components/edp_redy/sensor.py +++ b/homeassistant/components/edp_redy/sensor.py @@ -8,8 +8,6 @@ from . import EDP_REDY, EdpRedyDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['edp_redy'] - # Load power in watts (W) ATTR_ACTIVE_POWER = 'active_power' diff --git a/homeassistant/components/edp_redy/switch.py b/homeassistant/components/edp_redy/switch.py index 0c92f80ccf6..3f6dfe6b82d 100644 --- a/homeassistant/components/edp_redy/switch.py +++ b/homeassistant/components/edp_redy/switch.py @@ -7,8 +7,6 @@ from . import EDP_REDY, EdpRedyDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['edp_redy'] - # Load power in watts (W) ATTR_ACTIVE_POWER = 'active_power' diff --git a/homeassistant/components/ee_brightbox/device_tracker.py b/homeassistant/components/ee_brightbox/device_tracker.py index 46e4a3c3c24..6af5065ed2e 100644 --- a/homeassistant/components/ee_brightbox/device_tracker.py +++ b/homeassistant/components/ee_brightbox/device_tracker.py @@ -8,8 +8,6 @@ from homeassistant.components.device_tracker import ( from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_USERNAME import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['eebrightbox==0.0.4'] - _LOGGER = logging.getLogger(__name__) CONF_VERSION = 'version' diff --git a/homeassistant/components/egardia/__init__.py b/homeassistant/components/egardia/__init__.py index fe613824c95..cf0bb20f0fc 100644 --- a/homeassistant/components/egardia/__init__.py +++ b/homeassistant/components/egardia/__init__.py @@ -10,8 +10,6 @@ from homeassistant.const import ( from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pythonegardia==1.0.39'] - _LOGGER = logging.getLogger(__name__) ATTR_DISCOVER_DEVICES = 'egardia_sensor' diff --git a/homeassistant/components/egardia/alarm_control_panel.py b/homeassistant/components/egardia/alarm_control_panel.py index 7fc60d5fb5d..ab48181f9ed 100644 --- a/homeassistant/components/egardia/alarm_control_panel.py +++ b/homeassistant/components/egardia/alarm_control_panel.py @@ -13,8 +13,6 @@ from . import ( CONF_REPORT_SERVER_PORT, EGARDIA_DEVICE, EGARDIA_SERVER, REPORT_SERVER_CODES_IGNORE) -DEPENDENCIES = ['egardia'] - _LOGGER = logging.getLogger(__name__) STATES = { diff --git a/homeassistant/components/egardia/binary_sensor.py b/homeassistant/components/egardia/binary_sensor.py index d11894ae675..965b2dd1d55 100644 --- a/homeassistant/components/egardia/binary_sensor.py +++ b/homeassistant/components/egardia/binary_sensor.py @@ -8,8 +8,6 @@ from . import ATTR_DISCOVER_DEVICES, EGARDIA_DEVICE _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['egardia'] - EGARDIA_TYPE_TO_DEVICE_CLASS = { 'IR Sensor': 'motion', 'Door Contact': 'opening', diff --git a/homeassistant/components/eight_sleep/__init__.py b/homeassistant/components/eight_sleep/__init__.py index ca6c8a5a5c6..d74218796a3 100644 --- a/homeassistant/components/eight_sleep/__init__.py +++ b/homeassistant/components/eight_sleep/__init__.py @@ -16,8 +16,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import async_track_point_in_utc_time from homeassistant.util.dt import utcnow -REQUIREMENTS = ['pyeight==0.1.1'] - _LOGGER = logging.getLogger(__name__) CONF_PARTNER = 'partner' diff --git a/homeassistant/components/eight_sleep/binary_sensor.py b/homeassistant/components/eight_sleep/binary_sensor.py index a3ca27b570d..b3842106723 100644 --- a/homeassistant/components/eight_sleep/binary_sensor.py +++ b/homeassistant/components/eight_sleep/binary_sensor.py @@ -7,8 +7,6 @@ from . import CONF_BINARY_SENSORS, DATA_EIGHT, NAME_MAP, EightSleepHeatEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['eight_sleep'] - async def async_setup_platform(hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/eight_sleep/sensor.py b/homeassistant/components/eight_sleep/sensor.py index a1ad93ec54a..b7b0f588155 100644 --- a/homeassistant/components/eight_sleep/sensor.py +++ b/homeassistant/components/eight_sleep/sensor.py @@ -5,8 +5,6 @@ from . import ( CONF_SENSORS, DATA_EIGHT, NAME_MAP, EightSleepHeatEntity, EightSleepUserEntity) -DEPENDENCIES = ['eight_sleep'] - ATTR_ROOM_TEMP = 'Room Temperature' ATTR_AVG_ROOM_TEMP = 'Average Room Temperature' ATTR_BED_TEMP = 'Bed Temperature' diff --git a/homeassistant/components/eliqonline/sensor.py b/homeassistant/components/eliqonline/sensor.py index 198ca327997..12752b8db9e 100644 --- a/homeassistant/components/eliqonline/sensor.py +++ b/homeassistant/components/eliqonline/sensor.py @@ -10,8 +10,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['eliqonline==1.2.2'] - _LOGGER = logging.getLogger(__name__) CONF_CHANNEL_ID = 'channel_id' diff --git a/homeassistant/components/elkm1/__init__.py b/homeassistant/components/elkm1/__init__.py index a0c08bf5429..564f0e74c75 100644 --- a/homeassistant/components/elkm1/__init__.py +++ b/homeassistant/components/elkm1/__init__.py @@ -12,8 +12,6 @@ from homeassistant.helpers import discovery from homeassistant.helpers.entity import Entity from homeassistant.helpers.typing import ConfigType # noqa -REQUIREMENTS = ['elkm1-lib==0.7.13'] - DOMAIN = 'elkm1' CONF_AREA = 'area' diff --git a/homeassistant/components/elkm1/alarm_control_panel.py b/homeassistant/components/elkm1/alarm_control_panel.py index e9155dd17b5..b885913a0df 100644 --- a/homeassistant/components/elkm1/alarm_control_panel.py +++ b/homeassistant/components/elkm1/alarm_control_panel.py @@ -12,8 +12,6 @@ from homeassistant.helpers.dispatcher import ( from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities -DEPENDENCIES = [ELK_DOMAIN] - SIGNAL_ARM_ENTITY = 'elkm1_arm' SIGNAL_DISPLAY_MESSAGE = 'elkm1_display_message' diff --git a/homeassistant/components/elkm1/climate.py b/homeassistant/components/elkm1/climate.py index 93e4aa66b23..23c18312863 100644 --- a/homeassistant/components/elkm1/climate.py +++ b/homeassistant/components/elkm1/climate.py @@ -9,8 +9,6 @@ from homeassistant.const import PRECISION_WHOLE, STATE_ON from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities -DEPENDENCIES = [ELK_DOMAIN] - async def async_setup_platform(hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/elkm1/light.py b/homeassistant/components/elkm1/light.py index fe84ab3f251..ee6fe09a7a2 100644 --- a/homeassistant/components/elkm1/light.py +++ b/homeassistant/components/elkm1/light.py @@ -4,8 +4,6 @@ from homeassistant.components.light import ( from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities -DEPENDENCIES = [ELK_DOMAIN] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/elkm1/scene.py b/homeassistant/components/elkm1/scene.py index 1d08f4cf96d..aaae8bb0a5c 100644 --- a/homeassistant/components/elkm1/scene.py +++ b/homeassistant/components/elkm1/scene.py @@ -3,8 +3,6 @@ from homeassistant.components.scene import Scene from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities -DEPENDENCIES = [ELK_DOMAIN] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/elkm1/sensor.py b/homeassistant/components/elkm1/sensor.py index da27a3ac4b1..0e367265605 100644 --- a/homeassistant/components/elkm1/sensor.py +++ b/homeassistant/components/elkm1/sensor.py @@ -1,8 +1,6 @@ """Support for control of ElkM1 sensors.""" from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities -DEPENDENCIES = [ELK_DOMAIN] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/elkm1/switch.py b/homeassistant/components/elkm1/switch.py index 740a2965865..df29491435e 100644 --- a/homeassistant/components/elkm1/switch.py +++ b/homeassistant/components/elkm1/switch.py @@ -3,8 +3,6 @@ from homeassistant.components.switch import SwitchDevice from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities -DEPENDENCIES = [ELK_DOMAIN] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/emby/media_player.py b/homeassistant/components/emby/media_player.py index 8a94664f352..fa1c096707b 100644 --- a/homeassistant/components/emby/media_player.py +++ b/homeassistant/components/emby/media_player.py @@ -17,8 +17,6 @@ from homeassistant.core import callback import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pyemby==1.6'] - _LOGGER = logging.getLogger(__name__) CONF_AUTO_HIDE = 'auto_hide' diff --git a/homeassistant/components/emulated_hue/__init__.py b/homeassistant/components/emulated_hue/__init__.py index c8ed263a2dc..2ef0aaca134 100644 --- a/homeassistant/components/emulated_hue/__init__.py +++ b/homeassistant/components/emulated_hue/__init__.py @@ -8,7 +8,6 @@ from homeassistant import util from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP, ) -from homeassistant.components.http import REQUIREMENTS # NOQA from homeassistant.exceptions import HomeAssistantError from homeassistant.helpers.deprecation import get_deprecated import homeassistant.helpers.config_validation as cv diff --git a/homeassistant/components/emulated_roku/__init__.py b/homeassistant/components/emulated_roku/__init__.py index ef87e14ec43..72d4dff72db 100644 --- a/homeassistant/components/emulated_roku/__init__.py +++ b/homeassistant/components/emulated_roku/__init__.py @@ -11,8 +11,6 @@ from .const import ( CONF_ADVERTISE_IP, CONF_ADVERTISE_PORT, CONF_HOST_IP, CONF_LISTEN_PORT, CONF_SERVERS, CONF_UPNP_BIND_MULTICAST, DOMAIN) -REQUIREMENTS = ['emulated_roku==0.1.8'] - SERVER_CONFIG_SCHEMA = vol.Schema({ vol.Required(CONF_NAME): cv.string, vol.Required(CONF_LISTEN_PORT): cv.port, diff --git a/homeassistant/components/enigma2/media_player.py b/homeassistant/components/enigma2/media_player.py index 11c3e0fe3ce..4662c707637 100644 --- a/homeassistant/components/enigma2/media_player.py +++ b/homeassistant/components/enigma2/media_player.py @@ -14,8 +14,6 @@ from homeassistant.const import ( STATE_OFF, STATE_ON, STATE_PLAYING, CONF_PORT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['openwebifpy==3.1.1'] - _LOGGER = logging.getLogger(__name__) ATTR_MEDIA_CURRENTLY_RECORDING = 'media_currently_recording' diff --git a/homeassistant/components/enocean/__init__.py b/homeassistant/components/enocean/__init__.py index 8b3c27025cd..2dcf6a3a0ac 100644 --- a/homeassistant/components/enocean/__init__.py +++ b/homeassistant/components/enocean/__init__.py @@ -6,8 +6,6 @@ import voluptuous as vol from homeassistant.const import CONF_DEVICE import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['enocean==0.40'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'enocean' diff --git a/homeassistant/components/enocean/binary_sensor.py b/homeassistant/components/enocean/binary_sensor.py index 1fde8c79e40..649bec024e3 100644 --- a/homeassistant/components/enocean/binary_sensor.py +++ b/homeassistant/components/enocean/binary_sensor.py @@ -12,7 +12,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['enocean'] DEFAULT_NAME = 'EnOcean binary sensor' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/enocean/light.py b/homeassistant/components/enocean/light.py index f574f89f951..9ec3f4ab27b 100644 --- a/homeassistant/components/enocean/light.py +++ b/homeassistant/components/enocean/light.py @@ -15,8 +15,6 @@ _LOGGER = logging.getLogger(__name__) CONF_SENDER_ID = 'sender_id' DEFAULT_NAME = 'EnOcean Light' -DEPENDENCIES = ['enocean'] - SUPPORT_ENOCEAN = SUPPORT_BRIGHTNESS PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/enocean/sensor.py b/homeassistant/components/enocean/sensor.py index 8d79de2c50d..530738e1f88 100644 --- a/homeassistant/components/enocean/sensor.py +++ b/homeassistant/components/enocean/sensor.py @@ -12,8 +12,6 @@ from homeassistant.components import enocean _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'EnOcean sensor' -DEPENDENCIES = ['enocean'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ID): vol.All(cv.ensure_list, [vol.Coerce(int)]), vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, diff --git a/homeassistant/components/enocean/switch.py b/homeassistant/components/enocean/switch.py index 4dfbafd36b1..f0b132c9d1c 100644 --- a/homeassistant/components/enocean/switch.py +++ b/homeassistant/components/enocean/switch.py @@ -12,7 +12,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'EnOcean Switch' -DEPENDENCIES = ['enocean'] CONF_CHANNEL = 'channel' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/enphase_envoy/sensor.py b/homeassistant/components/enphase_envoy/sensor.py index 2b62732dc91..7077e12d750 100644 --- a/homeassistant/components/enphase_envoy/sensor.py +++ b/homeassistant/components/enphase_envoy/sensor.py @@ -10,7 +10,6 @@ from homeassistant.const import ( CONF_IP_ADDRESS, CONF_MONITORED_CONDITIONS, POWER_WATT) -REQUIREMENTS = ['envoy_reader==0.3'] _LOGGER = logging.getLogger(__name__) SENSORS = { diff --git a/homeassistant/components/entur_public_transport/sensor.py b/homeassistant/components/entur_public_transport/sensor.py index b2e22867690..61b183b9408 100644 --- a/homeassistant/components/entur_public_transport/sensor.py +++ b/homeassistant/components/entur_public_transport/sensor.py @@ -14,8 +14,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle import homeassistant.util.dt as dt_util -REQUIREMENTS = ['enturclient==0.2.0'] - _LOGGER = logging.getLogger(__name__) API_CLIENT_NAME = 'homeassistant-homeassistant' diff --git a/homeassistant/components/envirophat/sensor.py b/homeassistant/components/envirophat/sensor.py index 16cb79406a9..6d792df2421 100644 --- a/homeassistant/components/envirophat/sensor.py +++ b/homeassistant/components/envirophat/sensor.py @@ -11,9 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['envirophat==0.0.6', - 'smbus-cffi==0.5.1'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'envirophat' diff --git a/homeassistant/components/envisalink/__init__.py b/homeassistant/components/envisalink/__init__.py index c46a26c6f85..d7a015e8e45 100644 --- a/homeassistant/components/envisalink/__init__.py +++ b/homeassistant/components/envisalink/__init__.py @@ -12,8 +12,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.discovery import async_load_platform from homeassistant.helpers.dispatcher import async_dispatcher_send -REQUIREMENTS = ['pyenvisalink==3.8'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'envisalink' diff --git a/homeassistant/components/envisalink/alarm_control_panel.py b/homeassistant/components/envisalink/alarm_control_panel.py index 44874c6d5e8..91a59d8f842 100644 --- a/homeassistant/components/envisalink/alarm_control_panel.py +++ b/homeassistant/components/envisalink/alarm_control_panel.py @@ -18,8 +18,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['envisalink'] - SERVICE_ALARM_KEYPRESS = 'envisalink_alarm_keypress' ATTR_KEYPRESS = 'keypress' ALARM_KEYPRESS_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/envisalink/binary_sensor.py b/homeassistant/components/envisalink/binary_sensor.py index 267bba8cd28..bf47749d228 100644 --- a/homeassistant/components/envisalink/binary_sensor.py +++ b/homeassistant/components/envisalink/binary_sensor.py @@ -14,8 +14,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['envisalink'] - async def async_setup_platform(hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/envisalink/sensor.py b/homeassistant/components/envisalink/sensor.py index 67a601b02a2..2652a7e2137 100644 --- a/homeassistant/components/envisalink/sensor.py +++ b/homeassistant/components/envisalink/sensor.py @@ -11,8 +11,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['envisalink'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/ephember/climate.py b/homeassistant/components/ephember/climate.py index 3052dd911ee..4e741dacf9d 100644 --- a/homeassistant/components/ephember/climate.py +++ b/homeassistant/components/ephember/climate.py @@ -11,8 +11,6 @@ from homeassistant.const import ( ATTR_TEMPERATURE, TEMP_CELSIUS, CONF_USERNAME, CONF_PASSWORD, STATE_OFF) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyephember==0.2.0'] - _LOGGER = logging.getLogger(__name__) # Return cached results if last scan was less then this time ago diff --git a/homeassistant/components/epson/media_player.py b/homeassistant/components/epson/media_player.py index 57bd18e0ee0..8273ca9a21a 100644 --- a/homeassistant/components/epson/media_player.py +++ b/homeassistant/components/epson/media_player.py @@ -15,8 +15,6 @@ from homeassistant.const import ( from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['epson-projector==0.1.3'] - _LOGGER = logging.getLogger(__name__) ATTR_CMODE = 'cmode' diff --git a/homeassistant/components/eq3btsmart/climate.py b/homeassistant/components/eq3btsmart/climate.py index f02bd2bc9a5..fc12438fcf3 100644 --- a/homeassistant/components/eq3btsmart/climate.py +++ b/homeassistant/components/eq3btsmart/climate.py @@ -13,8 +13,6 @@ from homeassistant.const import ( TEMP_CELSIUS, PRECISION_HALVES) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-eq3bt==0.1.9', 'construct==2.9.45'] - _LOGGER = logging.getLogger(__name__) STATE_BOOST = 'boost' diff --git a/homeassistant/components/esphome/__init__.py b/homeassistant/components/esphome/__init__.py index 9e6f6367cda..9b1e0691d13 100644 --- a/homeassistant/components/esphome/__init__.py +++ b/homeassistant/components/esphome/__init__.py @@ -32,8 +32,6 @@ if TYPE_CHECKING: ServiceCall, UserService DOMAIN = 'esphome' -REQUIREMENTS = ['aioesphomeapi==2.0.0'] - _LOGGER = logging.getLogger(__name__) DISPATCHER_UPDATE_ENTITY = 'esphome_{entry_id}_update_{component_key}_{key}' diff --git a/homeassistant/components/esphome/binary_sensor.py b/homeassistant/components/esphome/binary_sensor.py index 2db2f209fa5..ff3fc259792 100644 --- a/homeassistant/components/esphome/binary_sensor.py +++ b/homeassistant/components/esphome/binary_sensor.py @@ -10,7 +10,6 @@ if TYPE_CHECKING: # pylint: disable=unused-import from aioesphomeapi import BinarySensorInfo, BinarySensorState # noqa -DEPENDENCIES = ['esphome'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/esphome/camera.py b/homeassistant/components/esphome/camera.py index 319a2c2a4d9..bb80ca72724 100644 --- a/homeassistant/components/esphome/camera.py +++ b/homeassistant/components/esphome/camera.py @@ -13,7 +13,6 @@ if TYPE_CHECKING: # pylint: disable=unused-import from aioesphomeapi import CameraInfo, CameraState # noqa -DEPENDENCIES = ['esphome'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/esphome/climate.py b/homeassistant/components/esphome/climate.py index e3cd9e488bf..e95f9e44633 100644 --- a/homeassistant/components/esphome/climate.py +++ b/homeassistant/components/esphome/climate.py @@ -19,7 +19,6 @@ if TYPE_CHECKING: # pylint: disable=unused-import from aioesphomeapi import ClimateInfo, ClimateState, ClimateMode # noqa -DEPENDENCIES = ['esphome'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/esphome/cover.py b/homeassistant/components/esphome/cover.py index 68eb4221a93..5eb12aa86ec 100644 --- a/homeassistant/components/esphome/cover.py +++ b/homeassistant/components/esphome/cover.py @@ -15,7 +15,6 @@ if TYPE_CHECKING: # pylint: disable=unused-import from aioesphomeapi import CoverInfo, CoverState # noqa -DEPENDENCIES = ['esphome'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/esphome/fan.py b/homeassistant/components/esphome/fan.py index 973fa85774c..35938de2455 100644 --- a/homeassistant/components/esphome/fan.py +++ b/homeassistant/components/esphome/fan.py @@ -14,7 +14,6 @@ if TYPE_CHECKING: # pylint: disable=unused-import from aioesphomeapi import FanInfo, FanState, FanSpeed # noqa -DEPENDENCIES = ['esphome'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/esphome/light.py b/homeassistant/components/esphome/light.py index c84c50010d9..3d55713b123 100644 --- a/homeassistant/components/esphome/light.py +++ b/homeassistant/components/esphome/light.py @@ -17,7 +17,6 @@ if TYPE_CHECKING: # pylint: disable=unused-import from aioesphomeapi import LightInfo, LightState # noqa -DEPENDENCIES = ['esphome'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/esphome/sensor.py b/homeassistant/components/esphome/sensor.py index e4fb7ef82ba..d8ae91e9243 100644 --- a/homeassistant/components/esphome/sensor.py +++ b/homeassistant/components/esphome/sensor.py @@ -13,7 +13,6 @@ if TYPE_CHECKING: from aioesphomeapi import ( # noqa SensorInfo, SensorState, TextSensorInfo, TextSensorState) -DEPENDENCIES = ['esphome'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/esphome/switch.py b/homeassistant/components/esphome/switch.py index e736c1df209..41c5663537c 100644 --- a/homeassistant/components/esphome/switch.py +++ b/homeassistant/components/esphome/switch.py @@ -12,7 +12,6 @@ if TYPE_CHECKING: # pylint: disable=unused-import from aioesphomeapi import SwitchInfo, SwitchState # noqa -DEPENDENCIES = ['esphome'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/etherscan/sensor.py b/homeassistant/components/etherscan/sensor.py index 082295bfea5..83805ec4d20 100644 --- a/homeassistant/components/etherscan/sensor.py +++ b/homeassistant/components/etherscan/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['python-etherscan-api==0.0.3'] - ATTRIBUTION = "Data provided by etherscan.io" CONF_TOKEN_ADDRESS = 'token_address' diff --git a/homeassistant/components/eufy/__init__.py b/homeassistant/components/eufy/__init__.py index b0bd9109363..8425780b76b 100644 --- a/homeassistant/components/eufy/__init__.py +++ b/homeassistant/components/eufy/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import ( from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['lakeside==0.12'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'eufy' diff --git a/homeassistant/components/eufy/light.py b/homeassistant/components/eufy/light.py index 62bc058f155..1d08e42fff7 100644 --- a/homeassistant/components/eufy/light.py +++ b/homeassistant/components/eufy/light.py @@ -11,8 +11,6 @@ from homeassistant.util.color import ( color_temperature_mired_to_kelvin as mired_to_kelvin, color_temperature_kelvin_to_mired as kelvin_to_mired) -DEPENDENCIES = ['eufy'] - _LOGGER = logging.getLogger(__name__) EUFY_MAX_KELVIN = 6500 diff --git a/homeassistant/components/eufy/switch.py b/homeassistant/components/eufy/switch.py index 96d68194107..3216bfed69e 100644 --- a/homeassistant/components/eufy/switch.py +++ b/homeassistant/components/eufy/switch.py @@ -3,8 +3,6 @@ import logging from homeassistant.components.switch import SwitchDevice -DEPENDENCIES = ['eufy'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/everlights/light.py b/homeassistant/components/everlights/light.py index a628f25ea28..c5fb025370d 100644 --- a/homeassistant/components/everlights/light.py +++ b/homeassistant/components/everlights/light.py @@ -15,8 +15,6 @@ import homeassistant.util.color as color_util from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['pyeverlights==0.1.0'] - _LOGGER = logging.getLogger(__name__) SUPPORT_EVERLIGHTS = (SUPPORT_EFFECT | SUPPORT_BRIGHTNESS | SUPPORT_COLOR) diff --git a/homeassistant/components/evohome/__init__.py b/homeassistant/components/evohome/__init__.py index 87a563ecd6d..459a3636a06 100644 --- a/homeassistant/components/evohome/__init__.py +++ b/homeassistant/components/evohome/__init__.py @@ -19,8 +19,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.dispatcher import async_dispatcher_send -REQUIREMENTS = ['evohomeclient==0.3.2'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'evohome' diff --git a/homeassistant/components/familyhub/camera.py b/homeassistant/components/familyhub/camera.py index 18aa969132d..e9a8bcd94a6 100644 --- a/homeassistant/components/familyhub/camera.py +++ b/homeassistant/components/familyhub/camera.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['python-family-hub-local==0.0.2'] - DEFAULT_NAME = 'FamilyHub Camera' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/fan/__init__.py b/homeassistant/components/fan/__init__.py index e67ba390a98..23015769f28 100644 --- a/homeassistant/components/fan/__init__.py +++ b/homeassistant/components/fan/__init__.py @@ -18,7 +18,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) DOMAIN = 'fan' -DEPENDENCIES = ['group'] SCAN_INTERVAL = timedelta(seconds=30) GROUP_NAME_ALL_FANS = 'all fans' diff --git a/homeassistant/components/fastdotcom/__init__.py b/homeassistant/components/fastdotcom/__init__.py index 973cc8e3659..3fe860a81fd 100644 --- a/homeassistant/components/fastdotcom/__init__.py +++ b/homeassistant/components/fastdotcom/__init__.py @@ -10,8 +10,6 @@ from homeassistant.helpers.discovery import async_load_platform from homeassistant.helpers.dispatcher import dispatcher_send from homeassistant.helpers.event import async_track_time_interval -REQUIREMENTS = ['fastdotcom==0.0.3'] - DOMAIN = 'fastdotcom' DATA_UPDATED = '{}_data_updated'.format(DOMAIN) diff --git a/homeassistant/components/fastdotcom/sensor.py b/homeassistant/components/fastdotcom/sensor.py index 37fc0815ddc..c9af8e53ab8 100644 --- a/homeassistant/components/fastdotcom/sensor.py +++ b/homeassistant/components/fastdotcom/sensor.py @@ -7,8 +7,6 @@ from homeassistant.helpers.restore_state import RestoreEntity from . import DATA_UPDATED, DOMAIN as FASTDOTCOM_DOMAIN -DEPENDENCIES = ['fastdotcom'] - _LOGGER = logging.getLogger(__name__) ICON = 'mdi:speedometer' diff --git a/homeassistant/components/fedex/sensor.py b/homeassistant/components/fedex/sensor.py index 74ad4f7d0e5..aec1cee053c 100644 --- a/homeassistant/components/fedex/sensor.py +++ b/homeassistant/components/fedex/sensor.py @@ -14,8 +14,6 @@ from homeassistant.util import Throttle from homeassistant.util import slugify from homeassistant.util.dt import now, parse_date -REQUIREMENTS = ['fedexdeliverymanager==1.0.6'] - _LOGGER = logging.getLogger(__name__) COOKIE = 'fedexdeliverymanager_cookies.pickle' diff --git a/homeassistant/components/feedreader/__init__.py b/homeassistant/components/feedreader/__init__.py index 86744bfd39c..d2acb674ec7 100644 --- a/homeassistant/components/feedreader/__init__.py +++ b/homeassistant/components/feedreader/__init__.py @@ -11,8 +11,6 @@ from homeassistant.const import EVENT_HOMEASSISTANT_START, CONF_SCAN_INTERVAL from homeassistant.helpers.event import track_time_interval import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['feedparser-homeassistant==5.2.2.dev1'] - _LOGGER = getLogger(__name__) CONF_URLS = 'urls' diff --git a/homeassistant/components/ffmpeg/__init__.py b/homeassistant/components/ffmpeg/__init__.py index 05bc1d99167..7252e617c5a 100644 --- a/homeassistant/components/ffmpeg/__init__.py +++ b/homeassistant/components/ffmpeg/__init__.py @@ -12,8 +12,6 @@ from homeassistant.helpers.dispatcher import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['ha-ffmpeg==2.0'] - DOMAIN = 'ffmpeg' _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ffmpeg/camera.py b/homeassistant/components/ffmpeg/camera.py index 8bca13cfbb7..0e8a69e0bcf 100644 --- a/homeassistant/components/ffmpeg/camera.py +++ b/homeassistant/components/ffmpeg/camera.py @@ -14,8 +14,6 @@ from . import CONF_EXTRA_ARGUMENTS, CONF_INPUT, DATA_FFMPEG _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ffmpeg'] - DEFAULT_NAME = 'FFmpeg' DEFAULT_ARGUMENTS = "-pred 1" diff --git a/homeassistant/components/ffmpeg_motion/binary_sensor.py b/homeassistant/components/ffmpeg_motion/binary_sensor.py index c274d84329e..03aacf3aafb 100644 --- a/homeassistant/components/ffmpeg_motion/binary_sensor.py +++ b/homeassistant/components/ffmpeg_motion/binary_sensor.py @@ -12,8 +12,6 @@ from homeassistant.components.ffmpeg import ( CONF_INITIAL_STATE) from homeassistant.const import CONF_NAME -DEPENDENCIES = ['ffmpeg'] - _LOGGER = logging.getLogger(__name__) CONF_RESET = 'reset' diff --git a/homeassistant/components/ffmpeg_noise/binary_sensor.py b/homeassistant/components/ffmpeg_noise/binary_sensor.py index 7efcc3deda2..7fbda8ca18b 100644 --- a/homeassistant/components/ffmpeg_noise/binary_sensor.py +++ b/homeassistant/components/ffmpeg_noise/binary_sensor.py @@ -12,8 +12,6 @@ from homeassistant.components.ffmpeg import ( CONF_INITIAL_STATE) from homeassistant.const import CONF_NAME -DEPENDENCIES = ['ffmpeg'] - _LOGGER = logging.getLogger(__name__) CONF_PEAK = 'peak' diff --git a/homeassistant/components/fibaro/__init__.py b/homeassistant/components/fibaro/__init__.py index 6b37b178a59..9e60d1c0c3a 100644 --- a/homeassistant/components/fibaro/__init__.py +++ b/homeassistant/components/fibaro/__init__.py @@ -13,8 +13,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import convert, slugify -REQUIREMENTS = ['fiblary3==0.1.7'] - _LOGGER = logging.getLogger(__name__) ATTR_CURRENT_ENERGY_KWH = 'current_energy_kwh' diff --git a/homeassistant/components/fibaro/binary_sensor.py b/homeassistant/components/fibaro/binary_sensor.py index f71a5f3662e..44448227a1c 100644 --- a/homeassistant/components/fibaro/binary_sensor.py +++ b/homeassistant/components/fibaro/binary_sensor.py @@ -7,8 +7,6 @@ from homeassistant.const import CONF_DEVICE_CLASS, CONF_ICON from . import FIBARO_DEVICES, FibaroDevice -DEPENDENCIES = ['fibaro'] - _LOGGER = logging.getLogger(__name__) SENSOR_TYPES = { diff --git a/homeassistant/components/fibaro/climate.py b/homeassistant/components/fibaro/climate.py index 0d1ecc3a77f..4b12a907ce3 100644 --- a/homeassistant/components/fibaro/climate.py +++ b/homeassistant/components/fibaro/climate.py @@ -44,8 +44,6 @@ FAN_LEFT_RIGHT = 'left_right' FAN_UP_DOWN = 'up_down' FAN_QUIET = 'quiet' -DEPENDENCIES = ['fibaro'] - _LOGGER = logging.getLogger(__name__) # SDS13781-10 Z-Wave Application Command Class Specification 2019-01-04 diff --git a/homeassistant/components/fibaro/cover.py b/homeassistant/components/fibaro/cover.py index 0f5cc32bc96..0ccbed0144b 100644 --- a/homeassistant/components/fibaro/cover.py +++ b/homeassistant/components/fibaro/cover.py @@ -6,8 +6,6 @@ from homeassistant.components.cover import ( from . import FIBARO_DEVICES, FibaroDevice -DEPENDENCIES = ['fibaro'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fibaro/light.py b/homeassistant/components/fibaro/light.py index 600b566b36b..a741de972f0 100644 --- a/homeassistant/components/fibaro/light.py +++ b/homeassistant/components/fibaro/light.py @@ -14,8 +14,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['fibaro'] - def scaleto255(value): """Scale the input value from 0-100 to 0-255.""" diff --git a/homeassistant/components/fibaro/scene.py b/homeassistant/components/fibaro/scene.py index 93f0cd5b63a..f9f96844319 100644 --- a/homeassistant/components/fibaro/scene.py +++ b/homeassistant/components/fibaro/scene.py @@ -5,8 +5,6 @@ from homeassistant.components.scene import Scene from . import FIBARO_DEVICES, FibaroDevice -DEPENDENCIES = ['fibaro'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fibaro/sensor.py b/homeassistant/components/fibaro/sensor.py index 20a37fd3c23..db9d103d87e 100644 --- a/homeassistant/components/fibaro/sensor.py +++ b/homeassistant/components/fibaro/sensor.py @@ -22,7 +22,6 @@ SENSOR_TYPES = { ['Light', 'lx', None, DEVICE_CLASS_ILLUMINANCE] } -DEPENDENCIES = ['fibaro'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fibaro/switch.py b/homeassistant/components/fibaro/switch.py index 024531f62c7..f134b424484 100644 --- a/homeassistant/components/fibaro/switch.py +++ b/homeassistant/components/fibaro/switch.py @@ -6,7 +6,6 @@ from homeassistant.util import convert from . import FIBARO_DEVICES, FibaroDevice -DEPENDENCIES = ['fibaro'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fido/sensor.py b/homeassistant/components/fido/sensor.py index 00754c5ba68..ea66acaf808 100644 --- a/homeassistant/components/fido/sensor.py +++ b/homeassistant/components/fido/sensor.py @@ -20,8 +20,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyfido==2.1.1'] - _LOGGER = logging.getLogger(__name__) KILOBITS = 'Kb' # type: str diff --git a/homeassistant/components/fints/sensor.py b/homeassistant/components/fints/sensor.py index dce52785fbf..cb993ada8da 100644 --- a/homeassistant/components/fints/sensor.py +++ b/homeassistant/components/fints/sensor.py @@ -10,8 +10,6 @@ from homeassistant.const import CONF_USERNAME, CONF_PIN, CONF_URL, CONF_NAME import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['fints==1.0.1'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(hours=4) diff --git a/homeassistant/components/fitbit/sensor.py b/homeassistant/components/fitbit/sensor.py index abbe69c3e1d..889920239ed 100644 --- a/homeassistant/components/fitbit/sensor.py +++ b/homeassistant/components/fitbit/sensor.py @@ -17,8 +17,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util.json import load_json, save_json -REQUIREMENTS = ['fitbit==0.3.0'] - _CONFIGURING = {} _LOGGER = logging.getLogger(__name__) @@ -32,8 +30,6 @@ CONF_MONITORED_RESOURCES = 'monitored_resources' CONF_CLOCK_FORMAT = 'clock_format' ATTRIBUTION = 'Data provided by Fitbit.com' -DEPENDENCIES = ['http'] - FITBIT_AUTH_CALLBACK_PATH = '/api/fitbit/callback' FITBIT_AUTH_START = '/api/fitbit' FITBIT_CONFIG_FILE = 'fitbit.conf' diff --git a/homeassistant/components/fixer/sensor.py b/homeassistant/components/fixer/sensor.py index f746d2008e1..4cf2b0b9243 100644 --- a/homeassistant/components/fixer/sensor.py +++ b/homeassistant/components/fixer/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import ATTR_ATTRIBUTION, CONF_API_KEY, CONF_NAME import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['fixerio==1.0.0a0'] - _LOGGER = logging.getLogger(__name__) ATTR_EXCHANGE_RATE = 'Exchange rate' diff --git a/homeassistant/components/flexit/climate.py b/homeassistant/components/flexit/climate.py index fe7b5ff8e7c..d1cf97f047a 100644 --- a/homeassistant/components/flexit/climate.py +++ b/homeassistant/components/flexit/climate.py @@ -25,9 +25,6 @@ from homeassistant.components.modbus import ( CONF_HUB, DEFAULT_HUB, DOMAIN as MODBUS_DOMAIN) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyflexit==0.3'] -DEPENDENCIES = ['modbus'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_HUB, default=DEFAULT_HUB): cv.string, vol.Required(CONF_SLAVE): vol.All(int, vol.Range(min=0, max=32)), diff --git a/homeassistant/components/flic/binary_sensor.py b/homeassistant/components/flic/binary_sensor.py index 083ac01ab4a..3381550b578 100644 --- a/homeassistant/components/flic/binary_sensor.py +++ b/homeassistant/components/flic/binary_sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import ( from homeassistant.components.binary_sensor import ( BinarySensorDevice, PLATFORM_SCHEMA) -REQUIREMENTS = ['pyflic-homeassistant==0.4.dev0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_TIMEOUT = 3 diff --git a/homeassistant/components/flunearyou/sensor.py b/homeassistant/components/flunearyou/sensor.py index 65de2c6ae43..148a3ee4159 100644 --- a/homeassistant/components/flunearyou/sensor.py +++ b/homeassistant/components/flunearyou/sensor.py @@ -13,7 +13,6 @@ from homeassistant.helpers import aiohttp_client from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pyflunearyou==1.0.3'] _LOGGER = logging.getLogger(__name__) ATTR_CITY = 'city' diff --git a/homeassistant/components/flux/switch.py b/homeassistant/components/flux/switch.py index fdd0c09b9d7..f0134f04d89 100644 --- a/homeassistant/components/flux/switch.py +++ b/homeassistant/components/flux/switch.py @@ -42,8 +42,6 @@ MODE_XY = 'xy' MODE_MIRED = 'mired' MODE_RGB = 'rgb' DEFAULT_MODE = MODE_XY -DEPENDENCIES = ['light'] - PLATFORM_SCHEMA = vol.Schema({ vol.Required(CONF_PLATFORM): 'flux', diff --git a/homeassistant/components/flux_led/light.py b/homeassistant/components/flux_led/light.py index 0ed14c49ec8..56d088f2078 100644 --- a/homeassistant/components/flux_led/light.py +++ b/homeassistant/components/flux_led/light.py @@ -15,8 +15,6 @@ from homeassistant.components.light import ( import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['flux_led==0.22'] - _LOGGER = logging.getLogger(__name__) CONF_AUTOMATIC_ADD = 'automatic_add' diff --git a/homeassistant/components/folder_watcher/__init__.py b/homeassistant/components/folder_watcher/__init__.py index babfbd9e9aa..411f6b480dc 100644 --- a/homeassistant/components/folder_watcher/__init__.py +++ b/homeassistant/components/folder_watcher/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['watchdog==0.8.3'] - _LOGGER = logging.getLogger(__name__) CONF_FOLDER = 'folder' diff --git a/homeassistant/components/foobot/sensor.py b/homeassistant/components/foobot/sensor.py index 2eeca5243a6..f59392bde98 100644 --- a/homeassistant/components/foobot/sensor.py +++ b/homeassistant/components/foobot/sensor.py @@ -16,8 +16,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['foobot_async==0.3.1'] - _LOGGER = logging.getLogger(__name__) ATTR_HUMIDITY = 'humidity' diff --git a/homeassistant/components/foscam/camera.py b/homeassistant/components/foscam/camera.py index 6ce8f1865fc..f83c3f1966a 100644 --- a/homeassistant/components/foscam/camera.py +++ b/homeassistant/components/foscam/camera.py @@ -11,8 +11,6 @@ from homeassistant.helpers import config_validation as cv _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['libpyfoscam==1.0'] - CONF_IP = 'ip' CONF_RTSP_PORT = 'rtsp_port' diff --git a/homeassistant/components/foursquare/__init__.py b/homeassistant/components/foursquare/__init__.py index 0c5a48049ec..dd834999888 100644 --- a/homeassistant/components/foursquare/__init__.py +++ b/homeassistant/components/foursquare/__init__.py @@ -12,7 +12,6 @@ _LOGGER = logging.getLogger(__name__) CONF_PUSH_SECRET = 'push_secret' -DEPENDENCIES = ['http'] DOMAIN = 'foursquare' EVENT_CHECKIN = 'foursquare.checkin' diff --git a/homeassistant/components/free_mobile/notify.py b/homeassistant/components/free_mobile/notify.py index 03beef52357..c7dacd44019 100644 --- a/homeassistant/components/free_mobile/notify.py +++ b/homeassistant/components/free_mobile/notify.py @@ -9,8 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.notify import (PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['freesms==0.1.2'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/freebox/__init__.py b/homeassistant/components/freebox/__init__.py index 7accf7820f4..2cd9f6b3572 100644 --- a/homeassistant/components/freebox/__init__.py +++ b/homeassistant/components/freebox/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import CONF_HOST, CONF_PORT, EVENT_HOMEASSISTANT_STOP from homeassistant.helpers import config_validation as cv, discovery from homeassistant.helpers.discovery import async_load_platform -REQUIREMENTS = ['aiofreepybox==0.0.8'] - _LOGGER = logging.getLogger(__name__) DOMAIN = "freebox" diff --git a/homeassistant/components/freebox/device_tracker.py b/homeassistant/components/freebox/device_tracker.py index 5418c1c61a7..40c1967f60f 100644 --- a/homeassistant/components/freebox/device_tracker.py +++ b/homeassistant/components/freebox/device_tracker.py @@ -6,8 +6,6 @@ from homeassistant.components.device_tracker import DeviceScanner from . import DATA_FREEBOX -DEPENDENCIES = ['freebox'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/freebox/sensor.py b/homeassistant/components/freebox/sensor.py index 328665ab51c..8dcc5f54b2e 100644 --- a/homeassistant/components/freebox/sensor.py +++ b/homeassistant/components/freebox/sensor.py @@ -5,8 +5,6 @@ from homeassistant.helpers.entity import Entity from . import DATA_FREEBOX -DEPENDENCIES = ['freebox'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/freebox/switch.py b/homeassistant/components/freebox/switch.py index 4de194fc902..e0c24d2b9f9 100644 --- a/homeassistant/components/freebox/switch.py +++ b/homeassistant/components/freebox/switch.py @@ -5,8 +5,6 @@ from homeassistant.components.switch import SwitchDevice from . import DATA_FREEBOX -DEPENDENCIES = ['freebox'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fritz/device_tracker.py b/homeassistant/components/fritz/device_tracker.py index 3e3e04f4447..fc9f65633ff 100644 --- a/homeassistant/components/fritz/device_tracker.py +++ b/homeassistant/components/fritz/device_tracker.py @@ -8,8 +8,6 @@ from homeassistant.components.device_tracker import ( DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_USERNAME -REQUIREMENTS = ['fritzconnection==0.6.5'] - _LOGGER = logging.getLogger(__name__) CONF_DEFAULT_IP = '169.254.1.1' # This IP is valid for all FRITZ!Box routers. diff --git a/homeassistant/components/fritzbox/__init__.py b/homeassistant/components/fritzbox/__init__.py index 81ba019acbc..610c6874140 100644 --- a/homeassistant/components/fritzbox/__init__.py +++ b/homeassistant/components/fritzbox/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers import discovery _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pyfritzhome==0.4.0'] - SUPPORTED_DOMAINS = ['binary_sensor', 'climate', 'switch', 'sensor'] DOMAIN = 'fritzbox' diff --git a/homeassistant/components/fritzbox/binary_sensor.py b/homeassistant/components/fritzbox/binary_sensor.py index 65578c57180..a763a3b3b0e 100644 --- a/homeassistant/components/fritzbox/binary_sensor.py +++ b/homeassistant/components/fritzbox/binary_sensor.py @@ -7,8 +7,6 @@ from homeassistant.components.binary_sensor import BinarySensorDevice from . import DOMAIN as FRITZBOX_DOMAIN -DEPENDENCIES = ['fritzbox'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fritzbox/climate.py b/homeassistant/components/fritzbox/climate.py index e2c9be833ac..4dfa09c49fa 100644 --- a/homeassistant/components/fritzbox/climate.py +++ b/homeassistant/components/fritzbox/climate.py @@ -16,8 +16,6 @@ from . import ( ATTR_STATE_LOCKED, ATTR_STATE_SUMMER_MODE, ATTR_STATE_WINDOW_OPEN, DOMAIN as FRITZBOX_DOMAIN) -DEPENDENCIES = ['fritzbox'] - _LOGGER = logging.getLogger(__name__) SUPPORT_FLAGS = (SUPPORT_TARGET_TEMPERATURE | SUPPORT_OPERATION_MODE) diff --git a/homeassistant/components/fritzbox/sensor.py b/homeassistant/components/fritzbox/sensor.py index 7309f8cc618..123d8835318 100644 --- a/homeassistant/components/fritzbox/sensor.py +++ b/homeassistant/components/fritzbox/sensor.py @@ -9,8 +9,6 @@ from homeassistant.helpers.entity import Entity from . import ( ATTR_STATE_DEVICE_LOCKED, ATTR_STATE_LOCKED, DOMAIN as FRITZBOX_DOMAIN) -DEPENDENCIES = ['fritzbox'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fritzbox/switch.py b/homeassistant/components/fritzbox/switch.py index e227cdaef8a..ae1219cefda 100644 --- a/homeassistant/components/fritzbox/switch.py +++ b/homeassistant/components/fritzbox/switch.py @@ -10,8 +10,6 @@ from homeassistant.const import ( from . import ( ATTR_STATE_DEVICE_LOCKED, ATTR_STATE_LOCKED, DOMAIN as FRITZBOX_DOMAIN) -DEPENDENCIES = ['fritzbox'] - _LOGGER = logging.getLogger(__name__) ATTR_TOTAL_CONSUMPTION = 'total_consumption' diff --git a/homeassistant/components/fritzbox_callmonitor/sensor.py b/homeassistant/components/fritzbox_callmonitor/sensor.py index a6641bc14ad..95c0879996f 100644 --- a/homeassistant/components/fritzbox_callmonitor/sensor.py +++ b/homeassistant/components/fritzbox_callmonitor/sensor.py @@ -16,8 +16,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['fritzconnection==0.6.5'] - _LOGGER = logging.getLogger(__name__) CONF_PHONEBOOK = 'phonebook' diff --git a/homeassistant/components/fritzbox_netmonitor/sensor.py b/homeassistant/components/fritzbox_netmonitor/sensor.py index 93f834a894d..ec8e38bb24b 100644 --- a/homeassistant/components/fritzbox_netmonitor/sensor.py +++ b/homeassistant/components/fritzbox_netmonitor/sensor.py @@ -11,8 +11,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['fritzconnection==0.6.5'] - _LOGGER = logging.getLogger(__name__) CONF_DEFAULT_NAME = 'fritz_netmonitor' diff --git a/homeassistant/components/fritzdect/switch.py b/homeassistant/components/fritzdect/switch.py index 449ae5a76f1..d3cd00a73f5 100644 --- a/homeassistant/components/fritzdect/switch.py +++ b/homeassistant/components/fritzdect/switch.py @@ -11,8 +11,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.const import TEMP_CELSIUS, ATTR_TEMPERATURE -REQUIREMENTS = ['fritzhome==1.0.4'] - _LOGGER = logging.getLogger(__name__) # Standard Fritz Box IP diff --git a/homeassistant/components/frontend/__init__.py b/homeassistant/components/frontend/__init__.py index cfee41dc6ae..6f258b2d59c 100644 --- a/homeassistant/components/frontend/__init__.py +++ b/homeassistant/components/frontend/__init__.py @@ -21,12 +21,7 @@ from homeassistant.loader import bind_hass from .storage import async_setup_frontend_storage -REQUIREMENTS = ['home-assistant-frontend==20190410.0'] - DOMAIN = 'frontend' -DEPENDENCIES = ['api', 'websocket_api', 'http', 'system_log', - 'auth', 'onboarding', 'lovelace'] - CONF_THEMES = 'themes' CONF_EXTRA_HTML_URL = 'extra_html_url' CONF_EXTRA_HTML_URL_ES5 = 'extra_html_url_es5' diff --git a/homeassistant/components/frontier_silicon/media_player.py b/homeassistant/components/frontier_silicon/media_player.py index 4f28d83e6cf..64aa1d3a012 100644 --- a/homeassistant/components/frontier_silicon/media_player.py +++ b/homeassistant/components/frontier_silicon/media_player.py @@ -15,8 +15,6 @@ from homeassistant.const import ( STATE_PLAYING, STATE_UNKNOWN) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['afsapi==0.0.4'] - _LOGGER = logging.getLogger(__name__) SUPPORT_FRONTIER_SILICON = SUPPORT_PAUSE | SUPPORT_VOLUME_SET | \ diff --git a/homeassistant/components/futurenow/light.py b/homeassistant/components/futurenow/light.py index 4b570fd0a4d..91ec8b0794d 100644 --- a/homeassistant/components/futurenow/light.py +++ b/homeassistant/components/futurenow/light.py @@ -11,8 +11,6 @@ from homeassistant.components.light import ( PLATFORM_SCHEMA) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyfnip==0.2'] - _LOGGER = logging.getLogger(__name__) CONF_DRIVER = 'driver' diff --git a/homeassistant/components/gc100/__init__.py b/homeassistant/components/gc100/__init__.py index 36e9c61b1ba..b875d045cc0 100644 --- a/homeassistant/components/gc100/__init__.py +++ b/homeassistant/components/gc100/__init__.py @@ -7,8 +7,6 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_STOP, CONF_HOST, CONF_PORT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-gc100==1.0.3a'] - _LOGGER = logging.getLogger(__name__) CONF_PORTS = 'ports' diff --git a/homeassistant/components/gc100/binary_sensor.py b/homeassistant/components/gc100/binary_sensor.py index 9588506af77..4ba68a17799 100644 --- a/homeassistant/components/gc100/binary_sensor.py +++ b/homeassistant/components/gc100/binary_sensor.py @@ -8,8 +8,6 @@ import homeassistant.helpers.config_validation as cv from . import CONF_PORTS, DATA_GC100 -DEPENDENCIES = ['gc100'] - _SENSORS_SCHEMA = vol.Schema({ cv.string: cv.string, }) diff --git a/homeassistant/components/gc100/switch.py b/homeassistant/components/gc100/switch.py index 1ffb2726495..eea98a4dc23 100644 --- a/homeassistant/components/gc100/switch.py +++ b/homeassistant/components/gc100/switch.py @@ -8,8 +8,6 @@ from homeassistant.helpers.entity import ToggleEntity from . import CONF_PORTS, DATA_GC100 -DEPENDENCIES = ['gc100'] - _SWITCH_SCHEMA = vol.Schema({ cv.string: cv.string, }) diff --git a/homeassistant/components/gearbest/sensor.py b/homeassistant/components/gearbest/sensor.py index e4f85a1892d..ee0ee6d4e3b 100644 --- a/homeassistant/components/gearbest/sensor.py +++ b/homeassistant/components/gearbest/sensor.py @@ -11,7 +11,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval from homeassistant.const import (CONF_NAME, CONF_ID, CONF_URL, CONF_CURRENCY) -REQUIREMENTS = ['gearbest_parser==1.0.7'] _LOGGER = logging.getLogger(__name__) CONF_ITEMS = 'items' diff --git a/homeassistant/components/geizhals/sensor.py b/homeassistant/components/geizhals/sensor.py index d619d768c23..03c263f54ab 100644 --- a/homeassistant/components/geizhals/sensor.py +++ b/homeassistant/components/geizhals/sensor.py @@ -10,8 +10,6 @@ from homeassistant.util import Throttle from homeassistant.helpers.entity import Entity from homeassistant.const import CONF_NAME -REQUIREMENTS = ['geizhals==0.0.9'] - _LOGGER = logging.getLogger(__name__) CONF_DESCRIPTION = 'description' diff --git a/homeassistant/components/generic_thermostat/climate.py b/homeassistant/components/generic_thermostat/climate.py index 35efa82c8a3..cfa8ba64ea5 100644 --- a/homeassistant/components/generic_thermostat/climate.py +++ b/homeassistant/components/generic_thermostat/climate.py @@ -23,8 +23,6 @@ from homeassistant.components.climate.const import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['switch', 'sensor'] - DEFAULT_TOLERANCE = 0.3 DEFAULT_NAME = 'Generic Thermostat' diff --git a/homeassistant/components/geo_json_events/geo_location.py b/homeassistant/components/geo_json_events/geo_location.py index e89616126d5..f7d79ae7145 100644 --- a/homeassistant/components/geo_json_events/geo_location.py +++ b/homeassistant/components/geo_json_events/geo_location.py @@ -16,8 +16,6 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_connect, dispatcher_send) from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['geojson_client==0.3'] - _LOGGER = logging.getLogger(__name__) ATTR_EXTERNAL_ID = 'external_id' diff --git a/homeassistant/components/geo_rss_events/sensor.py b/homeassistant/components/geo_rss_events/sensor.py index f71a60c2e83..f900812385b 100644 --- a/homeassistant/components/geo_rss_events/sensor.py +++ b/homeassistant/components/geo_rss_events/sensor.py @@ -20,8 +20,6 @@ from homeassistant.const import ( CONF_LATITUDE, CONF_LONGITUDE, CONF_RADIUS, CONF_URL) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['georss_generic_client==0.2'] - _LOGGER = logging.getLogger(__name__) ATTR_CATEGORY = 'category' diff --git a/homeassistant/components/geofency/__init__.py b/homeassistant/components/geofency/__init__.py index 88b72f02cc2..0b4b757ce9e 100644 --- a/homeassistant/components/geofency/__init__.py +++ b/homeassistant/components/geofency/__init__.py @@ -16,8 +16,6 @@ from homeassistant.util import slugify _LOGGER = logging.getLogger(__name__) DOMAIN = 'geofency' -DEPENDENCIES = ['webhook'] - CONF_MOBILE_BEACONS = 'mobile_beacons' CONFIG_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/geofency/device_tracker.py b/homeassistant/components/geofency/device_tracker.py index 0a1a9d5f32e..abccf610f5e 100644 --- a/homeassistant/components/geofency/device_tracker.py +++ b/homeassistant/components/geofency/device_tracker.py @@ -9,8 +9,6 @@ from . import DOMAIN as GEOFENCY_DOMAIN, TRACKER_UPDATE _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['geofency'] - DATA_KEY = '{}.{}'.format(GEOFENCY_DOMAIN, DEVICE_TRACKER_DOMAIN) diff --git a/homeassistant/components/github/sensor.py b/homeassistant/components/github/sensor.py index 5a86233d561..d552d2c65cc 100644 --- a/homeassistant/components/github/sensor.py +++ b/homeassistant/components/github/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['PyGithub==1.43.5'] - _LOGGER = logging.getLogger(__name__) CONF_REPOS = 'repositories' diff --git a/homeassistant/components/gitlab_ci/sensor.py b/homeassistant/components/gitlab_ci/sensor.py index dd574b348d8..54cbf34fdfc 100644 --- a/homeassistant/components/gitlab_ci/sensor.py +++ b/homeassistant/components/gitlab_ci/sensor.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['python-gitlab==1.6.0'] - _LOGGER = logging.getLogger(__name__) ATTR_BUILD_BRANCH = 'build branch' diff --git a/homeassistant/components/gitter/sensor.py b/homeassistant/components/gitter/sensor.py index 2af9c20fb29..06fb6e3a3b5 100644 --- a/homeassistant/components/gitter/sensor.py +++ b/homeassistant/components/gitter/sensor.py @@ -8,8 +8,6 @@ from homeassistant.const import CONF_API_KEY, CONF_NAME, CONF_ROOM import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['gitterpy==0.1.7'] - _LOGGER = logging.getLogger(__name__) ATTR_MENTION = 'mention' diff --git a/homeassistant/components/glances/sensor.py b/homeassistant/components/glances/sensor.py index db8f0397887..2a883e33da6 100644 --- a/homeassistant/components/glances/sensor.py +++ b/homeassistant/components/glances/sensor.py @@ -14,8 +14,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['glances_api==0.2.0'] - _LOGGER = logging.getLogger(__name__) CONF_VERSION = 'version' diff --git a/homeassistant/components/gntp/notify.py b/homeassistant/components/gntp/notify.py index fb3e96e83ab..005043c1384 100644 --- a/homeassistant/components/gntp/notify.py +++ b/homeassistant/components/gntp/notify.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['gntp==1.0.3'] - _LOGGER = logging.getLogger(__name__) _GNTP_LOGGER = logging.getLogger('gntp') diff --git a/homeassistant/components/goalfeed/__init__.py b/homeassistant/components/goalfeed/__init__.py index 6f0149f657a..4a7e4ea980a 100644 --- a/homeassistant/components/goalfeed/__init__.py +++ b/homeassistant/components/goalfeed/__init__.py @@ -9,7 +9,6 @@ from homeassistant.const import CONF_PASSWORD, CONF_USERNAME # Version downgraded due to regression in library # For details: https://github.com/nlsdfnbch/Pysher/issues/38 -REQUIREMENTS = ['pysher==1.0.1'] DOMAIN = 'goalfeed' CONFIG_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/gogogate2/cover.py b/homeassistant/components/gogogate2/cover.py index 4d40ddd2c72..610c131bda5 100644 --- a/homeassistant/components/gogogate2/cover.py +++ b/homeassistant/components/gogogate2/cover.py @@ -10,8 +10,6 @@ from homeassistant.const import ( CONF_IP_ADDRESS, CONF_NAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pygogogate2==0.1.1'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'gogogate2' diff --git a/homeassistant/components/google/__init__.py b/homeassistant/components/google/__init__.py index 0216094de9b..e9bbf3f96cd 100644 --- a/homeassistant/components/google/__init__.py +++ b/homeassistant/components/google/__init__.py @@ -13,12 +13,6 @@ from homeassistant.helpers.entity import generate_entity_id from homeassistant.helpers.event import track_time_change from homeassistant.util import convert, dt -REQUIREMENTS = [ - 'google-api-python-client==1.6.4', - 'httplib2==0.10.3', - 'oauth2client==4.0.0', -] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'google' diff --git a/homeassistant/components/google/tts.py b/homeassistant/components/google/tts.py index 49a945cbbfd..4d988bed21c 100644 --- a/homeassistant/components/google/tts.py +++ b/homeassistant/components/google/tts.py @@ -12,8 +12,6 @@ import yarl from homeassistant.components.tts import CONF_LANG, PLATFORM_SCHEMA, Provider from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['gTTS-token==1.1.3'] - _LOGGER = logging.getLogger(__name__) GOOGLE_SPEECH_URL = "https://translate.google.com/translate_tts" diff --git a/homeassistant/components/google_assistant/__init__.py b/homeassistant/components/google_assistant/__init__.py index 0fd167c2729..2d3a19afa13 100644 --- a/homeassistant/components/google_assistant/__init__.py +++ b/homeassistant/components/google_assistant/__init__.py @@ -28,8 +28,6 @@ from .http import async_register_http _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['http'] - ENTITY_SCHEMA = vol.Schema({ vol.Optional(CONF_NAME): cv.string, vol.Optional(CONF_EXPOSE): cv.boolean, diff --git a/homeassistant/components/google_maps/device_tracker.py b/homeassistant/components/google_maps/device_tracker.py index 7bc9be00b8c..5788392190a 100644 --- a/homeassistant/components/google_maps/device_tracker.py +++ b/homeassistant/components/google_maps/device_tracker.py @@ -14,8 +14,6 @@ from homeassistant.helpers.event import track_time_interval from homeassistant.helpers.typing import ConfigType from homeassistant.util import slugify, dt as dt_util -REQUIREMENTS = ['locationsharinglib==3.0.11'] - _LOGGER = logging.getLogger(__name__) ATTR_ADDRESS = 'address' diff --git a/homeassistant/components/google_pubsub/__init__.py b/homeassistant/components/google_pubsub/__init__.py index 18c068ea454..8aaa7a17ac4 100644 --- a/homeassistant/components/google_pubsub/__init__.py +++ b/homeassistant/components/google_pubsub/__init__.py @@ -15,8 +15,6 @@ from homeassistant.helpers.entityfilter import FILTER_SCHEMA _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['google-cloud-pubsub==0.39.1'] - DOMAIN = 'google_pubsub' CONF_PROJECT_ID = 'project_id' diff --git a/homeassistant/components/google_travel_time/sensor.py b/homeassistant/components/google_travel_time/sensor.py index b448830ab02..ef4fc76f53e 100644 --- a/homeassistant/components/google_travel_time/sensor.py +++ b/homeassistant/components/google_travel_time/sensor.py @@ -15,8 +15,6 @@ from homeassistant.helpers import location from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['googlemaps==2.5.1'] - _LOGGER = logging.getLogger(__name__) CONF_DESTINATION = 'destination' diff --git a/homeassistant/components/googlehome/__init__.py b/homeassistant/components/googlehome/__init__.py index 6ebc2f512b1..073081a9634 100644 --- a/homeassistant/components/googlehome/__init__.py +++ b/homeassistant/components/googlehome/__init__.py @@ -10,8 +10,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['googledevices==1.0.2'] - DOMAIN = 'googlehome' CLIENT = 'googlehome_client' diff --git a/homeassistant/components/googlehome/device_tracker.py b/homeassistant/components/googlehome/device_tracker.py index c024cde0c6c..3b6bc5d341c 100644 --- a/homeassistant/components/googlehome/device_tracker.py +++ b/homeassistant/components/googlehome/device_tracker.py @@ -10,8 +10,6 @@ from . import CLIENT, DOMAIN as GOOGLEHOME_DOMAIN, NAME _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['googlehome'] - DEFAULT_SCAN_INTERVAL = timedelta(seconds=10) diff --git a/homeassistant/components/googlehome/sensor.py b/homeassistant/components/googlehome/sensor.py index 4f37740da85..088f4352fa3 100644 --- a/homeassistant/components/googlehome/sensor.py +++ b/homeassistant/components/googlehome/sensor.py @@ -8,8 +8,6 @@ import homeassistant.util.dt as dt_util from . import CLIENT, DOMAIN as GOOGLEHOME_DOMAIN, NAME -DEPENDENCIES = ['googlehome'] - SCAN_INTERVAL = timedelta(seconds=10) _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gpmdp/media_player.py b/homeassistant/components/gpmdp/media_player.py index 788126b957f..76253d32db8 100644 --- a/homeassistant/components/gpmdp/media_player.py +++ b/homeassistant/components/gpmdp/media_player.py @@ -16,8 +16,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.util.json import load_json, save_json -REQUIREMENTS = ['websocket-client==0.54.0'] - _CONFIGURING = {} _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gpsd/sensor.py b/homeassistant/components/gpsd/sensor.py index 62307cb1011..cccf59a822a 100644 --- a/homeassistant/components/gpsd/sensor.py +++ b/homeassistant/components/gpsd/sensor.py @@ -10,8 +10,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['gps3==0.33.3'] - _LOGGER = logging.getLogger(__name__) ATTR_CLIMB = 'climb' diff --git a/homeassistant/components/gpslogger/__init__.py b/homeassistant/components/gpslogger/__init__.py index 6bc9d11a68e..6887b85d02d 100644 --- a/homeassistant/components/gpslogger/__init__.py +++ b/homeassistant/components/gpslogger/__init__.py @@ -15,8 +15,6 @@ from homeassistant.components.device_tracker import DOMAIN as DEVICE_TRACKER _LOGGER = logging.getLogger(__name__) DOMAIN = 'gpslogger' -DEPENDENCIES = ['webhook'] - TRACKER_UPDATE = '{}_tracker_update'.format(DOMAIN) ATTR_ALTITUDE = 'altitude' diff --git a/homeassistant/components/gpslogger/device_tracker.py b/homeassistant/components/gpslogger/device_tracker.py index c9496975272..67967821083 100644 --- a/homeassistant/components/gpslogger/device_tracker.py +++ b/homeassistant/components/gpslogger/device_tracker.py @@ -10,8 +10,6 @@ from . import DOMAIN as GPSLOGGER_DOMAIN, TRACKER_UPDATE _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['gpslogger'] - DATA_KEY = '{}.{}'.format(GPSLOGGER_DOMAIN, DEVICE_TRACKER_DOMAIN) diff --git a/homeassistant/components/greeneye_monitor/__init__.py b/homeassistant/components/greeneye_monitor/__init__.py index aedc98aac31..0f12c3cd479 100644 --- a/homeassistant/components/greeneye_monitor/__init__.py +++ b/homeassistant/components/greeneye_monitor/__init__.py @@ -11,8 +11,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import async_load_platform -REQUIREMENTS = ['greeneye_monitor==1.0'] - _LOGGER = logging.getLogger(__name__) CONF_CHANNELS = 'channels' diff --git a/homeassistant/components/greeneye_monitor/sensor.py b/homeassistant/components/greeneye_monitor/sensor.py index 8321bb768ca..ddfa5c1504b 100644 --- a/homeassistant/components/greeneye_monitor/sensor.py +++ b/homeassistant/components/greeneye_monitor/sensor.py @@ -23,8 +23,6 @@ from ..greeneye_monitor import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['greeneye_monitor'] - DATA_PULSES = 'pulses' DATA_WATT_SECONDS = 'watt_seconds' diff --git a/homeassistant/components/greenwave/light.py b/homeassistant/components/greenwave/light.py index b8efe8ae17d..a8418a01ac2 100644 --- a/homeassistant/components/greenwave/light.py +++ b/homeassistant/components/greenwave/light.py @@ -10,7 +10,6 @@ from homeassistant.const import CONF_HOST import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['greenwavereality==0.5.1'] _LOGGER = logging.getLogger(__name__) CONF_VERSION = 'version' diff --git a/homeassistant/components/gstreamer/media_player.py b/homeassistant/components/gstreamer/media_player.py index 094a561d310..f7404010513 100644 --- a/homeassistant/components/gstreamer/media_player.py +++ b/homeassistant/components/gstreamer/media_player.py @@ -11,8 +11,6 @@ from homeassistant.components.media_player.const import ( from homeassistant.const import CONF_NAME, EVENT_HOMEASSISTANT_STOP, STATE_IDLE import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['gstreamer-player==1.1.2'] - _LOGGER = logging.getLogger(__name__) CONF_PIPELINE = 'pipeline' diff --git a/homeassistant/components/gtfs/sensor.py b/homeassistant/components/gtfs/sensor.py index 9e89a8ad844..0a9301f8c33 100644 --- a/homeassistant/components/gtfs/sensor.py +++ b/homeassistant/components/gtfs/sensor.py @@ -17,8 +17,6 @@ from homeassistant.helpers.typing import ConfigType, HomeAssistantType from homeassistant.util import slugify import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pygtfs==0.1.5'] - _LOGGER = logging.getLogger(__name__) ATTR_ARRIVAL = 'arrival' diff --git a/homeassistant/components/gtt/sensor.py b/homeassistant/components/gtt/sensor.py index 659984fadea..ecabd5f0a71 100644 --- a/homeassistant/components/gtt/sensor.py +++ b/homeassistant/components/gtt/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import DEVICE_CLASS_TIMESTAMP from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pygtt==1.1.2'] - _LOGGER = logging.getLogger(__name__) CONF_STOP = 'stop' diff --git a/homeassistant/components/habitica/__init__.py b/homeassistant/components/habitica/__init__.py index 23113a1388b..611e8df006a 100644 --- a/homeassistant/components/habitica/__init__.py +++ b/homeassistant/components/habitica/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import ( from homeassistant.helpers import config_validation as cv, discovery from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['habitipy==0.2.0'] - _LOGGER = logging.getLogger(__name__) CONF_API_USER = 'api_user' diff --git a/homeassistant/components/hangouts/__init__.py b/homeassistant/components/hangouts/__init__.py index 29cdc29e5ad..50936ac62a0 100644 --- a/homeassistant/components/hangouts/__init__.py +++ b/homeassistant/components/hangouts/__init__.py @@ -19,8 +19,6 @@ from .const import ( MESSAGE_SCHEMA, SERVICE_RECONNECT, SERVICE_SEND_MESSAGE, SERVICE_UPDATE, TARGETS_SCHEMA) -REQUIREMENTS = ['hangups==0.4.9'] - _LOGGER = logging.getLogger(__name__) CONFIG_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/hangouts/notify.py b/homeassistant/components/hangouts/notify.py index de9af2e0775..e88f80afbcd 100644 --- a/homeassistant/components/hangouts/notify.py +++ b/homeassistant/components/hangouts/notify.py @@ -12,8 +12,6 @@ from .const import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = [DOMAIN] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_DEFAULT_CONVERSATIONS): [TARGETS_SCHEMA] }) diff --git a/homeassistant/components/harman_kardon_avr/media_player.py b/homeassistant/components/harman_kardon_avr/media_player.py index cec0ac4f5c8..dc200f39b9c 100644 --- a/homeassistant/components/harman_kardon_avr/media_player.py +++ b/homeassistant/components/harman_kardon_avr/media_player.py @@ -12,8 +12,6 @@ from homeassistant.components.media_player.const import ( from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_PORT, STATE_OFF, STATE_ON) -REQUIREMENTS = ['hkavr==0.0.5'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Harman Kardon AVR' diff --git a/homeassistant/components/harmony/remote.py b/homeassistant/components/harmony/remote.py index 12b3a91e12b..c4aebb1bdcb 100644 --- a/homeassistant/components/harmony/remote.py +++ b/homeassistant/components/harmony/remote.py @@ -16,8 +16,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.exceptions import PlatformNotReady from homeassistant.util import slugify -REQUIREMENTS = ['aioharmony==0.1.11'] - _LOGGER = logging.getLogger(__name__) ATTR_CHANNEL = 'channel' diff --git a/homeassistant/components/hassio/__init__.py b/homeassistant/components/hassio/__init__.py index e8d04b1596d..2fdb859c320 100644 --- a/homeassistant/components/hassio/__init__.py +++ b/homeassistant/components/hassio/__init__.py @@ -25,7 +25,6 @@ from .ingress import async_setup_ingress _LOGGER = logging.getLogger(__name__) DOMAIN = 'hassio' -DEPENDENCIES = ['http'] STORAGE_KEY = DOMAIN STORAGE_VERSION = 1 diff --git a/homeassistant/components/hdmi_cec/__init__.py b/homeassistant/components/hdmi_cec/__init__.py index 8eb13c5ab21..189cc748d5d 100644 --- a/homeassistant/components/hdmi_cec/__init__.py +++ b/homeassistant/components/hdmi_cec/__init__.py @@ -17,8 +17,6 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyCEC==0.4.13'] - DOMAIN = 'hdmi_cec' _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hdmi_cec/media_player.py b/homeassistant/components/hdmi_cec/media_player.py index b2d2910e145..4468fd9d648 100644 --- a/homeassistant/components/hdmi_cec/media_player.py +++ b/homeassistant/components/hdmi_cec/media_player.py @@ -11,8 +11,6 @@ from homeassistant.const import ( from . import ATTR_NEW, CecDevice -DEPENDENCIES = ['hdmi_cec'] - _LOGGER = logging.getLogger(__name__) ENTITY_ID_FORMAT = DOMAIN + '.{}' diff --git a/homeassistant/components/hdmi_cec/switch.py b/homeassistant/components/hdmi_cec/switch.py index 639f545707e..9fb003f6d6a 100644 --- a/homeassistant/components/hdmi_cec/switch.py +++ b/homeassistant/components/hdmi_cec/switch.py @@ -6,8 +6,6 @@ from homeassistant.const import STATE_OFF, STATE_ON, STATE_STANDBY from . import ATTR_NEW, CecDevice -DEPENDENCIES = ['hdmi_cec'] - _LOGGER = logging.getLogger(__name__) ENTITY_ID_FORMAT = DOMAIN + '.{}' diff --git a/homeassistant/components/heatmiser/climate.py b/homeassistant/components/heatmiser/climate.py index fc9057bc905..045ffdd34c5 100644 --- a/homeassistant/components/heatmiser/climate.py +++ b/homeassistant/components/heatmiser/climate.py @@ -10,8 +10,6 @@ from homeassistant.const import ( TEMP_CELSIUS, ATTR_TEMPERATURE, CONF_PORT, CONF_NAME, CONF_ID) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['heatmiserV3==0.9.1'] - _LOGGER = logging.getLogger(__name__) CONF_IPADDRESS = 'ipaddress' diff --git a/homeassistant/components/heos/__init__.py b/homeassistant/components/heos/__init__.py index 084444be4ea..529ee27997e 100644 --- a/homeassistant/components/heos/__init__.py +++ b/homeassistant/components/heos/__init__.py @@ -19,8 +19,6 @@ from .const import ( COMMAND_RETRY_ATTEMPTS, COMMAND_RETRY_DELAY, DATA_CONTROLLER, DATA_SOURCE_MANAGER, DOMAIN, SIGNAL_HEOS_SOURCES_UPDATED) -REQUIREMENTS = ['pyheos==0.3.1'] - CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({ vol.Required(CONF_HOST): cv.string diff --git a/homeassistant/components/heos/media_player.py b/homeassistant/components/heos/media_player.py index 72d42f8f66f..0da9db31bb2 100644 --- a/homeassistant/components/heos/media_player.py +++ b/homeassistant/components/heos/media_player.py @@ -17,8 +17,6 @@ from homeassistant.util.dt import utcnow from .const import ( DATA_SOURCE_MANAGER, DOMAIN as HEOS_DOMAIN, SIGNAL_HEOS_SOURCES_UPDATED) -DEPENDENCIES = ['heos'] - BASE_SUPPORTED_FEATURES = SUPPORT_VOLUME_MUTE | SUPPORT_VOLUME_SET | \ SUPPORT_VOLUME_STEP | SUPPORT_CLEAR_PLAYLIST | \ SUPPORT_SHUFFLE_SET | SUPPORT_SELECT_SOURCE diff --git a/homeassistant/components/hikvision/binary_sensor.py b/homeassistant/components/hikvision/binary_sensor.py index a6a82c9ee1b..f15d6739615 100644 --- a/homeassistant/components/hikvision/binary_sensor.py +++ b/homeassistant/components/hikvision/binary_sensor.py @@ -13,7 +13,6 @@ from homeassistant.const import ( CONF_SSL, EVENT_HOMEASSISTANT_STOP, EVENT_HOMEASSISTANT_START, ATTR_LAST_TRIP_TIME, CONF_CUSTOMIZE) -REQUIREMENTS = ['pyhik==0.2.2'] _LOGGER = logging.getLogger(__name__) CONF_IGNORED = 'ignored' diff --git a/homeassistant/components/hikvisioncam/switch.py b/homeassistant/components/hikvisioncam/switch.py index 6e5dcdac9aa..373f84cee0e 100644 --- a/homeassistant/components/hikvisioncam/switch.py +++ b/homeassistant/components/hikvisioncam/switch.py @@ -10,7 +10,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import ToggleEntity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['hikvision==0.4'] # This is the last working version, please test before updating _LOGGING = logging.getLogger(__name__) diff --git a/homeassistant/components/hipchat/notify.py b/homeassistant/components/hipchat/notify.py index 5128b8beea3..f12fd1ffa76 100644 --- a/homeassistant/components/hipchat/notify.py +++ b/homeassistant/components/hipchat/notify.py @@ -10,8 +10,6 @@ from homeassistant.components.notify import (ATTR_DATA, ATTR_TARGET, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['hipnotify==1.0.8'] - _LOGGER = logging.getLogger(__name__) CONF_COLOR = 'color' diff --git a/homeassistant/components/history/__init__.py b/homeassistant/components/history/__init__.py index 7b07fac19a6..7efe4f2beb2 100644 --- a/homeassistant/components/history/__init__.py +++ b/homeassistant/components/history/__init__.py @@ -19,8 +19,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) DOMAIN = 'history' -DEPENDENCIES = ['recorder', 'http'] - CONF_ORDER = 'use_include_order' CONFIG_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/history_graph/__init__.py b/homeassistant/components/history_graph/__init__.py index 893f3514d77..964d47d2502 100644 --- a/homeassistant/components/history_graph/__init__.py +++ b/homeassistant/components/history_graph/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import CONF_ENTITIES, CONF_NAME, ATTR_ENTITY_ID from homeassistant.helpers.entity import Entity from homeassistant.helpers.entity_component import EntityComponent -DEPENDENCIES = ['history'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'history_graph' diff --git a/homeassistant/components/history_stats/sensor.py b/homeassistant/components/history_stats/sensor.py index f1eea4dd693..a0a08d4833e 100644 --- a/homeassistant/components/history_stats/sensor.py +++ b/homeassistant/components/history_stats/sensor.py @@ -20,8 +20,6 @@ from homeassistant.helpers.event import async_track_state_change _LOGGER = logging.getLogger(__name__) DOMAIN = 'history_stats' -DEPENDENCIES = ['history'] - CONF_START = 'start' CONF_END = 'end' CONF_DURATION = 'duration' diff --git a/homeassistant/components/hive/__init__.py b/homeassistant/components/hive/__init__.py index 934c44028ac..fdda1f1f542 100644 --- a/homeassistant/components/hive/__init__.py +++ b/homeassistant/components/hive/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform -REQUIREMENTS = ['pyhiveapi==0.2.17'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'hive' diff --git a/homeassistant/components/hive/binary_sensor.py b/homeassistant/components/hive/binary_sensor.py index a0973f4d8e9..97900c2852e 100644 --- a/homeassistant/components/hive/binary_sensor.py +++ b/homeassistant/components/hive/binary_sensor.py @@ -3,8 +3,6 @@ from homeassistant.components.binary_sensor import BinarySensorDevice from . import DATA_HIVE, DOMAIN -DEPENDENCIES = ['hive'] - DEVICETYPE_DEVICE_CLASS = { 'motionsensor': 'motion', 'contactsensor': 'opening', diff --git a/homeassistant/components/hive/climate.py b/homeassistant/components/hive/climate.py index dac7feb2927..ab9b63dad60 100644 --- a/homeassistant/components/hive/climate.py +++ b/homeassistant/components/hive/climate.py @@ -8,8 +8,6 @@ from homeassistant.const import ( from . import DATA_HIVE, DOMAIN -DEPENDENCIES = ['hive'] - HIVE_TO_HASS_STATE = { 'SCHEDULE': STATE_AUTO, 'MANUAL': STATE_HEAT, diff --git a/homeassistant/components/hive/light.py b/homeassistant/components/hive/light.py index 3a2176c3eed..67331b12b35 100644 --- a/homeassistant/components/hive/light.py +++ b/homeassistant/components/hive/light.py @@ -6,8 +6,6 @@ import homeassistant.util.color as color_util from . import DATA_HIVE, DOMAIN -DEPENDENCIES = ['hive'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up Hive light devices.""" diff --git a/homeassistant/components/hive/sensor.py b/homeassistant/components/hive/sensor.py index e7b7d6b4597..b8887d27409 100644 --- a/homeassistant/components/hive/sensor.py +++ b/homeassistant/components/hive/sensor.py @@ -4,8 +4,6 @@ from homeassistant.helpers.entity import Entity from . import DATA_HIVE, DOMAIN -DEPENDENCIES = ['hive'] - FRIENDLY_NAMES = { 'Hub_OnlineStatus': 'Hive Hub Status', 'Hive_OutsideTemperature': 'Outside Temperature', diff --git a/homeassistant/components/hive/switch.py b/homeassistant/components/hive/switch.py index fd4d3d69b50..ea4094d573c 100644 --- a/homeassistant/components/hive/switch.py +++ b/homeassistant/components/hive/switch.py @@ -3,8 +3,6 @@ from homeassistant.components.switch import SwitchDevice from . import DATA_HIVE, DOMAIN -DEPENDENCIES = ['hive'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up Hive switches.""" diff --git a/homeassistant/components/hlk_sw16/__init__.py b/homeassistant/components/hlk_sw16/__init__.py index acb604bc010..79de0bd18be 100644 --- a/homeassistant/components/hlk_sw16/__init__.py +++ b/homeassistant/components/hlk_sw16/__init__.py @@ -13,8 +13,6 @@ from homeassistant.helpers.discovery import async_load_platform from homeassistant.helpers.dispatcher import ( async_dispatcher_send, async_dispatcher_connect) -REQUIREMENTS = ['hlk-sw16==0.0.7'] - _LOGGER = logging.getLogger(__name__) DATA_DEVICE_REGISTER = 'hlk_sw16_device_register' diff --git a/homeassistant/components/hlk_sw16/switch.py b/homeassistant/components/hlk_sw16/switch.py index 164a504fa34..b7353f037c1 100644 --- a/homeassistant/components/hlk_sw16/switch.py +++ b/homeassistant/components/hlk_sw16/switch.py @@ -4,9 +4,7 @@ import logging from homeassistant.components.switch import ToggleEntity from homeassistant.const import CONF_NAME -from . import DATA_DEVICE_REGISTER, DOMAIN as HLK_SW16, SW16Device - -DEPENDENCIES = [HLK_SW16] +from . import DATA_DEVICE_REGISTER, SW16Device _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit/__init__.py b/homeassistant/components/homekit/__init__.py index 9d7de58be4b..f524455fede 100644 --- a/homeassistant/components/homekit/__init__.py +++ b/homeassistant/components/homekit/__init__.py @@ -26,8 +26,6 @@ from .const import ( from .util import ( show_setup_message, validate_entity_config, validate_media_player_features) -REQUIREMENTS = ['HAP-python==2.5.0'] - _LOGGER = logging.getLogger(__name__) MAX_DEVICES = 100 diff --git a/homeassistant/components/homekit_controller/__init__.py b/homeassistant/components/homekit_controller/__init__.py index 2a43d0ac9ce..6765db0085e 100644 --- a/homeassistant/components/homekit_controller/__init__.py +++ b/homeassistant/components/homekit_controller/__init__.py @@ -12,8 +12,6 @@ from .const import ( ) from .const import DOMAIN # noqa: pylint: disable=unused-import -REQUIREMENTS = ['homekit[IP]==0.13.0'] - HOMEKIT_IGNORE = [ 'BSB002', 'Home Assistant Bridge', diff --git a/homeassistant/components/homekit_controller/alarm_control_panel.py b/homeassistant/components/homekit_controller/alarm_control_panel.py index f9bc25f4237..fe15cfe2eab 100644 --- a/homeassistant/components/homekit_controller/alarm_control_panel.py +++ b/homeassistant/components/homekit_controller/alarm_control_panel.py @@ -8,8 +8,6 @@ from homeassistant.const import ( from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] - ICON = 'mdi:security' _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit_controller/binary_sensor.py b/homeassistant/components/homekit_controller/binary_sensor.py index 2bd03b18932..a5b70082002 100644 --- a/homeassistant/components/homekit_controller/binary_sensor.py +++ b/homeassistant/components/homekit_controller/binary_sensor.py @@ -5,8 +5,6 @@ from homeassistant.components.binary_sensor import BinarySensorDevice from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit_controller/climate.py b/homeassistant/components/homekit_controller/climate.py index 67f1fb72bcf..dfbd6f68daa 100644 --- a/homeassistant/components/homekit_controller/climate.py +++ b/homeassistant/components/homekit_controller/climate.py @@ -9,8 +9,6 @@ from homeassistant.const import ATTR_TEMPERATURE, STATE_OFF, TEMP_CELSIUS from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] - _LOGGER = logging.getLogger(__name__) # Map of Homekit operation modes to hass modes diff --git a/homeassistant/components/homekit_controller/cover.py b/homeassistant/components/homekit_controller/cover.py index 26b7613ed2b..0c9ce2bc528 100644 --- a/homeassistant/components/homekit_controller/cover.py +++ b/homeassistant/components/homekit_controller/cover.py @@ -12,8 +12,6 @@ from . import KNOWN_DEVICES, HomeKitEntity STATE_STOPPED = 'stopped' -DEPENDENCIES = ['homekit_controller'] - _LOGGER = logging.getLogger(__name__) CURRENT_GARAGE_STATE_MAP = { diff --git a/homeassistant/components/homekit_controller/light.py b/homeassistant/components/homekit_controller/light.py index cb9259df4a9..a139b1f2932 100644 --- a/homeassistant/components/homekit_controller/light.py +++ b/homeassistant/components/homekit_controller/light.py @@ -7,8 +7,6 @@ from homeassistant.components.light import ( from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit_controller/lock.py b/homeassistant/components/homekit_controller/lock.py index 0d0275fda16..67de2bfaf3f 100644 --- a/homeassistant/components/homekit_controller/lock.py +++ b/homeassistant/components/homekit_controller/lock.py @@ -7,8 +7,6 @@ from homeassistant.const import ( from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] - _LOGGER = logging.getLogger(__name__) STATE_JAMMED = 'jammed' diff --git a/homeassistant/components/homekit_controller/sensor.py b/homeassistant/components/homekit_controller/sensor.py index 8cbc8f248ba..b377da80142 100644 --- a/homeassistant/components/homekit_controller/sensor.py +++ b/homeassistant/components/homekit_controller/sensor.py @@ -3,8 +3,6 @@ from homeassistant.const import TEMP_CELSIUS from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] - HUMIDITY_ICON = 'mdi-water-percent' TEMP_C_ICON = "mdi-temperature-celsius" BRIGHTNESS_ICON = "mdi-brightness-6" diff --git a/homeassistant/components/homekit_controller/switch.py b/homeassistant/components/homekit_controller/switch.py index 34e83c06526..c09502373a6 100644 --- a/homeassistant/components/homekit_controller/switch.py +++ b/homeassistant/components/homekit_controller/switch.py @@ -5,8 +5,6 @@ from homeassistant.components.switch import SwitchDevice from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] - OUTLET_IN_USE = "outlet_in_use" _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematic/__init__.py b/homeassistant/components/homematic/__init__.py index a8109af5ed8..97c805aa2ac 100644 --- a/homeassistant/components/homematic/__init__.py +++ b/homeassistant/components/homematic/__init__.py @@ -14,8 +14,6 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyhomematic==0.1.58'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'homematic' diff --git a/homeassistant/components/homematic/binary_sensor.py b/homeassistant/components/homematic/binary_sensor.py index 7bf260a9bdc..dfd7b7a72bd 100644 --- a/homeassistant/components/homematic/binary_sensor.py +++ b/homeassistant/components/homematic/binary_sensor.py @@ -8,8 +8,6 @@ from . import ATTR_DISCOVER_DEVICES, HMDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematic'] - SENSOR_TYPES_CLASS = { 'IPShutterContact': 'opening', 'MaxShutterContact': 'opening', diff --git a/homeassistant/components/homematic/climate.py b/homeassistant/components/homematic/climate.py index 146cad1bc4c..e10d486b727 100644 --- a/homeassistant/components/homematic/climate.py +++ b/homeassistant/components/homematic/climate.py @@ -9,8 +9,6 @@ from homeassistant.const import ATTR_TEMPERATURE, TEMP_CELSIUS from . import ATTR_DISCOVER_DEVICES, HM_ATTRIBUTE_SUPPORT, HMDevice -DEPENDENCIES = ['homematic'] - _LOGGER = logging.getLogger(__name__) STATE_BOOST = 'boost' diff --git a/homeassistant/components/homematic/cover.py b/homeassistant/components/homematic/cover.py index 33b764dc31f..387eb26f433 100644 --- a/homeassistant/components/homematic/cover.py +++ b/homeassistant/components/homematic/cover.py @@ -9,8 +9,6 @@ from . import ATTR_DISCOVER_DEVICES, HMDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematic'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the platform.""" diff --git a/homeassistant/components/homematic/light.py b/homeassistant/components/homematic/light.py index c3601461173..72aa9a977d4 100644 --- a/homeassistant/components/homematic/light.py +++ b/homeassistant/components/homematic/light.py @@ -9,8 +9,6 @@ from . import ATTR_DISCOVER_DEVICES, HMDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematic'] - SUPPORT_HOMEMATIC = SUPPORT_BRIGHTNESS diff --git a/homeassistant/components/homematic/lock.py b/homeassistant/components/homematic/lock.py index 3c0ca040c5f..7f796b32885 100644 --- a/homeassistant/components/homematic/lock.py +++ b/homeassistant/components/homematic/lock.py @@ -8,8 +8,6 @@ from . import ATTR_DISCOVER_DEVICES, HMDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematic'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Homematic lock platform.""" diff --git a/homeassistant/components/homematic/notify.py b/homeassistant/components/homematic/notify.py index 9054c1fa0ad..74ea7095b41 100644 --- a/homeassistant/components/homematic/notify.py +++ b/homeassistant/components/homematic/notify.py @@ -13,8 +13,6 @@ from . import ( SERVICE_SET_DEVICE_VALUE) _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ["homematic"] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(ATTR_ADDRESS): vol.All(cv.string, vol.Upper), vol.Required(ATTR_CHANNEL): vol.Coerce(int), diff --git a/homeassistant/components/homematic/sensor.py b/homeassistant/components/homematic/sensor.py index 401d11f70c8..fca8c746a49 100644 --- a/homeassistant/components/homematic/sensor.py +++ b/homeassistant/components/homematic/sensor.py @@ -7,8 +7,6 @@ from . import ATTR_DISCOVER_DEVICES, HMDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematic'] - HM_STATE_HA_CAST = { 'RotaryHandleSensor': {0: 'closed', 1: 'tilted', 2: 'open'}, 'RotaryHandleSensorIP': {0: 'closed', 1: 'tilted', 2: 'open'}, diff --git a/homeassistant/components/homematic/switch.py b/homeassistant/components/homematic/switch.py index 393ad09b310..b77b3a1f700 100644 --- a/homeassistant/components/homematic/switch.py +++ b/homeassistant/components/homematic/switch.py @@ -8,8 +8,6 @@ from . import ATTR_DISCOVER_DEVICES, HMDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematic'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the HomeMatic switch platform.""" diff --git a/homeassistant/components/homematicip_cloud/__init__.py b/homeassistant/components/homematicip_cloud/__init__.py index 1330a2750ae..4a24120be95 100644 --- a/homeassistant/components/homematicip_cloud/__init__.py +++ b/homeassistant/components/homematicip_cloud/__init__.py @@ -15,8 +15,6 @@ from .const import ( from .device import HomematicipGenericDevice # noqa: F401 from .hap import HomematicipAuth, HomematicipHAP # noqa: F401 -REQUIREMENTS = ['homematicip==0.10.7'] - _LOGGER = logging.getLogger(__name__) CONFIG_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/homematicip_cloud/alarm_control_panel.py b/homeassistant/components/homematicip_cloud/alarm_control_panel.py index df0201340ed..cb35833c231 100644 --- a/homeassistant/components/homematicip_cloud/alarm_control_panel.py +++ b/homeassistant/components/homematicip_cloud/alarm_control_panel.py @@ -10,8 +10,6 @@ from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematicip_cloud'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/homematicip_cloud/binary_sensor.py b/homeassistant/components/homematicip_cloud/binary_sensor.py index 44c17282dda..48e9520a952 100644 --- a/homeassistant/components/homematicip_cloud/binary_sensor.py +++ b/homeassistant/components/homematicip_cloud/binary_sensor.py @@ -6,8 +6,6 @@ from homeassistant.components.binary_sensor import BinarySensorDevice from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice from .device import ATTR_GROUP_MEMBER_UNREACHABLE -DEPENDENCIES = ['homematicip_cloud'] - _LOGGER = logging.getLogger(__name__) ATTR_MOTIONDETECTED = 'motion detected' diff --git a/homeassistant/components/homematicip_cloud/cover.py b/homeassistant/components/homematicip_cloud/cover.py index 735e8789670..e572e3d9754 100644 --- a/homeassistant/components/homematicip_cloud/cover.py +++ b/homeassistant/components/homematicip_cloud/cover.py @@ -5,8 +5,6 @@ from homeassistant.components.cover import ATTR_POSITION, CoverDevice from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice -DEPENDENCIES = ['homematicip_cloud'] - _LOGGER = logging.getLogger(__name__) HMIP_COVER_OPEN = 0 diff --git a/homeassistant/components/homematicip_cloud/light.py b/homeassistant/components/homematicip_cloud/light.py index f5bac66388c..b67e4114db2 100644 --- a/homeassistant/components/homematicip_cloud/light.py +++ b/homeassistant/components/homematicip_cloud/light.py @@ -7,8 +7,6 @@ from homeassistant.components.light import ( from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice -DEPENDENCIES = ['homematicip_cloud'] - _LOGGER = logging.getLogger(__name__) ATTR_ENERGY_COUNTER = 'energy_counter_kwh' diff --git a/homeassistant/components/homematicip_cloud/sensor.py b/homeassistant/components/homematicip_cloud/sensor.py index 5f345f419fa..201a5be6c51 100644 --- a/homeassistant/components/homematicip_cloud/sensor.py +++ b/homeassistant/components/homematicip_cloud/sensor.py @@ -9,8 +9,6 @@ from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematicip_cloud'] - ATTR_TEMPERATURE_OFFSET = 'temperature_offset' ATTR_WIND_DIRECTION = 'wind_direction' ATTR_WIND_DIRECTION_VARIATION = 'wind_direction_variation_in_degree' diff --git a/homeassistant/components/homematicip_cloud/switch.py b/homeassistant/components/homematicip_cloud/switch.py index f9713cd8c00..b96e0c4cf4d 100644 --- a/homeassistant/components/homematicip_cloud/switch.py +++ b/homeassistant/components/homematicip_cloud/switch.py @@ -6,8 +6,6 @@ from homeassistant.components.switch import SwitchDevice from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice from .device import ATTR_GROUP_MEMBER_UNREACHABLE -DEPENDENCIES = ['homematicip_cloud'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematicip_cloud/weather.py b/homeassistant/components/homematicip_cloud/weather.py index ba3157471f9..74b302b18fc 100644 --- a/homeassistant/components/homematicip_cloud/weather.py +++ b/homeassistant/components/homematicip_cloud/weather.py @@ -7,8 +7,6 @@ from homeassistant.const import TEMP_CELSIUS from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice -DEPENDENCIES = ['homematicip_cloud'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homeworks/__init__.py b/homeassistant/components/homeworks/__init__.py index d0769ed25e6..b722a5a4a2d 100644 --- a/homeassistant/components/homeworks/__init__.py +++ b/homeassistant/components/homeworks/__init__.py @@ -12,8 +12,6 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_connect, dispatcher_send) from homeassistant.util import slugify -REQUIREMENTS = ['pyhomeworks==0.0.6'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'homeworks' diff --git a/homeassistant/components/homeworks/light.py b/homeassistant/components/homeworks/light.py index ca41dff9834..710be7c0077 100644 --- a/homeassistant/components/homeworks/light.py +++ b/homeassistant/components/homeworks/light.py @@ -11,8 +11,6 @@ from . import ( CONF_ADDR, CONF_DIMMERS, CONF_RATE, ENTITY_SIGNAL, HOMEWORKS_CONTROLLER, HomeworksDevice) -DEPENDENCIES = ['homeworks'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/honeywell/climate.py b/homeassistant/components/honeywell/climate.py index 7460ed6e9d0..df19f67a876 100644 --- a/homeassistant/components/honeywell/climate.py +++ b/homeassistant/components/honeywell/climate.py @@ -15,8 +15,6 @@ from homeassistant.const import ( CONF_PASSWORD, CONF_USERNAME, TEMP_CELSIUS, TEMP_FAHRENHEIT, ATTR_TEMPERATURE, CONF_REGION) -REQUIREMENTS = ['evohomeclient==0.3.2', 'somecomfort==0.5.2'] - _LOGGER = logging.getLogger(__name__) ATTR_FAN = 'fan' diff --git a/homeassistant/components/horizon/media_player.py b/homeassistant/components/horizon/media_player.py index 51168e4ef2e..ab72b051f1b 100644 --- a/homeassistant/components/horizon/media_player.py +++ b/homeassistant/components/horizon/media_player.py @@ -16,8 +16,6 @@ from homeassistant.const import ( from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['horimote==0.4.1'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Horizon' diff --git a/homeassistant/components/hp_ilo/sensor.py b/homeassistant/components/hp_ilo/sensor.py index a017f0ee3e8..46fde885613 100644 --- a/homeassistant/components/hp_ilo/sensor.py +++ b/homeassistant/components/hp_ilo/sensor.py @@ -13,8 +13,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['python-hpilo==3.9'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = "HP ILO" diff --git a/homeassistant/components/html5/notify.py b/homeassistant/components/html5/notify.py index fa7bf660b79..2fcaa266b85 100644 --- a/homeassistant/components/html5/notify.py +++ b/homeassistant/components/html5/notify.py @@ -24,10 +24,6 @@ from homeassistant.components.notify import ( ATTR_DATA, ATTR_TARGET, ATTR_TITLE, ATTR_TITLE_DEFAULT, DOMAIN, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['pywebpush==1.9.2'] - -DEPENDENCIES = ['frontend'] - _LOGGER = logging.getLogger(__name__) REGISTRATIONS_FILE = 'html5_push_registrations.conf' diff --git a/homeassistant/components/http/__init__.py b/homeassistant/components/http/__init__.py index 0bcf3f85ff7..ad64b38200a 100644 --- a/homeassistant/components/http/__init__.py +++ b/homeassistant/components/http/__init__.py @@ -29,8 +29,6 @@ from .real_ip import setup_real_ip from .static import CACHE_HEADERS, CachingStaticResource from .view import HomeAssistantView # noqa -REQUIREMENTS = ['aiohttp_cors==0.7.0'] - DOMAIN = 'http' CONF_API_PASSWORD = 'api_password' diff --git a/homeassistant/components/htu21d/sensor.py b/homeassistant/components/htu21d/sensor.py index 17182bb833d..01c2b0399b9 100644 --- a/homeassistant/components/htu21d/sensor.py +++ b/homeassistant/components/htu21d/sensor.py @@ -12,9 +12,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle from homeassistant.util.temperature import celsius_to_fahrenheit -REQUIREMENTS = ['i2csense==0.0.4', - 'smbus-cffi==0.5.1'] - _LOGGER = logging.getLogger(__name__) CONF_I2C_BUS = 'i2c_bus' diff --git a/homeassistant/components/huawei_lte/__init__.py b/homeassistant/components/huawei_lte/__init__.py index a462b1b3072..8e401dfd239 100644 --- a/homeassistant/components/huawei_lte/__init__.py +++ b/homeassistant/components/huawei_lte/__init__.py @@ -19,8 +19,6 @@ _LOGGER = logging.getLogger(__name__) # https://github.com/quandyfactory/dicttoxml/issues/60 logging.getLogger('dicttoxml').setLevel(logging.WARNING) -REQUIREMENTS = ['huawei-lte-api==1.1.5'] - MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=10) DOMAIN = 'huawei_lte' diff --git a/homeassistant/components/huawei_lte/device_tracker.py b/homeassistant/components/huawei_lte/device_tracker.py index 69bf42fb3fe..d6c49f5e255 100644 --- a/homeassistant/components/huawei_lte/device_tracker.py +++ b/homeassistant/components/huawei_lte/device_tracker.py @@ -11,8 +11,6 @@ from homeassistant.components.device_tracker import ( from homeassistant.const import CONF_URL from ..huawei_lte import DATA_KEY, RouterData -DEPENDENCIES = ['huawei_lte'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_URL): cv.url, }) diff --git a/homeassistant/components/huawei_lte/notify.py b/homeassistant/components/huawei_lte/notify.py index 5e20a774c25..6394140c07f 100644 --- a/homeassistant/components/huawei_lte/notify.py +++ b/homeassistant/components/huawei_lte/notify.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from ..huawei_lte import DATA_KEY -DEPENDENCIES = ['huawei_lte'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/huawei_lte/sensor.py b/homeassistant/components/huawei_lte/sensor.py index 42ad4b52f8d..42bd1f16271 100644 --- a/homeassistant/components/huawei_lte/sensor.py +++ b/homeassistant/components/huawei_lte/sensor.py @@ -16,8 +16,6 @@ from ..huawei_lte import DATA_KEY, RouterData _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['huawei_lte'] - DEFAULT_NAME_TEMPLATE = 'Huawei {} {}' DEFAULT_SENSORS = [ diff --git a/homeassistant/components/hue/__init__.py b/homeassistant/components/hue/__init__.py index 8f5c27f6516..ac17e6e852f 100644 --- a/homeassistant/components/hue/__init__.py +++ b/homeassistant/components/hue/__init__.py @@ -14,8 +14,6 @@ from .bridge import HueBridge # Loading the config flow file will register the flow from .config_flow import configured_hosts -REQUIREMENTS = ['aiohue==1.9.1'] - _LOGGER = logging.getLogger(__name__) CONF_BRIDGES = "bridges" diff --git a/homeassistant/components/hue/light.py b/homeassistant/components/hue/light.py index 0725c86bd95..3ba92ef12a7 100644 --- a/homeassistant/components/hue/light.py +++ b/homeassistant/components/hue/light.py @@ -16,7 +16,6 @@ from homeassistant.components.light import ( Light) from homeassistant.util import color -DEPENDENCIES = ['hue'] SCAN_INTERVAL = timedelta(seconds=5) _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hunterdouglas_powerview/scene.py b/homeassistant/components/hunterdouglas_powerview/scene.py index 7f0709aa6c1..571e15ab94f 100644 --- a/homeassistant/components/hunterdouglas_powerview/scene.py +++ b/homeassistant/components/hunterdouglas_powerview/scene.py @@ -10,8 +10,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.helpers.entity import async_generate_entity_id _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['aiopvapi==1.6.14'] - ENTITY_ID_FORMAT = DOMAIN + '.{}' HUB_ADDRESS = 'address' diff --git a/homeassistant/components/hydrawise/__init__.py b/homeassistant/components/hydrawise/__init__.py index 9c7baf6db2e..6ac0ee0322d 100644 --- a/homeassistant/components/hydrawise/__init__.py +++ b/homeassistant/components/hydrawise/__init__.py @@ -14,8 +14,6 @@ from homeassistant.helpers.dispatcher import ( from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['hydrawiser==0.1.1'] - _LOGGER = logging.getLogger(__name__) ALLOWED_WATERING_TIME = [5, 10, 15, 30, 45, 60] diff --git a/homeassistant/components/hydrawise/binary_sensor.py b/homeassistant/components/hydrawise/binary_sensor.py index 85a51d3649e..980e495c7f9 100644 --- a/homeassistant/components/hydrawise/binary_sensor.py +++ b/homeassistant/components/hydrawise/binary_sensor.py @@ -12,8 +12,6 @@ from . import ( BINARY_SENSORS, DATA_HYDRAWISE, DEVICE_MAP, DEVICE_MAP_INDEX, HydrawiseEntity) -DEPENDENCIES = ['hydrawise'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/hydrawise/sensor.py b/homeassistant/components/hydrawise/sensor.py index fc15a54ed60..908529c783d 100644 --- a/homeassistant/components/hydrawise/sensor.py +++ b/homeassistant/components/hydrawise/sensor.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from . import ( DATA_HYDRAWISE, DEVICE_MAP, DEVICE_MAP_INDEX, SENSORS, HydrawiseEntity) -DEPENDENCIES = ['hydrawise'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/hydrawise/switch.py b/homeassistant/components/hydrawise/switch.py index dcbd5274a62..ccfa9333e00 100644 --- a/homeassistant/components/hydrawise/switch.py +++ b/homeassistant/components/hydrawise/switch.py @@ -12,8 +12,6 @@ from . import ( DEFAULT_WATERING_TIME, DEVICE_MAP, DEVICE_MAP_INDEX, SWITCHES, HydrawiseEntity) -DEPENDENCIES = ['hydrawise'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/hydroquebec/sensor.py b/homeassistant/components/hydroquebec/sensor.py index 5f0fd9e01ad..0ec48f3058d 100644 --- a/homeassistant/components/hydroquebec/sensor.py +++ b/homeassistant/components/hydroquebec/sensor.py @@ -20,8 +20,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyhydroquebec==2.2.2'] - _LOGGER = logging.getLogger(__name__) KILOWATT_HOUR = ENERGY_KILO_WATT_HOUR diff --git a/homeassistant/components/ialarm/alarm_control_panel.py b/homeassistant/components/ialarm/alarm_control_panel.py index 8152c2496e6..27ff4fc6829 100644 --- a/homeassistant/components/ialarm/alarm_control_panel.py +++ b/homeassistant/components/ialarm/alarm_control_panel.py @@ -12,8 +12,6 @@ from homeassistant.const import ( STATE_ALARM_TRIGGERED) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyialarm==0.3'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'iAlarm' diff --git a/homeassistant/components/icloud/device_tracker.py b/homeassistant/components/icloud/device_tracker.py index 1d0e0d2fafb..908fe5ecf90 100644 --- a/homeassistant/components/icloud/device_tracker.py +++ b/homeassistant/components/icloud/device_tracker.py @@ -17,8 +17,6 @@ from homeassistant.util.location import distance _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pyicloud==0.9.1'] - CONF_ACCOUNTNAME = 'account_name' CONF_MAX_INTERVAL = 'max_interval' CONF_GPS_ACCURACY_THRESHOLD = 'gps_accuracy_threshold' diff --git a/homeassistant/components/idteck_prox/__init__.py b/homeassistant/components/idteck_prox/__init__.py index 3de7aa7cc8c..bfb227e0fc1 100644 --- a/homeassistant/components/idteck_prox/__init__.py +++ b/homeassistant/components/idteck_prox/__init__.py @@ -7,8 +7,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.const import ( CONF_HOST, CONF_PORT, CONF_NAME, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['rfk101py==0.0.1'] - _LOGGER = logging.getLogger(__name__) DOMAIN = "idteck_prox" diff --git a/homeassistant/components/ifttt/__init__.py b/homeassistant/components/ifttt/__init__.py index bad3984ea5b..6b5934702aa 100644 --- a/homeassistant/components/ifttt/__init__.py +++ b/homeassistant/components/ifttt/__init__.py @@ -9,9 +9,6 @@ from homeassistant.const import CONF_WEBHOOK_ID from homeassistant.helpers import config_entry_flow import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyfttt==0.3'] -DEPENDENCIES = ['webhook'] - _LOGGER = logging.getLogger(__name__) EVENT_RECEIVED = 'ifttt_webhook_received' diff --git a/homeassistant/components/ifttt/alarm_control_panel.py b/homeassistant/components/ifttt/alarm_control_panel.py index 3f806173196..a0492a210e0 100644 --- a/homeassistant/components/ifttt/alarm_control_panel.py +++ b/homeassistant/components/ifttt/alarm_control_panel.py @@ -15,8 +15,6 @@ import homeassistant.helpers.config_validation as cv from . import ATTR_EVENT, DOMAIN as IFTTT_DOMAIN, SERVICE_TRIGGER -DEPENDENCIES = ['ifttt'] - _LOGGER = logging.getLogger(__name__) ALLOWED_STATES = [ diff --git a/homeassistant/components/iglo/light.py b/homeassistant/components/iglo/light.py index 6851141efb4..1a6b5839029 100644 --- a/homeassistant/components/iglo/light.py +++ b/homeassistant/components/iglo/light.py @@ -12,8 +12,6 @@ from homeassistant.const import CONF_HOST, CONF_NAME, CONF_PORT import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['iglo==1.2.7'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'iGlo Light' diff --git a/homeassistant/components/ihc/__init__.py b/homeassistant/components/ihc/__init__.py index 102acd82551..7d8acfbdf2e 100644 --- a/homeassistant/components/ihc/__init__.py +++ b/homeassistant/components/ihc/__init__.py @@ -21,8 +21,6 @@ from .const import ( SERVICE_SET_RUNTIME_VALUE_FLOAT, SERVICE_SET_RUNTIME_VALUE_INT) from .util import async_pulse -REQUIREMENTS = ['ihcsdk==2.3.0', 'defusedxml==0.5.0'] - _LOGGER = logging.getLogger(__name__) AUTO_SETUP_YAML = 'ihc_auto_setup.yaml' diff --git a/homeassistant/components/ihc/binary_sensor.py b/homeassistant/components/ihc/binary_sensor.py index 69e3e1685af..a9a2b66cdde 100644 --- a/homeassistant/components/ihc/binary_sensor.py +++ b/homeassistant/components/ihc/binary_sensor.py @@ -6,8 +6,6 @@ from . import IHC_CONTROLLER, IHC_DATA, IHC_INFO from .const import CONF_INVERTING from .ihcdevice import IHCDevice -DEPENDENCIES = ['ihc'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the IHC binary sensor platform.""" diff --git a/homeassistant/components/ihc/light.py b/homeassistant/components/ihc/light.py index ad6d0fb6511..72c0dc8f0ba 100644 --- a/homeassistant/components/ihc/light.py +++ b/homeassistant/components/ihc/light.py @@ -9,8 +9,6 @@ from .const import CONF_DIMMABLE, CONF_OFF_ID, CONF_ON_ID from .ihcdevice import IHCDevice from .util import async_pulse, async_set_bool, async_set_int -DEPENDENCIES = ['ihc'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ihc/sensor.py b/homeassistant/components/ihc/sensor.py index fd1f2cee53a..4c63cf41e96 100644 --- a/homeassistant/components/ihc/sensor.py +++ b/homeassistant/components/ihc/sensor.py @@ -5,8 +5,6 @@ from homeassistant.helpers.entity import Entity from . import IHC_CONTROLLER, IHC_DATA, IHC_INFO from .ihcdevice import IHCDevice -DEPENDENCIES = ['ihc'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the IHC sensor platform.""" diff --git a/homeassistant/components/ihc/switch.py b/homeassistant/components/ihc/switch.py index e2189492b8f..6d3a72a3b66 100644 --- a/homeassistant/components/ihc/switch.py +++ b/homeassistant/components/ihc/switch.py @@ -6,8 +6,6 @@ from .const import CONF_OFF_ID, CONF_ON_ID from .ihcdevice import IHCDevice from .util import async_pulse, async_set_bool -DEPENDENCIES = ['ihc'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the IHC switch platform.""" diff --git a/homeassistant/components/image_processing/__init__.py b/homeassistant/components/image_processing/__init__.py index e5193985629..ce49ebf932e 100644 --- a/homeassistant/components/image_processing/__init__.py +++ b/homeassistant/components/image_processing/__init__.py @@ -17,8 +17,6 @@ from homeassistant.util.async_ import run_callback_threadsafe _LOGGER = logging.getLogger(__name__) DOMAIN = 'image_processing' -DEPENDENCIES = ['camera'] - SCAN_INTERVAL = timedelta(seconds=10) DEVICE_CLASSES = [ diff --git a/homeassistant/components/imap/sensor.py b/homeassistant/components/imap/sensor.py index 5ff23eb8e5d..cbc470beec8 100644 --- a/homeassistant/components/imap/sensor.py +++ b/homeassistant/components/imap/sensor.py @@ -15,8 +15,6 @@ from homeassistant.helpers.entity import Entity _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['aioimaplib==0.7.15'] - CONF_SERVER = 'server' CONF_FOLDER = 'folder' CONF_SEARCH = 'search' diff --git a/homeassistant/components/influxdb/__init__.py b/homeassistant/components/influxdb/__init__.py index 551996983c8..bf2ba1b8ecc 100644 --- a/homeassistant/components/influxdb/__init__.py +++ b/homeassistant/components/influxdb/__init__.py @@ -18,8 +18,6 @@ from homeassistant.helpers import state as state_helper, event as event_helper import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity_values import EntityValues -REQUIREMENTS = ['influxdb==5.2.0'] - _LOGGER = logging.getLogger(__name__) CONF_DB_NAME = 'database' diff --git a/homeassistant/components/influxdb/sensor.py b/homeassistant/components/influxdb/sensor.py index 3bec7e3c657..81a93cfc51d 100644 --- a/homeassistant/components/influxdb/sensor.py +++ b/homeassistant/components/influxdb/sensor.py @@ -18,8 +18,6 @@ from . import CONF_DB_NAME _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['influxdb==5.2.0'] - DEFAULT_HOST = 'localhost' DEFAULT_PORT = 8086 DEFAULT_DATABASE = 'home_assistant' diff --git a/homeassistant/components/insteon/__init__.py b/homeassistant/components/insteon/__init__.py index a462ac0f63e..a1eea2fb1df 100644 --- a/homeassistant/components/insteon/__init__.py +++ b/homeassistant/components/insteon/__init__.py @@ -13,8 +13,6 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['insteonplm==0.15.2'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'insteon' diff --git a/homeassistant/components/insteon/binary_sensor.py b/homeassistant/components/insteon/binary_sensor.py index 6f1e5675639..50e7a8fb646 100644 --- a/homeassistant/components/insteon/binary_sensor.py +++ b/homeassistant/components/insteon/binary_sensor.py @@ -7,8 +7,6 @@ from . import InsteonEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['insteon'] - SENSOR_TYPES = { 'openClosedSensor': 'opening', 'ioLincSensor': 'opening', diff --git a/homeassistant/components/insteon/cover.py b/homeassistant/components/insteon/cover.py index 1bb316152a9..da339bb4b65 100644 --- a/homeassistant/components/insteon/cover.py +++ b/homeassistant/components/insteon/cover.py @@ -10,7 +10,6 @@ from . import InsteonEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['insteon'] SUPPORTED_FEATURES = SUPPORT_OPEN | SUPPORT_CLOSE | SUPPORT_SET_POSITION diff --git a/homeassistant/components/insteon/fan.py b/homeassistant/components/insteon/fan.py index 26a56d6df98..888fcfe959a 100644 --- a/homeassistant/components/insteon/fan.py +++ b/homeassistant/components/insteon/fan.py @@ -10,8 +10,6 @@ from . import InsteonEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['insteon'] - SPEED_TO_HEX = { SPEED_OFF: 0x00, SPEED_LOW: 0x3f, diff --git a/homeassistant/components/insteon/light.py b/homeassistant/components/insteon/light.py index 676c053325c..5103bedc6b6 100644 --- a/homeassistant/components/insteon/light.py +++ b/homeassistant/components/insteon/light.py @@ -8,8 +8,6 @@ from . import InsteonEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['insteon'] - MAX_BRIGHTNESS = 255 diff --git a/homeassistant/components/insteon/sensor.py b/homeassistant/components/insteon/sensor.py index edea87e1f73..a7c1c0b89ef 100644 --- a/homeassistant/components/insteon/sensor.py +++ b/homeassistant/components/insteon/sensor.py @@ -5,8 +5,6 @@ from homeassistant.helpers.entity import Entity from . import InsteonEntity -DEPENDENCIES = ['insteon'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/insteon/switch.py b/homeassistant/components/insteon/switch.py index 4fdcdb20bb2..6c7b2b02031 100644 --- a/homeassistant/components/insteon/switch.py +++ b/homeassistant/components/insteon/switch.py @@ -5,8 +5,6 @@ from homeassistant.components.switch import SwitchDevice from . import InsteonEntity -DEPENDENCIES = ['insteon'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ios/__init__.py b/homeassistant/components/ios/__init__.py index cc8bd62293a..a9395ed5f5d 100644 --- a/homeassistant/components/ios/__init__.py +++ b/homeassistant/components/ios/__init__.py @@ -17,8 +17,6 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'ios' -DEPENDENCIES = ['device_tracker', 'http', 'zeroconf'] - CONF_PUSH = 'push' CONF_PUSH_CATEGORIES = 'categories' CONF_PUSH_CATEGORIES_NAME = 'name' diff --git a/homeassistant/components/ios/notify.py b/homeassistant/components/ios/notify.py index 1f8aade4ec1..ecbbfb2056c 100644 --- a/homeassistant/components/ios/notify.py +++ b/homeassistant/components/ios/notify.py @@ -14,8 +14,6 @@ _LOGGER = logging.getLogger(__name__) PUSH_URL = "https://ios-push.home-assistant.io/push" -DEPENDENCIES = ["ios"] - # pylint: disable=invalid-name def log_rate_limits(hass, target, resp, level=20): diff --git a/homeassistant/components/ios/sensor.py b/homeassistant/components/ios/sensor.py index 404b313368c..5c5be2b2626 100644 --- a/homeassistant/components/ios/sensor.py +++ b/homeassistant/components/ios/sensor.py @@ -3,8 +3,6 @@ from homeassistant.components import ios from homeassistant.helpers.entity import Entity from homeassistant.helpers.icon import icon_for_battery_level -DEPENDENCIES = ['ios'] - SENSOR_TYPES = { 'level': ['Battery Level', '%'], 'state': ['Battery State', None] diff --git a/homeassistant/components/iota/__init__.py b/homeassistant/components/iota/__init__.py index e28de61aad0..c3140e00b97 100644 --- a/homeassistant/components/iota/__init__.py +++ b/homeassistant/components/iota/__init__.py @@ -8,8 +8,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyota==2.0.5'] - _LOGGER = logging.getLogger(__name__) CONF_IRI = 'iri' diff --git a/homeassistant/components/iota/sensor.py b/homeassistant/components/iota/sensor.py index 2955828aff5..c278ab7288d 100644 --- a/homeassistant/components/iota/sensor.py +++ b/homeassistant/components/iota/sensor.py @@ -15,8 +15,6 @@ CONF_IRI = 'iri' CONF_SEED = 'seed' CONF_TESTNET = 'testnet' -DEPENDENCIES = ['iota'] - SCAN_INTERVAL = timedelta(minutes=3) diff --git a/homeassistant/components/iperf3/__init__.py b/homeassistant/components/iperf3/__init__.py index 01ac2194f35..00a5738dbd6 100644 --- a/homeassistant/components/iperf3/__init__.py +++ b/homeassistant/components/iperf3/__init__.py @@ -12,8 +12,6 @@ from homeassistant.helpers.discovery import async_load_platform from homeassistant.helpers.dispatcher import dispatcher_send from homeassistant.helpers.event import async_track_time_interval -REQUIREMENTS = ['iperf3==0.1.10'] - DOMAIN = 'iperf3' DATA_UPDATED = '{}_data_updated'.format(DOMAIN) diff --git a/homeassistant/components/iperf3/sensor.py b/homeassistant/components/iperf3/sensor.py index db9aafcdf4b..efc34d8bdef 100644 --- a/homeassistant/components/iperf3/sensor.py +++ b/homeassistant/components/iperf3/sensor.py @@ -6,8 +6,6 @@ from homeassistant.helpers.restore_state import RestoreEntity from . import ATTR_VERSION, DATA_UPDATED, DOMAIN as IPERF3_DOMAIN, SENSOR_TYPES -DEPENDENCIES = ['iperf3'] - ATTRIBUTION = 'Data retrieved using Iperf3' ICON = 'mdi:speedometer' diff --git a/homeassistant/components/ipma/weather.py b/homeassistant/components/ipma/weather.py index 7122957ad12..e976bcb9896 100644 --- a/homeassistant/components/ipma/weather.py +++ b/homeassistant/components/ipma/weather.py @@ -15,8 +15,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.helpers import config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['pyipma==1.2.1'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = 'Instituto Português do Mar e Atmosfera' diff --git a/homeassistant/components/irish_rail_transport/sensor.py b/homeassistant/components/irish_rail_transport/sensor.py index e17ecfde59d..586568ca9ef 100644 --- a/homeassistant/components/irish_rail_transport/sensor.py +++ b/homeassistant/components/irish_rail_transport/sensor.py @@ -9,8 +9,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import CONF_NAME, ATTR_ATTRIBUTION from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyirishrail==0.0.2'] - _LOGGER = logging.getLogger(__name__) ATTR_STATION = "Station" diff --git a/homeassistant/components/islamic_prayer_times/sensor.py b/homeassistant/components/islamic_prayer_times/sensor.py index 9efbc237e30..c50c01c2ece 100644 --- a/homeassistant/components/islamic_prayer_times/sensor.py +++ b/homeassistant/components/islamic_prayer_times/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import DEVICE_CLASS_TIMESTAMP from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import async_track_point_in_time -REQUIREMENTS = ['prayer_times_calculator==0.0.3'] - _LOGGER = logging.getLogger(__name__) PRAYER_TIMES_ICON = 'mdi:calendar-clock' diff --git a/homeassistant/components/iss/binary_sensor.py b/homeassistant/components/iss/binary_sensor.py index 381bc167918..97e5087819e 100644 --- a/homeassistant/components/iss/binary_sensor.py +++ b/homeassistant/components/iss/binary_sensor.py @@ -12,8 +12,6 @@ from homeassistant.const import ( CONF_NAME, ATTR_LONGITUDE, ATTR_LATITUDE, CONF_SHOW_ON_MAP) from homeassistant.util import Throttle -REQUIREMENTS = ['pyiss==1.0.1'] - _LOGGER = logging.getLogger(__name__) ATTR_ISS_NEXT_RISE = 'next_rise' diff --git a/homeassistant/components/isy994/__init__.py b/homeassistant/components/isy994/__init__.py index 4eaa71deece..de5e09f6238 100644 --- a/homeassistant/components/isy994/__init__.py +++ b/homeassistant/components/isy994/__init__.py @@ -12,8 +12,6 @@ from homeassistant.helpers import config_validation as cv, discovery from homeassistant.helpers.entity import Entity from homeassistant.helpers.typing import ConfigType, Dict -REQUIREMENTS = ['PyISY==1.1.1'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'isy994' diff --git a/homeassistant/components/itach/remote.py b/homeassistant/components/itach/remote.py index beb773838fb..54dfa1fcfb9 100644 --- a/homeassistant/components/itach/remote.py +++ b/homeassistant/components/itach/remote.py @@ -10,8 +10,6 @@ from homeassistant.const import ( CONF_DEVICES) from homeassistant.components.remote import PLATFORM_SCHEMA -REQUIREMENTS = ['pyitachip2ir==0.0.7'] - _LOGGER = logging.getLogger(__name__) DEFAULT_PORT = 4998 diff --git a/homeassistant/components/jewish_calendar/sensor.py b/homeassistant/components/jewish_calendar/sensor.py index 478bbed98fa..ec86abecc44 100644 --- a/homeassistant/components/jewish_calendar/sensor.py +++ b/homeassistant/components/jewish_calendar/sensor.py @@ -11,8 +11,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.sun import get_astral_event_date import homeassistant.util.dt as dt_util -REQUIREMENTS = ['hdate==0.8.7'] - _LOGGER = logging.getLogger(__name__) SENSOR_TYPES = { diff --git a/homeassistant/components/joaoapps_join/__init__.py b/homeassistant/components/joaoapps_join/__init__.py index f1371deed2b..4a3cf737c96 100644 --- a/homeassistant/components/joaoapps_join/__init__.py +++ b/homeassistant/components/joaoapps_join/__init__.py @@ -6,8 +6,6 @@ import voluptuous as vol import homeassistant.helpers.config_validation as cv from homeassistant.const import CONF_NAME, CONF_API_KEY -REQUIREMENTS = ['python-join-api==0.0.4'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'joaoapps_join' diff --git a/homeassistant/components/joaoapps_join/notify.py b/homeassistant/components/joaoapps_join/notify.py index 0137520049d..d9eabce5476 100644 --- a/homeassistant/components/joaoapps_join/notify.py +++ b/homeassistant/components/joaoapps_join/notify.py @@ -7,8 +7,6 @@ from homeassistant.components.notify import ( from homeassistant.const import CONF_API_KEY import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-join-api==0.0.4'] - _LOGGER = logging.getLogger(__name__) CONF_DEVICE_ID = 'device_id' diff --git a/homeassistant/components/juicenet/__init__.py b/homeassistant/components/juicenet/__init__.py index f62331d1502..919322487b1 100644 --- a/homeassistant/components/juicenet/__init__.py +++ b/homeassistant/components/juicenet/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import CONF_ACCESS_TOKEN from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-juicenet==0.0.5'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'juicenet' diff --git a/homeassistant/components/juicenet/sensor.py b/homeassistant/components/juicenet/sensor.py index 6b55e539547..60369b1f92a 100644 --- a/homeassistant/components/juicenet/sensor.py +++ b/homeassistant/components/juicenet/sensor.py @@ -8,8 +8,6 @@ from . import DOMAIN, JuicenetDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['juicenet'] - SENSOR_TYPES = { 'status': ['Charging Status', None], 'temperature': ['Temperature', TEMP_CELSIUS], diff --git a/homeassistant/components/keenetic_ndms2/device_tracker.py b/homeassistant/components/keenetic_ndms2/device_tracker.py index f873507112d..e52dff7476d 100644 --- a/homeassistant/components/keenetic_ndms2/device_tracker.py +++ b/homeassistant/components/keenetic_ndms2/device_tracker.py @@ -10,8 +10,6 @@ from homeassistant.const import ( CONF_HOST, CONF_PORT, CONF_PASSWORD, CONF_USERNAME ) -REQUIREMENTS = ['ndms2_client==0.0.6'] - _LOGGER = logging.getLogger(__name__) # Interface name to track devices for. Most likely one will not need to diff --git a/homeassistant/components/keyboard/__init__.py b/homeassistant/components/keyboard/__init__.py index 44accca2f56..f841e7e9681 100644 --- a/homeassistant/components/keyboard/__init__.py +++ b/homeassistant/components/keyboard/__init__.py @@ -6,8 +6,6 @@ from homeassistant.const import ( SERVICE_MEDIA_PREVIOUS_TRACK, SERVICE_VOLUME_DOWN, SERVICE_VOLUME_MUTE, SERVICE_VOLUME_UP) -REQUIREMENTS = ['pyuserinput==0.1.11'] - DOMAIN = 'keyboard' TAP_KEY_SCHEMA = vol.Schema({}) diff --git a/homeassistant/components/keyboard_remote/__init__.py b/homeassistant/components/keyboard_remote/__init__.py index e786fe458a8..71df70f51f0 100644 --- a/homeassistant/components/keyboard_remote/__init__.py +++ b/homeassistant/components/keyboard_remote/__init__.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['evdev==0.6.1'] - _LOGGER = logging.getLogger(__name__) DEVICE_DESCRIPTOR = 'device_descriptor' diff --git a/homeassistant/components/kira/__init__.py b/homeassistant/components/kira/__init__.py index d60d8e0cfeb..7cf27d342f5 100644 --- a/homeassistant/components/kira/__init__.py +++ b/homeassistant/components/kira/__init__.py @@ -12,8 +12,6 @@ from homeassistant.const import ( from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pykira==0.1.1'] - DOMAIN = 'kira' _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/kiwi/lock.py b/homeassistant/components/kiwi/lock.py index 0b5806425d9..bbeb2dce04a 100644 --- a/homeassistant/components/kiwi/lock.py +++ b/homeassistant/components/kiwi/lock.py @@ -11,8 +11,6 @@ from homeassistant.const import ( from homeassistant.helpers.event import async_call_later from homeassistant.core import callback -REQUIREMENTS = ['kiwiki-client==0.1.1'] - _LOGGER = logging.getLogger(__name__) ATTR_TYPE = 'hardware_type' diff --git a/homeassistant/components/knx/__init__.py b/homeassistant/components/knx/__init__.py index ea5b18b7ede..04b51730be1 100644 --- a/homeassistant/components/knx/__init__.py +++ b/homeassistant/components/knx/__init__.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.event import async_track_state_change from homeassistant.helpers.script import Script -REQUIREMENTS = ['xknx==0.10.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = "knx" diff --git a/homeassistant/components/knx/binary_sensor.py b/homeassistant/components/knx/binary_sensor.py index 8ee21e24c5e..65d10722500 100644 --- a/homeassistant/components/knx/binary_sensor.py +++ b/homeassistant/components/knx/binary_sensor.py @@ -22,8 +22,6 @@ CONF_RESET_AFTER = 'reset_after' CONF__ACTION = 'turn_off_action' DEFAULT_NAME = 'KNX Binary Sensor' -DEPENDENCIES = ['knx'] - AUTOMATION_SCHEMA = vol.Schema({ vol.Optional(CONF_HOOK, default=CONF_DEFAULT_HOOK): cv.string, vol.Optional(CONF_COUNTER, default=CONF_DEFAULT_COUNTER): cv.port, diff --git a/homeassistant/components/knx/climate.py b/homeassistant/components/knx/climate.py index e11e5449326..f4835389dfa 100644 --- a/homeassistant/components/knx/climate.py +++ b/homeassistant/components/knx/climate.py @@ -39,8 +39,6 @@ DEFAULT_NAME = 'KNX Climate' DEFAULT_SETPOINT_SHIFT_STEP = 0.5 DEFAULT_SETPOINT_SHIFT_MAX = 6 DEFAULT_SETPOINT_SHIFT_MIN = -6 -DEPENDENCIES = ['knx'] - # Map KNX operation modes to HA modes. This list might not be full. OPERATION_MODES = { # Map DPT 201.100 HVAC operating modes diff --git a/homeassistant/components/knx/cover.py b/homeassistant/components/knx/cover.py index b2b287d1e87..bbee54e00cd 100644 --- a/homeassistant/components/knx/cover.py +++ b/homeassistant/components/knx/cover.py @@ -25,8 +25,6 @@ CONF_INVERT_ANGLE = 'invert_angle' DEFAULT_TRAVEL_TIME = 25 DEFAULT_NAME = 'KNX Cover' -DEPENDENCIES = ['knx'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, vol.Optional(CONF_MOVE_LONG_ADDRESS): cv.string, diff --git a/homeassistant/components/knx/light.py b/homeassistant/components/knx/light.py index cf59f1fc135..b94d91514af 100644 --- a/homeassistant/components/knx/light.py +++ b/homeassistant/components/knx/light.py @@ -30,7 +30,6 @@ DEFAULT_BRIGHTNESS = 255 DEFAULT_COLOR_TEMP_MODE = 'absolute' DEFAULT_MIN_KELVIN = 2700 # 370 mireds DEFAULT_MAX_KELVIN = 6000 # 166 mireds -DEPENDENCIES = ['knx'] class ColorTempModes(Enum): diff --git a/homeassistant/components/knx/notify.py b/homeassistant/components/knx/notify.py index 742252d1874..486908c3cff 100644 --- a/homeassistant/components/knx/notify.py +++ b/homeassistant/components/knx/notify.py @@ -11,8 +11,6 @@ from . import ATTR_DISCOVER_DEVICES, DATA_KNX DEFAULT_NAME = 'KNX Notify' -DEPENDENCIES = ['knx'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADDRESS): cv.string, vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string diff --git a/homeassistant/components/knx/scene.py b/homeassistant/components/knx/scene.py index 4bf186c28ff..4f0c7b2d4fc 100644 --- a/homeassistant/components/knx/scene.py +++ b/homeassistant/components/knx/scene.py @@ -11,8 +11,6 @@ from . import ATTR_DISCOVER_DEVICES, DATA_KNX CONF_SCENE_NUMBER = 'scene_number' DEFAULT_NAME = 'KNX SCENE' -DEPENDENCIES = ['knx'] - PLATFORM_SCHEMA = vol.Schema({ vol.Required(CONF_PLATFORM): 'knx', vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, diff --git a/homeassistant/components/knx/sensor.py b/homeassistant/components/knx/sensor.py index 7ddafe53be4..bb3128eaee7 100644 --- a/homeassistant/components/knx/sensor.py +++ b/homeassistant/components/knx/sensor.py @@ -10,8 +10,6 @@ from homeassistant.helpers.entity import Entity from . import ATTR_DISCOVER_DEVICES, DATA_KNX DEFAULT_NAME = 'KNX Sensor' -DEPENDENCIES = ['knx'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADDRESS): cv.string, vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, diff --git a/homeassistant/components/knx/switch.py b/homeassistant/components/knx/switch.py index e3beff39677..461b27e94c0 100644 --- a/homeassistant/components/knx/switch.py +++ b/homeassistant/components/knx/switch.py @@ -11,8 +11,6 @@ from . import ATTR_DISCOVER_DEVICES, DATA_KNX CONF_STATE_ADDRESS = 'state_address' DEFAULT_NAME = 'KNX Switch' -DEPENDENCIES = ['knx'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADDRESS): cv.string, vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, diff --git a/homeassistant/components/kodi/media_player.py b/homeassistant/components/kodi/media_player.py index 81c93dba2ac..96fb02a08a0 100644 --- a/homeassistant/components/kodi/media_player.py +++ b/homeassistant/components/kodi/media_player.py @@ -31,8 +31,6 @@ from homeassistant.helpers.template import Template from homeassistant.util.yaml import dump import homeassistant.util.dt as dt_util -REQUIREMENTS = ['jsonrpc-async==0.6', 'jsonrpc-websocket==0.6'] - _LOGGER = logging.getLogger(__name__) EVENT_KODI_CALL_METHOD_RESULT = 'kodi_call_method_result' diff --git a/homeassistant/components/kodi/notify.py b/homeassistant/components/kodi/notify.py index f6ee2c47b96..fb5326c83c8 100644 --- a/homeassistant/components/kodi/notify.py +++ b/homeassistant/components/kodi/notify.py @@ -14,8 +14,6 @@ from homeassistant.components.notify import ( ATTR_DATA, ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['jsonrpc-async==0.6'] - _LOGGER = logging.getLogger(__name__) DEFAULT_PORT = 8080 diff --git a/homeassistant/components/konnected/__init__.py b/homeassistant/components/konnected/__init__.py index 276e395817c..ee4ba16e54c 100644 --- a/homeassistant/components/konnected/__init__.py +++ b/homeassistant/components/konnected/__init__.py @@ -32,8 +32,6 @@ from .handlers import HANDLERS _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['konnected==0.1.5'] - _BINARY_SENSOR_SCHEMA = vol.All( vol.Schema({ vol.Exclusive(CONF_PIN, 's_pin'): vol.Any(*PIN_TO_ZONE), @@ -96,8 +94,6 @@ CONFIG_SCHEMA = vol.Schema( extra=vol.ALLOW_EXTRA, ) -DEPENDENCIES = ['http'] - async def async_setup(hass, config): """Set up the Konnected platform.""" diff --git a/homeassistant/components/konnected/binary_sensor.py b/homeassistant/components/konnected/binary_sensor.py index 1fbfbea1861..3abd9be6c4b 100644 --- a/homeassistant/components/konnected/binary_sensor.py +++ b/homeassistant/components/konnected/binary_sensor.py @@ -12,8 +12,6 @@ from . import DOMAIN as KONNECTED_DOMAIN, PIN_TO_ZONE, SIGNAL_SENSOR_UPDATE _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['konnected'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/konnected/sensor.py b/homeassistant/components/konnected/sensor.py index a48d1a58619..7881eacff40 100644 --- a/homeassistant/components/konnected/sensor.py +++ b/homeassistant/components/konnected/sensor.py @@ -13,8 +13,6 @@ from .const import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['konnected'] - SENSOR_TYPES = { DEVICE_CLASS_TEMPERATURE: ['Temperature', TEMP_CELSIUS], DEVICE_CLASS_HUMIDITY: ['Humidity', '%'] diff --git a/homeassistant/components/konnected/switch.py b/homeassistant/components/konnected/switch.py index 3db602215b9..841e84e2487 100644 --- a/homeassistant/components/konnected/switch.py +++ b/homeassistant/components/konnected/switch.py @@ -11,8 +11,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['konnected'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/kwb/sensor.py b/homeassistant/components/kwb/sensor.py index bad0ea3cded..7a153970d18 100644 --- a/homeassistant/components/kwb/sensor.py +++ b/homeassistant/components/kwb/sensor.py @@ -9,8 +9,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.components.sensor import PLATFORM_SCHEMA import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pykwb==0.0.8'] - _LOGGER = logging.getLogger(__name__) DEFAULT_RAW = False diff --git a/homeassistant/components/lacrosse/sensor.py b/homeassistant/components/lacrosse/sensor.py index 9240343a5e3..dea51b0c917 100644 --- a/homeassistant/components/lacrosse/sensor.py +++ b/homeassistant/components/lacrosse/sensor.py @@ -14,8 +14,6 @@ from homeassistant.helpers.entity import Entity, async_generate_entity_id from homeassistant.helpers.event import async_track_point_in_utc_time from homeassistant.util import dt as dt_util -REQUIREMENTS = ['pylacrosse==0.3.1'] - _LOGGER = logging.getLogger(__name__) CONF_BAUD = 'baud' diff --git a/homeassistant/components/lametric/__init__.py b/homeassistant/components/lametric/__init__.py index 0c3c8b08dd7..057594f42ae 100644 --- a/homeassistant/components/lametric/__init__.py +++ b/homeassistant/components/lametric/__init__.py @@ -5,8 +5,6 @@ import voluptuous as vol import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['lmnotify==0.0.4'] - _LOGGER = logging.getLogger(__name__) CONF_CLIENT_ID = 'client_id' diff --git a/homeassistant/components/lametric/notify.py b/homeassistant/components/lametric/notify.py index 358bb056b00..92b254cd2b0 100644 --- a/homeassistant/components/lametric/notify.py +++ b/homeassistant/components/lametric/notify.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from . import DOMAIN as LAMETRIC_DOMAIN -REQUIREMENTS = ['lmnotify==0.0.4'] - _LOGGER = logging.getLogger(__name__) AVAILABLE_PRIORITIES = ['info', 'warning', 'critical'] @@ -21,8 +19,6 @@ CONF_CYCLES = 'cycles' CONF_LIFETIME = 'lifetime' CONF_PRIORITY = 'priority' -DEPENDENCIES = ['lametric'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_ICON, default='a7956'): cv.string, vol.Optional(CONF_LIFETIME, default=10): cv.positive_int, diff --git a/homeassistant/components/lastfm/sensor.py b/homeassistant/components/lastfm/sensor.py index e4e28eff4f1..32774b1bf28 100644 --- a/homeassistant/components/lastfm/sensor.py +++ b/homeassistant/components/lastfm/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import CONF_API_KEY, ATTR_ATTRIBUTION import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pylast==3.1.0'] - _LOGGER = logging.getLogger(__name__) ATTR_LAST_PLAYED = 'last_played' diff --git a/homeassistant/components/launch_library/sensor.py b/homeassistant/components/launch_library/sensor.py index 4b42ddba268..a1c5b5825a9 100644 --- a/homeassistant/components/launch_library/sensor.py +++ b/homeassistant/components/launch_library/sensor.py @@ -10,8 +10,6 @@ from homeassistant.const import ATTR_ATTRIBUTION, CONF_NAME from homeassistant.helpers.entity import Entity from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['pylaunches==0.2.0'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by Launch Library." diff --git a/homeassistant/components/lcn/__init__.py b/homeassistant/components/lcn/__init__.py index 44f69c261b9..418b6ffa89d 100644 --- a/homeassistant/components/lcn/__init__.py +++ b/homeassistant/components/lcn/__init__.py @@ -20,8 +20,6 @@ from .const import ( _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pypck==0.5.9'] - def has_unique_connection_names(connections): """Validate that all connection names are unique. diff --git a/homeassistant/components/lcn/binary_sensor.py b/homeassistant/components/lcn/binary_sensor.py index 0ffa2e50d8b..ec37d3e5128 100755 --- a/homeassistant/components/lcn/binary_sensor.py +++ b/homeassistant/components/lcn/binary_sensor.py @@ -6,8 +6,6 @@ from . import LcnDevice, get_connection from .const import ( BINSENSOR_PORTS, CONF_CONNECTIONS, CONF_SOURCE, DATA_LCN, SETPOINTS) -DEPENDENCIES = ['lcn'] - async def async_setup_platform(hass, hass_config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/lcn/cover.py b/homeassistant/components/lcn/cover.py index a32ff7c23f4..7123f2d5d0a 100755 --- a/homeassistant/components/lcn/cover.py +++ b/homeassistant/components/lcn/cover.py @@ -5,8 +5,6 @@ from homeassistant.const import CONF_ADDRESS from . import LcnDevice, get_connection from .const import CONF_CONNECTIONS, CONF_MOTOR, DATA_LCN -DEPENDENCIES = ['lcn'] - async def async_setup_platform(hass, hass_config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/lcn/light.py b/homeassistant/components/lcn/light.py index 00b78259354..653873ba78a 100644 --- a/homeassistant/components/lcn/light.py +++ b/homeassistant/components/lcn/light.py @@ -9,8 +9,6 @@ from .const import ( CONF_CONNECTIONS, CONF_DIMMABLE, CONF_OUTPUT, CONF_TRANSITION, DATA_LCN, OUTPUT_PORTS) -DEPENDENCIES = ['lcn'] - async def async_setup_platform( hass, hass_config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/lcn/sensor.py b/homeassistant/components/lcn/sensor.py index 5e50d092ada..48ac8c7266c 100755 --- a/homeassistant/components/lcn/sensor.py +++ b/homeassistant/components/lcn/sensor.py @@ -6,8 +6,6 @@ from .const import ( CONF_CONNECTIONS, CONF_SOURCE, DATA_LCN, LED_PORTS, S0_INPUTS, SETPOINTS, THRESHOLDS, VARIABLES) -DEPENDENCIES = ['lcn'] - async def async_setup_platform(hass, hass_config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/lcn/switch.py b/homeassistant/components/lcn/switch.py index 7c375f4a598..48ae579fbcd 100755 --- a/homeassistant/components/lcn/switch.py +++ b/homeassistant/components/lcn/switch.py @@ -5,8 +5,6 @@ from homeassistant.const import CONF_ADDRESS from . import LcnDevice, get_connection from .const import CONF_CONNECTIONS, CONF_OUTPUT, DATA_LCN, OUTPUT_PORTS -DEPENDENCIES = ['lcn'] - async def async_setup_platform(hass, hass_config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/lg_netcast/media_player.py b/homeassistant/components/lg_netcast/media_player.py index 12fee5fae96..da5946de1ef 100644 --- a/homeassistant/components/lg_netcast/media_player.py +++ b/homeassistant/components/lg_netcast/media_player.py @@ -17,8 +17,6 @@ from homeassistant.const import ( STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pylgnetcast-homeassistant==0.2.0.dev0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'LG TV Remote' diff --git a/homeassistant/components/lg_soundbar/media_player.py b/homeassistant/components/lg_soundbar/media_player.py index 2e2481a462b..938b4e437c1 100644 --- a/homeassistant/components/lg_soundbar/media_player.py +++ b/homeassistant/components/lg_soundbar/media_player.py @@ -9,8 +9,6 @@ from homeassistant.components.media_player.const import ( from homeassistant.const import STATE_ON -REQUIREMENTS = ['temescal==0.1'] - _LOGGER = logging.getLogger(__name__) SUPPORT_LG = SUPPORT_VOLUME_SET | SUPPORT_VOLUME_MUTE | SUPPORT_SELECT_SOURCE \ diff --git a/homeassistant/components/lifx/__init__.py b/homeassistant/components/lifx/__init__.py index 82802bab4af..849fecad487 100644 --- a/homeassistant/components/lifx/__init__.py +++ b/homeassistant/components/lifx/__init__.py @@ -8,8 +8,6 @@ from homeassistant.helpers import config_entry_flow from homeassistant.components.light import DOMAIN as LIGHT_DOMAIN DOMAIN = 'lifx' -REQUIREMENTS = ['aiolifx==0.6.7'] - CONF_SERVER = 'server' CONF_BROADCAST = 'broadcast' diff --git a/homeassistant/components/lifx/light.py b/homeassistant/components/lifx/light.py index 014ca9ae6c8..04f756e6ded 100644 --- a/homeassistant/components/lifx/light.py +++ b/homeassistant/components/lifx/light.py @@ -30,9 +30,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lifx'] -REQUIREMENTS = ['aiolifx_effects==0.2.1'] - SCAN_INTERVAL = timedelta(seconds=10) DISCOVERY_INTERVAL = 60 diff --git a/homeassistant/components/lifx_legacy/light.py b/homeassistant/components/lifx_legacy/light.py index 6c5f68937f8..a31b875f21e 100644 --- a/homeassistant/components/lifx_legacy/light.py +++ b/homeassistant/components/lifx_legacy/light.py @@ -22,8 +22,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['liffylights==0.9.4'] - BYTE_MAX = 255 CONF_BROADCAST = 'broadcast' diff --git a/homeassistant/components/light/__init__.py b/homeassistant/components/light/__init__.py index db2e9ce0197..f9ce6eb05d4 100644 --- a/homeassistant/components/light/__init__.py +++ b/homeassistant/components/light/__init__.py @@ -24,7 +24,6 @@ from homeassistant.loader import bind_hass import homeassistant.util.color as color_util DOMAIN = 'light' -DEPENDENCIES = ['group'] SCAN_INTERVAL = timedelta(seconds=30) GROUP_NAME_ALL_LIGHTS = 'all lights' diff --git a/homeassistant/components/lightwave/__init__.py b/homeassistant/components/lightwave/__init__.py index f6e11352265..2337c582b2d 100644 --- a/homeassistant/components/lightwave/__init__.py +++ b/homeassistant/components/lightwave/__init__.py @@ -5,8 +5,6 @@ from homeassistant.const import (CONF_HOST, CONF_LIGHTS, CONF_NAME, CONF_SWITCHES) from homeassistant.helpers.discovery import async_load_platform -REQUIREMENTS = ['lightwave==0.15'] - LIGHTWAVE_LINK = 'lightwave_link' DOMAIN = 'lightwave' diff --git a/homeassistant/components/lightwave/light.py b/homeassistant/components/lightwave/light.py index f22533d2548..68c94300317 100644 --- a/homeassistant/components/lightwave/light.py +++ b/homeassistant/components/lightwave/light.py @@ -5,8 +5,6 @@ from homeassistant.const import CONF_NAME from . import LIGHTWAVE_LINK -DEPENDENCIES = ['lightwave'] - MAX_BRIGHTNESS = 255 diff --git a/homeassistant/components/lightwave/switch.py b/homeassistant/components/lightwave/switch.py index dfa93b4b151..0d7e2cd3825 100644 --- a/homeassistant/components/lightwave/switch.py +++ b/homeassistant/components/lightwave/switch.py @@ -4,8 +4,6 @@ from homeassistant.const import CONF_NAME from . import LIGHTWAVE_LINK -DEPENDENCIES = ['lightwave'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/limitlessled/light.py b/homeassistant/components/limitlessled/light.py index 4f187afa1d7..fa12bc76de5 100644 --- a/homeassistant/components/limitlessled/light.py +++ b/homeassistant/components/limitlessled/light.py @@ -15,8 +15,6 @@ from homeassistant.util.color import ( color_temperature_mired_to_kelvin, color_hs_to_RGB) from homeassistant.helpers.restore_state import RestoreEntity -REQUIREMENTS = ['limitlessled==1.1.3'] - _LOGGER = logging.getLogger(__name__) CONF_BRIDGES = 'bridges' diff --git a/homeassistant/components/linksys_ap/device_tracker.py b/homeassistant/components/linksys_ap/device_tracker.py index 46cc78d4e4a..3871d5beda9 100644 --- a/homeassistant/components/linksys_ap/device_tracker.py +++ b/homeassistant/components/linksys_ap/device_tracker.py @@ -14,8 +14,6 @@ from homeassistant.const import ( INTERFACES = 2 DEFAULT_TIMEOUT = 10 -REQUIREMENTS = ['beautifulsoup4==4.7.1'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/linky/sensor.py b/homeassistant/components/linky/sensor.py index 35f85f15ed6..63f7aaf5423 100644 --- a/homeassistant/components/linky/sensor.py +++ b/homeassistant/components/linky/sensor.py @@ -12,7 +12,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pylinky==0.3.3'] _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(minutes=10) diff --git a/homeassistant/components/linode/__init__.py b/homeassistant/components/linode/__init__.py index 8bbd98c0acf..f9270d95c07 100644 --- a/homeassistant/components/linode/__init__.py +++ b/homeassistant/components/linode/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import CONF_ACCESS_TOKEN import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['linode-api==4.1.9b1'] - _LOGGER = logging.getLogger(__name__) ATTR_CREATED = 'created' diff --git a/homeassistant/components/linode/binary_sensor.py b/homeassistant/components/linode/binary_sensor.py index 19455917dbb..69079b3e63a 100644 --- a/homeassistant/components/linode/binary_sensor.py +++ b/homeassistant/components/linode/binary_sensor.py @@ -16,8 +16,6 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Node' DEFAULT_DEVICE_CLASS = 'moving' -DEPENDENCIES = ['linode'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_NODES): vol.All(cv.ensure_list, [cv.string]), }) diff --git a/homeassistant/components/linode/switch.py b/homeassistant/components/linode/switch.py index e5f97ef756e..6787d84937f 100644 --- a/homeassistant/components/linode/switch.py +++ b/homeassistant/components/linode/switch.py @@ -13,8 +13,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['linode'] - DEFAULT_NAME = 'Node' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/linux_battery/sensor.py b/homeassistant/components/linux_battery/sensor.py index 7164315de8e..87061174d2d 100644 --- a/homeassistant/components/linux_battery/sensor.py +++ b/homeassistant/components/linux_battery/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import ATTR_NAME, CONF_NAME, DEVICE_CLASS_BATTERY import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['batinfo==0.4.2'] - _LOGGER = logging.getLogger(__name__) ATTR_PATH = 'path' diff --git a/homeassistant/components/lirc/__init__.py b/homeassistant/components/lirc/__init__.py index 0f00eda2007..c3077cf6f44 100644 --- a/homeassistant/components/lirc/__init__.py +++ b/homeassistant/components/lirc/__init__.py @@ -9,8 +9,6 @@ import voluptuous as vol from homeassistant.const import ( EVENT_HOMEASSISTANT_STOP, EVENT_HOMEASSISTANT_START) -REQUIREMENTS = ['python-lirc==1.2.3'] - _LOGGER = logging.getLogger(__name__) BUTTON_NAME = 'button_name' diff --git a/homeassistant/components/litejet/__init__.py b/homeassistant/components/litejet/__init__.py index b4e8e45fa0b..d8e02b51870 100644 --- a/homeassistant/components/litejet/__init__.py +++ b/homeassistant/components/litejet/__init__.py @@ -7,8 +7,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers import discovery from homeassistant.const import CONF_PORT -REQUIREMENTS = ['pylitejet==0.1'] - _LOGGER = logging.getLogger(__name__) CONF_EXCLUDE_NAMES = 'exclude_names' diff --git a/homeassistant/components/litejet/light.py b/homeassistant/components/litejet/light.py index e52e50ed21a..b87d77ebe7c 100644 --- a/homeassistant/components/litejet/light.py +++ b/homeassistant/components/litejet/light.py @@ -7,8 +7,6 @@ from homeassistant.components.light import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['litejet'] - ATTR_NUMBER = 'number' diff --git a/homeassistant/components/litejet/scene.py b/homeassistant/components/litejet/scene.py index 2563c9ceb0c..c347140a6bd 100644 --- a/homeassistant/components/litejet/scene.py +++ b/homeassistant/components/litejet/scene.py @@ -4,8 +4,6 @@ import logging from homeassistant.components import litejet from homeassistant.components.scene import Scene -DEPENDENCIES = ['litejet'] - ATTR_NUMBER = 'number' _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/litejet/switch.py b/homeassistant/components/litejet/switch.py index 9972dcb9f44..7e3059dacd6 100644 --- a/homeassistant/components/litejet/switch.py +++ b/homeassistant/components/litejet/switch.py @@ -4,8 +4,6 @@ import logging from homeassistant.components import litejet from homeassistant.components.switch import SwitchDevice -DEPENDENCIES = ['litejet'] - ATTR_NUMBER = 'number' _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/liveboxplaytv/media_player.py b/homeassistant/components/liveboxplaytv/media_player.py index 1ee9931d233..05ceb68cc94 100644 --- a/homeassistant/components/liveboxplaytv/media_player.py +++ b/homeassistant/components/liveboxplaytv/media_player.py @@ -18,8 +18,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['liveboxplaytv==2.0.2', 'pyteleloisirs==3.4'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Livebox Play TV' diff --git a/homeassistant/components/locative/__init__.py b/homeassistant/components/locative/__init__.py index 335ae4cfe1e..f21c55af28a 100644 --- a/homeassistant/components/locative/__init__.py +++ b/homeassistant/components/locative/__init__.py @@ -16,8 +16,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_send _LOGGER = logging.getLogger(__name__) DOMAIN = 'locative' -DEPENDENCIES = ['webhook'] - TRACKER_UPDATE = '{}_tracker_update'.format(DOMAIN) diff --git a/homeassistant/components/locative/device_tracker.py b/homeassistant/components/locative/device_tracker.py index 51135f4e21a..1e16bde58ad 100644 --- a/homeassistant/components/locative/device_tracker.py +++ b/homeassistant/components/locative/device_tracker.py @@ -10,8 +10,6 @@ from . import DOMAIN as LOCATIVE_DOMAIN, TRACKER_UPDATE _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['locative'] - DATA_KEY = '{}.{}'.format(LOCATIVE_DOMAIN, DEVICE_TRACKER_DOMAIN) diff --git a/homeassistant/components/lock/__init__.py b/homeassistant/components/lock/__init__.py index fe5286ba813..598de7961a5 100644 --- a/homeassistant/components/lock/__init__.py +++ b/homeassistant/components/lock/__init__.py @@ -19,7 +19,6 @@ from homeassistant.components import group ATTR_CHANGED_BY = 'changed_by' DOMAIN = 'lock' -DEPENDENCIES = ['group'] SCAN_INTERVAL = timedelta(seconds=30) ENTITY_ID_ALL_LOCKS = group.ENTITY_ID_FORMAT.format('all_locks') diff --git a/homeassistant/components/logbook/__init__.py b/homeassistant/components/logbook/__init__.py index 7a0fb5e2654..70fe31e64d6 100644 --- a/homeassistant/components/logbook/__init__.py +++ b/homeassistant/components/logbook/__init__.py @@ -31,8 +31,6 @@ CONF_DOMAINS = 'domains' CONF_ENTITIES = 'entities' CONTINUOUS_DOMAINS = ['proximity', 'sensor'] -DEPENDENCIES = ['recorder', 'frontend'] - DOMAIN = 'logbook' GROUP_BY_MINUTES = 15 diff --git a/homeassistant/components/logi_circle/__init__.py b/homeassistant/components/logi_circle/__init__.py index 433895293f4..1b74a9df03b 100644 --- a/homeassistant/components/logi_circle/__init__.py +++ b/homeassistant/components/logi_circle/__init__.py @@ -20,8 +20,6 @@ from .const import ( RECORDING_MODE_KEY, SIGNAL_LOGI_CIRCLE_RECONFIGURE, SIGNAL_LOGI_CIRCLE_RECORD, SIGNAL_LOGI_CIRCLE_SNAPSHOT) -REQUIREMENTS = ['logi_circle==0.2.2'] - NOTIFICATION_ID = 'logi_circle_notification' NOTIFICATION_TITLE = 'Logi Circle Setup' diff --git a/homeassistant/components/logi_circle/camera.py b/homeassistant/components/logi_circle/camera.py index b69f23ac19d..09baaa5ba0b 100644 --- a/homeassistant/components/logi_circle/camera.py +++ b/homeassistant/components/logi_circle/camera.py @@ -15,8 +15,6 @@ from .const import ( RECORDING_MODE_KEY, SIGNAL_LOGI_CIRCLE_RECONFIGURE, SIGNAL_LOGI_CIRCLE_RECORD, SIGNAL_LOGI_CIRCLE_SNAPSHOT) -DEPENDENCIES = ['logi_circle', 'ffmpeg'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=60) diff --git a/homeassistant/components/logi_circle/sensor.py b/homeassistant/components/logi_circle/sensor.py index 01d5492eea7..6efd5065ba6 100644 --- a/homeassistant/components/logi_circle/sensor.py +++ b/homeassistant/components/logi_circle/sensor.py @@ -11,8 +11,6 @@ from homeassistant.util.dt import as_local from .const import ( ATTRIBUTION, DOMAIN as LOGI_CIRCLE_DOMAIN, LOGI_SENSORS as SENSOR_TYPES) -DEPENDENCIES = ['logi_circle'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/london_underground/sensor.py b/homeassistant/components/london_underground/sensor.py index c2502e2ab2b..9bee8569792 100644 --- a/homeassistant/components/london_underground/sensor.py +++ b/homeassistant/components/london_underground/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import ATTR_ATTRIBUTION import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['london-tube-status==0.2'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Powered by TfL Open Data" diff --git a/homeassistant/components/loopenergy/sensor.py b/homeassistant/components/loopenergy/sensor.py index 23bdf48f645..b2afc36b8f5 100644 --- a/homeassistant/components/loopenergy/sensor.py +++ b/homeassistant/components/loopenergy/sensor.py @@ -12,8 +12,6 @@ from homeassistant.helpers.entity import Entity _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pyloopenergy==0.1.2'] - CONF_ELEC = 'electricity' CONF_GAS = 'gas' diff --git a/homeassistant/components/luci/device_tracker.py b/homeassistant/components/luci/device_tracker.py index 77273d89d42..4068be840c8 100644 --- a/homeassistant/components/luci/device_tracker.py +++ b/homeassistant/components/luci/device_tracker.py @@ -9,8 +9,6 @@ from homeassistant.const import ( CONF_HOST, CONF_PASSWORD, CONF_SSL, CONF_USERNAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['openwrt-luci-rpc==1.0.5'] - _LOGGER = logging.getLogger(__name__) DEFAULT_SSL = False diff --git a/homeassistant/components/luftdaten/__init__.py b/homeassistant/components/luftdaten/__init__.py index 125cefb9026..81b177f734a 100644 --- a/homeassistant/components/luftdaten/__init__.py +++ b/homeassistant/components/luftdaten/__init__.py @@ -17,8 +17,6 @@ from homeassistant.helpers.event import async_track_time_interval from .config_flow import configured_sensors, duplicate_stations from .const import CONF_SENSOR_ID, DEFAULT_SCAN_INTERVAL, DOMAIN -REQUIREMENTS = ['luftdaten==0.3.4'] - _LOGGER = logging.getLogger(__name__) DATA_LUFTDATEN = 'luftdaten' diff --git a/homeassistant/components/luftdaten/sensor.py b/homeassistant/components/luftdaten/sensor.py index 107673bac45..ca68075df5d 100644 --- a/homeassistant/components/luftdaten/sensor.py +++ b/homeassistant/components/luftdaten/sensor.py @@ -14,8 +14,6 @@ from .const import ATTR_SENSOR_ID _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['luftdaten'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/lupusec/__init__.py b/homeassistant/components/lupusec/__init__.py index 8a5f098f741..e97344f3082 100644 --- a/homeassistant/components/lupusec/__init__.py +++ b/homeassistant/components/lupusec/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers.entity import Entity _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['lupupy==0.0.17'] - DOMAIN = 'lupusec' NOTIFICATION_ID = 'lupusec_notification' diff --git a/homeassistant/components/lupusec/alarm_control_panel.py b/homeassistant/components/lupusec/alarm_control_panel.py index 0a88f3bd552..9f3e7263396 100644 --- a/homeassistant/components/lupusec/alarm_control_panel.py +++ b/homeassistant/components/lupusec/alarm_control_panel.py @@ -8,8 +8,6 @@ from homeassistant.const import ( from . import DOMAIN as LUPUSEC_DOMAIN, LupusecDevice -DEPENDENCIES = ['lupusec'] - ICON = 'mdi:security' SCAN_INTERVAL = timedelta(seconds=2) diff --git a/homeassistant/components/lupusec/binary_sensor.py b/homeassistant/components/lupusec/binary_sensor.py index 2c3f5e0e0b8..28833b3d246 100644 --- a/homeassistant/components/lupusec/binary_sensor.py +++ b/homeassistant/components/lupusec/binary_sensor.py @@ -7,8 +7,6 @@ from homeassistant.components.binary_sensor import ( from . import DOMAIN as LUPUSEC_DOMAIN, LupusecDevice -DEPENDENCIES = ['lupusec'] - SCAN_INTERVAL = timedelta(seconds=2) _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lupusec/switch.py b/homeassistant/components/lupusec/switch.py index 0d86ea0a365..b6391959397 100644 --- a/homeassistant/components/lupusec/switch.py +++ b/homeassistant/components/lupusec/switch.py @@ -6,8 +6,6 @@ from homeassistant.components.switch import SwitchDevice from . import DOMAIN as LUPUSEC_DOMAIN, LupusecDevice -DEPENDENCIES = ['lupusec'] - SCAN_INTERVAL = timedelta(seconds=2) _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lutron/__init__.py b/homeassistant/components/lutron/__init__.py index f642e96d8f6..c91103f2244 100644 --- a/homeassistant/components/lutron/__init__.py +++ b/homeassistant/components/lutron/__init__.py @@ -10,8 +10,6 @@ from homeassistant.helpers import discovery from homeassistant.helpers.entity import Entity from homeassistant.util import slugify -REQUIREMENTS = ['pylutron==0.2.0'] - DOMAIN = 'lutron' _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lutron/cover.py b/homeassistant/components/lutron/cover.py index da7f69095fc..4a2d72d3116 100644 --- a/homeassistant/components/lutron/cover.py +++ b/homeassistant/components/lutron/cover.py @@ -9,8 +9,6 @@ from . import LUTRON_CONTROLLER, LUTRON_DEVICES, LutronDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Lutron shades.""" diff --git a/homeassistant/components/lutron/light.py b/homeassistant/components/lutron/light.py index 5f3fd4787fd..6ddf54e1fc1 100644 --- a/homeassistant/components/lutron/light.py +++ b/homeassistant/components/lutron/light.py @@ -8,8 +8,6 @@ from . import LUTRON_CONTROLLER, LUTRON_DEVICES, LutronDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Lutron lights.""" diff --git a/homeassistant/components/lutron/scene.py b/homeassistant/components/lutron/scene.py index a2d18c6d242..05deeef260d 100644 --- a/homeassistant/components/lutron/scene.py +++ b/homeassistant/components/lutron/scene.py @@ -7,8 +7,6 @@ from . import LUTRON_CONTROLLER, LUTRON_DEVICES, LutronDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Lutron scenes.""" diff --git a/homeassistant/components/lutron/switch.py b/homeassistant/components/lutron/switch.py index b42c0d930bc..0b1705fb235 100644 --- a/homeassistant/components/lutron/switch.py +++ b/homeassistant/components/lutron/switch.py @@ -7,8 +7,6 @@ from . import LUTRON_CONTROLLER, LUTRON_DEVICES, LutronDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Lutron switches.""" diff --git a/homeassistant/components/lutron_caseta/__init__.py b/homeassistant/components/lutron_caseta/__init__.py index 61c005f60b2..516b5ccd7c8 100644 --- a/homeassistant/components/lutron_caseta/__init__.py +++ b/homeassistant/components/lutron_caseta/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import CONF_HOST from homeassistant.helpers import discovery from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pylutron-caseta==0.5.0'] - _LOGGER = logging.getLogger(__name__) LUTRON_CASETA_SMARTBRIDGE = 'lutron_smartbridge' diff --git a/homeassistant/components/lutron_caseta/cover.py b/homeassistant/components/lutron_caseta/cover.py index d970f5282ff..8793fc0236e 100644 --- a/homeassistant/components/lutron_caseta/cover.py +++ b/homeassistant/components/lutron_caseta/cover.py @@ -9,8 +9,6 @@ from . import LUTRON_CASETA_SMARTBRIDGE, LutronCasetaDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron_caseta'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/lutron_caseta/light.py b/homeassistant/components/lutron_caseta/light.py index d883da73c91..af93a459031 100644 --- a/homeassistant/components/lutron_caseta/light.py +++ b/homeassistant/components/lutron_caseta/light.py @@ -10,8 +10,6 @@ from . import LUTRON_CASETA_SMARTBRIDGE, LutronCasetaDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron_caseta'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/lutron_caseta/scene.py b/homeassistant/components/lutron_caseta/scene.py index 2e7059a56fc..df0bb6a7a5a 100644 --- a/homeassistant/components/lutron_caseta/scene.py +++ b/homeassistant/components/lutron_caseta/scene.py @@ -7,8 +7,6 @@ from . import LUTRON_CASETA_SMARTBRIDGE _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron_caseta'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/lutron_caseta/switch.py b/homeassistant/components/lutron_caseta/switch.py index 54c67091357..0ccf625f765 100644 --- a/homeassistant/components/lutron_caseta/switch.py +++ b/homeassistant/components/lutron_caseta/switch.py @@ -7,8 +7,6 @@ from . import LUTRON_CASETA_SMARTBRIDGE, LutronCasetaDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron_caseta'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/lw12wifi/light.py b/homeassistant/components/lw12wifi/light.py index 5d9b7635ad2..a2ff77dc2d0 100644 --- a/homeassistant/components/lw12wifi/light.py +++ b/homeassistant/components/lw12wifi/light.py @@ -16,8 +16,6 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['lw12==0.9.2'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lyft/sensor.py b/homeassistant/components/lyft/sensor.py index 98d79cd970b..b5788e50b33 100644 --- a/homeassistant/components/lyft/sensor.py +++ b/homeassistant/components/lyft/sensor.py @@ -9,8 +9,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['lyft_rides==0.2'] - _LOGGER = logging.getLogger(__name__) CONF_CLIENT_ID = 'client_id' diff --git a/homeassistant/components/magicseaweed/sensor.py b/homeassistant/components/magicseaweed/sensor.py index 4c09d1e09e0..772cfb073c9 100644 --- a/homeassistant/components/magicseaweed/sensor.py +++ b/homeassistant/components/magicseaweed/sensor.py @@ -11,8 +11,6 @@ import homeassistant.util.dt as dt_util from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['magicseaweed==1.0.3'] - _LOGGER = logging.getLogger(__name__) CONF_HOURS = 'hours' diff --git a/homeassistant/components/mailbox/__init__.py b/homeassistant/components/mailbox/__init__.py index 1907a1e9e97..8f851146464 100644 --- a/homeassistant/components/mailbox/__init__.py +++ b/homeassistant/components/mailbox/__init__.py @@ -18,7 +18,6 @@ from homeassistant.setup import async_prepare_setup_platform _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['http'] DOMAIN = 'mailbox' EVENT = 'mailbox_updated' diff --git a/homeassistant/components/mailgun/__init__.py b/homeassistant/components/mailgun/__init__.py index 2a941d8bf50..2f89904f12b 100644 --- a/homeassistant/components/mailgun/__init__.py +++ b/homeassistant/components/mailgun/__init__.py @@ -15,7 +15,6 @@ _LOGGER = logging.getLogger(__name__) CONF_SANDBOX = 'sandbox' DEFAULT_SANDBOX = False -DEPENDENCIES = ['webhook'] DOMAIN = 'mailgun' MESSAGE_RECEIVED = '{}_message_received'.format(DOMAIN) diff --git a/homeassistant/components/mailgun/notify.py b/homeassistant/components/mailgun/notify.py index b9f5bf0b100..4709f87b70c 100644 --- a/homeassistant/components/mailgun/notify.py +++ b/homeassistant/components/mailgun/notify.py @@ -11,12 +11,8 @@ from homeassistant.const import ( from . import CONF_SANDBOX, DOMAIN as MAILGUN_DOMAIN -REQUIREMENTS = ['pymailgunner==1.4'] - _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mailgun'] - # Images to attach to notification ATTR_IMAGES = 'images' diff --git a/homeassistant/components/manual_mqtt/alarm_control_panel.py b/homeassistant/components/manual_mqtt/alarm_control_panel.py index 8057a899347..d952dd68ebb 100644 --- a/homeassistant/components/manual_mqtt/alarm_control_panel.py +++ b/homeassistant/components/manual_mqtt/alarm_control_panel.py @@ -83,8 +83,6 @@ def _state_schema(state): return vol.Schema(schema) -DEPENDENCIES = ['mqtt'] - PLATFORM_SCHEMA = vol.Schema(vol.All(mqtt.MQTT_BASE_PLATFORM_SCHEMA.extend({ vol.Required(CONF_PLATFORM): 'manual_mqtt', vol.Optional(CONF_NAME, default=DEFAULT_ALARM_NAME): cv.string, diff --git a/homeassistant/components/mastodon/notify.py b/homeassistant/components/mastodon/notify.py index c1a91b8312e..d4b78cc4e9f 100644 --- a/homeassistant/components/mastodon/notify.py +++ b/homeassistant/components/mastodon/notify.py @@ -9,8 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.notify import (PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['Mastodon.py==1.3.1'] - _LOGGER = logging.getLogger(__name__) CONF_BASE_URL = 'base_url' diff --git a/homeassistant/components/matrix/__init__.py b/homeassistant/components/matrix/__init__.py index 4b3c1bf4d76..0090d6eb62f 100644 --- a/homeassistant/components/matrix/__init__.py +++ b/homeassistant/components/matrix/__init__.py @@ -14,8 +14,6 @@ from homeassistant.const import (CONF_USERNAME, CONF_PASSWORD, from homeassistant.util.json import load_json, save_json from homeassistant.exceptions import HomeAssistantError -REQUIREMENTS = ['matrix-client==0.2.0'] - _LOGGER = logging.getLogger(__name__) SESSION_FILE = '.matrix.conf' diff --git a/homeassistant/components/matrix/notify.py b/homeassistant/components/matrix/notify.py index f1f53268c2b..de2ac3bda2a 100644 --- a/homeassistant/components/matrix/notify.py +++ b/homeassistant/components/matrix/notify.py @@ -13,8 +13,6 @@ _LOGGER = logging.getLogger(__name__) CONF_DEFAULT_ROOM = 'default_room' DOMAIN = 'matrix' -DEPENDENCIES = [DOMAIN] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_DEFAULT_ROOM): cv.string, }) diff --git a/homeassistant/components/maxcube/__init__.py b/homeassistant/components/maxcube/__init__.py index c398ccbde4f..12a6fda2cc3 100644 --- a/homeassistant/components/maxcube/__init__.py +++ b/homeassistant/components/maxcube/__init__.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform from homeassistant.const import CONF_HOST, CONF_PORT, CONF_SCAN_INTERVAL -REQUIREMENTS = ['maxcube-api==0.1.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_PORT = 62910 diff --git a/homeassistant/components/media_extractor/__init__.py b/homeassistant/components/media_extractor/__init__.py index f44075816af..98f03cd8fd0 100644 --- a/homeassistant/components/media_extractor/__init__.py +++ b/homeassistant/components/media_extractor/__init__.py @@ -12,15 +12,12 @@ from homeassistant.const import ( ATTR_ENTITY_ID) from homeassistant.helpers import config_validation as cv -REQUIREMENTS = ['youtube_dl==2019.04.07'] - _LOGGER = logging.getLogger(__name__) CONF_CUSTOMIZE_ENTITIES = 'customize' CONF_DEFAULT_STREAM_QUERY = 'default_query' DEFAULT_STREAM_QUERY = 'best' -DEPENDENCIES = ['media_player'] DOMAIN = 'media_extractor' CONFIG_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/media_player/__init__.py b/homeassistant/components/media_player/__init__.py index 5bc2d640e2b..7dcfdac5217 100644 --- a/homeassistant/components/media_player/__init__.py +++ b/homeassistant/components/media_player/__init__.py @@ -51,8 +51,6 @@ from .reproduce_state import async_reproduce_states # noqa _LOGGER = logging.getLogger(__name__) _RND = SystemRandom() -DEPENDENCIES = ['http'] - ENTITY_ID_FORMAT = DOMAIN + '.{}' ENTITY_IMAGE_URL = '/api/media_player_proxy/{0}?token={1}&cache={2}' diff --git a/homeassistant/components/mediaroom/media_player.py b/homeassistant/components/mediaroom/media_player.py index acbc0462722..75aa20daf82 100644 --- a/homeassistant/components/mediaroom/media_player.py +++ b/homeassistant/components/mediaroom/media_player.py @@ -19,8 +19,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.dispatcher import ( async_dispatcher_connect, dispatcher_send) -REQUIREMENTS = ['pymediaroom==0.6.4'] - _LOGGER = logging.getLogger(__name__) DATA_MEDIAROOM = 'mediaroom_known_stb' diff --git a/homeassistant/components/melissa/__init__.py b/homeassistant/components/melissa/__init__.py index 2037caa11c3..14ecfadb5bf 100644 --- a/homeassistant/components/melissa/__init__.py +++ b/homeassistant/components/melissa/__init__.py @@ -7,8 +7,6 @@ from homeassistant.const import CONF_USERNAME, CONF_PASSWORD from homeassistant.helpers import config_validation as cv from homeassistant.helpers.discovery import async_load_platform -REQUIREMENTS = ["py-melissa-climate==2.0.0"] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'melissa' diff --git a/homeassistant/components/melissa/climate.py b/homeassistant/components/melissa/climate.py index 79d94a41991..8d834691b12 100644 --- a/homeassistant/components/melissa/climate.py +++ b/homeassistant/components/melissa/climate.py @@ -13,8 +13,6 @@ from homeassistant.const import ( from . import DATA_MELISSA -DEPENDENCIES = ['melissa'] - _LOGGER = logging.getLogger(__name__) SUPPORT_FLAGS = (SUPPORT_FAN_MODE | SUPPORT_OPERATION_MODE | diff --git a/homeassistant/components/meraki/device_tracker.py b/homeassistant/components/meraki/device_tracker.py index d12aff1127a..edca1fbd494 100644 --- a/homeassistant/components/meraki/device_tracker.py +++ b/homeassistant/components/meraki/device_tracker.py @@ -18,7 +18,6 @@ from homeassistant.components.device_tracker import ( CONF_VALIDATOR = 'validator' CONF_SECRET = 'secret' -DEPENDENCIES = ['http'] URL = '/api/meraki' VERSION = '2.0' diff --git a/homeassistant/components/message_bird/notify.py b/homeassistant/components/message_bird/notify.py index c801de34a9a..eecd563dc53 100644 --- a/homeassistant/components/message_bird/notify.py +++ b/homeassistant/components/message_bird/notify.py @@ -9,8 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.notify import (ATTR_TARGET, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['messagebird==1.2.0'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/met/weather.py b/homeassistant/components/met/weather.py index 6c9613ac5d2..d9824e203c5 100644 --- a/homeassistant/components/met/weather.py +++ b/homeassistant/components/met/weather.py @@ -13,8 +13,6 @@ from homeassistant.helpers.event import ( async_call_later, async_track_utc_time_change) import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pyMetno==0.4.6'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Weather forecast from met.no, delivered by the Norwegian " \ diff --git a/homeassistant/components/meteo_france/__init__.py b/homeassistant/components/meteo_france/__init__.py index e084cff3c79..df0292ec407 100644 --- a/homeassistant/components/meteo_france/__init__.py +++ b/homeassistant/components/meteo_france/__init__.py @@ -9,8 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform from homeassistant.util import Throttle -REQUIREMENTS = ['meteofrance==0.3.4'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by Météo-France" diff --git a/homeassistant/components/metoffice/sensor.py b/homeassistant/components/metoffice/sensor.py index 6c4e91517da..ff334823ec6 100644 --- a/homeassistant/components/metoffice/sensor.py +++ b/homeassistant/components/metoffice/sensor.py @@ -14,8 +14,6 @@ from homeassistant.util import Throttle _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['datapoint==0.4.3'] - ATTR_LAST_UPDATE = 'last_update' ATTR_SENSOR_ID = 'sensor_id' ATTR_SITE_ID = 'site_id' diff --git a/homeassistant/components/metoffice/weather.py b/homeassistant/components/metoffice/weather.py index a67dcdcdbd6..409fc099122 100644 --- a/homeassistant/components/metoffice/weather.py +++ b/homeassistant/components/metoffice/weather.py @@ -10,8 +10,6 @@ from homeassistant.helpers import config_validation as cv from .sensor import ATTRIBUTION, CONDITION_CLASSES, MetOfficeCurrentData -REQUIREMENTS = ['datapoint==0.4.3'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = "Met Office" diff --git a/homeassistant/components/mfi/sensor.py b/homeassistant/components/mfi/sensor.py index 36f9d1a829c..49ec86c93cd 100644 --- a/homeassistant/components/mfi/sensor.py +++ b/homeassistant/components/mfi/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['mficlient==0.3.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_SSL = True diff --git a/homeassistant/components/mfi/switch.py b/homeassistant/components/mfi/switch.py index 818081f7a2e..7b51813589d 100644 --- a/homeassistant/components/mfi/switch.py +++ b/homeassistant/components/mfi/switch.py @@ -10,8 +10,6 @@ from homeassistant.const import ( CONF_VERIFY_SSL) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['mficlient==0.3.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_SSL = True diff --git a/homeassistant/components/mhz19/sensor.py b/homeassistant/components/mhz19/sensor.py index 3aa82950fa7..16e9da304a7 100644 --- a/homeassistant/components/mhz19/sensor.py +++ b/homeassistant/components/mhz19/sensor.py @@ -12,8 +12,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.util.temperature import celsius_to_fahrenheit from homeassistant.util import Throttle -REQUIREMENTS = ['pmsensor==0.4'] - _LOGGER = logging.getLogger(__name__) CONF_SERIAL_DEVICE = 'serial_device' diff --git a/homeassistant/components/microsoft/tts.py b/homeassistant/components/microsoft/tts.py index 9fe31ef495e..39bd1186b76 100644 --- a/homeassistant/components/microsoft/tts.py +++ b/homeassistant/components/microsoft/tts.py @@ -15,8 +15,6 @@ CONF_VOLUME = 'volume' CONF_PITCH = 'pitch' CONF_CONTOUR = 'contour' -REQUIREMENTS = ["pycsspeechtts==1.0.2"] - _LOGGER = logging.getLogger(__name__) SUPPORTED_LANGUAGES = [ diff --git a/homeassistant/components/microsoft_face/__init__.py b/homeassistant/components/microsoft_face/__init__.py index 9b3ee960fb2..25b74698da6 100644 --- a/homeassistant/components/microsoft_face/__init__.py +++ b/homeassistant/components/microsoft_face/__init__.py @@ -25,7 +25,6 @@ CONF_AZURE_REGION = 'azure_region' DATA_MICROSOFT_FACE = 'microsoft_face' DEFAULT_TIMEOUT = 10 -DEPENDENCIES = ['camera'] DOMAIN = 'microsoft_face' FACE_API_URL = "api.cognitive.microsoft.com/face/v1.0/{0}" diff --git a/homeassistant/components/microsoft_face_detect/image_processing.py b/homeassistant/components/microsoft_face_detect/image_processing.py index 91eae07e992..addcea21c86 100644 --- a/homeassistant/components/microsoft_face_detect/image_processing.py +++ b/homeassistant/components/microsoft_face_detect/image_processing.py @@ -11,8 +11,6 @@ from homeassistant.core import split_entity_id from homeassistant.exceptions import HomeAssistantError import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['microsoft_face'] - _LOGGER = logging.getLogger(__name__) SUPPORTED_ATTRIBUTES = [ diff --git a/homeassistant/components/microsoft_face_identify/image_processing.py b/homeassistant/components/microsoft_face_identify/image_processing.py index 52baa3617e8..055778be311 100644 --- a/homeassistant/components/microsoft_face_identify/image_processing.py +++ b/homeassistant/components/microsoft_face_identify/image_processing.py @@ -12,8 +12,6 @@ from homeassistant.core import split_entity_id from homeassistant.exceptions import HomeAssistantError import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['microsoft_face'] - _LOGGER = logging.getLogger(__name__) CONF_GROUP = 'group' diff --git a/homeassistant/components/miflora/sensor.py b/homeassistant/components/miflora/sensor.py index 04595b0daeb..0a8a51e0e80 100644 --- a/homeassistant/components/miflora/sensor.py +++ b/homeassistant/components/miflora/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import ( CONF_SCAN_INTERVAL, EVENT_HOMEASSISTANT_START) from homeassistant.core import callback -REQUIREMENTS = ['miflora==0.4.0'] - _LOGGER = logging.getLogger(__name__) CONF_ADAPTER = 'adapter' diff --git a/homeassistant/components/mikrotik/device_tracker.py b/homeassistant/components/mikrotik/device_tracker.py index 7d376b431bb..0c3b6b313f1 100644 --- a/homeassistant/components/mikrotik/device_tracker.py +++ b/homeassistant/components/mikrotik/device_tracker.py @@ -11,8 +11,6 @@ from homeassistant.components.device_tracker import ( from homeassistant.const import ( CONF_HOST, CONF_PASSWORD, CONF_USERNAME, CONF_PORT, CONF_SSL, CONF_METHOD) -REQUIREMENTS = ['librouteros==2.2.0'] - _LOGGER = logging.getLogger(__name__) MTK_DEFAULT_API_PORT = '8728' diff --git a/homeassistant/components/mill/climate.py b/homeassistant/components/mill/climate.py index cb6d47a52b0..43877a1f818 100644 --- a/homeassistant/components/mill/climate.py +++ b/homeassistant/components/mill/climate.py @@ -15,8 +15,6 @@ from homeassistant.const import ( from homeassistant.helpers import config_validation as cv from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['millheater==0.3.4'] - _LOGGER = logging.getLogger(__name__) ATTR_AWAY_TEMP = 'away_temp' diff --git a/homeassistant/components/mitemp_bt/sensor.py b/homeassistant/components/mitemp_bt/sensor.py index cea2c6a55db..c2afaecf789 100644 --- a/homeassistant/components/mitemp_bt/sensor.py +++ b/homeassistant/components/mitemp_bt/sensor.py @@ -12,8 +12,6 @@ from homeassistant.const import ( ) -REQUIREMENTS = ['mitemp_bt==0.0.1'] - _LOGGER = logging.getLogger(__name__) CONF_ADAPTER = 'adapter' diff --git a/homeassistant/components/mobile_app/__init__.py b/homeassistant/components/mobile_app/__init__.py index a4ae78959cf..711963a0b24 100644 --- a/homeassistant/components/mobile_app/__init__.py +++ b/homeassistant/components/mobile_app/__init__.py @@ -15,10 +15,6 @@ from .http_api import RegistrationsView from .webhook import handle_webhook from .websocket_api import register_websocket_handlers -DEPENDENCIES = ['device_tracker', 'http', 'webhook'] - -REQUIREMENTS = ['PyNaCl==1.3.0'] - async def async_setup(hass: HomeAssistantType, config: ConfigType): """Set up the mobile app component.""" diff --git a/homeassistant/components/mobile_app/binary_sensor.py b/homeassistant/components/mobile_app/binary_sensor.py index 50943bb6504..71d9fd9d58a 100644 --- a/homeassistant/components/mobile_app/binary_sensor.py +++ b/homeassistant/components/mobile_app/binary_sensor.py @@ -13,8 +13,6 @@ from .const import (ATTR_SENSOR_STATE, from .entity import MobileAppEntity, sensor_id -DEPENDENCIES = ['mobile_app'] - async def async_setup_entry(hass, config_entry, async_add_entities): """Set up mobile app binary sensor from a config entry.""" diff --git a/homeassistant/components/mobile_app/notify.py b/homeassistant/components/mobile_app/notify.py index 8d2ac1b97ec..a69c020cfc8 100644 --- a/homeassistant/components/mobile_app/notify.py +++ b/homeassistant/components/mobile_app/notify.py @@ -22,8 +22,6 @@ from .const import (ATTR_APP_DATA, ATTR_APP_ID, ATTR_APP_VERSION, _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mobile_app'] - def push_registrations(hass): """Return a dictionary of push enabled registrations.""" diff --git a/homeassistant/components/mobile_app/sensor.py b/homeassistant/components/mobile_app/sensor.py index 64ad69c5758..2e54c2f4f6c 100644 --- a/homeassistant/components/mobile_app/sensor.py +++ b/homeassistant/components/mobile_app/sensor.py @@ -12,8 +12,6 @@ from .const import (ATTR_SENSOR_STATE, from .entity import MobileAppEntity, sensor_id -DEPENDENCIES = ['mobile_app'] - async def async_setup_entry(hass, config_entry, async_add_entities): """Set up mobile app sensor from a config entry.""" diff --git a/homeassistant/components/mochad/__init__.py b/homeassistant/components/mochad/__init__.py index e10adf693fe..78d137c95ea 100644 --- a/homeassistant/components/mochad/__init__.py +++ b/homeassistant/components/mochad/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) from homeassistant.const import (CONF_HOST, CONF_PORT) -REQUIREMENTS = ['pymochad==0.2.0'] - _LOGGER = logging.getLogger(__name__) CONTROLLER = None diff --git a/homeassistant/components/mochad/light.py b/homeassistant/components/mochad/light.py index d2e1a567d27..4a734be4ebd 100644 --- a/homeassistant/components/mochad/light.py +++ b/homeassistant/components/mochad/light.py @@ -12,8 +12,6 @@ from homeassistant.helpers import config_validation as cv _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mochad'] - CONF_BRIGHTNESS_LEVELS = 'brightness_levels' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/mochad/switch.py b/homeassistant/components/mochad/switch.py index 03fd2db07bf..a4fb46130f3 100644 --- a/homeassistant/components/mochad/switch.py +++ b/homeassistant/components/mochad/switch.py @@ -11,8 +11,6 @@ from homeassistant.helpers import config_validation as cv _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mochad'] - PLATFORM_SCHEMA = vol.Schema({ vol.Required(CONF_PLATFORM): mochad.DOMAIN, diff --git a/homeassistant/components/modbus/__init__.py b/homeassistant/components/modbus/__init__.py index 0500a904cb9..7d882066260 100644 --- a/homeassistant/components/modbus/__init__.py +++ b/homeassistant/components/modbus/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import ( CONF_TYPE, EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pymodbus==1.5.2'] - _LOGGER = logging.getLogger(__name__) ATTR_ADDRESS = 'address' diff --git a/homeassistant/components/modbus/binary_sensor.py b/homeassistant/components/modbus/binary_sensor.py index 0c10548452a..3a17f3c198d 100644 --- a/homeassistant/components/modbus/binary_sensor.py +++ b/homeassistant/components/modbus/binary_sensor.py @@ -15,8 +15,6 @@ _LOGGER = logging.getLogger(__name__) CONF_COIL = 'coil' CONF_COILS = 'coils' -DEPENDENCIES = ['modbus'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_COILS): [{ vol.Required(CONF_COIL): cv.positive_int, diff --git a/homeassistant/components/modbus/climate.py b/homeassistant/components/modbus/climate.py index 4d2b86903e7..cf7e2950923 100644 --- a/homeassistant/components/modbus/climate.py +++ b/homeassistant/components/modbus/climate.py @@ -22,8 +22,6 @@ CONF_PRECISION = 'precision' DATA_TYPE_INT = 'int' DATA_TYPE_UINT = 'uint' DATA_TYPE_FLOAT = 'float' -DEPENDENCIES = ['modbus'] - SUPPORT_FLAGS = SUPPORT_TARGET_TEMPERATURE PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/modbus/sensor.py b/homeassistant/components/modbus/sensor.py index 10e11a9a656..bca5ef9d34d 100644 --- a/homeassistant/components/modbus/sensor.py +++ b/homeassistant/components/modbus/sensor.py @@ -29,8 +29,6 @@ DATA_TYPE_FLOAT = 'float' DATA_TYPE_INT = 'int' DATA_TYPE_UINT = 'uint' -DEPENDENCIES = ['modbus'] - REGISTER_TYPE_HOLDING = 'holding' REGISTER_TYPE_INPUT = 'input' diff --git a/homeassistant/components/modbus/switch.py b/homeassistant/components/modbus/switch.py index 69c5e3e4838..d74145ebad4 100644 --- a/homeassistant/components/modbus/switch.py +++ b/homeassistant/components/modbus/switch.py @@ -24,8 +24,6 @@ CONF_STATE_ON = 'state_on' CONF_VERIFY_REGISTER = 'verify_register' CONF_VERIFY_STATE = 'verify_state' -DEPENDENCIES = ['modbus'] - REGISTER_TYPE_HOLDING = 'holding' REGISTER_TYPE_INPUT = 'input' diff --git a/homeassistant/components/modem_callerid/sensor.py b/homeassistant/components/modem_callerid/sensor.py index b87f4840334..0e1f02efecf 100644 --- a/homeassistant/components/modem_callerid/sensor.py +++ b/homeassistant/components/modem_callerid/sensor.py @@ -9,8 +9,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['basicmodem==0.7'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Modem CallerID' ICON = 'mdi:phone-classic' diff --git a/homeassistant/components/monoprice/media_player.py b/homeassistant/components/monoprice/media_player.py index edffd6ac7ce..d8f22a5d00b 100644 --- a/homeassistant/components/monoprice/media_player.py +++ b/homeassistant/components/monoprice/media_player.py @@ -13,8 +13,6 @@ from homeassistant.const import ( ATTR_ENTITY_ID, CONF_NAME, CONF_PORT, STATE_OFF, STATE_ON) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pymonoprice==0.3'] - _LOGGER = logging.getLogger(__name__) SUPPORT_MONOPRICE = SUPPORT_VOLUME_MUTE | SUPPORT_VOLUME_SET | \ diff --git a/homeassistant/components/mopar/__init__.py b/homeassistant/components/mopar/__init__.py index 4ee9f3219b4..ec723b94fcc 100644 --- a/homeassistant/components/mopar/__init__.py +++ b/homeassistant/components/mopar/__init__.py @@ -18,8 +18,6 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.dispatcher import dispatcher_send from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['motorparts==1.1.0'] - DOMAIN = 'mopar' DATA_UPDATED = '{}_data_updated'.format(DOMAIN) diff --git a/homeassistant/components/mopar/lock.py b/homeassistant/components/mopar/lock.py index aa2e0161813..5a41058bb53 100644 --- a/homeassistant/components/mopar/lock.py +++ b/homeassistant/components/mopar/lock.py @@ -7,8 +7,6 @@ from homeassistant.components.mopar import ( ) from homeassistant.const import STATE_LOCKED, STATE_UNLOCKED -DEPENDENCIES = ['mopar'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mopar/sensor.py b/homeassistant/components/mopar/sensor.py index 0d6e5765fda..f09c0bdbea9 100644 --- a/homeassistant/components/mopar/sensor.py +++ b/homeassistant/components/mopar/sensor.py @@ -10,7 +10,6 @@ from homeassistant.core import callback from homeassistant.helpers.dispatcher import async_dispatcher_connect from homeassistant.helpers.entity import Entity -DEPENDENCIES = ['mopar'] ICON = 'mdi:car' diff --git a/homeassistant/components/mopar/switch.py b/homeassistant/components/mopar/switch.py index 352cdafbd41..4e1ff606100 100644 --- a/homeassistant/components/mopar/switch.py +++ b/homeassistant/components/mopar/switch.py @@ -5,8 +5,6 @@ from homeassistant.components.mopar import DOMAIN as MOPAR_DOMAIN from homeassistant.components.switch import SwitchDevice from homeassistant.const import STATE_ON, STATE_OFF -DEPENDENCIES = ['mopar'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mpd/media_player.py b/homeassistant/components/mpd/media_player.py index 8cbc1406e0b..5340bc46b12 100644 --- a/homeassistant/components/mpd/media_player.py +++ b/homeassistant/components/mpd/media_player.py @@ -20,8 +20,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['python-mpd2==1.0.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'MPD' diff --git a/homeassistant/components/mqtt/__init__.py b/homeassistant/components/mqtt/__init__.py index 4f9ad990105..e226e966b09 100644 --- a/homeassistant/components/mqtt/__init__.py +++ b/homeassistant/components/mqtt/__init__.py @@ -40,8 +40,6 @@ from .const import ( CONF_BROKER, CONF_DISCOVERY, DEFAULT_DISCOVERY, CONF_STATE_TOPIC, ATTR_DISCOVERY_HASH) -REQUIREMENTS = ['paho-mqtt==1.4.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'mqtt' diff --git a/homeassistant/components/mqtt/alarm_control_panel.py b/homeassistant/components/mqtt/alarm_control_panel.py index 03a2ac8e388..da3e2faf224 100644 --- a/homeassistant/components/mqtt/alarm_control_panel.py +++ b/homeassistant/components/mqtt/alarm_control_panel.py @@ -37,8 +37,6 @@ DEFAULT_ARM_AWAY = 'ARM_AWAY' DEFAULT_ARM_HOME = 'ARM_HOME' DEFAULT_DISARM = 'DISARM' DEFAULT_NAME = 'MQTT Alarm' -DEPENDENCIES = ['mqtt'] - PLATFORM_SCHEMA = mqtt.MQTT_BASE_PLATFORM_SCHEMA.extend({ vol.Optional(CONF_CODE): cv.string, vol.Optional(CONF_CODE_ARM_REQUIRED, default=True): cv.boolean, diff --git a/homeassistant/components/mqtt/binary_sensor.py b/homeassistant/components/mqtt/binary_sensor.py index 95daad9b262..904a456fc46 100644 --- a/homeassistant/components/mqtt/binary_sensor.py +++ b/homeassistant/components/mqtt/binary_sensor.py @@ -29,8 +29,6 @@ DEFAULT_PAYLOAD_OFF = 'OFF' DEFAULT_PAYLOAD_ON = 'ON' DEFAULT_FORCE_UPDATE = False -DEPENDENCIES = ['mqtt'] - PLATFORM_SCHEMA = mqtt.MQTT_RO_PLATFORM_SCHEMA.extend({ vol.Optional(CONF_DEVICE): mqtt.MQTT_ENTITY_DEVICE_INFO_SCHEMA, vol.Optional(CONF_DEVICE_CLASS): DEVICE_CLASSES_SCHEMA, diff --git a/homeassistant/components/mqtt/camera.py b/homeassistant/components/mqtt/camera.py index f651050b6c8..0449bf79ca7 100644 --- a/homeassistant/components/mqtt/camera.py +++ b/homeassistant/components/mqtt/camera.py @@ -23,8 +23,6 @@ _LOGGER = logging.getLogger(__name__) CONF_TOPIC = 'topic' DEFAULT_NAME = 'MQTT Camera' -DEPENDENCIES = ['mqtt'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, vol.Required(CONF_TOPIC): mqtt.valid_subscribe_topic, diff --git a/homeassistant/components/mqtt/climate.py b/homeassistant/components/mqtt/climate.py index 17d32984bb5..6a8c4d83995 100644 --- a/homeassistant/components/mqtt/climate.py +++ b/homeassistant/components/mqtt/climate.py @@ -31,8 +31,6 @@ from .discovery import MQTT_DISCOVERY_NEW, clear_discovery_hash _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] - DEFAULT_NAME = 'MQTT HVAC' CONF_POWER_COMMAND_TOPIC = 'power_command_topic' diff --git a/homeassistant/components/mqtt/cover.py b/homeassistant/components/mqtt/cover.py index 5cb7300f0ef..e1ad21564b5 100644 --- a/homeassistant/components/mqtt/cover.py +++ b/homeassistant/components/mqtt/cover.py @@ -25,8 +25,6 @@ from .discovery import MQTT_DISCOVERY_NEW, clear_discovery_hash _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] - CONF_GET_POSITION_TOPIC = 'position_topic' CONF_SET_POSITION_TEMPLATE = 'set_position_template' CONF_SET_POSITION_TOPIC = 'set_position_topic' diff --git a/homeassistant/components/mqtt/device_tracker.py b/homeassistant/components/mqtt/device_tracker.py index 659c6315b21..25528471d64 100644 --- a/homeassistant/components/mqtt/device_tracker.py +++ b/homeassistant/components/mqtt/device_tracker.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from . import CONF_QOS -DEPENDENCIES = ['mqtt'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(mqtt.SCHEMA_BASE).extend({ diff --git a/homeassistant/components/mqtt/fan.py b/homeassistant/components/mqtt/fan.py index d86390ee31d..99aa68d1975 100644 --- a/homeassistant/components/mqtt/fan.py +++ b/homeassistant/components/mqtt/fan.py @@ -23,8 +23,6 @@ from .discovery import MQTT_DISCOVERY_NEW, clear_discovery_hash _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] - CONF_STATE_VALUE_TEMPLATE = 'state_value_template' CONF_SPEED_STATE_TOPIC = 'speed_state_topic' CONF_SPEED_COMMAND_TOPIC = 'speed_command_topic' diff --git a/homeassistant/components/mqtt/light/__init__.py b/homeassistant/components/mqtt/light/__init__.py index 4ff6efb8643..d115f07ce7e 100644 --- a/homeassistant/components/mqtt/light/__init__.py +++ b/homeassistant/components/mqtt/light/__init__.py @@ -17,8 +17,6 @@ from homeassistant.helpers.typing import HomeAssistantType, ConfigType _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] - CONF_SCHEMA = 'schema' diff --git a/homeassistant/components/mqtt/light/schema_basic.py b/homeassistant/components/mqtt/light/schema_basic.py index d5aa4480139..382effe837b 100644 --- a/homeassistant/components/mqtt/light/schema_basic.py +++ b/homeassistant/components/mqtt/light/schema_basic.py @@ -30,8 +30,6 @@ from . import MQTT_LIGHT_SCHEMA_SCHEMA _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] - CONF_BRIGHTNESS_COMMAND_TOPIC = 'brightness_command_topic' CONF_BRIGHTNESS_SCALE = 'brightness_scale' CONF_BRIGHTNESS_STATE_TOPIC = 'brightness_state_topic' diff --git a/homeassistant/components/mqtt/light/schema_json.py b/homeassistant/components/mqtt/light/schema_json.py index a52f3c58d0e..27c88edb15f 100644 --- a/homeassistant/components/mqtt/light/schema_json.py +++ b/homeassistant/components/mqtt/light/schema_json.py @@ -35,8 +35,6 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'mqtt_json' -DEPENDENCIES = ['mqtt'] - DEFAULT_BRIGHTNESS = False DEFAULT_COLOR_TEMP = False DEFAULT_EFFECT = False diff --git a/homeassistant/components/mqtt/light/schema_template.py b/homeassistant/components/mqtt/light/schema_template.py index 49cba082401..ab9fb0e4454 100644 --- a/homeassistant/components/mqtt/light/schema_template.py +++ b/homeassistant/components/mqtt/light/schema_template.py @@ -30,8 +30,6 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'mqtt_template' -DEPENDENCIES = ['mqtt'] - DEFAULT_NAME = 'MQTT Template Light' DEFAULT_OPTIMISTIC = False diff --git a/homeassistant/components/mqtt/lock.py b/homeassistant/components/mqtt/lock.py index 235eacc9454..75db4c3742d 100644 --- a/homeassistant/components/mqtt/lock.py +++ b/homeassistant/components/mqtt/lock.py @@ -27,8 +27,6 @@ DEFAULT_NAME = 'MQTT Lock' DEFAULT_OPTIMISTIC = False DEFAULT_PAYLOAD_LOCK = 'LOCK' DEFAULT_PAYLOAD_UNLOCK = 'UNLOCK' -DEPENDENCIES = ['mqtt'] - PLATFORM_SCHEMA = mqtt.MQTT_RW_PLATFORM_SCHEMA.extend({ vol.Optional(CONF_DEVICE): mqtt.MQTT_ENTITY_DEVICE_INFO_SCHEMA, vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, diff --git a/homeassistant/components/mqtt/sensor.py b/homeassistant/components/mqtt/sensor.py index b6419ea2c24..02dafdb57c1 100644 --- a/homeassistant/components/mqtt/sensor.py +++ b/homeassistant/components/mqtt/sensor.py @@ -32,8 +32,6 @@ CONF_JSON_ATTRS = 'json_attributes' DEFAULT_NAME = 'MQTT Sensor' DEFAULT_FORCE_UPDATE = False -DEPENDENCIES = ['mqtt'] - PLATFORM_SCHEMA = mqtt.MQTT_RO_PLATFORM_SCHEMA.extend({ vol.Optional(CONF_DEVICE): mqtt.MQTT_ENTITY_DEVICE_INFO_SCHEMA, vol.Optional(CONF_DEVICE_CLASS): DEVICE_CLASSES_SCHEMA, diff --git a/homeassistant/components/mqtt/server.py b/homeassistant/components/mqtt/server.py index d7d36add517..8944aba2dae 100644 --- a/homeassistant/components/mqtt/server.py +++ b/homeassistant/components/mqtt/server.py @@ -8,12 +8,8 @@ import voluptuous as vol from homeassistant.const import EVENT_HOMEASSISTANT_STOP import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['hbmqtt==0.9.4'] - _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['http'] - # None allows custom config to be created through generate_config HBMQTT_CONFIG_SCHEMA = vol.Any(None, vol.Schema({ vol.Optional('auth'): vol.Schema({ diff --git a/homeassistant/components/mqtt/switch.py b/homeassistant/components/mqtt/switch.py index 20d28b6496c..a9e3875aaea 100644 --- a/homeassistant/components/mqtt/switch.py +++ b/homeassistant/components/mqtt/switch.py @@ -22,8 +22,6 @@ from .discovery import MQTT_DISCOVERY_NEW, clear_discovery_hash _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] - DEFAULT_NAME = 'MQTT Switch' DEFAULT_PAYLOAD_ON = 'ON' DEFAULT_PAYLOAD_OFF = 'OFF' diff --git a/homeassistant/components/mqtt/vacuum.py b/homeassistant/components/mqtt/vacuum.py index 23a5e34b3ca..7d910f0ac89 100644 --- a/homeassistant/components/mqtt/vacuum.py +++ b/homeassistant/components/mqtt/vacuum.py @@ -22,8 +22,6 @@ from .discovery import MQTT_DISCOVERY_NEW, clear_discovery_hash _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] - SERVICE_TO_STRING = { SUPPORT_TURN_ON: 'turn_on', SUPPORT_TURN_OFF: 'turn_off', diff --git a/homeassistant/components/mqtt_eventstream/__init__.py b/homeassistant/components/mqtt_eventstream/__init__.py index fb6a94f1870..0b54c8535a2 100644 --- a/homeassistant/components/mqtt_eventstream/__init__.py +++ b/homeassistant/components/mqtt_eventstream/__init__.py @@ -15,8 +15,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.json import JSONEncoder DOMAIN = 'mqtt_eventstream' -DEPENDENCIES = ['mqtt'] - CONF_PUBLISH_TOPIC = 'publish_topic' CONF_SUBSCRIBE_TOPIC = 'subscribe_topic' CONF_PUBLISH_EVENTSTREAM_RECEIVED = 'publish_eventstream_received' diff --git a/homeassistant/components/mqtt_json/device_tracker.py b/homeassistant/components/mqtt_json/device_tracker.py index 6059b26bcbd..eed6f03615e 100644 --- a/homeassistant/components/mqtt_json/device_tracker.py +++ b/homeassistant/components/mqtt_json/device_tracker.py @@ -13,8 +13,6 @@ from homeassistant.const import ( CONF_DEVICES, ATTR_GPS_ACCURACY, ATTR_LATITUDE, ATTR_LONGITUDE, ATTR_BATTERY_LEVEL) -DEPENDENCIES = ['mqtt'] - _LOGGER = logging.getLogger(__name__) GPS_JSON_PAYLOAD_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/mqtt_room/sensor.py b/homeassistant/components/mqtt_room/sensor.py index 961769711a4..37ea2697da1 100644 --- a/homeassistant/components/mqtt_room/sensor.py +++ b/homeassistant/components/mqtt_room/sensor.py @@ -17,8 +17,6 @@ from homeassistant.util import dt, slugify _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] - ATTR_DEVICE_ID = 'device_id' ATTR_DISTANCE = 'distance' ATTR_ROOM = 'room' diff --git a/homeassistant/components/mqtt_statestream/__init__.py b/homeassistant/components/mqtt_statestream/__init__.py index 18a70bf75bb..0d594822e05 100644 --- a/homeassistant/components/mqtt_statestream/__init__.py +++ b/homeassistant/components/mqtt_statestream/__init__.py @@ -16,7 +16,6 @@ CONF_BASE_TOPIC = 'base_topic' CONF_PUBLISH_ATTRIBUTES = 'publish_attributes' CONF_PUBLISH_TIMESTAMPS = 'publish_timestamps' -DEPENDENCIES = ['mqtt'] DOMAIN = 'mqtt_statestream' CONFIG_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/mvglive/sensor.py b/homeassistant/components/mvglive/sensor.py index 978c9ad34eb..8c887031aa9 100644 --- a/homeassistant/components/mvglive/sensor.py +++ b/homeassistant/components/mvglive/sensor.py @@ -11,8 +11,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import ( CONF_NAME, ATTR_ATTRIBUTION) -REQUIREMENTS = ['PyMVGLive==1.1.4'] - _LOGGER = logging.getLogger(__name__) CONF_NEXT_DEPARTURE = 'nextdeparture' diff --git a/homeassistant/components/mychevy/__init__.py b/homeassistant/components/mychevy/__init__.py index e6fd7f19c2a..b4235362ff2 100644 --- a/homeassistant/components/mychevy/__init__.py +++ b/homeassistant/components/mychevy/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers import discovery from homeassistant.util import Throttle -REQUIREMENTS = ['mychevy==1.2.0'] - DOMAIN = 'mychevy' UPDATE_TOPIC = DOMAIN ERROR_TOPIC = DOMAIN + "_error" diff --git a/homeassistant/components/mycroft/__init__.py b/homeassistant/components/mycroft/__init__.py index 29f6383f686..fdcedfb7345 100644 --- a/homeassistant/components/mycroft/__init__.py +++ b/homeassistant/components/mycroft/__init__.py @@ -7,8 +7,6 @@ from homeassistant.const import CONF_HOST from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['mycroftapi==2.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'mycroft' diff --git a/homeassistant/components/mycroft/notify.py b/homeassistant/components/mycroft/notify.py index d66be629f17..5918f16290d 100644 --- a/homeassistant/components/mycroft/notify.py +++ b/homeassistant/components/mycroft/notify.py @@ -3,8 +3,6 @@ import logging from homeassistant.components.notify import BaseNotificationService -DEPENDENCIES = ['mycroft'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/myq/cover.py b/homeassistant/components/myq/cover.py index 5b926a183f7..395e5d4e959 100644 --- a/homeassistant/components/myq/cover.py +++ b/homeassistant/components/myq/cover.py @@ -11,7 +11,6 @@ from homeassistant.const import ( ) from homeassistant.helpers import aiohttp_client, config_validation as cv -REQUIREMENTS = ['pymyq==1.2.0'] _LOGGER = logging.getLogger(__name__) MYQ_TO_HASS = { diff --git a/homeassistant/components/mysensors/__init__.py b/homeassistant/components/mysensors/__init__.py index 7ca21ac582a..12d210b50a3 100644 --- a/homeassistant/components/mysensors/__init__.py +++ b/homeassistant/components/mysensors/__init__.py @@ -17,8 +17,6 @@ from .const import ( from .device import get_mysensors_devices from .gateway import get_mysensors_gateway, setup_gateways, finish_setup -REQUIREMENTS = ['pymysensors==0.18.0'] - _LOGGER = logging.getLogger(__name__) CONF_DEBUG = 'debug' diff --git a/homeassistant/components/mystrom/binary_sensor.py b/homeassistant/components/mystrom/binary_sensor.py index 42245dc4df3..d3b4dd554a9 100644 --- a/homeassistant/components/mystrom/binary_sensor.py +++ b/homeassistant/components/mystrom/binary_sensor.py @@ -7,8 +7,6 @@ from homeassistant.const import HTTP_UNPROCESSABLE_ENTITY _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['http'] - async def async_setup_platform(hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/mystrom/light.py b/homeassistant/components/mystrom/light.py index f9b8dcd203b..149b83b2487 100644 --- a/homeassistant/components/mystrom/light.py +++ b/homeassistant/components/mystrom/light.py @@ -10,8 +10,6 @@ from homeassistant.components.light import ( ATTR_HS_COLOR) from homeassistant.const import CONF_HOST, CONF_MAC, CONF_NAME -REQUIREMENTS = ['python-mystrom==0.5.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'myStrom bulb' diff --git a/homeassistant/components/mystrom/switch.py b/homeassistant/components/mystrom/switch.py index a25517eea91..3fbd6957eb9 100644 --- a/homeassistant/components/mystrom/switch.py +++ b/homeassistant/components/mystrom/switch.py @@ -7,8 +7,6 @@ from homeassistant.components.switch import (SwitchDevice, PLATFORM_SCHEMA) from homeassistant.const import (CONF_NAME, CONF_HOST) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-mystrom==0.5.0'] - DEFAULT_NAME = 'myStrom Switch' _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mythicbeastsdns/__init__.py b/homeassistant/components/mythicbeastsdns/__init__.py index 4db53bf0407..02441d9c650 100644 --- a/homeassistant/components/mythicbeastsdns/__init__.py +++ b/homeassistant/components/mythicbeastsdns/__init__.py @@ -11,8 +11,6 @@ from homeassistant.const import ( from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.helpers.event import async_track_time_interval -REQUIREMENTS = ['mbddns==0.1.2'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'mythicbeastsdns' diff --git a/homeassistant/components/n26/__init__.py b/homeassistant/components/n26/__init__.py index 8f4ade9c87f..fb7084bffe7 100644 --- a/homeassistant/components/n26/__init__.py +++ b/homeassistant/components/n26/__init__.py @@ -12,8 +12,6 @@ from homeassistant.util import Throttle from .const import DATA, DOMAIN -REQUIREMENTS = ['n26==0.2.7'] - _LOGGER = logging.getLogger(__name__) DEFAULT_SCAN_INTERVAL = timedelta(minutes=30) diff --git a/homeassistant/components/n26/sensor.py b/homeassistant/components/n26/sensor.py index 682cd5dae68..be5ad7a1b68 100644 --- a/homeassistant/components/n26/sensor.py +++ b/homeassistant/components/n26/sensor.py @@ -8,8 +8,6 @@ from .const import DATA _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['n26'] - SCAN_INTERVAL = DEFAULT_SCAN_INTERVAL ATTR_IBAN = "account" diff --git a/homeassistant/components/n26/switch.py b/homeassistant/components/n26/switch.py index 0e7455ea703..15221255097 100644 --- a/homeassistant/components/n26/switch.py +++ b/homeassistant/components/n26/switch.py @@ -8,8 +8,6 @@ from .const import CARD_STATE_ACTIVE, CARD_STATE_BLOCKED, DATA _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['n26'] - SCAN_INTERVAL = DEFAULT_SCAN_INTERVAL diff --git a/homeassistant/components/nad/media_player.py b/homeassistant/components/nad/media_player.py index 8c5a14a3524..60747fa6398 100644 --- a/homeassistant/components/nad/media_player.py +++ b/homeassistant/components/nad/media_player.py @@ -11,8 +11,6 @@ from homeassistant.components.media_player.const import ( SUPPORT_VOLUME_MUTE, SUPPORT_VOLUME_SET, SUPPORT_VOLUME_STEP) from homeassistant.const import CONF_NAME, STATE_OFF, STATE_ON, CONF_HOST -REQUIREMENTS = ['nad_receiver==0.0.11'] - _LOGGER = logging.getLogger(__name__) DEFAULT_TYPE = 'RS232' diff --git a/homeassistant/components/namecheapdns/__init__.py b/homeassistant/components/namecheapdns/__init__.py index f86e7d18556..d3c48d568bd 100644 --- a/homeassistant/components/namecheapdns/__init__.py +++ b/homeassistant/components/namecheapdns/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_DOMAIN from homeassistant.helpers.event import async_track_time_interval from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['defusedxml==0.5.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'namecheapdns' diff --git a/homeassistant/components/nanoleaf/light.py b/homeassistant/components/nanoleaf/light.py index 60457e21f9a..017bd0a256d 100644 --- a/homeassistant/components/nanoleaf/light.py +++ b/homeassistant/components/nanoleaf/light.py @@ -15,8 +15,6 @@ from homeassistant.util.color import \ color_temperature_mired_to_kelvin as mired_to_kelvin from homeassistant.util.json import load_json, save_json -REQUIREMENTS = ['pynanoleaf==0.0.5'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Nanoleaf' diff --git a/homeassistant/components/neato/__init__.py b/homeassistant/components/neato/__init__.py index bb717b8d230..f179248b563 100644 --- a/homeassistant/components/neato/__init__.py +++ b/homeassistant/components/neato/__init__.py @@ -10,8 +10,6 @@ from homeassistant.const import CONF_PASSWORD, CONF_USERNAME from homeassistant.helpers import discovery from homeassistant.util import Throttle -REQUIREMENTS = ['pybotvac==0.0.13'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'neato' diff --git a/homeassistant/components/neato/camera.py b/homeassistant/components/neato/camera.py index f8106c3e645..5d38e7b7880 100644 --- a/homeassistant/components/neato/camera.py +++ b/homeassistant/components/neato/camera.py @@ -8,8 +8,6 @@ from . import NEATO_LOGIN, NEATO_MAP_DATA, NEATO_ROBOTS _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['neato'] - SCAN_INTERVAL = timedelta(minutes=10) diff --git a/homeassistant/components/neato/switch.py b/homeassistant/components/neato/switch.py index ea60f9492e2..0721381a563 100644 --- a/homeassistant/components/neato/switch.py +++ b/homeassistant/components/neato/switch.py @@ -11,8 +11,6 @@ from . import NEATO_LOGIN, NEATO_ROBOTS _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['neato'] - SCAN_INTERVAL = timedelta(minutes=10) SWITCH_TYPE_SCHEDULE = 'schedule' diff --git a/homeassistant/components/neato/vacuum.py b/homeassistant/components/neato/vacuum.py index 3575301ea97..061d8fd04c8 100644 --- a/homeassistant/components/neato/vacuum.py +++ b/homeassistant/components/neato/vacuum.py @@ -21,8 +21,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['neato'] - SCAN_INTERVAL = timedelta(minutes=5) SUPPORT_NEATO = SUPPORT_BATTERY | SUPPORT_PAUSE | SUPPORT_RETURN_HOME | \ diff --git a/homeassistant/components/nederlandse_spoorwegen/sensor.py b/homeassistant/components/nederlandse_spoorwegen/sensor.py index 224d16e4869..7fc3e438f38 100644 --- a/homeassistant/components/nederlandse_spoorwegen/sensor.py +++ b/homeassistant/components/nederlandse_spoorwegen/sensor.py @@ -12,8 +12,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['nsapi==2.7.4'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by NS" diff --git a/homeassistant/components/nello/lock.py b/homeassistant/components/nello/lock.py index efb7719e201..124fa6769ec 100644 --- a/homeassistant/components/nello/lock.py +++ b/homeassistant/components/nello/lock.py @@ -8,8 +8,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.lock import (LockDevice, PLATFORM_SCHEMA) from homeassistant.const import (CONF_PASSWORD, CONF_USERNAME) -REQUIREMENTS = ['pynello==2.0.2'] - _LOGGER = logging.getLogger(__name__) ATTR_ADDRESS = 'address' diff --git a/homeassistant/components/ness_alarm/__init__.py b/homeassistant/components/ness_alarm/__init__.py index 97896f9aa3f..8d9d081e6d8 100644 --- a/homeassistant/components/ness_alarm/__init__.py +++ b/homeassistant/components/ness_alarm/__init__.py @@ -13,8 +13,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers.discovery import async_load_platform from homeassistant.helpers.dispatcher import async_dispatcher_send -REQUIREMENTS = ['nessclient==0.9.15'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'ness_alarm' diff --git a/homeassistant/components/ness_alarm/alarm_control_panel.py b/homeassistant/components/ness_alarm/alarm_control_panel.py index 618297ef9a5..06a3f9f1e13 100644 --- a/homeassistant/components/ness_alarm/alarm_control_panel.py +++ b/homeassistant/components/ness_alarm/alarm_control_panel.py @@ -13,8 +13,6 @@ from . import DATA_NESS, SIGNAL_ARMING_STATE_CHANGED _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ness_alarm'] - async def async_setup_platform(hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/ness_alarm/binary_sensor.py b/homeassistant/components/ness_alarm/binary_sensor.py index 2bed9eb6404..6d9486577a7 100644 --- a/homeassistant/components/ness_alarm/binary_sensor.py +++ b/homeassistant/components/ness_alarm/binary_sensor.py @@ -9,7 +9,6 @@ from . import ( CONF_ZONE_ID, CONF_ZONE_NAME, CONF_ZONE_TYPE, CONF_ZONES, SIGNAL_ZONE_CHANGED, ZoneChangedData) -DEPENDENCIES = ['ness_alarm'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nest/__init__.py b/homeassistant/components/nest/__init__.py index 21aaa2109a1..cc726cdf175 100644 --- a/homeassistant/components/nest/__init__.py +++ b/homeassistant/components/nest/__init__.py @@ -22,8 +22,6 @@ from homeassistant.helpers.entity import Entity from .const import DOMAIN from . import local_auth -REQUIREMENTS = ['python-nest==4.1.0'] - _CONFIGURING = {} _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nest/binary_sensor.py b/homeassistant/components/nest/binary_sensor.py index aa56bfbf29d..1fc8aa8929f 100644 --- a/homeassistant/components/nest/binary_sensor.py +++ b/homeassistant/components/nest/binary_sensor.py @@ -10,8 +10,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['nest'] - BINARY_TYPES = {'online': 'connectivity'} CLIMATE_BINARY_TYPES = { diff --git a/homeassistant/components/nest/camera.py b/homeassistant/components/nest/camera.py index 8b450e02b46..029de178f24 100644 --- a/homeassistant/components/nest/camera.py +++ b/homeassistant/components/nest/camera.py @@ -11,8 +11,6 @@ from homeassistant.util.dt import utcnow _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['nest'] - NEST_BRAND = 'Nest' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({}) diff --git a/homeassistant/components/nest/climate.py b/homeassistant/components/nest/climate.py index cd9a7cb71b6..4707d8d0f8c 100644 --- a/homeassistant/components/nest/climate.py +++ b/homeassistant/components/nest/climate.py @@ -16,7 +16,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_connect from . import DATA_NEST, DOMAIN as NEST_DOMAIN, SIGNAL_NEST_UPDATE -DEPENDENCIES = ['nest'] _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/nest/sensor.py b/homeassistant/components/nest/sensor.py index ecae83e303c..2bfeea89784 100644 --- a/homeassistant/components/nest/sensor.py +++ b/homeassistant/components/nest/sensor.py @@ -8,8 +8,6 @@ from homeassistant.const import ( from . import CONF_SENSORS, DATA_NEST, DATA_NEST_CONFIG, NestSensorDevice -DEPENDENCIES = ['nest'] - SENSOR_TYPES = ['humidity', 'operation_mode', 'hvac_state'] TEMP_SENSOR_TYPES = ['temperature', 'target'] diff --git a/homeassistant/components/netatmo/__init__.py b/homeassistant/components/netatmo/__init__.py index 2036e55b3a8..cf64363ba50 100644 --- a/homeassistant/components/netatmo/__init__.py +++ b/homeassistant/components/netatmo/__init__.py @@ -12,9 +12,6 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['pyatmo==1.9'] -DEPENDENCIES = ['webhook'] - _LOGGER = logging.getLogger(__name__) DATA_PERSONS = 'netatmo_persons' diff --git a/homeassistant/components/netatmo/binary_sensor.py b/homeassistant/components/netatmo/binary_sensor.py index 7c2b1a73a4d..f282faf82c8 100644 --- a/homeassistant/components/netatmo/binary_sensor.py +++ b/homeassistant/components/netatmo/binary_sensor.py @@ -12,8 +12,6 @@ from . import CameraData, NETATMO_AUTH _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['netatmo'] - # These are the available sensors mapped to binary_sensor class WELCOME_SENSOR_TYPES = { "Someone known": "motion", diff --git a/homeassistant/components/netatmo/camera.py b/homeassistant/components/netatmo/camera.py index c8a540be6dd..b74dce4b262 100644 --- a/homeassistant/components/netatmo/camera.py +++ b/homeassistant/components/netatmo/camera.py @@ -11,8 +11,6 @@ from homeassistant.helpers import config_validation as cv from . import CameraData, NETATMO_AUTH -DEPENDENCIES = ['netatmo'] - _LOGGER = logging.getLogger(__name__) CONF_HOME = 'home' diff --git a/homeassistant/components/netatmo/climate.py b/homeassistant/components/netatmo/climate.py index 5defbbf22e3..00c08c654ef 100644 --- a/homeassistant/components/netatmo/climate.py +++ b/homeassistant/components/netatmo/climate.py @@ -16,8 +16,6 @@ from homeassistant.util import Throttle from . import NETATMO_AUTH -DEPENDENCIES = ['netatmo'] - _LOGGER = logging.getLogger(__name__) CONF_HOMES = 'homes' diff --git a/homeassistant/components/netatmo/sensor.py b/homeassistant/components/netatmo/sensor.py index 2ce4b6e6ce2..c9c1101c2a2 100644 --- a/homeassistant/components/netatmo/sensor.py +++ b/homeassistant/components/netatmo/sensor.py @@ -19,8 +19,6 @@ _LOGGER = logging.getLogger(__name__) CONF_MODULES = 'modules' CONF_STATION = 'station' -DEPENDENCIES = ['netatmo'] - # This is the NetAtmo data upload interval in seconds NETATMO_UPDATE_INTERVAL = 600 diff --git a/homeassistant/components/netatmo_public/sensor.py b/homeassistant/components/netatmo_public/sensor.py index 3480534436d..814675ca8b7 100644 --- a/homeassistant/components/netatmo_public/sensor.py +++ b/homeassistant/components/netatmo_public/sensor.py @@ -14,8 +14,6 @@ from homeassistant.util import Throttle _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['netatmo'] - CONF_AREAS = 'areas' CONF_LAT_NE = 'lat_ne' CONF_LON_NE = 'lon_ne' diff --git a/homeassistant/components/netdata/sensor.py b/homeassistant/components/netdata/sensor.py index 6d99722a416..eb6d6088ea8 100644 --- a/homeassistant/components/netdata/sensor.py +++ b/homeassistant/components/netdata/sensor.py @@ -13,8 +13,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['netdata==0.1.2'] - _LOGGER = logging.getLogger(__name__) MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=1) diff --git a/homeassistant/components/netgear/device_tracker.py b/homeassistant/components/netgear/device_tracker.py index ce8c2d6066d..36921601cc2 100644 --- a/homeassistant/components/netgear/device_tracker.py +++ b/homeassistant/components/netgear/device_tracker.py @@ -10,8 +10,6 @@ from homeassistant.const import ( CONF_HOST, CONF_PASSWORD, CONF_USERNAME, CONF_PORT, CONF_SSL, CONF_DEVICES, CONF_EXCLUDE) -REQUIREMENTS = ['pynetgear==0.5.2'] - _LOGGER = logging.getLogger(__name__) CONF_APS = 'accesspoints' diff --git a/homeassistant/components/netgear_lte/__init__.py b/homeassistant/components/netgear_lte/__init__.py index c0f248a3dd5..5491fffe969 100644 --- a/homeassistant/components/netgear_lte/__init__.py +++ b/homeassistant/components/netgear_lte/__init__.py @@ -24,8 +24,6 @@ from homeassistant.helpers.event import async_track_time_interval from . import sensor_types -REQUIREMENTS = ['eternalegypt==0.0.7'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=10) diff --git a/homeassistant/components/netgear_lte/binary_sensor.py b/homeassistant/components/netgear_lte/binary_sensor.py index a26c8538ea5..b13e1b0bbb4 100644 --- a/homeassistant/components/netgear_lte/binary_sensor.py +++ b/homeassistant/components/netgear_lte/binary_sensor.py @@ -7,8 +7,6 @@ from homeassistant.exceptions import PlatformNotReady from . import CONF_MONITORED_CONDITIONS, DATA_KEY, LTEEntity from .sensor_types import BINARY_SENSOR_CLASSES -DEPENDENCIES = ['netgear_lte'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netgear_lte/notify.py b/homeassistant/components/netgear_lte/notify.py index fba1a335ace..cb71a7945e3 100644 --- a/homeassistant/components/netgear_lte/notify.py +++ b/homeassistant/components/netgear_lte/notify.py @@ -8,8 +8,6 @@ from homeassistant.components.notify import ( from . import CONF_RECIPIENT, DATA_KEY -DEPENDENCIES = ['netgear_lte'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netgear_lte/sensor.py b/homeassistant/components/netgear_lte/sensor.py index 238a5f9b72d..edf55480a68 100644 --- a/homeassistant/components/netgear_lte/sensor.py +++ b/homeassistant/components/netgear_lte/sensor.py @@ -8,8 +8,6 @@ from . import CONF_MONITORED_CONDITIONS, DATA_KEY, LTEEntity from .sensor_types import ( SENSOR_SMS, SENSOR_SMS_TOTAL, SENSOR_USAGE, SENSOR_UNITS) -DEPENDENCIES = ['netgear_lte'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netio/switch.py b/homeassistant/components/netio/switch.py index 27a7dfbd5e7..ddaa9ffe0ff 100644 --- a/homeassistant/components/netio/switch.py +++ b/homeassistant/components/netio/switch.py @@ -14,8 +14,6 @@ from homeassistant.const import ( from homeassistant.components.switch import (SwitchDevice, PLATFORM_SCHEMA) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pynetio==0.1.9.1'] - _LOGGER = logging.getLogger(__name__) ATTR_START_DATE = 'start_date' @@ -25,7 +23,6 @@ CONF_OUTLETS = 'outlets' DEFAULT_PORT = 1234 DEFAULT_USERNAME = 'admin' -DEPENDENCIES = ['http'] Device = namedtuple('device', ['netio', 'entities']) DEVICES = {} diff --git a/homeassistant/components/neurio_energy/sensor.py b/homeassistant/components/neurio_energy/sensor.py index 9e12465c69b..5992ca70593 100644 --- a/homeassistant/components/neurio_energy/sensor.py +++ b/homeassistant/components/neurio_energy/sensor.py @@ -13,8 +13,6 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['neurio==0.3.1'] - _LOGGER = logging.getLogger(__name__) CONF_API_SECRET = 'api_secret' diff --git a/homeassistant/components/niko_home_control/light.py b/homeassistant/components/niko_home_control/light.py index 00e8dc838a6..b7ba5d33eb8 100644 --- a/homeassistant/components/niko_home_control/light.py +++ b/homeassistant/components/niko_home_control/light.py @@ -9,8 +9,6 @@ from homeassistant.const import CONF_HOST from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['niko-home-control==0.1.8'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/nilu/air_quality.py b/homeassistant/components/nilu/air_quality.py index 979d5736d6a..cdc09976521 100644 --- a/homeassistant/components/nilu/air_quality.py +++ b/homeassistant/components/nilu/air_quality.py @@ -11,8 +11,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['niluclient==0.1.2'] - _LOGGER = logging.getLogger(__name__) ATTR_AREA = 'area' diff --git a/homeassistant/components/nissan_leaf/__init__.py b/homeassistant/components/nissan_leaf/__init__.py index cb101c0a530..f9e7cd7f2d1 100644 --- a/homeassistant/components/nissan_leaf/__init__.py +++ b/homeassistant/components/nissan_leaf/__init__.py @@ -16,8 +16,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import async_track_point_in_utc_time from homeassistant.util.dt import utcnow -REQUIREMENTS = ['pycarwings2==2.8'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'nissan_leaf' diff --git a/homeassistant/components/nissan_leaf/binary_sensor.py b/homeassistant/components/nissan_leaf/binary_sensor.py index 5c71cf1fc51..5456fdc913a 100644 --- a/homeassistant/components/nissan_leaf/binary_sensor.py +++ b/homeassistant/components/nissan_leaf/binary_sensor.py @@ -7,8 +7,6 @@ from . import DATA_CHARGING, DATA_LEAF, DATA_PLUGGED_IN, LeafEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['nissan_leaf'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up of a Nissan Leaf binary sensor.""" diff --git a/homeassistant/components/nissan_leaf/device_tracker.py b/homeassistant/components/nissan_leaf/device_tracker.py index 95f6fcdcaf1..0e2dca25ca6 100644 --- a/homeassistant/components/nissan_leaf/device_tracker.py +++ b/homeassistant/components/nissan_leaf/device_tracker.py @@ -8,8 +8,6 @@ from . import DATA_LEAF, DATA_LOCATION, SIGNAL_UPDATE_LEAF _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['nissan_leaf'] - ICON_CAR = "mdi:car" diff --git a/homeassistant/components/nissan_leaf/sensor.py b/homeassistant/components/nissan_leaf/sensor.py index 682f482b488..064a96a64a1 100644 --- a/homeassistant/components/nissan_leaf/sensor.py +++ b/homeassistant/components/nissan_leaf/sensor.py @@ -12,8 +12,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['nissan_leaf'] - ICON_RANGE = 'mdi:speedometer' diff --git a/homeassistant/components/nissan_leaf/switch.py b/homeassistant/components/nissan_leaf/switch.py index e6d72103a6c..27f81b69dd7 100644 --- a/homeassistant/components/nissan_leaf/switch.py +++ b/homeassistant/components/nissan_leaf/switch.py @@ -7,8 +7,6 @@ from . import DATA_CLIMATE, DATA_LEAF, LeafEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['nissan_leaf'] - def setup_platform(hass, config, add_devices, discovery_info=None): """Nissan Leaf switch platform setup.""" diff --git a/homeassistant/components/nmap_tracker/device_tracker.py b/homeassistant/components/nmap_tracker/device_tracker.py index e553d323b72..3537f01b2b8 100644 --- a/homeassistant/components/nmap_tracker/device_tracker.py +++ b/homeassistant/components/nmap_tracker/device_tracker.py @@ -13,8 +13,6 @@ from homeassistant.components.device_tracker import ( DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOSTS -REQUIREMENTS = ['python-nmap==0.6.1'] - _LOGGER = logging.getLogger(__name__) CONF_EXCLUDE = 'exclude' diff --git a/homeassistant/components/nmbs/sensor.py b/homeassistant/components/nmbs/sensor.py index 034c37530b3..799225968e5 100644 --- a/homeassistant/components/nmbs/sensor.py +++ b/homeassistant/components/nmbs/sensor.py @@ -23,8 +23,6 @@ CONF_STATION_TO = 'station_to' CONF_STATION_LIVE = 'station_live' CONF_EXCLUDE_VIAS = 'exclude_vias' -REQUIREMENTS = ["pyrail==0.0.3"] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_STATION_FROM): cv.string, vol.Required(CONF_STATION_TO): cv.string, diff --git a/homeassistant/components/noaa_tides/sensor.py b/homeassistant/components/noaa_tides/sensor.py index 0c4bde94f57..0749f13031f 100644 --- a/homeassistant/components/noaa_tides/sensor.py +++ b/homeassistant/components/noaa_tides/sensor.py @@ -10,8 +10,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['py_noaa==0.3.0'] - _LOGGER = logging.getLogger(__name__) CONF_STATION_ID = 'station_id' diff --git a/homeassistant/components/norway_air/air_quality.py b/homeassistant/components/norway_air/air_quality.py index 06ed68801f8..f2d5d87be47 100644 --- a/homeassistant/components/norway_air/air_quality.py +++ b/homeassistant/components/norway_air/air_quality.py @@ -12,8 +12,6 @@ from homeassistant.const import (CONF_LATITUDE, CONF_LONGITUDE, from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['pyMetno==0.4.6'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Air quality from " \ diff --git a/homeassistant/components/nsw_fuel_station/sensor.py b/homeassistant/components/nsw_fuel_station/sensor.py index ce4337fc93a..9bb24973f45 100644 --- a/homeassistant/components/nsw_fuel_station/sensor.py +++ b/homeassistant/components/nsw_fuel_station/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import ATTR_ATTRIBUTION from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['nsw-fuel-api-client==1.0.10'] - _LOGGER = logging.getLogger(__name__) ATTR_STATION_ID = 'station_id' diff --git a/homeassistant/components/nsw_rural_fire_service_feed/geo_location.py b/homeassistant/components/nsw_rural_fire_service_feed/geo_location.py index 38491feb32f..7a6d681bfbb 100644 --- a/homeassistant/components/nsw_rural_fire_service_feed/geo_location.py +++ b/homeassistant/components/nsw_rural_fire_service_feed/geo_location.py @@ -16,8 +16,6 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_connect, dispatcher_send) from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['geojson_client==0.3'] - _LOGGER = logging.getLogger(__name__) ATTR_CATEGORY = 'category' diff --git a/homeassistant/components/nuheat/__init__.py b/homeassistant/components/nuheat/__init__.py index 4ea37339ef3..f8227391ffd 100644 --- a/homeassistant/components/nuheat/__init__.py +++ b/homeassistant/components/nuheat/__init__.py @@ -7,8 +7,6 @@ from homeassistant.const import CONF_USERNAME, CONF_PASSWORD, CONF_DEVICES from homeassistant.helpers import config_validation as cv from homeassistant.helpers import discovery -REQUIREMENTS = ["nuheat==0.3.0"] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'nuheat' diff --git a/homeassistant/components/nuheat/climate.py b/homeassistant/components/nuheat/climate.py index 32adc1d216f..6a391679b89 100644 --- a/homeassistant/components/nuheat/climate.py +++ b/homeassistant/components/nuheat/climate.py @@ -15,8 +15,6 @@ from homeassistant.util import Throttle from . import DOMAIN as NUHEAT_DOMAIN -DEPENDENCIES = ["nuheat"] - _LOGGER = logging.getLogger(__name__) ICON = "mdi:thermometer" diff --git a/homeassistant/components/nuimo_controller/__init__.py b/homeassistant/components/nuimo_controller/__init__.py index 70509469d2b..ca1de204a39 100644 --- a/homeassistant/components/nuimo_controller/__init__.py +++ b/homeassistant/components/nuimo_controller/__init__.py @@ -8,10 +8,6 @@ import voluptuous as vol import homeassistant.helpers.config_validation as cv from homeassistant.const import (CONF_MAC, CONF_NAME, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = [ - '--only-binary=all ' # avoid compilation of gattlib - 'nuimo==0.1.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'nuimo_controller' diff --git a/homeassistant/components/nuki/lock.py b/homeassistant/components/nuki/lock.py index ef49d4b97dd..0d045237858 100644 --- a/homeassistant/components/nuki/lock.py +++ b/homeassistant/components/nuki/lock.py @@ -10,8 +10,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.service import extract_entity_ids -REQUIREMENTS = ['pynuki==1.3.2'] - _LOGGER = logging.getLogger(__name__) DEFAULT_PORT = 8080 diff --git a/homeassistant/components/nut/sensor.py b/homeassistant/components/nut/sensor.py index 43ba06f70eb..1a4ce779878 100644 --- a/homeassistant/components/nut/sensor.py +++ b/homeassistant/components/nut/sensor.py @@ -14,8 +14,6 @@ from homeassistant.exceptions import PlatformNotReady from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pynut2==2.1.2'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'NUT UPS' diff --git a/homeassistant/components/nx584/alarm_control_panel.py b/homeassistant/components/nx584/alarm_control_panel.py index c5e1fede6fd..4c6c604c950 100644 --- a/homeassistant/components/nx584/alarm_control_panel.py +++ b/homeassistant/components/nx584/alarm_control_panel.py @@ -11,8 +11,6 @@ from homeassistant.const import ( STATE_ALARM_ARMED_HOME, STATE_ALARM_DISARMED, STATE_ALARM_TRIGGERED) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pynx584==0.4'] - _LOGGER = logging.getLogger(__name__) DEFAULT_HOST = 'localhost' diff --git a/homeassistant/components/nx584/binary_sensor.py b/homeassistant/components/nx584/binary_sensor.py index 61f8fb801ea..2162d742022 100644 --- a/homeassistant/components/nx584/binary_sensor.py +++ b/homeassistant/components/nx584/binary_sensor.py @@ -11,8 +11,6 @@ from homeassistant.components.binary_sensor import ( from homeassistant.const import (CONF_HOST, CONF_PORT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pynx584==0.4'] - _LOGGER = logging.getLogger(__name__) CONF_EXCLUDE_ZONES = 'exclude_zones' diff --git a/homeassistant/components/oasa_telematics/sensor.py b/homeassistant/components/oasa_telematics/sensor.py index 665f2f83f86..60c2f9a231b 100644 --- a/homeassistant/components/oasa_telematics/sensor.py +++ b/homeassistant/components/oasa_telematics/sensor.py @@ -12,7 +12,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity from homeassistant.util import dt as dt_util -REQUIREMENTS = ['oasatelematics==0.3'] _LOGGER = logging.getLogger(__name__) ATTR_STOP_ID = 'stop_id' diff --git a/homeassistant/components/octoprint/binary_sensor.py b/homeassistant/components/octoprint/binary_sensor.py index be3381f3bc8..d505c88071e 100644 --- a/homeassistant/components/octoprint/binary_sensor.py +++ b/homeassistant/components/octoprint/binary_sensor.py @@ -9,8 +9,6 @@ from . import BINARY_SENSOR_TYPES, DOMAIN as COMPONENT_DOMAIN _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['octoprint'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the available OctoPrint binary sensors.""" diff --git a/homeassistant/components/octoprint/sensor.py b/homeassistant/components/octoprint/sensor.py index f07d88d11da..979f56290c1 100644 --- a/homeassistant/components/octoprint/sensor.py +++ b/homeassistant/components/octoprint/sensor.py @@ -10,8 +10,6 @@ from . import DOMAIN as COMPONENT_DOMAIN, SENSOR_TYPES _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['octoprint'] - NOTIFICATION_ID = 'octoprint_notification' NOTIFICATION_TITLE = 'OctoPrint sensor setup error' diff --git a/homeassistant/components/oem/climate.py b/homeassistant/components/oem/climate.py index f1e03396b05..3ae9b4dad5c 100644 --- a/homeassistant/components/oem/climate.py +++ b/homeassistant/components/oem/climate.py @@ -21,8 +21,6 @@ from homeassistant.const import ( CONF_PORT, TEMP_CELSIUS, CONF_NAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['oemthermostat==1.1'] - _LOGGER = logging.getLogger(__name__) CONF_AWAY_TEMP = 'away_temp' diff --git a/homeassistant/components/ohmconnect/sensor.py b/homeassistant/components/ohmconnect/sensor.py index 1d870e4d15a..87dca2aa853 100644 --- a/homeassistant/components/ohmconnect/sensor.py +++ b/homeassistant/components/ohmconnect/sensor.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['defusedxml==0.5.0'] - _LOGGER = logging.getLogger(__name__) CONF_ID = 'id' diff --git a/homeassistant/components/onboarding/__init__.py b/homeassistant/components/onboarding/__init__.py index f8885962ee7..29371369c70 100644 --- a/homeassistant/components/onboarding/__init__.py +++ b/homeassistant/components/onboarding/__init__.py @@ -4,8 +4,6 @@ from homeassistant.loader import bind_hass from .const import DOMAIN, STEP_USER, STEPS -DEPENDENCIES = ['auth', 'http'] - STORAGE_KEY = DOMAIN STORAGE_VERSION = 1 diff --git a/homeassistant/components/onkyo/media_player.py b/homeassistant/components/onkyo/media_player.py index 64b9684c58c..0a8a459731e 100644 --- a/homeassistant/components/onkyo/media_player.py +++ b/homeassistant/components/onkyo/media_player.py @@ -16,8 +16,6 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, STATE_OFF, STATE_ON, ATTR_ENTITY_ID) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['onkyo-eiscp==1.2.4'] - _LOGGER = logging.getLogger(__name__) CONF_SOURCES = 'sources' diff --git a/homeassistant/components/onvif/camera.py b/homeassistant/components/onvif/camera.py index 90222b9cafc..6a773a854c9 100644 --- a/homeassistant/components/onvif/camera.py +++ b/homeassistant/components/onvif/camera.py @@ -20,10 +20,6 @@ from homeassistant.helpers.service import extract_entity_ids _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['onvif-py3==0.1.3', - 'suds-py3==1.3.3.0', - 'suds-passworddigest-homeassistant==0.1.2a0.dev0'] -DEPENDENCIES = ['ffmpeg'] DEFAULT_NAME = 'ONVIF Camera' DEFAULT_PORT = 5000 DEFAULT_USERNAME = 'admin' diff --git a/homeassistant/components/opencv/image_processing.py b/homeassistant/components/opencv/image_processing.py index 10173cdb725..4a28a37b705 100644 --- a/homeassistant/components/opencv/image_processing.py +++ b/homeassistant/components/opencv/image_processing.py @@ -11,8 +11,6 @@ from homeassistant.components.image_processing import ( from homeassistant.core import split_entity_id import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['numpy==1.16.2'] - _LOGGER = logging.getLogger(__name__) ATTR_MATCHES = 'matches' diff --git a/homeassistant/components/openevse/sensor.py b/homeassistant/components/openevse/sensor.py index e54b47236c5..efc4f8a0200 100644 --- a/homeassistant/components/openevse/sensor.py +++ b/homeassistant/components/openevse/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import ( CONF_MONITORED_VARIABLES) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['openevsewifi==0.4'] - _LOGGER = logging.getLogger(__name__) SENSOR_TYPES = { diff --git a/homeassistant/components/openhome/media_player.py b/homeassistant/components/openhome/media_player.py index 03926bce8c5..edb033b8f11 100644 --- a/homeassistant/components/openhome/media_player.py +++ b/homeassistant/components/openhome/media_player.py @@ -10,8 +10,6 @@ from homeassistant.components.media_player.const import ( from homeassistant.const import ( STATE_IDLE, STATE_OFF, STATE_PAUSED, STATE_PLAYING) -REQUIREMENTS = ['openhomedevice==0.4.2'] - SUPPORT_OPENHOME = SUPPORT_SELECT_SOURCE | \ SUPPORT_VOLUME_STEP | SUPPORT_VOLUME_MUTE | SUPPORT_VOLUME_SET | \ SUPPORT_TURN_OFF | SUPPORT_TURN_ON diff --git a/homeassistant/components/opensensemap/air_quality.py b/homeassistant/components/opensensemap/air_quality.py index 5407f65a1d8..3f859724fc3 100644 --- a/homeassistant/components/opensensemap/air_quality.py +++ b/homeassistant/components/opensensemap/air_quality.py @@ -11,8 +11,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['opensensemap-api==0.1.5'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = 'Data provided by openSenseMap' diff --git a/homeassistant/components/opentherm_gw/__init__.py b/homeassistant/components/opentherm_gw/__init__.py index 1476363c6bd..829344fb1f0 100644 --- a/homeassistant/components/opentherm_gw/__init__.py +++ b/homeassistant/components/opentherm_gw/__init__.py @@ -15,8 +15,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_send import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyotgw==0.4b3'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'opentherm_gw' diff --git a/homeassistant/components/opentherm_gw/binary_sensor.py b/homeassistant/components/opentherm_gw/binary_sensor.py index d0b60a25770..bf342cc9813 100644 --- a/homeassistant/components/opentherm_gw/binary_sensor.py +++ b/homeassistant/components/opentherm_gw/binary_sensor.py @@ -14,8 +14,6 @@ DEVICE_CLASS_COLD = 'cold' DEVICE_CLASS_HEAT = 'heat' DEVICE_CLASS_PROBLEM = 'problem' -DEPENDENCIES = ['opentherm_gw'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/opentherm_gw/climate.py b/homeassistant/components/opentherm_gw/climate.py index 60f1901d43e..2dbd7f3cf79 100644 --- a/homeassistant/components/opentherm_gw/climate.py +++ b/homeassistant/components/opentherm_gw/climate.py @@ -15,8 +15,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['opentherm_gw'] - SUPPORT_FLAGS = SUPPORT_TARGET_TEMPERATURE diff --git a/homeassistant/components/opentherm_gw/sensor.py b/homeassistant/components/opentherm_gw/sensor.py index 5c64b8ab719..60ccedfd451 100644 --- a/homeassistant/components/opentherm_gw/sensor.py +++ b/homeassistant/components/opentherm_gw/sensor.py @@ -16,8 +16,6 @@ UNIT_KW = 'kW' UNIT_L_MIN = 'L/min' UNIT_PERCENT = '%' -DEPENDENCIES = ['opentherm_gw'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/openuv/__init__.py b/homeassistant/components/openuv/__init__.py index 5533beb2fae..8e8401bbeac 100644 --- a/homeassistant/components/openuv/__init__.py +++ b/homeassistant/components/openuv/__init__.py @@ -15,8 +15,6 @@ from homeassistant.helpers.entity import Entity from .config_flow import configured_instances from .const import DOMAIN -REQUIREMENTS = ['pyopenuv==1.0.9'] - _LOGGER = logging.getLogger(__name__) DATA_OPENUV_CLIENT = 'data_client' diff --git a/homeassistant/components/openuv/binary_sensor.py b/homeassistant/components/openuv/binary_sensor.py index cfc82a75729..d02312f07f8 100644 --- a/homeassistant/components/openuv/binary_sensor.py +++ b/homeassistant/components/openuv/binary_sensor.py @@ -16,8 +16,6 @@ ATTR_PROTECTION_WINDOW_ENDING_UV = 'end_uv' ATTR_PROTECTION_WINDOW_STARTING_TIME = 'start_time' ATTR_PROTECTION_WINDOW_STARTING_UV = 'start_uv' -DEPENDENCIES = ['openuv'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/openuv/sensor.py b/homeassistant/components/openuv/sensor.py index 42780d57b3c..2fa2e44c98e 100644 --- a/homeassistant/components/openuv/sensor.py +++ b/homeassistant/components/openuv/sensor.py @@ -14,8 +14,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['openuv'] - ATTR_MAX_UV_TIME = 'time' EXPOSURE_TYPE_MAP = { diff --git a/homeassistant/components/openweathermap/sensor.py b/homeassistant/components/openweathermap/sensor.py index 5de67721e30..97ab9984d52 100644 --- a/homeassistant/components/openweathermap/sensor.py +++ b/homeassistant/components/openweathermap/sensor.py @@ -12,8 +12,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pyowm==2.10.0'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by OpenWeatherMap" diff --git a/homeassistant/components/openweathermap/weather.py b/homeassistant/components/openweathermap/weather.py index 8a37bc97575..75755a53124 100644 --- a/homeassistant/components/openweathermap/weather.py +++ b/homeassistant/components/openweathermap/weather.py @@ -14,8 +14,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle from homeassistant.util.pressure import convert as convert_pressure -REQUIREMENTS = ['pyowm==2.10.0'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = 'Data provided by OpenWeatherMap' diff --git a/homeassistant/components/opple/light.py b/homeassistant/components/opple/light.py index 03e36dc179d..c3d66c52663 100644 --- a/homeassistant/components/opple/light.py +++ b/homeassistant/components/opple/light.py @@ -14,8 +14,6 @@ from homeassistant.util.color import \ from homeassistant.util.color import \ color_temperature_mired_to_kelvin as mired_to_kelvin -REQUIREMENTS = ['pyoppleio==1.0.5'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = "opple light" diff --git a/homeassistant/components/orvibo/switch.py b/homeassistant/components/orvibo/switch.py index c77e24446ec..20b86dbf679 100644 --- a/homeassistant/components/orvibo/switch.py +++ b/homeassistant/components/orvibo/switch.py @@ -8,8 +8,6 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_SWITCHES, CONF_MAC, CONF_DISCOVERY) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['orvibo==1.1.1'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Orvibo S20 Switch' diff --git a/homeassistant/components/osramlightify/light.py b/homeassistant/components/osramlightify/light.py index b880273fd1e..dafab76a2dc 100644 --- a/homeassistant/components/osramlightify/light.py +++ b/homeassistant/components/osramlightify/light.py @@ -15,8 +15,6 @@ from homeassistant.const import CONF_HOST import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['lightify==1.0.7.2'] - _LOGGER = logging.getLogger(__name__) CONF_ALLOW_LIGHTIFY_NODES = 'allow_lightify_nodes' diff --git a/homeassistant/components/otp/sensor.py b/homeassistant/components/otp/sensor.py index 2ac4c519984..0f79955db15 100644 --- a/homeassistant/components/otp/sensor.py +++ b/homeassistant/components/otp/sensor.py @@ -10,8 +10,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import (CONF_NAME, CONF_TOKEN) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyotp==2.2.6'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'OTP Sensor' diff --git a/homeassistant/components/owlet/__init__.py b/homeassistant/components/owlet/__init__.py index b7ad7ab9152..f19df6a3e38 100644 --- a/homeassistant/components/owlet/__init__.py +++ b/homeassistant/components/owlet/__init__.py @@ -11,8 +11,6 @@ from .const import ( SENSOR_BASE_STATION, SENSOR_HEART_RATE, SENSOR_MOVEMENT, SENSOR_OXYGEN_LEVEL) -REQUIREMENTS = ['pyowlet==1.0.2'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'owlet' diff --git a/homeassistant/components/owntracks/__init__.py b/homeassistant/components/owntracks/__init__.py index df6b815e4c5..e746cbc01fa 100644 --- a/homeassistant/components/owntracks/__init__.py +++ b/homeassistant/components/owntracks/__init__.py @@ -16,13 +16,9 @@ from homeassistant.setup import async_when_setup from .config_flow import CONF_SECRET -REQUIREMENTS = ['PyNaCl==1.3.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'owntracks' -DEPENDENCIES = ['webhook'] - CONF_MAX_GPS_ACCURACY = 'max_gps_accuracy' CONF_WAYPOINT_IMPORT = 'waypoints' CONF_WAYPOINT_WHITELIST = 'waypoint_whitelist' diff --git a/homeassistant/components/owntracks/device_tracker.py b/homeassistant/components/owntracks/device_tracker.py index 69ea723d84c..999e883be19 100644 --- a/homeassistant/components/owntracks/device_tracker.py +++ b/homeassistant/components/owntracks/device_tracker.py @@ -10,8 +10,6 @@ from homeassistant.util import decorator, slugify from . import DOMAIN as OT_DOMAIN -DEPENDENCIES = ['owntracks'] - _LOGGER = logging.getLogger(__name__) HANDLERS = decorator.Registry() diff --git a/homeassistant/components/panasonic_bluray/media_player.py b/homeassistant/components/panasonic_bluray/media_player.py index ebf71135d34..9da5cf87e53 100644 --- a/homeassistant/components/panasonic_bluray/media_player.py +++ b/homeassistant/components/panasonic_bluray/media_player.py @@ -14,8 +14,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.util.dt import utcnow -REQUIREMENTS = ['panacotta==0.1'] - DEFAULT_NAME = "Panasonic Blu-Ray" SCAN_INTERVAL = timedelta(seconds=30) diff --git a/homeassistant/components/panasonic_viera/media_player.py b/homeassistant/components/panasonic_viera/media_player.py index 324becd0bf7..4669d4ecac6 100644 --- a/homeassistant/components/panasonic_viera/media_player.py +++ b/homeassistant/components/panasonic_viera/media_player.py @@ -14,8 +14,6 @@ from homeassistant.const import ( CONF_HOST, CONF_MAC, CONF_NAME, CONF_PORT, STATE_OFF, STATE_ON) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['panasonic_viera==0.3.2', 'wakeonlan==1.1.6'] - _LOGGER = logging.getLogger(__name__) CONF_APP_POWER = 'app_power' diff --git a/homeassistant/components/pandora/media_player.py b/homeassistant/components/pandora/media_player.py index 32cde430d0e..14eb260914a 100644 --- a/homeassistant/components/pandora/media_player.py +++ b/homeassistant/components/pandora/media_player.py @@ -16,7 +16,6 @@ from homeassistant.const import ( SERVICE_MEDIA_PLAY_PAUSE, SERVICE_VOLUME_DOWN, SERVICE_VOLUME_UP, STATE_IDLE, STATE_OFF, STATE_PAUSED, STATE_PLAYING) -REQUIREMENTS = ['pexpect==4.6.0'] _LOGGER = logging.getLogger(__name__) # SUPPORT_VOLUME_SET is close to available but we need volume up/down diff --git a/homeassistant/components/panel_custom/__init__.py b/homeassistant/components/panel_custom/__init__.py index 7fe2191f4c4..9367f102441 100644 --- a/homeassistant/components/panel_custom/__init__.py +++ b/homeassistant/components/panel_custom/__init__.py @@ -10,8 +10,6 @@ from homeassistant.loader import bind_hass _LOGGER = logging.getLogger(__name__) DOMAIN = 'panel_custom' -DEPENDENCIES = ['frontend'] - CONF_COMPONENT_NAME = 'name' CONF_SIDEBAR_TITLE = 'sidebar_title' CONF_SIDEBAR_ICON = 'sidebar_icon' diff --git a/homeassistant/components/panel_iframe/__init__.py b/homeassistant/components/panel_iframe/__init__.py index 9319dfcc6ad..f4038c82f71 100644 --- a/homeassistant/components/panel_iframe/__init__.py +++ b/homeassistant/components/panel_iframe/__init__.py @@ -4,8 +4,6 @@ import voluptuous as vol from homeassistant.const import CONF_ICON, CONF_URL import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['frontend'] - DOMAIN = 'panel_iframe' CONF_TITLE = 'title' diff --git a/homeassistant/components/pencom/switch.py b/homeassistant/components/pencom/switch.py index d2c73d70d96..3fc65e73770 100644 --- a/homeassistant/components/pencom/switch.py +++ b/homeassistant/components/pencom/switch.py @@ -12,8 +12,6 @@ from homeassistant.const import CONF_HOST, CONF_PORT, CONF_NAME from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pencompy==0.0.3'] - _LOGGER = logging.getLogger(__name__) CONF_BOARDS = 'boards' diff --git a/homeassistant/components/philips_js/media_player.py b/homeassistant/components/philips_js/media_player.py index f5eddff8d13..859ad26a3dd 100644 --- a/homeassistant/components/philips_js/media_player.py +++ b/homeassistant/components/philips_js/media_player.py @@ -15,8 +15,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.script import Script -REQUIREMENTS = ['ha-philipsjs==0.0.5'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=30) diff --git a/homeassistant/components/pi_hole/sensor.py b/homeassistant/components/pi_hole/sensor.py index 805e17ebdff..061fb5c091f 100644 --- a/homeassistant/components/pi_hole/sensor.py +++ b/homeassistant/components/pi_hole/sensor.py @@ -13,8 +13,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['hole==0.3.0'] - _LOGGER = logging.getLogger(__name__) ATTR_BLOCKED_DOMAINS = 'domains_blocked' diff --git a/homeassistant/components/piglow/light.py b/homeassistant/components/piglow/light.py index dc3906b2002..52e5c769560 100644 --- a/homeassistant/components/piglow/light.py +++ b/homeassistant/components/piglow/light.py @@ -11,8 +11,6 @@ from homeassistant.components.light import ( from homeassistant.const import CONF_NAME import homeassistant.util.color as color_util -REQUIREMENTS = ['piglow==1.2.4'] - _LOGGER = logging.getLogger(__name__) SUPPORT_PIGLOW = (SUPPORT_BRIGHTNESS | SUPPORT_COLOR) diff --git a/homeassistant/components/pilight/__init__.py b/homeassistant/components/pilight/__init__.py index 46be3b37204..b6f1a63d4d5 100644 --- a/homeassistant/components/pilight/__init__.py +++ b/homeassistant/components/pilight/__init__.py @@ -14,8 +14,6 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP, CONF_HOST, CONF_PORT, CONF_WHITELIST, CONF_PROTOCOL) -REQUIREMENTS = ['pilight==0.1.1'] - _LOGGER = logging.getLogger(__name__) CONF_SEND_DELAY = 'send_delay' diff --git a/homeassistant/components/pilight/binary_sensor.py b/homeassistant/components/pilight/binary_sensor.py index 131a91b5fc3..b9e95f76c49 100644 --- a/homeassistant/components/pilight/binary_sensor.py +++ b/homeassistant/components/pilight/binary_sensor.py @@ -26,8 +26,6 @@ CONF_VARIABLE = 'variable' CONF_RESET_DELAY_SEC = 'reset_delay_sec' DEFAULT_NAME = 'Pilight Binary Sensor' -DEPENDENCIES = ['pilight'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_VARIABLE): cv.string, vol.Required(CONF_PAYLOAD): vol.Schema(dict), diff --git a/homeassistant/components/pilight/sensor.py b/homeassistant/components/pilight/sensor.py index c36151c90dc..a6be0f67f7c 100644 --- a/homeassistant/components/pilight/sensor.py +++ b/homeassistant/components/pilight/sensor.py @@ -15,8 +15,6 @@ _LOGGER = logging.getLogger(__name__) CONF_VARIABLE = 'variable' DEFAULT_NAME = 'Pilight Sensor' -DEPENDENCIES = ['pilight'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_VARIABLE): cv.string, vol.Required(CONF_PAYLOAD): vol.Schema(dict), diff --git a/homeassistant/components/pilight/switch.py b/homeassistant/components/pilight/switch.py index d645d8e3013..2f28e7f4d8a 100644 --- a/homeassistant/components/pilight/switch.py +++ b/homeassistant/components/pilight/switch.py @@ -21,8 +21,6 @@ CONF_UNIT = 'unit' CONF_UNITCODE = 'unitcode' CONF_ECHO = 'echo' -DEPENDENCIES = ['pilight'] - COMMAND_SCHEMA = vol.Schema({ vol.Optional(CONF_PROTOCOL): cv.string, vol.Optional('on'): cv.positive_int, diff --git a/homeassistant/components/pjlink/media_player.py b/homeassistant/components/pjlink/media_player.py index ad7bdc9e77c..00a4d49bd5c 100644 --- a/homeassistant/components/pjlink/media_player.py +++ b/homeassistant/components/pjlink/media_player.py @@ -12,8 +12,6 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_PASSWORD, CONF_PORT, STATE_OFF, STATE_ON) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pypjlink2==1.2.0'] - _LOGGER = logging.getLogger(__name__) CONF_ENCODING = 'encoding' diff --git a/homeassistant/components/plant/__init__.py b/homeassistant/components/plant/__init__.py index 27324ad57a3..78f979892b1 100644 --- a/homeassistant/components/plant/__init__.py +++ b/homeassistant/components/plant/__init__.py @@ -89,8 +89,6 @@ PLANT_SCHEMA = vol.Schema({ }) DOMAIN = 'plant' -DEPENDENCIES = ['zone', 'group'] - GROUP_NAME_ALL_PLANTS = 'all plants' ENTITY_ID_ALL_PLANTS = group.ENTITY_ID_FORMAT.format('all_plants') diff --git a/homeassistant/components/plex/media_player.py b/homeassistant/components/plex/media_player.py index f2af6836e3b..9ff00ed1c23 100644 --- a/homeassistant/components/plex/media_player.py +++ b/homeassistant/components/plex/media_player.py @@ -20,8 +20,6 @@ from homeassistant.helpers.event import track_utc_time_change from homeassistant.util import dt as dt_util from homeassistant.util.json import load_json, save_json -REQUIREMENTS = ['plexapi==3.0.6'] - _CONFIGURING = {} _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/plex/sensor.py b/homeassistant/components/plex/sensor.py index a3df6fdb41e..4f46113347d 100644 --- a/homeassistant/components/plex/sensor.py +++ b/homeassistant/components/plex/sensor.py @@ -11,8 +11,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['plexapi==3.0.6'] - _LOGGER = logging.getLogger(__name__) CONF_SERVER = 'server' diff --git a/homeassistant/components/plum_lightpad/__init__.py b/homeassistant/components/plum_lightpad/__init__.py index 5b99223d25a..b08727e7acc 100644 --- a/homeassistant/components/plum_lightpad/__init__.py +++ b/homeassistant/components/plum_lightpad/__init__.py @@ -10,8 +10,6 @@ from homeassistant.helpers import discovery from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['plumlightpad==0.0.11'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'plum_lightpad' diff --git a/homeassistant/components/plum_lightpad/light.py b/homeassistant/components/plum_lightpad/light.py index 233539560f4..8923d3c5acc 100644 --- a/homeassistant/components/plum_lightpad/light.py +++ b/homeassistant/components/plum_lightpad/light.py @@ -5,8 +5,6 @@ import homeassistant.util.color as color_util from . import PLUM_DATA -DEPENDENCIES = ['plum_lightpad'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/pocketcasts/sensor.py b/homeassistant/components/pocketcasts/sensor.py index f09e9012004..69d863cb9e9 100644 --- a/homeassistant/components/pocketcasts/sensor.py +++ b/homeassistant/components/pocketcasts/sensor.py @@ -10,8 +10,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import (CONF_USERNAME, CONF_PASSWORD) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pocketcasts==0.1'] - _LOGGER = logging.getLogger(__name__) ICON = 'mdi:rss' diff --git a/homeassistant/components/point/__init__.py b/homeassistant/components/point/__init__.py index dc839756469..c0b2f7acd0f 100644 --- a/homeassistant/components/point/__init__.py +++ b/homeassistant/components/point/__init__.py @@ -20,12 +20,8 @@ from .const import ( CONF_WEBHOOK_URL, DOMAIN, EVENT_RECEIVED, POINT_DISCOVERY_NEW, SCAN_INTERVAL, SIGNAL_UPDATE_ENTITY, SIGNAL_WEBHOOK) -REQUIREMENTS = ['pypoint==1.1.1'] - _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['webhook'] - CONF_CLIENT_ID = 'client_id' CONF_CLIENT_SECRET = 'client_secret' diff --git a/homeassistant/components/pollen/sensor.py b/homeassistant/components/pollen/sensor.py index 3fc4d1fce3d..132155c7f65 100644 --- a/homeassistant/components/pollen/sensor.py +++ b/homeassistant/components/pollen/sensor.py @@ -13,8 +13,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['numpy==1.16.2', 'pypollencom==2.2.3'] - _LOGGER = logging.getLogger(__name__) ATTR_ALLERGEN_AMOUNT = 'allergen_amount' diff --git a/homeassistant/components/postnl/sensor.py b/homeassistant/components/postnl/sensor.py index f9c8019cd31..d2380748c79 100644 --- a/homeassistant/components/postnl/sensor.py +++ b/homeassistant/components/postnl/sensor.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['postnl_api==1.0.2'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = 'Information provided by PostNL' diff --git a/homeassistant/components/prezzibenzina/sensor.py b/homeassistant/components/prezzibenzina/sensor.py index 525de7dad2f..9814e9463df 100644 --- a/homeassistant/components/prezzibenzina/sensor.py +++ b/homeassistant/components/prezzibenzina/sensor.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.config_validation import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['prezzibenzina-py==1.1.4'] - _LOGGER = logging.getLogger(__name__) ATTR_FUEL = 'fuel' diff --git a/homeassistant/components/proliphix/climate.py b/homeassistant/components/proliphix/climate.py index c165334201d..a6b4b3fd0f1 100644 --- a/homeassistant/components/proliphix/climate.py +++ b/homeassistant/components/proliphix/climate.py @@ -9,8 +9,6 @@ from homeassistant.const import ( ATTR_TEMPERATURE) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['proliphix==0.4.1'] - ATTR_FAN = 'fan' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/prometheus/__init__.py b/homeassistant/components/prometheus/__init__.py index de0de8ae162..5119a5e0fdf 100644 --- a/homeassistant/components/prometheus/__init__.py +++ b/homeassistant/components/prometheus/__init__.py @@ -14,15 +14,11 @@ from homeassistant.helpers import entityfilter, state as state_helper import homeassistant.helpers.config_validation as cv from homeassistant.util.temperature import fahrenheit_to_celsius -REQUIREMENTS = ['prometheus_client==0.2.0'] - _LOGGER = logging.getLogger(__name__) API_ENDPOINT = '/api/prometheus' DOMAIN = 'prometheus' -DEPENDENCIES = ['http'] - CONF_FILTER = 'filter' CONF_PROM_NAMESPACE = 'namespace' diff --git a/homeassistant/components/proximity/__init__.py b/homeassistant/components/proximity/__init__.py index 0a617bcec90..c696c36f94c 100644 --- a/homeassistant/components/proximity/__init__.py +++ b/homeassistant/components/proximity/__init__.py @@ -25,7 +25,6 @@ DEFAULT_DIST_TO_ZONE = 'not set' DEFAULT_NEAREST = 'not set' DEFAULT_PROXIMITY_ZONE = 'home' DEFAULT_TOLERANCE = 1 -DEPENDENCIES = ['zone', 'device_tracker'] DOMAIN = 'proximity' UNITS = ['km', 'm', 'mi', 'ft'] diff --git a/homeassistant/components/proxy/camera.py b/homeassistant/components/proxy/camera.py index fda2cdea60e..7c535e65bc8 100644 --- a/homeassistant/components/proxy/camera.py +++ b/homeassistant/components/proxy/camera.py @@ -12,8 +12,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.util.async_ import run_coroutine_threadsafe import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pillow==5.4.1'] - _LOGGER = logging.getLogger(__name__) CONF_CACHE_IMAGES = 'cache_images' diff --git a/homeassistant/components/ps4/__init__.py b/homeassistant/components/ps4/__init__.py index 191eb223707..22c21fcffbe 100644 --- a/homeassistant/components/ps4/__init__.py +++ b/homeassistant/components/ps4/__init__.py @@ -9,8 +9,6 @@ from .const import DOMAIN # noqa: pylint: disable=unused-import _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pyps4-homeassistant==0.5.2'] - async def async_setup(hass, config): """Set up the PS4 Component.""" diff --git a/homeassistant/components/ps4/media_player.py b/homeassistant/components/ps4/media_player.py index 4dc4fa0a317..3382cd6fe43 100644 --- a/homeassistant/components/ps4/media_player.py +++ b/homeassistant/components/ps4/media_player.py @@ -17,8 +17,6 @@ from homeassistant.util.json import load_json, save_json from .const import DOMAIN as PS4_DOMAIN, REGIONS as deprecated_regions -DEPENDENCIES = ['ps4'] - _LOGGER = logging.getLogger(__name__) SUPPORT_PS4 = SUPPORT_TURN_OFF | SUPPORT_TURN_ON | \ diff --git a/homeassistant/components/push/camera.py b/homeassistant/components/push/camera.py index c0424f15898..c962aee91ca 100644 --- a/homeassistant/components/push/camera.py +++ b/homeassistant/components/push/camera.py @@ -17,8 +17,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers.event import async_track_point_in_utc_time import homeassistant.util.dt as dt_util -DEPENDENCIES = ['webhook'] - _LOGGER = logging.getLogger(__name__) CONF_BUFFER_SIZE = 'buffer' diff --git a/homeassistant/components/pushbullet/notify.py b/homeassistant/components/pushbullet/notify.py index 3fc90161ae0..d1d9a6449ef 100644 --- a/homeassistant/components/pushbullet/notify.py +++ b/homeassistant/components/pushbullet/notify.py @@ -11,8 +11,6 @@ from homeassistant.components.notify import ( ATTR_DATA, ATTR_TARGET, ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['pushbullet.py==0.11.0'] - _LOGGER = logging.getLogger(__name__) ATTR_URL = 'url' diff --git a/homeassistant/components/pushbullet/sensor.py b/homeassistant/components/pushbullet/sensor.py index c90f952e7de..50fa407620a 100644 --- a/homeassistant/components/pushbullet/sensor.py +++ b/homeassistant/components/pushbullet/sensor.py @@ -8,8 +8,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pushbullet.py==0.11.0'] - _LOGGER = logging.getLogger(__name__) SENSOR_TYPES = { diff --git a/homeassistant/components/pushetta/notify.py b/homeassistant/components/pushetta/notify.py index 028b0cfd492..5c776523d12 100644 --- a/homeassistant/components/pushetta/notify.py +++ b/homeassistant/components/pushetta/notify.py @@ -10,8 +10,6 @@ from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pushetta==1.0.15'] - CONF_CHANNEL_NAME = 'channel_name' CONF_SEND_TEST_MSG = 'send_test_msg' diff --git a/homeassistant/components/pushover/notify.py b/homeassistant/components/pushover/notify.py index 39a1ce5d2f7..d9be3428d59 100644 --- a/homeassistant/components/pushover/notify.py +++ b/homeassistant/components/pushover/notify.py @@ -10,7 +10,6 @@ from homeassistant.components.notify import ( ATTR_DATA, ATTR_TARGET, ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['python-pushover==0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/python_script/__init__.py b/homeassistant/components/python_script/__init__.py index 56a82b39120..a6c7a87ae38 100644 --- a/homeassistant/components/python_script/__init__.py +++ b/homeassistant/components/python_script/__init__.py @@ -13,8 +13,6 @@ from homeassistant.loader import bind_hass from homeassistant.util import sanitize_filename import homeassistant.util.dt as dt_util -REQUIREMENTS = ['restrictedpython==4.0b8'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'python_script' diff --git a/homeassistant/components/qbittorrent/sensor.py b/homeassistant/components/qbittorrent/sensor.py index 7e91c0ab276..eb2529f0221 100644 --- a/homeassistant/components/qbittorrent/sensor.py +++ b/homeassistant/components/qbittorrent/sensor.py @@ -12,8 +12,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['python-qbittorrent==0.3.1'] - _LOGGER = logging.getLogger(__name__) SENSOR_TYPE_CURRENT_STATUS = 'current_status' diff --git a/homeassistant/components/qnap/sensor.py b/homeassistant/components/qnap/sensor.py index e12f20c25b1..34eb850e4b1 100644 --- a/homeassistant/components/qnap/sensor.py +++ b/homeassistant/components/qnap/sensor.py @@ -13,8 +13,6 @@ from homeassistant.util import Throttle from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['qnapstats==0.2.7'] - _LOGGER = logging.getLogger(__name__) ATTR_DRIVE = 'Drive' diff --git a/homeassistant/components/qrcode/image_processing.py b/homeassistant/components/qrcode/image_processing.py index 46fa78cca7f..e5836135512 100644 --- a/homeassistant/components/qrcode/image_processing.py +++ b/homeassistant/components/qrcode/image_processing.py @@ -3,8 +3,6 @@ from homeassistant.core import split_entity_id from homeassistant.components.image_processing import ( ImageProcessingEntity, CONF_SOURCE, CONF_ENTITY_ID, CONF_NAME) -REQUIREMENTS = ['pyzbar==0.1.7', 'pillow==5.4.1'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the demo image processing platform.""" diff --git a/homeassistant/components/quantum_gateway/device_tracker.py b/homeassistant/components/quantum_gateway/device_tracker.py index 3472a4dbb97..e91fe99b7cd 100644 --- a/homeassistant/components/quantum_gateway/device_tracker.py +++ b/homeassistant/components/quantum_gateway/device_tracker.py @@ -9,8 +9,6 @@ from homeassistant.components.device_tracker import (DOMAIN, PLATFORM_SCHEMA, from homeassistant.const import (CONF_HOST, CONF_PASSWORD, CONF_SSL) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['quantum-gateway==0.0.5'] - _LOGGER = logging.getLogger(__name__) DEFAULT_HOST = 'myfiosgateway.com' diff --git a/homeassistant/components/qwikswitch/__init__.py b/homeassistant/components/qwikswitch/__init__.py index a6468595622..3940f055ff8 100644 --- a/homeassistant/components/qwikswitch/__init__.py +++ b/homeassistant/components/qwikswitch/__init__.py @@ -14,8 +14,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyqwikswitch==0.93'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'qwikswitch' diff --git a/homeassistant/components/qwikswitch/binary_sensor.py b/homeassistant/components/qwikswitch/binary_sensor.py index a92c4d0b435..8042035b9c1 100644 --- a/homeassistant/components/qwikswitch/binary_sensor.py +++ b/homeassistant/components/qwikswitch/binary_sensor.py @@ -6,8 +6,6 @@ from homeassistant.core import callback from . import DOMAIN as QWIKSWITCH, QSEntity -DEPENDENCIES = [QWIKSWITCH] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/qwikswitch/light.py b/homeassistant/components/qwikswitch/light.py index cb4df24f978..1adcef56ffa 100644 --- a/homeassistant/components/qwikswitch/light.py +++ b/homeassistant/components/qwikswitch/light.py @@ -3,8 +3,6 @@ from homeassistant.components.light import SUPPORT_BRIGHTNESS, Light from . import DOMAIN as QWIKSWITCH, QSToggleEntity -DEPENDENCIES = [QWIKSWITCH] - async def async_setup_platform(hass, _, add_entities, discovery_info=None): """Add lights from the main Qwikswitch component.""" diff --git a/homeassistant/components/qwikswitch/sensor.py b/homeassistant/components/qwikswitch/sensor.py index 8befce4f7e2..047ec3475a5 100644 --- a/homeassistant/components/qwikswitch/sensor.py +++ b/homeassistant/components/qwikswitch/sensor.py @@ -5,8 +5,6 @@ from homeassistant.core import callback from . import DOMAIN as QWIKSWITCH, QSEntity -DEPENDENCIES = [QWIKSWITCH] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/qwikswitch/switch.py b/homeassistant/components/qwikswitch/switch.py index 4ee5396ae0c..2d970a59a2a 100644 --- a/homeassistant/components/qwikswitch/switch.py +++ b/homeassistant/components/qwikswitch/switch.py @@ -3,8 +3,6 @@ from homeassistant.components.switch import SwitchDevice from . import DOMAIN as QWIKSWITCH, QSToggleEntity -DEPENDENCIES = [QWIKSWITCH] - async def async_setup_platform(hass, _, add_entities, discovery_info=None): """Add switches from the main Qwikswitch component.""" diff --git a/homeassistant/components/rachio/__init__.py b/homeassistant/components/rachio/__init__.py index 64a7a5af4d7..1452fc6a506 100644 --- a/homeassistant/components/rachio/__init__.py +++ b/homeassistant/components/rachio/__init__.py @@ -11,8 +11,6 @@ from homeassistant.const import CONF_API_KEY, EVENT_HOMEASSISTANT_STOP, URL_API from homeassistant.helpers import discovery, config_validation as cv from homeassistant.helpers.dispatcher import async_dispatcher_send -REQUIREMENTS = ['rachiopy==0.1.3'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'rachio' diff --git a/homeassistant/components/rachio/binary_sensor.py b/homeassistant/components/rachio/binary_sensor.py index ffcaeccacff..ade930b00bc 100644 --- a/homeassistant/components/rachio/binary_sensor.py +++ b/homeassistant/components/rachio/binary_sensor.py @@ -10,8 +10,6 @@ from . import ( SIGNAL_RACHIO_CONTROLLER_UPDATE, STATUS_OFFLINE, STATUS_ONLINE, SUBTYPE_OFFLINE, SUBTYPE_ONLINE) -DEPENDENCIES = ['rachio'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rachio/switch.py b/homeassistant/components/rachio/switch.py index 483e07e96f4..1b650d7281a 100644 --- a/homeassistant/components/rachio/switch.py +++ b/homeassistant/components/rachio/switch.py @@ -13,8 +13,6 @@ from . import ( SIGNAL_RACHIO_ZONE_UPDATE, SUBTYPE_SLEEP_MODE_OFF, SUBTYPE_SLEEP_MODE_ON, SUBTYPE_ZONE_COMPLETED, SUBTYPE_ZONE_STARTED, SUBTYPE_ZONE_STOPPED) -DEPENDENCIES = ['rachio'] - _LOGGER = logging.getLogger(__name__) ATTR_ZONE_SUMMARY = 'Summary' diff --git a/homeassistant/components/radiotherm/climate.py b/homeassistant/components/radiotherm/climate.py index 66dfc4cc385..57cbfc031d7 100644 --- a/homeassistant/components/radiotherm/climate.py +++ b/homeassistant/components/radiotherm/climate.py @@ -14,8 +14,6 @@ from homeassistant.const import ( STATE_OFF) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['radiotherm==2.0.0'] - _LOGGER = logging.getLogger(__name__) ATTR_FAN = 'fan' diff --git a/homeassistant/components/rainbird/__init__.py b/homeassistant/components/rainbird/__init__.py index de0f42fda4a..410fdcd9273 100644 --- a/homeassistant/components/rainbird/__init__.py +++ b/homeassistant/components/rainbird/__init__.py @@ -6,8 +6,6 @@ import voluptuous as vol import homeassistant.helpers.config_validation as cv from homeassistant.const import (CONF_HOST, CONF_PASSWORD) -REQUIREMENTS = ['pyrainbird==0.1.6'] - _LOGGER = logging.getLogger(__name__) DATA_RAINBIRD = 'rainbird' diff --git a/homeassistant/components/rainbird/sensor.py b/homeassistant/components/rainbird/sensor.py index 0cee202ecb2..5fdf116af9d 100644 --- a/homeassistant/components/rainbird/sensor.py +++ b/homeassistant/components/rainbird/sensor.py @@ -10,8 +10,6 @@ from homeassistant.helpers.entity import Entity from . import DATA_RAINBIRD -DEPENDENCIES = ['rainbird'] - _LOGGER = logging.getLogger(__name__) # sensor_type [ description, unit, icon ] diff --git a/homeassistant/components/rainbird/switch.py b/homeassistant/components/rainbird/switch.py index 32c7c49ab99..3ade3bdeadd 100644 --- a/homeassistant/components/rainbird/switch.py +++ b/homeassistant/components/rainbird/switch.py @@ -12,8 +12,6 @@ from homeassistant.helpers import config_validation as cv from . import DATA_RAINBIRD -DEPENDENCIES = ['rainbird'] - DOMAIN = 'rainbird' _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/raincloud/__init__.py b/homeassistant/components/raincloud/__init__.py index c94315f673d..e3b1a77cfa7 100644 --- a/homeassistant/components/raincloud/__init__.py +++ b/homeassistant/components/raincloud/__init__.py @@ -13,8 +13,6 @@ from homeassistant.helpers.dispatcher import ( from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['raincloudy==0.0.7'] - _LOGGER = logging.getLogger(__name__) ALLOWED_WATERING_TIME = [5, 10, 15, 30, 45, 60] diff --git a/homeassistant/components/raincloud/binary_sensor.py b/homeassistant/components/raincloud/binary_sensor.py index 6ebad7cc121..37c67989169 100644 --- a/homeassistant/components/raincloud/binary_sensor.py +++ b/homeassistant/components/raincloud/binary_sensor.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from . import BINARY_SENSORS, DATA_RAINCLOUD, ICON_MAP, RainCloudEntity -DEPENDENCIES = ['raincloud'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/raincloud/sensor.py b/homeassistant/components/raincloud/sensor.py index 6774d48ae99..cf0c11e22f6 100644 --- a/homeassistant/components/raincloud/sensor.py +++ b/homeassistant/components/raincloud/sensor.py @@ -10,8 +10,6 @@ from homeassistant.helpers.icon import icon_for_battery_level from . import DATA_RAINCLOUD, ICON_MAP, SENSORS, RainCloudEntity -DEPENDENCIES = ['raincloud'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/raincloud/switch.py b/homeassistant/components/raincloud/switch.py index 3901e1e0bd8..e320a956f11 100644 --- a/homeassistant/components/raincloud/switch.py +++ b/homeassistant/components/raincloud/switch.py @@ -11,8 +11,6 @@ from . import ( ALLOWED_WATERING_TIME, ATTRIBUTION, CONF_WATERING_TIME, DATA_RAINCLOUD, DEFAULT_WATERING_TIME, SWITCHES, RainCloudEntity) -DEPENDENCIES = ['raincloud'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/rainmachine/__init__.py b/homeassistant/components/rainmachine/__init__.py index 2ff5ddcd4aa..f5875558a53 100644 --- a/homeassistant/components/rainmachine/__init__.py +++ b/homeassistant/components/rainmachine/__init__.py @@ -22,8 +22,6 @@ from .config_flow import configured_instances from .const import ( DATA_CLIENT, DEFAULT_PORT, DEFAULT_SCAN_INTERVAL, DEFAULT_SSL, DOMAIN) -REQUIREMENTS = ['regenmaschine==1.4.0'] - _LOGGER = logging.getLogger(__name__) DATA_LISTENER = 'listener' diff --git a/homeassistant/components/rainmachine/binary_sensor.py b/homeassistant/components/rainmachine/binary_sensor.py index 4387e6b67be..fcccf11e17c 100644 --- a/homeassistant/components/rainmachine/binary_sensor.py +++ b/homeassistant/components/rainmachine/binary_sensor.py @@ -11,7 +11,6 @@ from . import ( TYPE_HOURLY, TYPE_MONTH, TYPE_RAINDELAY, TYPE_RAINSENSOR, TYPE_WEEKDAY, RainMachineEntity) -DEPENDENCIES = ['rainmachine'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainmachine/sensor.py b/homeassistant/components/rainmachine/sensor.py index 1d438b8035f..08dd67755bb 100644 --- a/homeassistant/components/rainmachine/sensor.py +++ b/homeassistant/components/rainmachine/sensor.py @@ -8,7 +8,6 @@ from . import ( DATA_CLIENT, DOMAIN as RAINMACHINE_DOMAIN, SENSOR_UPDATE_TOPIC, SENSORS, RainMachineEntity) -DEPENDENCIES = ['rainmachine'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainmachine/switch.py b/homeassistant/components/rainmachine/switch.py index adcbe559819..2023f1e8f5c 100644 --- a/homeassistant/components/rainmachine/switch.py +++ b/homeassistant/components/rainmachine/switch.py @@ -12,8 +12,6 @@ from . import ( DATA_CLIENT, DOMAIN as RAINMACHINE_DOMAIN, PROGRAM_UPDATE_TOPIC, ZONE_UPDATE_TOPIC, RainMachineEntity) -DEPENDENCIES = ['rainmachine'] - _LOGGER = logging.getLogger(__name__) ATTR_NEXT_RUN = 'next_run' diff --git a/homeassistant/components/raspihats/__init__.py b/homeassistant/components/raspihats/__init__.py index 622b98223aa..3b37d48c876 100644 --- a/homeassistant/components/raspihats/__init__.py +++ b/homeassistant/components/raspihats/__init__.py @@ -6,8 +6,6 @@ import time from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['raspihats==2.2.3', 'smbus-cffi==0.5.1'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'raspihats' diff --git a/homeassistant/components/raspihats/binary_sensor.py b/homeassistant/components/raspihats/binary_sensor.py index 29fa474f781..beaf66334c3 100644 --- a/homeassistant/components/raspihats/binary_sensor.py +++ b/homeassistant/components/raspihats/binary_sensor.py @@ -15,8 +15,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['raspihats'] - DEFAULT_INVERT_LOGIC = False DEFAULT_DEVICE_CLASS = None diff --git a/homeassistant/components/raspihats/switch.py b/homeassistant/components/raspihats/switch.py index 93538682ad8..082c8f72811 100644 --- a/homeassistant/components/raspihats/switch.py +++ b/homeassistant/components/raspihats/switch.py @@ -14,8 +14,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['raspihats'] - _CHANNELS_SCHEMA = vol.Schema([{ vol.Required(CONF_INDEX): cv.positive_int, vol.Required(CONF_NAME): cv.string, diff --git a/homeassistant/components/raspyrfm/switch.py b/homeassistant/components/raspyrfm/switch.py index a141721f3e5..9c44fc850c7 100644 --- a/homeassistant/components/raspyrfm/switch.py +++ b/homeassistant/components/raspyrfm/switch.py @@ -9,7 +9,6 @@ from homeassistant.const import ( DEVICE_DEFAULT_NAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['raspyrfm-client==1.2.8'] _LOGGER = logging.getLogger(__name__) CONF_GATEWAY_MANUFACTURER = 'gateway_manufacturer' diff --git a/homeassistant/components/recollect_waste/sensor.py b/homeassistant/components/recollect_waste/sensor.py index 1e3803ab866..7112d22c00b 100644 --- a/homeassistant/components/recollect_waste/sensor.py +++ b/homeassistant/components/recollect_waste/sensor.py @@ -8,8 +8,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import (CONF_NAME) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['recollect-waste==1.0.1'] - _LOGGER = logging.getLogger(__name__) ATTR_PICKUP_TYPES = 'pickup_types' ATTR_AREA_NAME = 'area_name' diff --git a/homeassistant/components/recorder/__init__.py b/homeassistant/components/recorder/__init__.py index 0df1fa42ad4..97654b21c6d 100644 --- a/homeassistant/components/recorder/__init__.py +++ b/homeassistant/components/recorder/__init__.py @@ -25,8 +25,6 @@ from . import migration, purge from .const import DATA_INSTANCE from .util import session_scope -REQUIREMENTS = ['sqlalchemy==1.3.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'recorder' diff --git a/homeassistant/components/recswitch/switch.py b/homeassistant/components/recswitch/switch.py index ed2da8022f8..c43064c5674 100644 --- a/homeassistant/components/recswitch/switch.py +++ b/homeassistant/components/recswitch/switch.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pyrecswitch==1.0.2'] - DEFAULT_NAME = 'RecSwitch {0}' DATA_RSN = 'RSN' diff --git a/homeassistant/components/reddit/sensor.py b/homeassistant/components/reddit/sensor.py index 3ba43196551..512fca71599 100644 --- a/homeassistant/components/reddit/sensor.py +++ b/homeassistant/components/reddit/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import (CONF_USERNAME, CONF_PASSWORD, CONF_MAXIMUM) import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['praw==6.1.1'] - _LOGGER = logging.getLogger(__name__) CONF_CLIENT_ID = 'client_id' diff --git a/homeassistant/components/rejseplanen/sensor.py b/homeassistant/components/rejseplanen/sensor.py index 7a8cddb6179..0c611e2c1e4 100755 --- a/homeassistant/components/rejseplanen/sensor.py +++ b/homeassistant/components/rejseplanen/sensor.py @@ -19,7 +19,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import CONF_NAME, ATTR_ATTRIBUTION from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['rjpl==0.3.5'] _LOGGER = logging.getLogger(__name__) ATTR_STOP_ID = 'Stop ID' diff --git a/homeassistant/components/remember_the_milk/__init__.py b/homeassistant/components/remember_the_milk/__init__.py index 82619e35a0e..93f28b527ba 100644 --- a/homeassistant/components/remember_the_milk/__init__.py +++ b/homeassistant/components/remember_the_milk/__init__.py @@ -13,8 +13,6 @@ from homeassistant.helpers.entity_component import EntityComponent # httplib2 is a transitive dependency from RtmAPI. If this dependency is not # set explicitly, the library does not work. -REQUIREMENTS = ['RtmAPI==0.7.0', 'httplib2==0.10.3'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'remember_the_milk' diff --git a/homeassistant/components/remote/__init__.py b/homeassistant/components/remote/__init__.py index de79adc9f0e..f08abf5fd4a 100644 --- a/homeassistant/components/remote/__init__.py +++ b/homeassistant/components/remote/__init__.py @@ -26,7 +26,6 @@ ATTR_DELAY_SECS = 'delay_secs' ATTR_HOLD_SECS = 'hold_secs' DOMAIN = 'remote' -DEPENDENCIES = ['group'] SCAN_INTERVAL = timedelta(seconds=30) ENTITY_ID_ALL_REMOTES = group.ENTITY_ID_FORMAT.format('all_remotes') diff --git a/homeassistant/components/rflink/__init__.py b/homeassistant/components/rflink/__init__.py index 98e80580fea..1dbfd208c64 100644 --- a/homeassistant/components/rflink/__init__.py +++ b/homeassistant/components/rflink/__init__.py @@ -18,8 +18,6 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_send, async_dispatcher_connect) from homeassistant.helpers.restore_state import RestoreEntity -REQUIREMENTS = ['rflink==0.0.37'] - _LOGGER = logging.getLogger(__name__) ATTR_EVENT = 'event' diff --git a/homeassistant/components/rflink/binary_sensor.py b/homeassistant/components/rflink/binary_sensor.py index 4e487eb6e81..ae9f282be0a 100644 --- a/homeassistant/components/rflink/binary_sensor.py +++ b/homeassistant/components/rflink/binary_sensor.py @@ -14,8 +14,6 @@ from . import CONF_ALIASES, CONF_DEVICES, RflinkDevice CONF_OFF_DELAY = 'off_delay' DEFAULT_FORCE_UPDATE = False -DEPENDENCIES = ['rflink'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/rflink/cover.py b/homeassistant/components/rflink/cover.py index 409d27862f9..d78fe8312e7 100644 --- a/homeassistant/components/rflink/cover.py +++ b/homeassistant/components/rflink/cover.py @@ -13,8 +13,6 @@ from . import ( CONF_GROUP, CONF_GROUP_ALIASES, CONF_NOGROUP_ALIASES, CONF_SIGNAL_REPETITIONS, DEVICE_DEFAULTS_SCHEMA, RflinkCommand) -DEPENDENCIES = ['rflink'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rflink/light.py b/homeassistant/components/rflink/light.py index 112ed4b4f51..d3ef73a09bb 100644 --- a/homeassistant/components/rflink/light.py +++ b/homeassistant/components/rflink/light.py @@ -15,8 +15,6 @@ from . import ( CONF_SIGNAL_REPETITIONS, DATA_DEVICE_REGISTER, DEVICE_DEFAULTS_SCHEMA, EVENT_KEY_COMMAND, EVENT_KEY_ID, SwitchableRflinkDevice, remove_deprecated) -DEPENDENCIES = ['rflink'] - _LOGGER = logging.getLogger(__name__) TYPE_DIMMABLE = 'dimmable' diff --git a/homeassistant/components/rflink/sensor.py b/homeassistant/components/rflink/sensor.py index c7498ece241..1e3a18572ff 100644 --- a/homeassistant/components/rflink/sensor.py +++ b/homeassistant/components/rflink/sensor.py @@ -15,8 +15,6 @@ from . import ( EVENT_KEY_UNIT, SIGNAL_AVAILABILITY, SIGNAL_HANDLE_EVENT, TMP_ENTITY, RflinkDevice, remove_deprecated) -DEPENDENCIES = ['rflink'] - _LOGGER = logging.getLogger(__name__) SENSOR_ICONS = { diff --git a/homeassistant/components/rflink/switch.py b/homeassistant/components/rflink/switch.py index d5889c797f0..63f506cc13b 100644 --- a/homeassistant/components/rflink/switch.py +++ b/homeassistant/components/rflink/switch.py @@ -13,8 +13,6 @@ from . import ( CONF_NOGROUP_ALIASES, CONF_NOGROUP_ALIASSES, CONF_SIGNAL_REPETITIONS, DEVICE_DEFAULTS_SCHEMA, SwitchableRflinkDevice, remove_deprecated) -DEPENDENCIES = ['rflink'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/rfxtrx/__init__.py b/homeassistant/components/rfxtrx/__init__.py index 411f0538bde..f7e42ce4357 100644 --- a/homeassistant/components/rfxtrx/__init__.py +++ b/homeassistant/components/rfxtrx/__init__.py @@ -12,8 +12,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import slugify -REQUIREMENTS = ['pyRFXtrx==0.23'] - DOMAIN = 'rfxtrx' DEFAULT_SIGNAL_REPETITIONS = 1 diff --git a/homeassistant/components/rfxtrx/binary_sensor.py b/homeassistant/components/rfxtrx/binary_sensor.py index d548897fb80..ec32f12bc68 100644 --- a/homeassistant/components/rfxtrx/binary_sensor.py +++ b/homeassistant/components/rfxtrx/binary_sensor.py @@ -17,8 +17,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['rfxtrx'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_DEVICES, default={}): { cv.string: vol.Schema({ diff --git a/homeassistant/components/rfxtrx/cover.py b/homeassistant/components/rfxtrx/cover.py index 7ac0e2aa43f..a915c48818a 100644 --- a/homeassistant/components/rfxtrx/cover.py +++ b/homeassistant/components/rfxtrx/cover.py @@ -10,8 +10,6 @@ from . import ( CONF_AUTOMATIC_ADD, CONF_DEVICES, CONF_FIRE_EVENT, CONF_SIGNAL_REPETITIONS, DEFAULT_SIGNAL_REPETITIONS) -DEPENDENCIES = ['rfxtrx'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_DEVICES, default={}): { cv.string: vol.Schema({ diff --git a/homeassistant/components/rfxtrx/light.py b/homeassistant/components/rfxtrx/light.py index 3320a67214e..56f0c21117d 100644 --- a/homeassistant/components/rfxtrx/light.py +++ b/homeassistant/components/rfxtrx/light.py @@ -13,8 +13,6 @@ from . import ( CONF_AUTOMATIC_ADD, CONF_DEVICES, CONF_FIRE_EVENT, CONF_SIGNAL_REPETITIONS, DEFAULT_SIGNAL_REPETITIONS) -DEPENDENCIES = ['rfxtrx'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/rfxtrx/sensor.py b/homeassistant/components/rfxtrx/sensor.py index cc54320cb67..94d836fa45c 100644 --- a/homeassistant/components/rfxtrx/sensor.py +++ b/homeassistant/components/rfxtrx/sensor.py @@ -14,8 +14,6 @@ from . import ( ATTR_DATA_TYPE, ATTR_FIRE_EVENT, CONF_AUTOMATIC_ADD, CONF_DATA_TYPE, CONF_DEVICES, CONF_FIRE_EVENT, DATA_TYPES) -DEPENDENCIES = ['rfxtrx'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/rfxtrx/switch.py b/homeassistant/components/rfxtrx/switch.py index 908c07ea745..938b575eca0 100644 --- a/homeassistant/components/rfxtrx/switch.py +++ b/homeassistant/components/rfxtrx/switch.py @@ -12,8 +12,6 @@ from . import ( CONF_AUTOMATIC_ADD, CONF_DEVICES, CONF_FIRE_EVENT, CONF_SIGNAL_REPETITIONS, DEFAULT_SIGNAL_REPETITIONS) -DEPENDENCIES = ['rfxtrx'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/ring/__init__.py b/homeassistant/components/ring/__init__.py index 74da7a9d542..669e91a1302 100644 --- a/homeassistant/components/ring/__init__.py +++ b/homeassistant/components/ring/__init__.py @@ -7,8 +7,6 @@ import voluptuous as vol from homeassistant.const import CONF_PASSWORD, CONF_USERNAME import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['ring_doorbell==0.2.3'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by Ring.com" diff --git a/homeassistant/components/ring/binary_sensor.py b/homeassistant/components/ring/binary_sensor.py index 79de0424d85..a12954f6c29 100644 --- a/homeassistant/components/ring/binary_sensor.py +++ b/homeassistant/components/ring/binary_sensor.py @@ -12,8 +12,6 @@ import homeassistant.helpers.config_validation as cv from . import ATTRIBUTION, DATA_RING, DEFAULT_ENTITY_NAMESPACE -DEPENDENCIES = ['ring'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=10) diff --git a/homeassistant/components/ring/camera.py b/homeassistant/components/ring/camera.py index 18427b9b6f9..2a680a63b78 100644 --- a/homeassistant/components/ring/camera.py +++ b/homeassistant/components/ring/camera.py @@ -16,8 +16,6 @@ from . import ATTRIBUTION, DATA_RING, NOTIFICATION_ID CONF_FFMPEG_ARGUMENTS = 'ffmpeg_arguments' -DEPENDENCIES = ['ring', 'ffmpeg'] - FORCE_REFRESH_INTERVAL = timedelta(minutes=45) _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ring/sensor.py b/homeassistant/components/ring/sensor.py index c9cb2f1159a..8b36cf70ea3 100644 --- a/homeassistant/components/ring/sensor.py +++ b/homeassistant/components/ring/sensor.py @@ -13,8 +13,6 @@ from homeassistant.helpers.icon import icon_for_battery_level from . import ATTRIBUTION, DATA_RING, DEFAULT_ENTITY_NAMESPACE -DEPENDENCIES = ['ring'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=30) diff --git a/homeassistant/components/ripple/sensor.py b/homeassistant/components/ripple/sensor.py index 54530571c3e..773a6d77f54 100644 --- a/homeassistant/components/ripple/sensor.py +++ b/homeassistant/components/ripple/sensor.py @@ -8,8 +8,6 @@ from homeassistant.const import ATTR_ATTRIBUTION, CONF_ADDRESS, CONF_NAME import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['python-ripple-api==0.0.3'] - ATTRIBUTION = "Data provided by ripple.com" DEFAULT_NAME = 'Ripple Balance' diff --git a/homeassistant/components/ritassist/device_tracker.py b/homeassistant/components/ritassist/device_tracker.py index 74bec1b8711..69bf2454f86 100644 --- a/homeassistant/components/ritassist/device_tracker.py +++ b/homeassistant/components/ritassist/device_tracker.py @@ -9,8 +9,6 @@ from homeassistant.components.device_tracker import PLATFORM_SCHEMA from homeassistant.const import CONF_USERNAME, CONF_PASSWORD from homeassistant.helpers.event import track_utc_time_change -REQUIREMENTS = ['ritassist==0.9.2'] - _LOGGER = logging.getLogger(__name__) CONF_CLIENT_ID = 'client_id' diff --git a/homeassistant/components/rmvtransport/sensor.py b/homeassistant/components/rmvtransport/sensor.py index 7a3afb3f324..13d13281bb6 100644 --- a/homeassistant/components/rmvtransport/sensor.py +++ b/homeassistant/components/rmvtransport/sensor.py @@ -13,8 +13,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['PyRMVtransport==0.1.3'] - _LOGGER = logging.getLogger(__name__) CONF_NEXT_DEPARTURE = 'next_departure' diff --git a/homeassistant/components/rocketchat/notify.py b/homeassistant/components/rocketchat/notify.py index e404114736a..bbe02698c8e 100644 --- a/homeassistant/components/rocketchat/notify.py +++ b/homeassistant/components/rocketchat/notify.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.notify import (ATTR_DATA, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['rocketchat-API==0.6.1'] - _LOGGER = logging.getLogger(__name__) # pylint: disable=no-value-for-parameter diff --git a/homeassistant/components/roku/__init__.py b/homeassistant/components/roku/__init__.py index 89bb1a9acb8..3444f8a3183 100644 --- a/homeassistant/components/roku/__init__.py +++ b/homeassistant/components/roku/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import CONF_HOST from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-roku==3.1.5'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'roku' diff --git a/homeassistant/components/roku/media_player.py b/homeassistant/components/roku/media_player.py index 3cf27af0674..41eff531de3 100644 --- a/homeassistant/components/roku/media_player.py +++ b/homeassistant/components/roku/media_player.py @@ -10,8 +10,6 @@ from homeassistant.components.media_player.const import ( from homeassistant.const import (CONF_HOST, STATE_HOME, STATE_IDLE, STATE_PLAYING) -DEPENDENCIES = ['roku'] - DEFAULT_PORT = 8060 _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/roku/remote.py b/homeassistant/components/roku/remote.py index 5529918010c..59ecbe351ad 100644 --- a/homeassistant/components/roku/remote.py +++ b/homeassistant/components/roku/remote.py @@ -4,8 +4,6 @@ import requests.exceptions from homeassistant.components import remote from homeassistant.const import (CONF_HOST) -DEPENDENCIES = ['roku'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/roomba/vacuum.py b/homeassistant/components/roomba/vacuum.py index fadbe2a82d5..e9f62d3bc17 100644 --- a/homeassistant/components/roomba/vacuum.py +++ b/homeassistant/components/roomba/vacuum.py @@ -14,8 +14,6 @@ from homeassistant.const import ( from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['roombapy==1.3.1'] - _LOGGER = logging.getLogger(__name__) ATTR_BIN_FULL = 'bin_full' diff --git a/homeassistant/components/route53/__init__.py b/homeassistant/components/route53/__init__.py index 725dec8b8e5..43a7b75b94d 100644 --- a/homeassistant/components/route53/__init__.py +++ b/homeassistant/components/route53/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import CONF_DOMAIN, CONF_TTL, CONF_ZONE import homeassistant.helpers.config_validation as cv from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['boto3==1.9.16', 'ipify==1.0.0'] - _LOGGER = logging.getLogger(__name__) CONF_ACCESS_KEY_ID = 'aws_access_key_id' diff --git a/homeassistant/components/rova/sensor.py b/homeassistant/components/rova/sensor.py index 2c2c36b1245..dcdee08734c 100644 --- a/homeassistant/components/rova/sensor.py +++ b/homeassistant/components/rova/sensor.py @@ -12,8 +12,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['rova==0.1.0'] - # Config for rova requests. CONF_ZIP_CODE = 'zip_code' CONF_HOUSE_NUMBER = 'house_number' diff --git a/homeassistant/components/rpi_gpio/__init__.py b/homeassistant/components/rpi_gpio/__init__.py index b5bd0796f16..e568281edb1 100644 --- a/homeassistant/components/rpi_gpio/__init__.py +++ b/homeassistant/components/rpi_gpio/__init__.py @@ -4,8 +4,6 @@ import logging from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['RPi.GPIO==0.6.5'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'rpi_gpio' diff --git a/homeassistant/components/rpi_gpio/binary_sensor.py b/homeassistant/components/rpi_gpio/binary_sensor.py index 559ae958404..d9903350aa0 100644 --- a/homeassistant/components/rpi_gpio/binary_sensor.py +++ b/homeassistant/components/rpi_gpio/binary_sensor.py @@ -20,8 +20,6 @@ DEFAULT_BOUNCETIME = 50 DEFAULT_INVERT_LOGIC = False DEFAULT_PULL_MODE = 'UP' -DEPENDENCIES = ['rpi_gpio'] - _SENSORS_SCHEMA = vol.Schema({ cv.positive_int: cv.string, }) diff --git a/homeassistant/components/rpi_gpio/cover.py b/homeassistant/components/rpi_gpio/cover.py index 403f7ec6867..d841dec777e 100644 --- a/homeassistant/components/rpi_gpio/cover.py +++ b/homeassistant/components/rpi_gpio/cover.py @@ -23,8 +23,6 @@ DEFAULT_RELAY_TIME = .2 DEFAULT_STATE_PULL_MODE = 'UP' DEFAULT_INVERT_STATE = False DEFAULT_INVERT_RELAY = False -DEPENDENCIES = ['rpi_gpio'] - _COVERS_SCHEMA = vol.All( cv.ensure_list, [ diff --git a/homeassistant/components/rpi_gpio/switch.py b/homeassistant/components/rpi_gpio/switch.py index bdb79d03eec..ba713e5d273 100644 --- a/homeassistant/components/rpi_gpio/switch.py +++ b/homeassistant/components/rpi_gpio/switch.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['rpi_gpio'] - CONF_PULL_MODE = 'pull_mode' CONF_PORTS = 'ports' CONF_INVERT_LOGIC = 'invert_logic' diff --git a/homeassistant/components/rpi_gpio_pwm/light.py b/homeassistant/components/rpi_gpio_pwm/light.py index b0b9ef1b763..73ce2a67306 100644 --- a/homeassistant/components/rpi_gpio_pwm/light.py +++ b/homeassistant/components/rpi_gpio_pwm/light.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util from homeassistant.helpers.restore_state import RestoreEntity -REQUIREMENTS = ['pwmled==1.4.1'] - _LOGGER = logging.getLogger(__name__) CONF_LEDS = 'leds' diff --git a/homeassistant/components/rpi_pfio/__init__.py b/homeassistant/components/rpi_pfio/__init__.py index b096d9fe98a..8341ebffcee 100644 --- a/homeassistant/components/rpi_pfio/__init__.py +++ b/homeassistant/components/rpi_pfio/__init__.py @@ -4,8 +4,6 @@ import logging from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['pifacecommon==4.2.2', 'pifacedigitalio==3.0.5'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'rpi_pfio' diff --git a/homeassistant/components/rpi_pfio/binary_sensor.py b/homeassistant/components/rpi_pfio/binary_sensor.py index 677ec3bb16f..b298c3dc44a 100644 --- a/homeassistant/components/rpi_pfio/binary_sensor.py +++ b/homeassistant/components/rpi_pfio/binary_sensor.py @@ -18,8 +18,6 @@ CONF_SETTLE_TIME = 'settle_time' DEFAULT_INVERT_LOGIC = False DEFAULT_SETTLE_TIME = 20 -DEPENDENCIES = ['rpi_pfio'] - PORT_SCHEMA = vol.Schema({ vol.Optional(CONF_NAME): cv.string, vol.Optional(CONF_SETTLE_TIME, default=DEFAULT_SETTLE_TIME): diff --git a/homeassistant/components/rpi_pfio/switch.py b/homeassistant/components/rpi_pfio/switch.py index fc158bd666f..5a69ec8706f 100644 --- a/homeassistant/components/rpi_pfio/switch.py +++ b/homeassistant/components/rpi_pfio/switch.py @@ -11,8 +11,6 @@ from homeassistant.helpers.entity import ToggleEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['rpi_pfio'] - ATTR_INVERT_LOGIC = 'invert_logic' CONF_PORTS = 'ports' diff --git a/homeassistant/components/rpi_rf/switch.py b/homeassistant/components/rpi_rf/switch.py index d0a23372802..6531e42bd23 100644 --- a/homeassistant/components/rpi_rf/switch.py +++ b/homeassistant/components/rpi_rf/switch.py @@ -9,8 +9,6 @@ from homeassistant.const import ( CONF_NAME, CONF_SWITCHES, EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['rpi-rf==0.9.7'] - _LOGGER = logging.getLogger(__name__) CONF_CODE_OFF = 'code_off' diff --git a/homeassistant/components/rss_feed_template/__init__.py b/homeassistant/components/rss_feed_template/__init__.py index 3c93fe2ac83..1d82d40ba72 100644 --- a/homeassistant/components/rss_feed_template/__init__.py +++ b/homeassistant/components/rss_feed_template/__init__.py @@ -8,8 +8,6 @@ from homeassistant.components.http import HomeAssistantView import homeassistant.helpers.config_validation as cv CONTENT_TYPE_XML = 'text/xml' -DEPENDENCIES = ['http'] - DOMAIN = 'rss_feed_template' CONFIG_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/russound_rio/media_player.py b/homeassistant/components/russound_rio/media_player.py index b8f9d29f5ca..e2462a2c2b4 100644 --- a/homeassistant/components/russound_rio/media_player.py +++ b/homeassistant/components/russound_rio/media_player.py @@ -14,8 +14,6 @@ from homeassistant.const import ( from homeassistant.core import callback import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['russound_rio==0.1.4'] - _LOGGER = logging.getLogger(__name__) SUPPORT_RUSSOUND = SUPPORT_VOLUME_MUTE | SUPPORT_VOLUME_SET | \ diff --git a/homeassistant/components/russound_rnet/media_player.py b/homeassistant/components/russound_rnet/media_player.py index f489d48a9d5..788b5da361b 100644 --- a/homeassistant/components/russound_rnet/media_player.py +++ b/homeassistant/components/russound_rnet/media_player.py @@ -12,8 +12,6 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_PORT, STATE_OFF, STATE_ON) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['russound==0.1.9'] - _LOGGER = logging.getLogger(__name__) CONF_ZONES = 'zones' diff --git a/homeassistant/components/ruter/sensor.py b/homeassistant/components/ruter/sensor.py index f6fefc96198..fd72d59dbea 100644 --- a/homeassistant/components/ruter/sensor.py +++ b/homeassistant/components/ruter/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import CONF_NAME from homeassistant.helpers.entity import Entity from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['pyruter==1.1.0'] - _LOGGER = logging.getLogger(__name__) CONF_STOP_ID = 'stop_id' diff --git a/homeassistant/components/sabnzbd/__init__.py b/homeassistant/components/sabnzbd/__init__.py index d070872f85c..4275765a1bf 100644 --- a/homeassistant/components/sabnzbd/__init__.py +++ b/homeassistant/components/sabnzbd/__init__.py @@ -15,8 +15,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_send from homeassistant.helpers.event import async_track_time_interval from homeassistant.util.json import load_json, save_json -REQUIREMENTS = ['pysabnzbd==1.1.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'sabnzbd' diff --git a/homeassistant/components/sabnzbd/sensor.py b/homeassistant/components/sabnzbd/sensor.py index 4968725a4be..3c57a844431 100644 --- a/homeassistant/components/sabnzbd/sensor.py +++ b/homeassistant/components/sabnzbd/sensor.py @@ -6,8 +6,6 @@ from homeassistant.helpers.entity import Entity from . import DATA_SABNZBD, SENSOR_TYPES, SIGNAL_SABNZBD_UPDATED -DEPENDENCIES = ['sabnzbd'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/samsungtv/media_player.py b/homeassistant/components/samsungtv/media_player.py index 1a2a24c3621..05921d7e84b 100644 --- a/homeassistant/components/samsungtv/media_player.py +++ b/homeassistant/components/samsungtv/media_player.py @@ -18,8 +18,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.util import dt as dt_util -REQUIREMENTS = ['samsungctl[websocket]==0.7.1', 'wakeonlan==1.1.6'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Samsung TV Remote' diff --git a/homeassistant/components/satel_integra/__init__.py b/homeassistant/components/satel_integra/__init__.py index 5f5c43d961f..2aae9ea8dd9 100644 --- a/homeassistant/components/satel_integra/__init__.py +++ b/homeassistant/components/satel_integra/__init__.py @@ -9,8 +9,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers.discovery import async_load_platform from homeassistant.helpers.dispatcher import async_dispatcher_send -REQUIREMENTS = ['satel_integra==0.3.2'] - DEFAULT_ALARM_NAME = 'satel_integra' DEFAULT_PORT = 7094 DEFAULT_CONF_ARM_HOME_MODE = 1 diff --git a/homeassistant/components/satel_integra/alarm_control_panel.py b/homeassistant/components/satel_integra/alarm_control_panel.py index d2d9f473051..02e683bac5a 100644 --- a/homeassistant/components/satel_integra/alarm_control_panel.py +++ b/homeassistant/components/satel_integra/alarm_control_panel.py @@ -16,8 +16,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['satel_integra'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/satel_integra/binary_sensor.py b/homeassistant/components/satel_integra/binary_sensor.py index 0384ff37f14..faef1a6f45e 100644 --- a/homeassistant/components/satel_integra/binary_sensor.py +++ b/homeassistant/components/satel_integra/binary_sensor.py @@ -9,8 +9,6 @@ from . import ( CONF_OUTPUTS, CONF_ZONE_NAME, CONF_ZONE_TYPE, CONF_ZONES, DATA_SATEL, SIGNAL_OUTPUTS_UPDATED, SIGNAL_ZONES_UPDATED) -DEPENDENCIES = ['satel_integra'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/scrape/sensor.py b/homeassistant/components/scrape/sensor.py index e576eca78e8..a5975d4f9d0 100644 --- a/homeassistant/components/scrape/sensor.py +++ b/homeassistant/components/scrape/sensor.py @@ -15,8 +15,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['beautifulsoup4==4.7.1'] - _LOGGER = logging.getLogger(__name__) CONF_ATTR = 'attribute' diff --git a/homeassistant/components/script/__init__.py b/homeassistant/components/script/__init__.py index 873a18120ac..528e454c4e6 100644 --- a/homeassistant/components/script/__init__.py +++ b/homeassistant/components/script/__init__.py @@ -18,8 +18,6 @@ from homeassistant.helpers.script import Script _LOGGER = logging.getLogger(__name__) DOMAIN = 'script' -DEPENDENCIES = ['group'] - ATTR_CAN_CANCEL = 'can_cancel' ATTR_LAST_ACTION = 'last_action' ATTR_LAST_TRIGGERED = 'last_triggered' diff --git a/homeassistant/components/scsgate/__init__.py b/homeassistant/components/scsgate/__init__.py index 67421e9a46a..ed84bc19ebe 100644 --- a/homeassistant/components/scsgate/__init__.py +++ b/homeassistant/components/scsgate/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import (CONF_DEVICE, CONF_NAME) from homeassistant.core import EVENT_HOMEASSISTANT_STOP import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['scsgate==0.1.0'] - _LOGGER = logging.getLogger(__name__) ATTR_STATE = 'state' diff --git a/homeassistant/components/scsgate/cover.py b/homeassistant/components/scsgate/cover.py index fc1c16e1ff3..d866b8ab80c 100644 --- a/homeassistant/components/scsgate/cover.py +++ b/homeassistant/components/scsgate/cover.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['scsgate'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_DEVICES): cv.schema_with_slug_keys(scsgate.SCSGATE_SCHEMA), diff --git a/homeassistant/components/scsgate/light.py b/homeassistant/components/scsgate/light.py index 87d7e02b383..f894d33e867 100644 --- a/homeassistant/components/scsgate/light.py +++ b/homeassistant/components/scsgate/light.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['scsgate'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_DEVICES): cv.schema_with_slug_keys(scsgate.SCSGATE_SCHEMA), diff --git a/homeassistant/components/scsgate/switch.py b/homeassistant/components/scsgate/switch.py index 2b2bf2de94f..ad6362c9e0c 100644 --- a/homeassistant/components/scsgate/switch.py +++ b/homeassistant/components/scsgate/switch.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv ATTR_SCENARIO_ID = 'scenario_id' -DEPENDENCIES = ['scsgate'] - CONF_TRADITIONAL = 'traditional' CONF_SCENARIO = 'scenario' diff --git a/homeassistant/components/season/sensor.py b/homeassistant/components/season/sensor.py index 7c7b1054961..b31cf5083bf 100644 --- a/homeassistant/components/season/sensor.py +++ b/homeassistant/components/season/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import CONF_TYPE from homeassistant.helpers.entity import Entity from homeassistant import util -REQUIREMENTS = ['ephem==3.7.6.0'] - _LOGGER = logging.getLogger(__name__) NORTHERN = 'northern' diff --git a/homeassistant/components/sendgrid/notify.py b/homeassistant/components/sendgrid/notify.py index a717c7f24ed..563e47b8afe 100644 --- a/homeassistant/components/sendgrid/notify.py +++ b/homeassistant/components/sendgrid/notify.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['sendgrid==5.6.0'] - _LOGGER = logging.getLogger(__name__) CONF_SENDER_NAME = 'sender_name' diff --git a/homeassistant/components/sense/__init__.py b/homeassistant/components/sense/__init__.py index be3ab75b555..7266b2fb1e5 100644 --- a/homeassistant/components/sense/__init__.py +++ b/homeassistant/components/sense/__init__.py @@ -7,8 +7,6 @@ from homeassistant.const import CONF_EMAIL, CONF_PASSWORD, CONF_TIMEOUT import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import async_load_platform -REQUIREMENTS = ['sense_energy==0.7.0'] - _LOGGER = logging.getLogger(__name__) ACTIVE_UPDATE_RATE = 60 diff --git a/homeassistant/components/sense/binary_sensor.py b/homeassistant/components/sense/binary_sensor.py index da9bae3cc84..a0f65ac555a 100644 --- a/homeassistant/components/sense/binary_sensor.py +++ b/homeassistant/components/sense/binary_sensor.py @@ -5,8 +5,6 @@ from homeassistant.components.binary_sensor import BinarySensorDevice from . import SENSE_DATA -DEPENDENCIES = ['sense'] - _LOGGER = logging.getLogger(__name__) BIN_SENSOR_CLASS = 'power' diff --git a/homeassistant/components/sense/sensor.py b/homeassistant/components/sense/sensor.py index 0224884e18a..e114132e0d7 100644 --- a/homeassistant/components/sense/sensor.py +++ b/homeassistant/components/sense/sensor.py @@ -15,8 +15,6 @@ ACTIVE_TYPE = 'active' CONSUMPTION_NAME = 'Usage' -DEPENDENCIES = ['sense'] - ICON = 'mdi:flash' MIN_TIME_BETWEEN_DAILY_UPDATES = timedelta(seconds=300) diff --git a/homeassistant/components/sensehat/light.py b/homeassistant/components/sensehat/light.py index c68e77b40a4..713dd1373fd 100644 --- a/homeassistant/components/sensehat/light.py +++ b/homeassistant/components/sensehat/light.py @@ -10,8 +10,6 @@ from homeassistant.components.light import ( from homeassistant.const import CONF_NAME import homeassistant.util.color as color_util -REQUIREMENTS = ['sense-hat==2.2.0'] - _LOGGER = logging.getLogger(__name__) SUPPORT_SENSEHAT = (SUPPORT_BRIGHTNESS | SUPPORT_COLOR) diff --git a/homeassistant/components/sensehat/sensor.py b/homeassistant/components/sensehat/sensor.py index 870150c1a98..a9a80ee22ba 100644 --- a/homeassistant/components/sensehat/sensor.py +++ b/homeassistant/components/sensehat/sensor.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['sense-hat==2.2.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'sensehat' diff --git a/homeassistant/components/sensibo/climate.py b/homeassistant/components/sensibo/climate.py index bf06f232427..d2f95dcee79 100644 --- a/homeassistant/components/sensibo/climate.py +++ b/homeassistant/components/sensibo/climate.py @@ -21,8 +21,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.util.temperature import convert as convert_temperature -REQUIREMENTS = ['pysensibo==1.0.3'] - _LOGGER = logging.getLogger(__name__) ALL = ['all'] diff --git a/homeassistant/components/serial/sensor.py b/homeassistant/components/serial/sensor.py index c01981f9021..cebe9b42996 100644 --- a/homeassistant/components/serial/sensor.py +++ b/homeassistant/components/serial/sensor.py @@ -10,8 +10,6 @@ from homeassistant.const import ( CONF_NAME, CONF_VALUE_TEMPLATE, EVENT_HOMEASSISTANT_STOP) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyserial-asyncio==0.4'] - _LOGGER = logging.getLogger(__name__) CONF_SERIAL_PORT = 'serial_port' diff --git a/homeassistant/components/serial_pm/sensor.py b/homeassistant/components/serial_pm/sensor.py index 9ad65f7256f..49e61bead05 100644 --- a/homeassistant/components/serial_pm/sensor.py +++ b/homeassistant/components/serial_pm/sensor.py @@ -8,8 +8,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv from homeassistant.components.sensor import PLATFORM_SCHEMA -REQUIREMENTS = ['pmsensor==0.4'] - _LOGGER = logging.getLogger(__name__) CONF_SERIAL_DEVICE = 'serial_device' diff --git a/homeassistant/components/sesame/lock.py b/homeassistant/components/sesame/lock.py index 263914f389c..3882d8796c7 100644 --- a/homeassistant/components/sesame/lock.py +++ b/homeassistant/components/sesame/lock.py @@ -9,8 +9,6 @@ from homeassistant.const import ( STATE_LOCKED, STATE_UNLOCKED) from homeassistant.helpers.typing import ConfigType -REQUIREMENTS = ['pysesame==0.1.0'] - ATTR_DEVICE_ID = 'device_id' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/seventeentrack/sensor.py b/homeassistant/components/seventeentrack/sensor.py index 8a242b7737d..f9bae50698b 100644 --- a/homeassistant/components/seventeentrack/sensor.py +++ b/homeassistant/components/seventeentrack/sensor.py @@ -12,7 +12,6 @@ from homeassistant.helpers import aiohttp_client, config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle, slugify -REQUIREMENTS = ['py17track==2.2.2'] _LOGGER = logging.getLogger(__name__) ATTR_DESTINATION_COUNTRY = 'destination_country' diff --git a/homeassistant/components/shiftr/__init__.py b/homeassistant/components/shiftr/__init__.py index 438bc36b1bf..df25365a9fb 100644 --- a/homeassistant/components/shiftr/__init__.py +++ b/homeassistant/components/shiftr/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_STOP) from homeassistant.helpers import state as state_helper -REQUIREMENTS = ['paho-mqtt==1.4.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'shiftr' diff --git a/homeassistant/components/shodan/sensor.py b/homeassistant/components/shodan/sensor.py index ee64eecf3fe..072742391b9 100644 --- a/homeassistant/components/shodan/sensor.py +++ b/homeassistant/components/shodan/sensor.py @@ -9,8 +9,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import ATTR_ATTRIBUTION, CONF_API_KEY, CONF_NAME from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['shodan==1.11.1'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by Shodan" diff --git a/homeassistant/components/shopping_list/__init__.py b/homeassistant/components/shopping_list/__init__.py index 1a036f3661a..cfcbfdd4224 100644 --- a/homeassistant/components/shopping_list/__init__.py +++ b/homeassistant/components/shopping_list/__init__.py @@ -18,7 +18,6 @@ from homeassistant.components import websocket_api ATTR_NAME = 'name' DOMAIN = 'shopping_list' -DEPENDENCIES = ['http'] _LOGGER = logging.getLogger(__name__) CONFIG_SCHEMA = vol.Schema({DOMAIN: {}}, extra=vol.ALLOW_EXTRA) EVENT = 'shopping_list_updated' diff --git a/homeassistant/components/sht31/sensor.py b/homeassistant/components/sht31/sensor.py index 613b1f8c92a..904a1af75c2 100644 --- a/homeassistant/components/sht31/sensor.py +++ b/homeassistant/components/sht31/sensor.py @@ -16,9 +16,6 @@ from homeassistant.const import PRECISION_TENTHS from homeassistant.util import Throttle -REQUIREMENTS = ['Adafruit-GPIO==1.0.3', - 'Adafruit-SHT31==1.0.2'] - _LOGGER = logging.getLogger(__name__) CONF_I2C_ADDRESS = 'i2c_address' diff --git a/homeassistant/components/simplepush/notify.py b/homeassistant/components/simplepush/notify.py index 081351238d9..38a61e43972 100644 --- a/homeassistant/components/simplepush/notify.py +++ b/homeassistant/components/simplepush/notify.py @@ -9,8 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['simplepush==1.1.4'] - _LOGGER = logging.getLogger(__name__) ATTR_ENCRYPTED = 'encrypted' diff --git a/homeassistant/components/simplisafe/__init__.py b/homeassistant/components/simplisafe/__init__.py index 359591856a7..36aa3ba54d9 100644 --- a/homeassistant/components/simplisafe/__init__.py +++ b/homeassistant/components/simplisafe/__init__.py @@ -19,8 +19,6 @@ from homeassistant.helpers import config_validation as cv from .config_flow import configured_instances from .const import DATA_CLIENT, DEFAULT_SCAN_INTERVAL, DOMAIN, TOPIC_UPDATE -REQUIREMENTS = ['simplisafe-python==3.4.1'] - _LOGGER = logging.getLogger(__name__) CONF_ACCOUNTS = 'accounts' diff --git a/homeassistant/components/sisyphus/__init__.py b/homeassistant/components/sisyphus/__init__.py index b1bec15d40e..7cc8e3efd33 100644 --- a/homeassistant/components/sisyphus/__init__.py +++ b/homeassistant/components/sisyphus/__init__.py @@ -13,8 +13,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import async_load_platform -REQUIREMENTS = ['sisyphus-control==2.1'] - _LOGGER = logging.getLogger(__name__) DATA_SISYPHUS = 'sisyphus' diff --git a/homeassistant/components/sisyphus/light.py b/homeassistant/components/sisyphus/light.py index 182e5e78198..8d882925796 100644 --- a/homeassistant/components/sisyphus/light.py +++ b/homeassistant/components/sisyphus/light.py @@ -8,8 +8,6 @@ from . import DATA_SISYPHUS _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['sisyphus'] - SUPPORTED_FEATURES = SUPPORT_BRIGHTNESS diff --git a/homeassistant/components/sisyphus/media_player.py b/homeassistant/components/sisyphus/media_player.py index 11546c3fd43..65f5cb48e59 100644 --- a/homeassistant/components/sisyphus/media_player.py +++ b/homeassistant/components/sisyphus/media_player.py @@ -13,8 +13,6 @@ from . import DATA_SISYPHUS _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['sisyphus'] - MEDIA_TYPE_TRACK = 'sisyphus_track' SUPPORTED_FEATURES = SUPPORT_VOLUME_MUTE \ diff --git a/homeassistant/components/skybeacon/sensor.py b/homeassistant/components/skybeacon/sensor.py index 9b8b4872cdc..aa7eea0bccc 100644 --- a/homeassistant/components/skybeacon/sensor.py +++ b/homeassistant/components/skybeacon/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pygatt[GATTTOOL]==3.2.0'] - _LOGGER = logging.getLogger(__name__) ATTR_DEVICE = 'device' diff --git a/homeassistant/components/skybell/__init__.py b/homeassistant/components/skybell/__init__.py index 31d1339fbcf..51e12376a61 100644 --- a/homeassistant/components/skybell/__init__.py +++ b/homeassistant/components/skybell/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['skybellpy==0.3.0'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by Skybell.com" diff --git a/homeassistant/components/skybell/binary_sensor.py b/homeassistant/components/skybell/binary_sensor.py index 8c2b8355258..16b094dbf63 100644 --- a/homeassistant/components/skybell/binary_sensor.py +++ b/homeassistant/components/skybell/binary_sensor.py @@ -12,8 +12,6 @@ import homeassistant.helpers.config_validation as cv from . import DEFAULT_ENTITY_NAMESPACE, DOMAIN as SKYBELL_DOMAIN, SkybellDevice -DEPENDENCIES = ['skybell'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=5) diff --git a/homeassistant/components/skybell/camera.py b/homeassistant/components/skybell/camera.py index 04b03f84bf7..e11f7c48947 100644 --- a/homeassistant/components/skybell/camera.py +++ b/homeassistant/components/skybell/camera.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from . import DOMAIN as SKYBELL_DOMAIN, SkybellDevice -DEPENDENCIES = ['skybell'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=90) diff --git a/homeassistant/components/skybell/light.py b/homeassistant/components/skybell/light.py index d413f9df412..18108787e56 100644 --- a/homeassistant/components/skybell/light.py +++ b/homeassistant/components/skybell/light.py @@ -7,8 +7,6 @@ import homeassistant.util.color as color_util from . import DOMAIN as SKYBELL_DOMAIN, SkybellDevice -DEPENDENCIES = ['skybell'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/skybell/sensor.py b/homeassistant/components/skybell/sensor.py index 067e850dfcf..5188f75b6fa 100644 --- a/homeassistant/components/skybell/sensor.py +++ b/homeassistant/components/skybell/sensor.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from . import DEFAULT_ENTITY_NAMESPACE, DOMAIN as SKYBELL_DOMAIN, SkybellDevice -DEPENDENCIES = ['skybell'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=30) diff --git a/homeassistant/components/skybell/switch.py b/homeassistant/components/skybell/switch.py index 674bbf22a08..7771f1a8754 100644 --- a/homeassistant/components/skybell/switch.py +++ b/homeassistant/components/skybell/switch.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from . import DEFAULT_ENTITY_NAMESPACE, DOMAIN as SKYBELL_DOMAIN, SkybellDevice -DEPENDENCIES = ['skybell'] - _LOGGER = logging.getLogger(__name__) # Switch types: Name diff --git a/homeassistant/components/slack/notify.py b/homeassistant/components/slack/notify.py index 026fed0a58e..600fdef9477 100644 --- a/homeassistant/components/slack/notify.py +++ b/homeassistant/components/slack/notify.py @@ -12,8 +12,6 @@ from homeassistant.components.notify import ( ATTR_DATA, ATTR_TARGET, ATTR_TITLE, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['slacker==0.12.0'] - _LOGGER = logging.getLogger(__name__) CONF_CHANNEL = 'default_channel' diff --git a/homeassistant/components/sleepiq/__init__.py b/homeassistant/components/sleepiq/__init__.py index 7a23c6c4609..97b2d53a033 100644 --- a/homeassistant/components/sleepiq/__init__.py +++ b/homeassistant/components/sleepiq/__init__.py @@ -13,8 +13,6 @@ from homeassistant.util import Throttle DOMAIN = 'sleepiq' -REQUIREMENTS = ['sleepyq==0.6'] - MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=30) IS_IN_BED = 'is_in_bed' diff --git a/homeassistant/components/sleepiq/binary_sensor.py b/homeassistant/components/sleepiq/binary_sensor.py index 11f9e25d8c9..cad5c9e42f1 100644 --- a/homeassistant/components/sleepiq/binary_sensor.py +++ b/homeassistant/components/sleepiq/binary_sensor.py @@ -2,8 +2,6 @@ from homeassistant.components import sleepiq from homeassistant.components.binary_sensor import BinarySensorDevice -DEPENDENCIES = ['sleepiq'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the SleepIQ sensors.""" diff --git a/homeassistant/components/sleepiq/sensor.py b/homeassistant/components/sleepiq/sensor.py index 3de444c3324..c92c463ea24 100644 --- a/homeassistant/components/sleepiq/sensor.py +++ b/homeassistant/components/sleepiq/sensor.py @@ -1,7 +1,6 @@ """Support for SleepIQ sensors.""" from homeassistant.components import sleepiq -DEPENDENCIES = ['sleepiq'] ICON = 'mdi:hotel' diff --git a/homeassistant/components/sma/sensor.py b/homeassistant/components/sma/sensor.py index a2ec7871f60..9b6406484df 100644 --- a/homeassistant/components/sma/sensor.py +++ b/homeassistant/components/sma/sensor.py @@ -14,8 +14,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import async_track_time_interval -REQUIREMENTS = ['pysma==0.3.1'] - _LOGGER = logging.getLogger(__name__) CONF_CUSTOM = 'custom' diff --git a/homeassistant/components/smappee/__init__.py b/homeassistant/components/smappee/__init__.py index 7a495d7b89a..c3f739b7b72 100644 --- a/homeassistant/components/smappee/__init__.py +++ b/homeassistant/components/smappee/__init__.py @@ -11,8 +11,6 @@ from homeassistant.util import Throttle from homeassistant.helpers.discovery import load_platform import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['smappy==0.2.16'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Smappee' diff --git a/homeassistant/components/smappee/sensor.py b/homeassistant/components/smappee/sensor.py index 98527c769d9..e34ede56e13 100644 --- a/homeassistant/components/smappee/sensor.py +++ b/homeassistant/components/smappee/sensor.py @@ -7,8 +7,6 @@ from homeassistant.helpers.entity import Entity from . import DATA_SMAPPEE -DEPENDENCIES = ['smappee'] - _LOGGER = logging.getLogger(__name__) SENSOR_PREFIX = 'Smappee' diff --git a/homeassistant/components/smappee/switch.py b/homeassistant/components/smappee/switch.py index 963caf457fe..25ae9a612ce 100644 --- a/homeassistant/components/smappee/switch.py +++ b/homeassistant/components/smappee/switch.py @@ -5,8 +5,6 @@ from homeassistant.components.switch import SwitchDevice from . import DATA_SMAPPEE -DEPENDENCIES = ['smappee'] - _LOGGER = logging.getLogger(__name__) ICON = 'mdi:power-plug' diff --git a/homeassistant/components/smartthings/__init__.py b/homeassistant/components/smartthings/__init__.py index e5226076f46..f2f1021ff66 100644 --- a/homeassistant/components/smartthings/__init__.py +++ b/homeassistant/components/smartthings/__init__.py @@ -28,9 +28,6 @@ from .smartapp import ( unload_smartapp_endpoint, validate_installed_app, validate_webhook_requirements) -REQUIREMENTS = ['pysmartapp==0.3.2', 'pysmartthings==0.6.7'] -DEPENDENCIES = ['webhook'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/smartthings/binary_sensor.py b/homeassistant/components/smartthings/binary_sensor.py index 45101601d5f..39ff2999e3a 100644 --- a/homeassistant/components/smartthings/binary_sensor.py +++ b/homeassistant/components/smartthings/binary_sensor.py @@ -6,8 +6,6 @@ from homeassistant.components.binary_sensor import BinarySensorDevice from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] - CAPABILITY_TO_ATTRIB = { 'accelerationSensor': 'acceleration', 'contactSensor': 'contact', diff --git a/homeassistant/components/smartthings/climate.py b/homeassistant/components/smartthings/climate.py index bcf2dc02cb0..f45ea10ce47 100644 --- a/homeassistant/components/smartthings/climate.py +++ b/homeassistant/components/smartthings/climate.py @@ -17,8 +17,6 @@ from homeassistant.const import ( from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] - ATTR_OPERATION_STATE = 'operation_state' MODE_TO_STATE = { 'auto': STATE_AUTO, diff --git a/homeassistant/components/smartthings/cover.py b/homeassistant/components/smartthings/cover.py index 53602c3643c..47116ad3dd6 100644 --- a/homeassistant/components/smartthings/cover.py +++ b/homeassistant/components/smartthings/cover.py @@ -11,8 +11,6 @@ from homeassistant.const import ATTR_BATTERY_LEVEL from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] - VALUE_TO_STATE = { 'closed': STATE_CLOSED, 'closing': STATE_CLOSING, diff --git a/homeassistant/components/smartthings/fan.py b/homeassistant/components/smartthings/fan.py index e722cd21d65..befcb3fcb78 100644 --- a/homeassistant/components/smartthings/fan.py +++ b/homeassistant/components/smartthings/fan.py @@ -8,8 +8,6 @@ from homeassistant.components.fan import ( from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] - VALUE_TO_SPEED = { 0: SPEED_OFF, 1: SPEED_LOW, diff --git a/homeassistant/components/smartthings/light.py b/homeassistant/components/smartthings/light.py index 79a5eabc20a..6e609b4b53c 100644 --- a/homeassistant/components/smartthings/light.py +++ b/homeassistant/components/smartthings/light.py @@ -11,8 +11,6 @@ import homeassistant.util.color as color_util from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/smartthings/lock.py b/homeassistant/components/smartthings/lock.py index c7ab091454c..ca2e45114d9 100644 --- a/homeassistant/components/smartthings/lock.py +++ b/homeassistant/components/smartthings/lock.py @@ -6,8 +6,6 @@ from homeassistant.components.lock import LockDevice from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] - ST_STATE_LOCKED = 'locked' ST_LOCK_ATTR_MAP = { 'codeId': 'code_id', diff --git a/homeassistant/components/smartthings/scene.py b/homeassistant/components/smartthings/scene.py index 9bf3211d8e3..17c7bd51b41 100644 --- a/homeassistant/components/smartthings/scene.py +++ b/homeassistant/components/smartthings/scene.py @@ -3,8 +3,6 @@ from homeassistant.components.scene import Scene from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/smartthings/sensor.py b/homeassistant/components/smartthings/sensor.py index 4f7ad1a1398..4abb3e20c3e 100644 --- a/homeassistant/components/smartthings/sensor.py +++ b/homeassistant/components/smartthings/sensor.py @@ -10,8 +10,6 @@ from homeassistant.const import ( from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] - Map = namedtuple("map", "attribute name default_unit device_class") CAPABILITY_TO_SENSORS = { diff --git a/homeassistant/components/smartthings/switch.py b/homeassistant/components/smartthings/switch.py index d30aa3a2303..2149a87250e 100644 --- a/homeassistant/components/smartthings/switch.py +++ b/homeassistant/components/smartthings/switch.py @@ -6,8 +6,6 @@ from homeassistant.components.switch import SwitchDevice from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/smhi/__init__.py b/homeassistant/components/smhi/__init__.py index 608ee9b6a6d..b62f110b619 100644 --- a/homeassistant/components/smhi/__init__.py +++ b/homeassistant/components/smhi/__init__.py @@ -6,8 +6,6 @@ from homeassistant.core import Config, HomeAssistant from .config_flow import smhi_locations # noqa: F401 from .const import DOMAIN # noqa: F401 -REQUIREMENTS = ['smhi-pkg==1.0.10'] - DEFAULT_NAME = 'smhi' diff --git a/homeassistant/components/smhi/weather.py b/homeassistant/components/smhi/weather.py index fc3399f755c..ab5d08e770b 100644 --- a/homeassistant/components/smhi/weather.py +++ b/homeassistant/components/smhi/weather.py @@ -19,8 +19,6 @@ from homeassistant.util import Throttle, slugify from .const import ATTR_SMHI_CLOUDINESS, ENTITY_ID_SENSOR_FORMAT -DEPENDENCIES = ['smhi'] - _LOGGER = logging.getLogger(__name__) # Used to map condition from API results diff --git a/homeassistant/components/snapcast/media_player.py b/homeassistant/components/snapcast/media_player.py index b1589c4db51..12ecabd68ea 100644 --- a/homeassistant/components/snapcast/media_player.py +++ b/homeassistant/components/snapcast/media_player.py @@ -14,8 +14,6 @@ from homeassistant.const import ( STATE_PLAYING, STATE_UNKNOWN) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['snapcast==2.0.9'] - _LOGGER = logging.getLogger(__name__) DATA_KEY = 'snapcast' diff --git a/homeassistant/components/snips/__init__.py b/homeassistant/components/snips/__init__.py index 0cc96d66b1a..71e37fa5137 100644 --- a/homeassistant/components/snips/__init__.py +++ b/homeassistant/components/snips/__init__.py @@ -10,8 +10,6 @@ from homeassistant.helpers import intent, config_validation as cv from homeassistant.components import mqtt DOMAIN = 'snips' -DEPENDENCIES = ['mqtt'] - CONF_INTENTS = 'intents' CONF_ACTION = 'action' CONF_FEEDBACK = 'feedback_sounds' diff --git a/homeassistant/components/snmp/device_tracker.py b/homeassistant/components/snmp/device_tracker.py index 8a0fe7c6101..b36681161cb 100644 --- a/homeassistant/components/snmp/device_tracker.py +++ b/homeassistant/components/snmp/device_tracker.py @@ -9,8 +9,6 @@ from homeassistant.components.device_tracker import ( DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST -REQUIREMENTS = ['pysnmp==4.4.8'] - _LOGGER = logging.getLogger(__name__) CONF_AUTHKEY = 'authkey' diff --git a/homeassistant/components/snmp/sensor.py b/homeassistant/components/snmp/sensor.py index 83d31118988..df132140c38 100644 --- a/homeassistant/components/snmp/sensor.py +++ b/homeassistant/components/snmp/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_PORT, CONF_UNIT_OF_MEASUREMENT, STATE_UNKNOWN, CONF_USERNAME, CONF_VALUE_TEMPLATE) -REQUIREMENTS = ['pysnmp==4.4.8'] - _LOGGER = logging.getLogger(__name__) CONF_BASEOID = 'baseoid' diff --git a/homeassistant/components/snmp/switch.py b/homeassistant/components/snmp/switch.py index fdb3267a3c7..5555f511272 100644 --- a/homeassistant/components/snmp/switch.py +++ b/homeassistant/components/snmp/switch.py @@ -9,8 +9,6 @@ from homeassistant.const import ( CONF_USERNAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pysnmp==4.4.8'] - _LOGGER = logging.getLogger(__name__) CONF_BASEOID = 'baseoid' diff --git a/homeassistant/components/sochain/sensor.py b/homeassistant/components/sochain/sensor.py index ef6a53b7091..3f74e43d140 100644 --- a/homeassistant/components/sochain/sensor.py +++ b/homeassistant/components/sochain/sensor.py @@ -10,8 +10,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['python-sochain-api==0.0.2'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by chain.so" diff --git a/homeassistant/components/socialblade/sensor.py b/homeassistant/components/socialblade/sensor.py index 77433ac6d57..a563de83f2d 100644 --- a/homeassistant/components/socialblade/sensor.py +++ b/homeassistant/components/socialblade/sensor.py @@ -12,8 +12,6 @@ from homeassistant.util import Throttle _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['socialbladeclient==0.2'] - CHANNEL_ID = 'channel_id' DEFAULT_NAME = "Social Blade" diff --git a/homeassistant/components/solaredge/sensor.py b/homeassistant/components/solaredge/sensor.py index 6c6d7557282..da0eba1320f 100644 --- a/homeassistant/components/solaredge/sensor.py +++ b/homeassistant/components/solaredge/sensor.py @@ -14,8 +14,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['solaredge==0.0.2', 'stringcase==1.2.0'] - # Config for solaredge monitoring api requests. CONF_SITE_ID = "site_id" diff --git a/homeassistant/components/somfy_mylink/__init__.py b/homeassistant/components/somfy_mylink/__init__.py index c8a6314acaa..19d41833510 100755 --- a/homeassistant/components/somfy_mylink/__init__.py +++ b/homeassistant/components/somfy_mylink/__init__.py @@ -8,7 +8,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers.discovery import async_load_platform _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['somfy-mylink-synergy==1.0.4'] CONF_ENTITY_CONFIG = 'entity_config' CONF_SYSTEM_ID = 'system_id' CONF_REVERSE = 'reverse' diff --git a/homeassistant/components/somfy_mylink/cover.py b/homeassistant/components/somfy_mylink/cover.py index e0b9eae36eb..16046d8b411 100755 --- a/homeassistant/components/somfy_mylink/cover.py +++ b/homeassistant/components/somfy_mylink/cover.py @@ -7,7 +7,6 @@ from homeassistant.util import slugify from . import CONF_DEFAULT_REVERSE, DATA_SOMFY_MYLINK _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['somfy_mylink'] async def async_setup_platform(hass, diff --git a/homeassistant/components/songpal/media_player.py b/homeassistant/components/songpal/media_player.py index 842360484cf..077975b26e2 100644 --- a/homeassistant/components/songpal/media_player.py +++ b/homeassistant/components/songpal/media_player.py @@ -16,8 +16,6 @@ from homeassistant.const import ( from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-songpal==0.0.9.1'] - _LOGGER = logging.getLogger(__name__) CONF_ENDPOINT = 'endpoint' diff --git a/homeassistant/components/sonos/__init__.py b/homeassistant/components/sonos/__init__.py index d5f89cd074e..b661fa26fe7 100644 --- a/homeassistant/components/sonos/__init__.py +++ b/homeassistant/components/sonos/__init__.py @@ -4,7 +4,6 @@ from homeassistant.helpers import config_entry_flow DOMAIN = 'sonos' -REQUIREMENTS = ['pysonos==0.0.10'] async def async_setup(hass, config): diff --git a/homeassistant/components/sony_projector/switch.py b/homeassistant/components/sony_projector/switch.py index 5b3ffeed75f..9ffd8ffb8bf 100644 --- a/homeassistant/components/sony_projector/switch.py +++ b/homeassistant/components/sony_projector/switch.py @@ -8,8 +8,6 @@ from homeassistant.const import ( STATE_ON, STATE_OFF, CONF_NAME, CONF_HOST) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pysdcp==1'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Sony Projector' diff --git a/homeassistant/components/soundtouch/media_player.py b/homeassistant/components/soundtouch/media_player.py index 027fad43a40..a2a6c315eda 100644 --- a/homeassistant/components/soundtouch/media_player.py +++ b/homeassistant/components/soundtouch/media_player.py @@ -15,8 +15,6 @@ from homeassistant.const import ( STATE_UNAVAILABLE) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['libsoundtouch==0.7.2'] - _LOGGER = logging.getLogger(__name__) SERVICE_PLAY_EVERYWHERE = 'soundtouch_play_everywhere' diff --git a/homeassistant/components/spaceapi/__init__.py b/homeassistant/components/spaceapi/__init__.py index fb76718f2d5..5431cd6260c 100644 --- a/homeassistant/components/spaceapi/__init__.py +++ b/homeassistant/components/spaceapi/__init__.py @@ -45,7 +45,6 @@ CONF_TEMPERATURE = 'temperature' CONF_TWITTER = 'twitter' DATA_SPACEAPI = 'data_spaceapi' -DEPENDENCIES = ['http'] DOMAIN = 'spaceapi' ISSUE_REPORT_CHANNELS = [CONF_EMAIL, CONF_IRC, CONF_MAILING_LIST, CONF_TWITTER] diff --git a/homeassistant/components/spc/__init__.py b/homeassistant/components/spc/__init__.py index 8aafb6f1210..8e06e254661 100644 --- a/homeassistant/components/spc/__init__.py +++ b/homeassistant/components/spc/__init__.py @@ -7,8 +7,6 @@ from homeassistant.helpers import discovery, aiohttp_client from homeassistant.helpers.dispatcher import async_dispatcher_send import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyspcwebgw==0.4.0'] - _LOGGER = logging.getLogger(__name__) CONF_WS_URL = 'ws_url' diff --git a/homeassistant/components/speedtestdotnet/__init__.py b/homeassistant/components/speedtestdotnet/__init__.py index 48953874e8c..83890295018 100644 --- a/homeassistant/components/speedtestdotnet/__init__.py +++ b/homeassistant/components/speedtestdotnet/__init__.py @@ -14,8 +14,6 @@ from homeassistant.helpers.dispatcher import dispatcher_send from homeassistant.helpers.event import async_track_time_interval from .const import DATA_UPDATED, DOMAIN, SENSOR_TYPES -REQUIREMENTS = ['speedtest-cli==2.1.1'] - _LOGGER = logging.getLogger(__name__) CONF_SERVER_ID = 'server_id' diff --git a/homeassistant/components/speedtestdotnet/sensor.py b/homeassistant/components/speedtestdotnet/sensor.py index fb92bb76ac8..785b981f1ac 100644 --- a/homeassistant/components/speedtestdotnet/sensor.py +++ b/homeassistant/components/speedtestdotnet/sensor.py @@ -9,8 +9,6 @@ from homeassistant.helpers.restore_state import RestoreEntity from .const import ( DATA_UPDATED, DOMAIN as SPEEDTESTDOTNET_DOMAIN, SENSOR_TYPES) -DEPENDENCIES = ['speedtestdotnet'] - _LOGGER = logging.getLogger(__name__) ATTR_BYTES_RECEIVED = 'bytes_received' diff --git a/homeassistant/components/spider/__init__.py b/homeassistant/components/spider/__init__.py index b565f183457..aadbfc8eb9b 100644 --- a/homeassistant/components/spider/__init__.py +++ b/homeassistant/components/spider/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform -REQUIREMENTS = ['spiderpy==1.3.1'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'spider' diff --git a/homeassistant/components/spider/climate.py b/homeassistant/components/spider/climate.py index 3b612441a88..069f34da3f7 100644 --- a/homeassistant/components/spider/climate.py +++ b/homeassistant/components/spider/climate.py @@ -10,8 +10,6 @@ from homeassistant.const import ATTR_TEMPERATURE, TEMP_CELSIUS from . import DOMAIN as SPIDER_DOMAIN -DEPENDENCIES = ['spider'] - FAN_LIST = [ 'Auto', 'Low', diff --git a/homeassistant/components/spider/switch.py b/homeassistant/components/spider/switch.py index e43762be460..286ea3e7ddf 100644 --- a/homeassistant/components/spider/switch.py +++ b/homeassistant/components/spider/switch.py @@ -5,8 +5,6 @@ from homeassistant.components.switch import SwitchDevice from . import DOMAIN as SPIDER_DOMAIN -DEPENDENCIES = ['spider'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/spotcrime/sensor.py b/homeassistant/components/spotcrime/sensor.py index fa9cfa687ec..a5636f543a3 100644 --- a/homeassistant/components/spotcrime/sensor.py +++ b/homeassistant/components/spotcrime/sensor.py @@ -15,8 +15,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import slugify import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['spotcrime==1.0.3'] - _LOGGER = logging.getLogger(__name__) CONF_DAYS = 'days' diff --git a/homeassistant/components/spotify/media_player.py b/homeassistant/components/spotify/media_player.py index b9252d5035b..d6014008c76 100644 --- a/homeassistant/components/spotify/media_player.py +++ b/homeassistant/components/spotify/media_player.py @@ -16,8 +16,6 @@ from homeassistant.const import ( from homeassistant.core import callback import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['spotipy-homeassistant==2.4.4.dev1'] - _LOGGER = logging.getLogger(__name__) AUTH_CALLBACK_NAME = 'api:spotify' @@ -35,7 +33,6 @@ CONFIGURATOR_SUBMIT_CAPTION = 'I authorized successfully' DEFAULT_CACHE_PATH = '.spotify-token-cache' DEFAULT_NAME = 'Spotify' -DEPENDENCIES = ['http'] DOMAIN = 'spotify' ICON = 'mdi:spotify' diff --git a/homeassistant/components/sql/sensor.py b/homeassistant/components/sql/sensor.py index bc40d5efb42..475bde97de4 100644 --- a/homeassistant/components/sql/sensor.py +++ b/homeassistant/components/sql/sensor.py @@ -15,8 +15,6 @@ from homeassistant.helpers.entity import Entity _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['sqlalchemy==1.3.0'] - CONF_COLUMN_NAME = 'column' CONF_QUERIES = 'queries' CONF_QUERY = 'query' diff --git a/homeassistant/components/srp_energy/sensor.py b/homeassistant/components/srp_energy/sensor.py index 0ebae427da1..a84295fdef9 100644 --- a/homeassistant/components/srp_energy/sensor.py +++ b/homeassistant/components/srp_energy/sensor.py @@ -14,8 +14,6 @@ from homeassistant.util import Throttle from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['srpenergy==1.0.6'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Powered by SRP Energy" diff --git a/homeassistant/components/starlingbank/sensor.py b/homeassistant/components/starlingbank/sensor.py index 00640ea4963..743bce5a736 100644 --- a/homeassistant/components/starlingbank/sensor.py +++ b/homeassistant/components/starlingbank/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import CONF_ACCESS_TOKEN, CONF_NAME import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['starlingbank==3.1'] - _LOGGER = logging.getLogger(__name__) BALANCE_TYPES = ['cleared_balance', 'effective_balance'] diff --git a/homeassistant/components/startca/sensor.py b/homeassistant/components/startca/sensor.py index 1e57a4cf859..fe2c35c39b7 100644 --- a/homeassistant/components/startca/sensor.py +++ b/homeassistant/components/startca/sensor.py @@ -14,8 +14,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['xmltodict==0.11.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Start.ca' diff --git a/homeassistant/components/statsd/__init__.py b/homeassistant/components/statsd/__init__.py index a8c34d0a843..c1b7e8de68d 100644 --- a/homeassistant/components/statsd/__init__.py +++ b/homeassistant/components/statsd/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers import state as state_helper -REQUIREMENTS = ['statsd==3.2.1'] - _LOGGER = logging.getLogger(__name__) CONF_ATTR = 'log_attributes' diff --git a/homeassistant/components/steam_online/sensor.py b/homeassistant/components/steam_online/sensor.py index 4b4b73ad8cf..1afeb2be4df 100644 --- a/homeassistant/components/steam_online/sensor.py +++ b/homeassistant/components/steam_online/sensor.py @@ -8,8 +8,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.const import CONF_API_KEY import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['steamodd==4.21'] - _LOGGER = logging.getLogger(__name__) CONF_ACCOUNTS = 'accounts' diff --git a/homeassistant/components/stream/__init__.py b/homeassistant/components/stream/__init__.py index 43debc504e1..1de1fc35ea1 100644 --- a/homeassistant/components/stream/__init__.py +++ b/homeassistant/components/stream/__init__.py @@ -19,12 +19,8 @@ from .worker import stream_worker from .hls import async_setup_hls from .recorder import async_setup_recorder -REQUIREMENTS = ['av==6.1.2'] - _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['http'] - CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({}), }, extra=vol.ALLOW_EXTRA) diff --git a/homeassistant/components/stride/notify.py b/homeassistant/components/stride/notify.py index fa08697d798..1ce2cf5e221 100644 --- a/homeassistant/components/stride/notify.py +++ b/homeassistant/components/stride/notify.py @@ -10,8 +10,6 @@ from homeassistant.components.notify import (ATTR_DATA, ATTR_TARGET, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['pystride==0.1.7'] - _LOGGER = logging.getLogger(__name__) CONF_PANEL = 'panel' diff --git a/homeassistant/components/swiss_hydrological_data/sensor.py b/homeassistant/components/swiss_hydrological_data/sensor.py index 84964a94cbd..c8a2c62c5bf 100644 --- a/homeassistant/components/swiss_hydrological_data/sensor.py +++ b/homeassistant/components/swiss_hydrological_data/sensor.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['swisshydrodata==0.0.3'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by the Swiss Federal Office for the " \ diff --git a/homeassistant/components/swiss_public_transport/sensor.py b/homeassistant/components/swiss_public_transport/sensor.py index 8d6b7fdee0e..9ff5ea71819 100644 --- a/homeassistant/components/swiss_public_transport/sensor.py +++ b/homeassistant/components/swiss_public_transport/sensor.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity import homeassistant.util.dt as dt_util -REQUIREMENTS = ['python_opendata_transport==0.1.4'] - _LOGGER = logging.getLogger(__name__) ATTR_DEPARTURE_TIME1 = 'next_departure' diff --git a/homeassistant/components/switch/__init__.py b/homeassistant/components/switch/__init__.py index 7e89a5369c8..65b2bb7b92a 100644 --- a/homeassistant/components/switch/__init__.py +++ b/homeassistant/components/switch/__init__.py @@ -16,7 +16,6 @@ from homeassistant.const import ( from homeassistant.components import group DOMAIN = 'switch' -DEPENDENCIES = ['group'] SCAN_INTERVAL = timedelta(seconds=30) GROUP_NAME_ALL_SWITCHES = 'all switches' diff --git a/homeassistant/components/switchbot/switch.py b/homeassistant/components/switchbot/switch.py index 3db9b5fd226..b8a2a905dcb 100644 --- a/homeassistant/components/switchbot/switch.py +++ b/homeassistant/components/switchbot/switch.py @@ -8,8 +8,6 @@ from homeassistant.components.switch import SwitchDevice, PLATFORM_SCHEMA from homeassistant.const import CONF_NAME, CONF_MAC from homeassistant.helpers.restore_state import RestoreEntity -REQUIREMENTS = ['PySwitchbot==0.5'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Switchbot' diff --git a/homeassistant/components/switchmate/switch.py b/homeassistant/components/switchmate/switch.py index c14a6ca8087..ed76089147f 100644 --- a/homeassistant/components/switchmate/switch.py +++ b/homeassistant/components/switchmate/switch.py @@ -8,8 +8,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.switch import SwitchDevice, PLATFORM_SCHEMA from homeassistant.const import CONF_NAME, CONF_MAC -REQUIREMENTS = ['pySwitchmate==0.4.5'] - _LOGGER = logging.getLogger(__name__) CONF_FLIP_ON_OFF = 'flip_on_off' diff --git a/homeassistant/components/syncthru/sensor.py b/homeassistant/components/syncthru/sensor.py index 5596d4ab86a..33f57fa0371 100644 --- a/homeassistant/components/syncthru/sensor.py +++ b/homeassistant/components/syncthru/sensor.py @@ -9,8 +9,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv from homeassistant.components.sensor import PLATFORM_SCHEMA -REQUIREMENTS = ['pysyncthru==0.3.1'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Samsung Printer' diff --git a/homeassistant/components/synology/camera.py b/homeassistant/components/synology/camera.py index c452f60cc2a..93647465280 100644 --- a/homeassistant/components/synology/camera.py +++ b/homeassistant/components/synology/camera.py @@ -14,8 +14,6 @@ from homeassistant.helpers.aiohttp_client import ( async_get_clientsession) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['py-synology==0.2.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Synology Camera' diff --git a/homeassistant/components/synology_srm/device_tracker.py b/homeassistant/components/synology_srm/device_tracker.py index bf5653d681b..57dbb7134e2 100644 --- a/homeassistant/components/synology_srm/device_tracker.py +++ b/homeassistant/components/synology_srm/device_tracker.py @@ -13,8 +13,6 @@ from homeassistant.const import ( CONF_HOST, CONF_USERNAME, CONF_PASSWORD, CONF_PORT, CONF_SSL, CONF_VERIFY_SSL) -REQUIREMENTS = ['synology-srm==0.0.6'] - _LOGGER = logging.getLogger(__name__) DEFAULT_USERNAME = 'admin' diff --git a/homeassistant/components/synologydsm/sensor.py b/homeassistant/components/synologydsm/sensor.py index 0d5a253483f..2d12dbfe763 100644 --- a/homeassistant/components/synologydsm/sensor.py +++ b/homeassistant/components/synologydsm/sensor.py @@ -13,8 +13,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['python-synology==0.2.0'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = 'Data provided by Synology' diff --git a/homeassistant/components/system_health/__init__.py b/homeassistant/components/system_health/__init__.py index 9a171296ce9..7dbb682b287 100644 --- a/homeassistant/components/system_health/__init__.py +++ b/homeassistant/components/system_health/__init__.py @@ -14,7 +14,6 @@ from homeassistant.loader import bind_hass _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['http'] DOMAIN = 'system_health' INFO_CALLBACK_TIMEOUT = 5 diff --git a/homeassistant/components/system_log/__init__.py b/homeassistant/components/system_log/__init__.py index d6877c32f0d..c5909309ab3 100644 --- a/homeassistant/components/system_log/__init__.py +++ b/homeassistant/components/system_log/__init__.py @@ -20,7 +20,6 @@ CONF_LOGGER = 'logger' DATA_SYSTEM_LOG = 'system_log' DEFAULT_MAX_ENTRIES = 50 DEFAULT_FIRE_EVENT = False -DEPENDENCIES = ['http'] DOMAIN = 'system_log' EVENT_SYSTEM_LOG = 'system_log_event' diff --git a/homeassistant/components/systemmonitor/sensor.py b/homeassistant/components/systemmonitor/sensor.py index cf65daa4395..fbd4ed52de7 100644 --- a/homeassistant/components/systemmonitor/sensor.py +++ b/homeassistant/components/systemmonitor/sensor.py @@ -12,8 +12,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['psutil==5.6.1'] - _LOGGER = logging.getLogger(__name__) CONF_ARG = 'arg' diff --git a/homeassistant/components/sytadin/sensor.py b/homeassistant/components/sytadin/sensor.py index 517deda7ca2..887d0800e33 100644 --- a/homeassistant/components/sytadin/sensor.py +++ b/homeassistant/components/sytadin/sensor.py @@ -13,8 +13,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['beautifulsoup4==4.7.1'] - _LOGGER = logging.getLogger(__name__) URL = 'http://www.sytadin.fr/sys/barometres_de_la_circulation.jsp.html' diff --git a/homeassistant/components/tado/__init__.py b/homeassistant/components/tado/__init__.py index 8d3f541972e..9bbca925868 100644 --- a/homeassistant/components/tado/__init__.py +++ b/homeassistant/components/tado/__init__.py @@ -10,8 +10,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.const import CONF_USERNAME, CONF_PASSWORD from homeassistant.util import Throttle -REQUIREMENTS = ['python-tado==0.2.9'] - _LOGGER = logging.getLogger(__name__) DATA_TADO = 'tado_data' diff --git a/homeassistant/components/tahoma/__init__.py b/homeassistant/components/tahoma/__init__.py index 1807667da87..9605b9e14e4 100644 --- a/homeassistant/components/tahoma/__init__.py +++ b/homeassistant/components/tahoma/__init__.py @@ -9,8 +9,6 @@ from homeassistant.helpers import discovery from homeassistant.helpers import config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['tahoma-api==0.0.14'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'tahoma' diff --git a/homeassistant/components/tahoma/binary_sensor.py b/homeassistant/components/tahoma/binary_sensor.py index 948c6f90a58..f4305077a07 100644 --- a/homeassistant/components/tahoma/binary_sensor.py +++ b/homeassistant/components/tahoma/binary_sensor.py @@ -7,8 +7,6 @@ from homeassistant.const import ATTR_BATTERY_LEVEL, STATE_OFF, STATE_ON from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice -DEPENDENCIES = ['tahoma'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=120) diff --git a/homeassistant/components/tahoma/cover.py b/homeassistant/components/tahoma/cover.py index 85e785f9ca3..eeacf7c83b2 100644 --- a/homeassistant/components/tahoma/cover.py +++ b/homeassistant/components/tahoma/cover.py @@ -7,8 +7,6 @@ from homeassistant.util.dt import utcnow from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice -DEPENDENCIES = ['tahoma'] - _LOGGER = logging.getLogger(__name__) ATTR_MEM_POS = 'memorized_position' diff --git a/homeassistant/components/tahoma/scene.py b/homeassistant/components/tahoma/scene.py index eedb95d1a77..cea8217b17a 100644 --- a/homeassistant/components/tahoma/scene.py +++ b/homeassistant/components/tahoma/scene.py @@ -5,8 +5,6 @@ from homeassistant.components.scene import Scene from . import DOMAIN as TAHOMA_DOMAIN -DEPENDENCIES = ['tahoma'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tahoma/sensor.py b/homeassistant/components/tahoma/sensor.py index 3c03911804a..288462dcc80 100644 --- a/homeassistant/components/tahoma/sensor.py +++ b/homeassistant/components/tahoma/sensor.py @@ -7,8 +7,6 @@ from homeassistant.helpers.entity import Entity from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice -DEPENDENCIES = ['tahoma'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=60) diff --git a/homeassistant/components/tahoma/switch.py b/homeassistant/components/tahoma/switch.py index 71f00ed8937..4877ae61e28 100644 --- a/homeassistant/components/tahoma/switch.py +++ b/homeassistant/components/tahoma/switch.py @@ -6,8 +6,6 @@ from homeassistant.const import STATE_OFF, STATE_ON from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice -DEPENDENCIES = ['tahoma'] - _LOGGER = logging.getLogger(__name__) ATTR_RSSI_LEVEL = 'rssi_level' diff --git a/homeassistant/components/tank_utility/sensor.py b/homeassistant/components/tank_utility/sensor.py index 5389d60ef46..8d83b0773ce 100644 --- a/homeassistant/components/tank_utility/sensor.py +++ b/homeassistant/components/tank_utility/sensor.py @@ -12,10 +12,6 @@ from homeassistant.const import CONF_DEVICES, CONF_EMAIL, CONF_PASSWORD from homeassistant.helpers.entity import Entity -REQUIREMENTS = [ - "tank_utility==1.4.0" -] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = datetime.timedelta(hours=1) diff --git a/homeassistant/components/tapsaff/binary_sensor.py b/homeassistant/components/tapsaff/binary_sensor.py index 639e9574ed9..b2875c8e40d 100644 --- a/homeassistant/components/tapsaff/binary_sensor.py +++ b/homeassistant/components/tapsaff/binary_sensor.py @@ -9,8 +9,6 @@ from homeassistant.components.binary_sensor import ( from homeassistant.const import CONF_NAME import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['tapsaff==0.2.0'] - _LOGGER = logging.getLogger(__name__) CONF_LOCATION = 'location' diff --git a/homeassistant/components/tautulli/sensor.py b/homeassistant/components/tautulli/sensor.py index 44be10749bf..ca1651eca68 100644 --- a/homeassistant/components/tautulli/sensor.py +++ b/homeassistant/components/tautulli/sensor.py @@ -14,8 +14,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pytautulli==0.5.0'] - _LOGGER = logging.getLogger(__name__) CONF_MONITORED_USERS = 'monitored_users' diff --git a/homeassistant/components/ted5000/sensor.py b/homeassistant/components/ted5000/sensor.py index fba9866302d..32869949eb9 100644 --- a/homeassistant/components/ted5000/sensor.py +++ b/homeassistant/components/ted5000/sensor.py @@ -12,8 +12,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['xmltodict==0.11.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'ted' diff --git a/homeassistant/components/telegram/notify.py b/homeassistant/components/telegram/notify.py index 3602bbd2441..b18e0e2c1d1 100644 --- a/homeassistant/components/telegram/notify.py +++ b/homeassistant/components/telegram/notify.py @@ -12,8 +12,6 @@ from homeassistant.components.notify import ( _LOGGER = logging.getLogger(__name__) DOMAIN = 'telegram_bot' -DEPENDENCIES = [DOMAIN] - ATTR_KEYBOARD = 'keyboard' ATTR_INLINE_KEYBOARD = 'inline_keyboard' ATTR_PHOTO = 'photo' diff --git a/homeassistant/components/telegram_bot/__init__.py b/homeassistant/components/telegram_bot/__init__.py index 7d19e8212b6..a77b8603853 100644 --- a/homeassistant/components/telegram_bot/__init__.py +++ b/homeassistant/components/telegram_bot/__init__.py @@ -16,8 +16,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.exceptions import TemplateError -REQUIREMENTS = ['python-telegram-bot==11.1.0'] - _LOGGER = logging.getLogger(__name__) ATTR_ARGS = 'args' diff --git a/homeassistant/components/telegram_bot/webhooks.py b/homeassistant/components/telegram_bot/webhooks.py index 424ece81549..1a2839b176e 100644 --- a/homeassistant/components/telegram_bot/webhooks.py +++ b/homeassistant/components/telegram_bot/webhooks.py @@ -15,8 +15,6 @@ from . import ( CONF_ALLOWED_CHAT_IDS, PLATFORM_SCHEMA, BaseTelegramBotEntity, initialize_bot) -DEPENDENCIES = ['http'] - _LOGGER = logging.getLogger(__name__) TELEGRAM_HANDLER_URL = '/api/telegram_webhooks' diff --git a/homeassistant/components/tellduslive/__init__.py b/homeassistant/components/tellduslive/__init__.py index 64f4a0102a1..de665bc314f 100644 --- a/homeassistant/components/tellduslive/__init__.py +++ b/homeassistant/components/tellduslive/__init__.py @@ -19,8 +19,6 @@ from .const import ( APPLICATION_NAME = 'Home Assistant' -REQUIREMENTS = ['tellduslive==0.10.10'] - _LOGGER = logging.getLogger(__name__) CONFIG_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/tellstick/__init__.py b/homeassistant/components/tellstick/__init__.py index c35d2f79027..815e194184b 100644 --- a/homeassistant/components/tellstick/__init__.py +++ b/homeassistant/components/tellstick/__init__.py @@ -11,8 +11,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['tellcore-py==1.1.2', 'tellcore-net==0.4'] - _LOGGER = logging.getLogger(__name__) ATTR_DISCOVER_CONFIG = 'config' diff --git a/homeassistant/components/tellstick/sensor.py b/homeassistant/components/tellstick/sensor.py index 0438ad79abc..39946dac7c1 100644 --- a/homeassistant/components/tellstick/sensor.py +++ b/homeassistant/components/tellstick/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import TEMP_CELSIUS, CONF_ID, CONF_NAME from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['tellstick'] - _LOGGER = logging.getLogger(__name__) DatatypeDescription = namedtuple('DatatypeDescription', ['name', 'unit']) diff --git a/homeassistant/components/temper/sensor.py b/homeassistant/components/temper/sensor.py index 1c6cb9fdff4..9bf6a3296fc 100644 --- a/homeassistant/components/temper/sensor.py +++ b/homeassistant/components/temper/sensor.py @@ -8,8 +8,6 @@ from homeassistant.helpers.entity import Entity _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['temperusb==1.5.3'] - CONF_SCALE = 'scale' CONF_OFFSET = 'offset' diff --git a/homeassistant/components/tensorflow/image_processing.py b/homeassistant/components/tensorflow/image_processing.py index 4e4a80a525e..2125ea80364 100644 --- a/homeassistant/components/tensorflow/image_processing.py +++ b/homeassistant/components/tensorflow/image_processing.py @@ -12,8 +12,6 @@ from homeassistant.core import split_entity_id from homeassistant.helpers import template import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['numpy==1.16.2', 'pillow==5.4.1', 'protobuf==3.6.1'] - _LOGGER = logging.getLogger(__name__) ATTR_MATCHES = 'matches' diff --git a/homeassistant/components/tesla/__init__.py b/homeassistant/components/tesla/__init__.py index 244538f5f46..894502aa50a 100644 --- a/homeassistant/components/tesla/__init__.py +++ b/homeassistant/components/tesla/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers import discovery from homeassistant.helpers.entity import Entity from homeassistant.util import slugify -REQUIREMENTS = ['teslajsonpy==0.0.25'] - DOMAIN = 'tesla' _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tesla/binary_sensor.py b/homeassistant/components/tesla/binary_sensor.py index a87239d2430..147853f5855 100644 --- a/homeassistant/components/tesla/binary_sensor.py +++ b/homeassistant/components/tesla/binary_sensor.py @@ -8,8 +8,6 @@ from . import DOMAIN as TESLA_DOMAIN, TeslaDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tesla'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Tesla binary sensor.""" diff --git a/homeassistant/components/tesla/climate.py b/homeassistant/components/tesla/climate.py index 603ce1a4d61..cb2eee4367f 100644 --- a/homeassistant/components/tesla/climate.py +++ b/homeassistant/components/tesla/climate.py @@ -11,8 +11,6 @@ from . import DOMAIN as TESLA_DOMAIN, TeslaDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tesla'] - OPERATION_LIST = [STATE_ON, STATE_OFF] SUPPORT_FLAGS = SUPPORT_TARGET_TEMPERATURE | SUPPORT_OPERATION_MODE diff --git a/homeassistant/components/tesla/device_tracker.py b/homeassistant/components/tesla/device_tracker.py index 5a7693d8370..c3fd649ad4e 100644 --- a/homeassistant/components/tesla/device_tracker.py +++ b/homeassistant/components/tesla/device_tracker.py @@ -8,8 +8,6 @@ from . import DOMAIN as TESLA_DOMAIN _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tesla'] - def setup_scanner(hass, config, see, discovery_info=None): """Set up the Tesla tracker.""" diff --git a/homeassistant/components/tesla/lock.py b/homeassistant/components/tesla/lock.py index ade394496d6..4601aebf7c7 100644 --- a/homeassistant/components/tesla/lock.py +++ b/homeassistant/components/tesla/lock.py @@ -8,8 +8,6 @@ from . import DOMAIN as TESLA_DOMAIN, TeslaDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tesla'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Tesla lock platform.""" diff --git a/homeassistant/components/tesla/sensor.py b/homeassistant/components/tesla/sensor.py index 99705d3f793..1a1fe85e252 100644 --- a/homeassistant/components/tesla/sensor.py +++ b/homeassistant/components/tesla/sensor.py @@ -11,8 +11,6 @@ from . import DOMAIN as TESLA_DOMAIN, TeslaDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tesla'] - SCAN_INTERVAL = timedelta(minutes=5) diff --git a/homeassistant/components/tesla/switch.py b/homeassistant/components/tesla/switch.py index e00164ff1a7..9b15ca092b4 100644 --- a/homeassistant/components/tesla/switch.py +++ b/homeassistant/components/tesla/switch.py @@ -7,7 +7,6 @@ from homeassistant.const import STATE_OFF, STATE_ON from . import DOMAIN as TESLA_DOMAIN, TeslaDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tesla'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/tfiac/climate.py b/homeassistant/components/tfiac/climate.py index 44fa1909823..c3c42b3b63b 100644 --- a/homeassistant/components/tfiac/climate.py +++ b/homeassistant/components/tfiac/climate.py @@ -13,8 +13,6 @@ from homeassistant.components.climate.const import ( from homeassistant.const import ATTR_TEMPERATURE, CONF_HOST, TEMP_FAHRENHEIT import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pytfiac==0.3'] - SCAN_INTERVAL = timedelta(seconds=60) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/thermoworks_smoke/sensor.py b/homeassistant/components/thermoworks_smoke/sensor.py index 0c6cddd9fcd..55a4cd67cdd 100644 --- a/homeassistant/components/thermoworks_smoke/sensor.py +++ b/homeassistant/components/thermoworks_smoke/sensor.py @@ -17,8 +17,6 @@ from homeassistant.const import TEMP_FAHRENHEIT, CONF_EMAIL, CONF_PASSWORD,\ CONF_MONITORED_CONDITIONS, CONF_EXCLUDE, ATTR_BATTERY_LEVEL from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['thermoworks_smoke==0.1.8', 'stringcase==1.2.0'] - _LOGGER = logging.getLogger(__name__) PROBE_1 = 'probe1' diff --git a/homeassistant/components/thethingsnetwork/sensor.py b/homeassistant/components/thethingsnetwork/sensor.py index d59b429721b..08cdecf8569 100644 --- a/homeassistant/components/thethingsnetwork/sensor.py +++ b/homeassistant/components/thethingsnetwork/sensor.py @@ -22,8 +22,6 @@ ATTR_RAW = 'raw' ATTR_TIME = 'time' DEFAULT_TIMEOUT = 10 -DEPENDENCIES = ['thethingsnetwork'] - CONF_DEVICE_ID = 'device_id' CONF_VALUES = 'values' diff --git a/homeassistant/components/thingspeak/__init__.py b/homeassistant/components/thingspeak/__init__.py index 0fa15e7efb4..d6191dbd300 100644 --- a/homeassistant/components/thingspeak/__init__.py +++ b/homeassistant/components/thingspeak/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import ( from homeassistant.helpers import event, state as state_helper import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['thingspeak==0.4.1'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'thingspeak' diff --git a/homeassistant/components/thinkingcleaner/sensor.py b/homeassistant/components/thinkingcleaner/sensor.py index f8462435a45..4f05f142568 100644 --- a/homeassistant/components/thinkingcleaner/sensor.py +++ b/homeassistant/components/thinkingcleaner/sensor.py @@ -7,8 +7,6 @@ from homeassistant.helpers.entity import Entity _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pythinkingcleaner==0.0.3'] - MIN_TIME_BETWEEN_SCANS = timedelta(seconds=10) MIN_TIME_BETWEEN_FORCED_SCANS = timedelta(milliseconds=100) diff --git a/homeassistant/components/thinkingcleaner/switch.py b/homeassistant/components/thinkingcleaner/switch.py index 38a96eb0298..43b5a8ca422 100644 --- a/homeassistant/components/thinkingcleaner/switch.py +++ b/homeassistant/components/thinkingcleaner/switch.py @@ -9,8 +9,6 @@ from homeassistant.helpers.entity import ToggleEntity _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pythinkingcleaner==0.0.3'] - MIN_TIME_BETWEEN_SCANS = timedelta(seconds=10) MIN_TIME_BETWEEN_FORCED_SCANS = timedelta(milliseconds=100) diff --git a/homeassistant/components/tibber/__init__.py b/homeassistant/components/tibber/__init__.py index 19cf6fe6525..15c684b72da 100644 --- a/homeassistant/components/tibber/__init__.py +++ b/homeassistant/components/tibber/__init__.py @@ -11,8 +11,6 @@ from homeassistant.const import (EVENT_HOMEASSISTANT_STOP, CONF_ACCESS_TOKEN, from homeassistant.helpers import discovery from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['pyTibber==0.10.1'] - DOMAIN = 'tibber' CONFIG_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/tikteck/light.py b/homeassistant/components/tikteck/light.py index 4f5596c71be..d69672cb5fe 100644 --- a/homeassistant/components/tikteck/light.py +++ b/homeassistant/components/tikteck/light.py @@ -10,8 +10,6 @@ from homeassistant.components.light import ( import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['tikteck==0.4'] - _LOGGER = logging.getLogger(__name__) SUPPORT_TIKTECK_LED = (SUPPORT_BRIGHTNESS | SUPPORT_COLOR) diff --git a/homeassistant/components/tile/device_tracker.py b/homeassistant/components/tile/device_tracker.py index c471c1e23b4..f83e4bccea4 100644 --- a/homeassistant/components/tile/device_tracker.py +++ b/homeassistant/components/tile/device_tracker.py @@ -13,8 +13,6 @@ from homeassistant.util import slugify from homeassistant.util.json import load_json, save_json _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pytile==2.0.6'] - CLIENT_UUID_CONFIG_FILE = '.tile.conf' DEVICE_TYPES = ['PHONE', 'TILE'] diff --git a/homeassistant/components/todoist/calendar.py b/homeassistant/components/todoist/calendar.py index 313935e1221..2ee88080924 100644 --- a/homeassistant/components/todoist/calendar.py +++ b/homeassistant/components/todoist/calendar.py @@ -12,8 +12,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.template import DATE_STR_FORMAT from homeassistant.util import Throttle, dt -REQUIREMENTS = ['todoist-python==7.0.17'] - _LOGGER = logging.getLogger(__name__) CONF_EXTRA_PROJECTS = 'custom_projects' diff --git a/homeassistant/components/tof/sensor.py b/homeassistant/components/tof/sensor.py index a403db03682..66b86da301c 100644 --- a/homeassistant/components/tof/sensor.py +++ b/homeassistant/components/tof/sensor.py @@ -12,10 +12,6 @@ from homeassistant.components import rpi_gpio from homeassistant.const import CONF_NAME from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['VL53L1X2==0.1.5'] - -DEPENDENCIES = ['rpi_gpio'] - _LOGGER = logging.getLogger(__name__) LENGTH_MILLIMETERS = 'mm' diff --git a/homeassistant/components/toon/__init__.py b/homeassistant/components/toon/__init__.py index d718b5895e4..da47285934c 100644 --- a/homeassistant/components/toon/__init__.py +++ b/homeassistant/components/toon/__init__.py @@ -16,8 +16,6 @@ from .const import ( CONF_CLIENT_ID, CONF_CLIENT_SECRET, CONF_DISPLAY, CONF_TENANT, DATA_TOON_CLIENT, DATA_TOON_CONFIG, DOMAIN) -REQUIREMENTS = ['toonapilib==3.2.2'] - _LOGGER = logging.getLogger(__name__) # Validation of the user's configuration diff --git a/homeassistant/components/toon/binary_sensor.py b/homeassistant/components/toon/binary_sensor.py index 694b7d1d033..c9bec0f3e6a 100644 --- a/homeassistant/components/toon/binary_sensor.py +++ b/homeassistant/components/toon/binary_sensor.py @@ -12,8 +12,6 @@ from . import (ToonEntity, ToonDisplayDeviceEntity, ToonBoilerDeviceEntity, ToonBoilerModuleDeviceEntity) from .const import DATA_TOON_CLIENT, DOMAIN -DEPENDENCIES = ['toon'] - _LOGGER = logging.getLogger(__name__) MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=5) diff --git a/homeassistant/components/toon/climate.py b/homeassistant/components/toon/climate.py index f09dc010c79..d17cc641db0 100644 --- a/homeassistant/components/toon/climate.py +++ b/homeassistant/components/toon/climate.py @@ -15,8 +15,6 @@ from homeassistant.helpers.typing import HomeAssistantType from . import ToonDisplayDeviceEntity from .const import DATA_TOON_CLIENT, DEFAULT_MAX_TEMP, DEFAULT_MIN_TEMP, DOMAIN -DEPENDENCIES = ['toon'] - _LOGGER = logging.getLogger(__name__) SUPPORT_FLAGS = SUPPORT_TARGET_TEMPERATURE | SUPPORT_OPERATION_MODE diff --git a/homeassistant/components/toon/sensor.py b/homeassistant/components/toon/sensor.py index f58c8ef4840..7762aa0d822 100644 --- a/homeassistant/components/toon/sensor.py +++ b/homeassistant/components/toon/sensor.py @@ -11,8 +11,6 @@ from . import (ToonEntity, ToonElectricityMeterDeviceEntity, from .const import (CURRENCY_EUR, DATA_TOON_CLIENT, DOMAIN, POWER_KWH, POWER_WATT, VOLUME_CM3, VOLUME_M3, RATIO_PERCENT) -DEPENDENCIES = ['toon'] - _LOGGER = logging.getLogger(__name__) MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=5) diff --git a/homeassistant/components/torque/sensor.py b/homeassistant/components/torque/sensor.py index 2f947c178b8..01efd49e862 100644 --- a/homeassistant/components/torque/sensor.py +++ b/homeassistant/components/torque/sensor.py @@ -16,7 +16,6 @@ _LOGGER = logging.getLogger(__name__) API_PATH = '/api/torque' DEFAULT_NAME = 'vehicle' -DEPENDENCIES = ['http'] DOMAIN = 'torque' ENTITY_NAME_FORMAT = '{0} {1}' diff --git a/homeassistant/components/totalconnect/alarm_control_panel.py b/homeassistant/components/totalconnect/alarm_control_panel.py index c56c4ed95a6..848202d6ce1 100644 --- a/homeassistant/components/totalconnect/alarm_control_panel.py +++ b/homeassistant/components/totalconnect/alarm_control_panel.py @@ -13,8 +13,6 @@ from homeassistant.const import ( STATE_ALARM_ARMED_CUSTOM_BYPASS) -REQUIREMENTS = ['total_connect_client==0.25'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Total Connect' diff --git a/homeassistant/components/touchline/climate.py b/homeassistant/components/touchline/climate.py index e003ea257d7..e4e4a5b7fb8 100644 --- a/homeassistant/components/touchline/climate.py +++ b/homeassistant/components/touchline/climate.py @@ -9,8 +9,6 @@ from homeassistant.components.climate.const import ( from homeassistant.const import CONF_HOST, TEMP_CELSIUS, ATTR_TEMPERATURE import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pytouchline==0.7'] - _LOGGER = logging.getLogger(__name__) SUPPORT_FLAGS = (SUPPORT_TARGET_TEMPERATURE) diff --git a/homeassistant/components/tplink/__init__.py b/homeassistant/components/tplink/__init__.py index 9fc12db0d63..2ebf342c38d 100644 --- a/homeassistant/components/tplink/__init__.py +++ b/homeassistant/components/tplink/__init__.py @@ -33,8 +33,6 @@ CONFIG_SCHEMA = vol.Schema({ }), }, extra=vol.ALLOW_EXTRA) -REQUIREMENTS = ['pyHS100==0.3.4'] - async def _async_has_devices(hass): """Return if there are devices that can be discovered.""" diff --git a/homeassistant/components/tplink/device_tracker.py b/homeassistant/components/tplink/device_tracker.py index 7f5c4a37d24..7b665006a44 100644 --- a/homeassistant/components/tplink/device_tracker.py +++ b/homeassistant/components/tplink/device_tracker.py @@ -17,8 +17,6 @@ from homeassistant.const import ( CONF_HOST, CONF_PASSWORD, CONF_USERNAME, HTTP_HEADER_X_REQUESTED_WITH) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['tplink==0.2.1'] - _LOGGER = logging.getLogger(__name__) HTTP_HEADER_NO_CACHE = 'no-cache' diff --git a/homeassistant/components/tplink/light.py b/homeassistant/components/tplink/light.py index 9f13766c4ef..6fa795bcafc 100644 --- a/homeassistant/components/tplink/light.py +++ b/homeassistant/components/tplink/light.py @@ -12,8 +12,6 @@ from homeassistant.util.color import ( from . import CONF_LIGHT, DOMAIN as TPLINK_DOMAIN -DEPENDENCIES = ['tplink'] - PARALLEL_UPDATES = 0 _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tplink/switch.py b/homeassistant/components/tplink/switch.py index a4eeadd1c60..3040b52cd22 100644 --- a/homeassistant/components/tplink/switch.py +++ b/homeassistant/components/tplink/switch.py @@ -9,8 +9,6 @@ import homeassistant.helpers.device_registry as dr from . import CONF_SWITCH, DOMAIN as TPLINK_DOMAIN -DEPENDENCIES = ['tplink'] - PARALLEL_UPDATES = 0 _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tplink_lte/__init__.py b/homeassistant/components/tplink_lte/__init__.py index ae0b73d1c7c..d3d2933238d 100644 --- a/homeassistant/components/tplink_lte/__init__.py +++ b/homeassistant/components/tplink_lte/__init__.py @@ -14,8 +14,6 @@ from homeassistant.core import callback from homeassistant.helpers import config_validation as cv, discovery from homeassistant.helpers.aiohttp_client import async_create_clientsession -REQUIREMENTS = ['tp-connected==0.0.4'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'tplink_lte' diff --git a/homeassistant/components/tplink_lte/notify.py b/homeassistant/components/tplink_lte/notify.py index 519641ed34b..a8844979e5e 100644 --- a/homeassistant/components/tplink_lte/notify.py +++ b/homeassistant/components/tplink_lte/notify.py @@ -9,8 +9,6 @@ from homeassistant.const import CONF_RECIPIENT from ..tplink_lte import DATA_KEY -DEPENDENCIES = ['tplink_lte'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/traccar/device_tracker.py b/homeassistant/components/traccar/device_tracker.py index 28d13dd4fe6..1600227bfe2 100644 --- a/homeassistant/components/traccar/device_tracker.py +++ b/homeassistant/components/traccar/device_tracker.py @@ -16,8 +16,6 @@ from homeassistant.helpers.event import async_track_time_interval from homeassistant.util import slugify -REQUIREMENTS = ['pytraccar==0.5.0', 'stringcase==1.2.0'] - _LOGGER = logging.getLogger(__name__) ATTR_ADDRESS = 'address' diff --git a/homeassistant/components/trackr/device_tracker.py b/homeassistant/components/trackr/device_tracker.py index 1322fde7e1a..55f8b7c1faf 100644 --- a/homeassistant/components/trackr/device_tracker.py +++ b/homeassistant/components/trackr/device_tracker.py @@ -11,8 +11,6 @@ from homeassistant.util import slugify _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pytrackr==0.0.5'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_USERNAME): cv.string, vol.Required(CONF_PASSWORD): cv.string diff --git a/homeassistant/components/tradfri/__init__.py b/homeassistant/components/tradfri/__init__.py index b14bc811754..ec339bc6312 100644 --- a/homeassistant/components/tradfri/__init__.py +++ b/homeassistant/components/tradfri/__init__.py @@ -13,8 +13,6 @@ from .const import ( from . import config_flow # noqa pylint_disable=unused-import -REQUIREMENTS = ['pytradfri[async]==6.0.1'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tradfri/light.py b/homeassistant/components/tradfri/light.py index 07ab4806dfc..a2b2cdc7c49 100644 --- a/homeassistant/components/tradfri/light.py +++ b/homeassistant/components/tradfri/light.py @@ -17,7 +17,6 @@ ATTR_DIMMER = 'dimmer' ATTR_HUE = 'hue' ATTR_SAT = 'saturation' ATTR_TRANSITION_TIME = 'transition_time' -DEPENDENCIES = ['tradfri'] PLATFORM_SCHEMA = LIGHT_PLATFORM_SCHEMA IKEA = 'IKEA of Sweden' TRADFRI_LIGHT_MANAGER = 'Tradfri Light Manager' diff --git a/homeassistant/components/tradfri/sensor.py b/homeassistant/components/tradfri/sensor.py index acc84a93590..b6f4aef370d 100644 --- a/homeassistant/components/tradfri/sensor.py +++ b/homeassistant/components/tradfri/sensor.py @@ -9,8 +9,6 @@ from . import KEY_API, KEY_GATEWAY _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tradfri'] - SCAN_INTERVAL = timedelta(minutes=5) diff --git a/homeassistant/components/tradfri/switch.py b/homeassistant/components/tradfri/switch.py index ef9a9537cff..b7826624f52 100644 --- a/homeassistant/components/tradfri/switch.py +++ b/homeassistant/components/tradfri/switch.py @@ -9,7 +9,6 @@ from .const import CONF_GATEWAY_ID _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tradfri'] IKEA = 'IKEA of Sweden' TRADFRI_SWITCH_MANAGER = 'Tradfri Switch Manager' diff --git a/homeassistant/components/trafikverket_weatherstation/sensor.py b/homeassistant/components/trafikverket_weatherstation/sensor.py index bf8f4c803e0..c846d020c84 100644 --- a/homeassistant/components/trafikverket_weatherstation/sensor.py +++ b/homeassistant/components/trafikverket_weatherstation/sensor.py @@ -16,8 +16,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pytrafikverket==0.1.5.9'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by Trafikverket" diff --git a/homeassistant/components/transmission/__init__.py b/homeassistant/components/transmission/__init__.py index 25e21dc3d8a..5a2fbbff5cb 100644 --- a/homeassistant/components/transmission/__init__.py +++ b/homeassistant/components/transmission/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers import config_validation as cv, discovery from homeassistant.helpers.dispatcher import dispatcher_send from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['transmissionrpc==0.11'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'transmission' diff --git a/homeassistant/components/transmission/sensor.py b/homeassistant/components/transmission/sensor.py index dfd4c195097..ac3bb3b2626 100644 --- a/homeassistant/components/transmission/sensor.py +++ b/homeassistant/components/transmission/sensor.py @@ -9,8 +9,6 @@ from homeassistant.helpers.entity import Entity from . import DATA_TRANSMISSION, DATA_UPDATED, SENSOR_TYPES -DEPENDENCIES = ['transmission'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Transmission' diff --git a/homeassistant/components/transmission/switch.py b/homeassistant/components/transmission/switch.py index 854a2e727b0..bd965e172b1 100644 --- a/homeassistant/components/transmission/switch.py +++ b/homeassistant/components/transmission/switch.py @@ -8,8 +8,6 @@ from homeassistant.helpers.entity import ToggleEntity from . import DATA_TRANSMISSION, DATA_UPDATED -DEPENDENCIES = ['transmission'] - _LOGGING = logging.getLogger(__name__) DEFAULT_NAME = 'Transmission Turtle Mode' diff --git a/homeassistant/components/transport_nsw/sensor.py b/homeassistant/components/transport_nsw/sensor.py index 3c40bf4f709..9549814e002 100644 --- a/homeassistant/components/transport_nsw/sensor.py +++ b/homeassistant/components/transport_nsw/sensor.py @@ -9,8 +9,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import (CONF_NAME, CONF_API_KEY, ATTR_ATTRIBUTION) -REQUIREMENTS = ['PyTransportNSW==0.1.1'] - _LOGGER = logging.getLogger(__name__) ATTR_STOP_ID = 'stop_id' diff --git a/homeassistant/components/travisci/sensor.py b/homeassistant/components/travisci/sensor.py index 99309f7e2b7..7d94e9e910e 100644 --- a/homeassistant/components/travisci/sensor.py +++ b/homeassistant/components/travisci/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import ( CONF_MONITORED_CONDITIONS) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['TravisPy==0.3.5'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Information provided by https://travis-ci.org/" diff --git a/homeassistant/components/trend/binary_sensor.py b/homeassistant/components/trend/binary_sensor.py index 163703373d3..a7fb18bf5b7 100644 --- a/homeassistant/components/trend/binary_sensor.py +++ b/homeassistant/components/trend/binary_sensor.py @@ -17,8 +17,6 @@ from homeassistant.helpers.entity import generate_entity_id from homeassistant.helpers.event import async_track_state_change from homeassistant.util import utcnow -REQUIREMENTS = ['numpy==1.16.2'] - _LOGGER = logging.getLogger(__name__) ATTR_ATTRIBUTE = 'attribute' diff --git a/homeassistant/components/tts/__init__.py b/homeassistant/components/tts/__init__.py index 763baa262be..ccb7989a6cf 100644 --- a/homeassistant/components/tts/__init__.py +++ b/homeassistant/components/tts/__init__.py @@ -24,8 +24,6 @@ from homeassistant.helpers import config_per_platform import homeassistant.helpers.config_validation as cv from homeassistant.setup import async_prepare_setup_platform -REQUIREMENTS = ['mutagen==1.42.0'] - _LOGGER = logging.getLogger(__name__) ATTR_CACHE = 'cache' @@ -43,7 +41,6 @@ CONF_BASE_URL = 'base_url' DEFAULT_CACHE = True DEFAULT_CACHE_DIR = 'tts' DEFAULT_TIME_MEMORY = 300 -DEPENDENCIES = ['http'] DOMAIN = 'tts' MEM_CACHE_FILENAME = 'filename' diff --git a/homeassistant/components/tuya/__init__.py b/homeassistant/components/tuya/__init__.py index 117424fd55e..6f6b05100ec 100644 --- a/homeassistant/components/tuya/__init__.py +++ b/homeassistant/components/tuya/__init__.py @@ -12,8 +12,6 @@ from homeassistant.helpers.dispatcher import ( from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['tuyapy==0.1.3'] - _LOGGER = logging.getLogger(__name__) CONF_COUNTRYCODE = 'country_code' diff --git a/homeassistant/components/tuya/climate.py b/homeassistant/components/tuya/climate.py index b7a10dad862..b6fd3be04ed 100644 --- a/homeassistant/components/tuya/climate.py +++ b/homeassistant/components/tuya/climate.py @@ -10,7 +10,6 @@ from homeassistant.const import ( from . import DATA_TUYA, TuyaDevice -DEPENDENCIES = ['tuya'] DEVICE_TYPE = 'climate' HA_STATE_TO_TUYA = { diff --git a/homeassistant/components/tuya/cover.py b/homeassistant/components/tuya/cover.py index 274f4d93869..6d43365e808 100644 --- a/homeassistant/components/tuya/cover.py +++ b/homeassistant/components/tuya/cover.py @@ -4,8 +4,6 @@ from homeassistant.components.cover import ( from . import DATA_TUYA, TuyaDevice -DEPENDENCIES = ['tuya'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up Tuya cover devices.""" diff --git a/homeassistant/components/tuya/fan.py b/homeassistant/components/tuya/fan.py index 259417869dc..897a82716af 100644 --- a/homeassistant/components/tuya/fan.py +++ b/homeassistant/components/tuya/fan.py @@ -5,8 +5,6 @@ from homeassistant.const import STATE_OFF from . import DATA_TUYA, TuyaDevice -DEPENDENCIES = ['tuya'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up Tuya fan platform.""" diff --git a/homeassistant/components/tuya/light.py b/homeassistant/components/tuya/light.py index 17f9b43dcbe..cb3f82234d3 100644 --- a/homeassistant/components/tuya/light.py +++ b/homeassistant/components/tuya/light.py @@ -6,8 +6,6 @@ from homeassistant.util import color as colorutil from . import DATA_TUYA, TuyaDevice -DEPENDENCIES = ['tuya'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up Tuya light platform.""" diff --git a/homeassistant/components/tuya/scene.py b/homeassistant/components/tuya/scene.py index 24383dca6e4..6a8fd9d41aa 100644 --- a/homeassistant/components/tuya/scene.py +++ b/homeassistant/components/tuya/scene.py @@ -3,8 +3,6 @@ from homeassistant.components.scene import DOMAIN, Scene from . import DATA_TUYA, TuyaDevice -DEPENDENCIES = ['tuya'] - ENTITY_ID_FORMAT = DOMAIN + '.{}' diff --git a/homeassistant/components/tuya/switch.py b/homeassistant/components/tuya/switch.py index c2e32eedc59..05b023a78ad 100644 --- a/homeassistant/components/tuya/switch.py +++ b/homeassistant/components/tuya/switch.py @@ -3,8 +3,6 @@ from homeassistant.components.switch import ENTITY_ID_FORMAT, SwitchDevice from . import DATA_TUYA, TuyaDevice -DEPENDENCIES = ['tuya'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up Tuya Switch device.""" diff --git a/homeassistant/components/twilio/__init__.py b/homeassistant/components/twilio/__init__.py index e7ba06a05f7..82011f499ba 100644 --- a/homeassistant/components/twilio/__init__.py +++ b/homeassistant/components/twilio/__init__.py @@ -5,9 +5,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.const import CONF_WEBHOOK_ID from homeassistant.helpers import config_entry_flow -REQUIREMENTS = ['twilio==6.19.1'] -DEPENDENCIES = ['webhook'] - DOMAIN = 'twilio' CONF_ACCOUNT_SID = 'account_sid' diff --git a/homeassistant/components/twilio_call/notify.py b/homeassistant/components/twilio_call/notify.py index ab57d721465..0387ad31cb6 100644 --- a/homeassistant/components/twilio_call/notify.py +++ b/homeassistant/components/twilio_call/notify.py @@ -12,8 +12,6 @@ from homeassistant.components.notify import (ATTR_TARGET, PLATFORM_SCHEMA, _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['twilio'] - CONF_FROM_NUMBER = 'from_number' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/twilio_sms/notify.py b/homeassistant/components/twilio_sms/notify.py index a04e397a568..6ac6d085de5 100644 --- a/homeassistant/components/twilio_sms/notify.py +++ b/homeassistant/components/twilio_sms/notify.py @@ -10,8 +10,6 @@ from homeassistant.components.notify import (ATTR_TARGET, PLATFORM_SCHEMA, BaseNotificationService) _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ["twilio"] - CONF_FROM_NUMBER = "from_number" diff --git a/homeassistant/components/twitch/sensor.py b/homeassistant/components/twitch/sensor.py index 123de752d51..e5223b13b01 100644 --- a/homeassistant/components/twitch/sensor.py +++ b/homeassistant/components/twitch/sensor.py @@ -7,8 +7,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-twitch-client==0.6.0'] - _LOGGER = logging.getLogger(__name__) ATTR_GAME = 'game' diff --git a/homeassistant/components/twitter/notify.py b/homeassistant/components/twitter/notify.py index 54cd591f394..305fec7269d 100644 --- a/homeassistant/components/twitter/notify.py +++ b/homeassistant/components/twitter/notify.py @@ -15,8 +15,6 @@ from homeassistant.helpers.event import async_track_point_in_time from homeassistant.components.notify import (ATTR_DATA, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['TwitterAPI==2.5.9'] - _LOGGER = logging.getLogger(__name__) CONF_CONSUMER_KEY = 'consumer_key' diff --git a/homeassistant/components/ubee/device_tracker.py b/homeassistant/components/ubee/device_tracker.py index f73f58f3a1f..8e610a4f51c 100644 --- a/homeassistant/components/ubee/device_tracker.py +++ b/homeassistant/components/ubee/device_tracker.py @@ -9,8 +9,6 @@ from homeassistant.const import ( CONF_HOST, CONF_PASSWORD, CONF_USERNAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyubee==0.5'] - _LOGGER = logging.getLogger(__name__) CONF_MODEL = 'model' diff --git a/homeassistant/components/uber/sensor.py b/homeassistant/components/uber/sensor.py index 87d87de66ee..324124ca960 100644 --- a/homeassistant/components/uber/sensor.py +++ b/homeassistant/components/uber/sensor.py @@ -9,8 +9,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['uber_rides==0.6.0'] - _LOGGER = logging.getLogger(__name__) CONF_END_LATITUDE = 'end_latitude' diff --git a/homeassistant/components/unifi/__init__.py b/homeassistant/components/unifi/__init__.py index 7e236789a5c..3af450acdbf 100644 --- a/homeassistant/components/unifi/__init__.py +++ b/homeassistant/components/unifi/__init__.py @@ -16,8 +16,6 @@ DEFAULT_PORT = 8443 DEFAULT_SITE_ID = 'default' DEFAULT_VERIFY_SSL = False -REQUIREMENTS = ['aiounifi==4'] - async def async_setup(hass, config): """Component doesn't support configuration through configuration.yaml.""" diff --git a/homeassistant/components/unifi/device_tracker.py b/homeassistant/components/unifi/device_tracker.py index 49e28114b17..8bf384eef14 100644 --- a/homeassistant/components/unifi/device_tracker.py +++ b/homeassistant/components/unifi/device_tracker.py @@ -10,8 +10,6 @@ from homeassistant.const import CONF_HOST, CONF_USERNAME, CONF_PASSWORD from homeassistant.const import CONF_VERIFY_SSL, CONF_MONITORED_CONDITIONS import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pyunifi==2.16'] - _LOGGER = logging.getLogger(__name__) CONF_PORT = 'port' CONF_SITE_ID = 'site_id' diff --git a/homeassistant/components/unifi/switch.py b/homeassistant/components/unifi/switch.py index e90da2dbcd8..5f33a9c08d3 100644 --- a/homeassistant/components/unifi/switch.py +++ b/homeassistant/components/unifi/switch.py @@ -11,9 +11,8 @@ from homeassistant.const import CONF_HOST from homeassistant.core import callback from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC -from .const import CONF_CONTROLLER, CONF_SITE_ID, CONTROLLER_ID, DOMAIN +from .const import CONF_CONTROLLER, CONF_SITE_ID, CONTROLLER_ID -DEPENDENCIES = [DOMAIN] SCAN_INTERVAL = timedelta(seconds=15) LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/unifi_direct/device_tracker.py b/homeassistant/components/unifi_direct/device_tracker.py index 29a3c58fab9..544314c62c5 100644 --- a/homeassistant/components/unifi_direct/device_tracker.py +++ b/homeassistant/components/unifi_direct/device_tracker.py @@ -11,8 +11,6 @@ from homeassistant.const import ( CONF_HOST, CONF_PASSWORD, CONF_USERNAME, CONF_PORT) -REQUIREMENTS = ['pexpect==4.6.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_SSH_PORT = 22 diff --git a/homeassistant/components/upc_connect/device_tracker.py b/homeassistant/components/upc_connect/device_tracker.py index 4a583b8349a..4b4c32182bd 100644 --- a/homeassistant/components/upc_connect/device_tracker.py +++ b/homeassistant/components/upc_connect/device_tracker.py @@ -13,8 +13,6 @@ from homeassistant.const import CONF_HOST, HTTP_HEADER_X_REQUESTED_WITH from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['defusedxml==0.5.0'] - _LOGGER = logging.getLogger(__name__) CMD_DEVICES = 123 diff --git a/homeassistant/components/upcloud/__init__.py b/homeassistant/components/upcloud/__init__.py index 7981cf948bb..ea964c9027d 100644 --- a/homeassistant/components/upcloud/__init__.py +++ b/homeassistant/components/upcloud/__init__.py @@ -14,8 +14,6 @@ from homeassistant.helpers.dispatcher import ( from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['upcloud-api==0.4.3'] - _LOGGER = logging.getLogger(__name__) ATTR_CORE_NUMBER = 'core_number' diff --git a/homeassistant/components/upcloud/binary_sensor.py b/homeassistant/components/upcloud/binary_sensor.py index a0c3c9f34c6..e959f54f254 100644 --- a/homeassistant/components/upcloud/binary_sensor.py +++ b/homeassistant/components/upcloud/binary_sensor.py @@ -11,8 +11,6 @@ from . import CONF_SERVERS, DATA_UPCLOUD, UpCloudServerEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['upcloud'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_SERVERS): vol.All(cv.ensure_list, [cv.string]), }) diff --git a/homeassistant/components/upcloud/switch.py b/homeassistant/components/upcloud/switch.py index 7e84adccf55..ee1c1498f98 100644 --- a/homeassistant/components/upcloud/switch.py +++ b/homeassistant/components/upcloud/switch.py @@ -11,8 +11,6 @@ from . import CONF_SERVERS, DATA_UPCLOUD, UpCloudServerEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['upcloud'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_SERVERS): vol.All(cv.ensure_list, [cv.string]), }) diff --git a/homeassistant/components/updater/__init__.py b/homeassistant/components/updater/__init__.py index cb2646ea942..95b1372418c 100644 --- a/homeassistant/components/updater/__init__.py +++ b/homeassistant/components/updater/__init__.py @@ -18,8 +18,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['distro==1.4.0'] - _LOGGER = logging.getLogger(__name__) ATTR_RELEASE_NOTES = 'release_notes' diff --git a/homeassistant/components/upnp/__init__.py b/homeassistant/components/upnp/__init__.py index 5f4abcb24c7..01f6d6159f0 100644 --- a/homeassistant/components/upnp/__init__.py +++ b/homeassistant/components/upnp/__init__.py @@ -23,8 +23,6 @@ from .const import DOMAIN from .const import LOGGER as _LOGGER from .device import Device -REQUIREMENTS = ['async-upnp-client==0.14.7'] - NOTIFICATION_ID = 'upnp_notification' NOTIFICATION_TITLE = 'UPnP/IGD Setup' diff --git a/homeassistant/components/upnp/sensor.py b/homeassistant/components/upnp/sensor.py index 86bcee879b9..411d529b33f 100644 --- a/homeassistant/components/upnp/sensor.py +++ b/homeassistant/components/upnp/sensor.py @@ -12,8 +12,6 @@ from .const import DOMAIN as DOMAIN_UPNP, SIGNAL_REMOVE_SENSOR _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['upnp'] - BYTES_RECEIVED = 'bytes_received' BYTES_SENT = 'bytes_sent' PACKETS_RECEIVED = 'packets_received' diff --git a/homeassistant/components/ups/sensor.py b/homeassistant/components/ups/sensor.py index 3ed82de41db..55451d4bbfd 100644 --- a/homeassistant/components/ups/sensor.py +++ b/homeassistant/components/ups/sensor.py @@ -15,8 +15,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle, slugify from homeassistant.util.dt import now, parse_date -REQUIREMENTS = ['upsmychoice==1.0.6'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'ups' diff --git a/homeassistant/components/uptimerobot/binary_sensor.py b/homeassistant/components/uptimerobot/binary_sensor.py index 8e11966b680..90b71c026dc 100644 --- a/homeassistant/components/uptimerobot/binary_sensor.py +++ b/homeassistant/components/uptimerobot/binary_sensor.py @@ -8,8 +8,6 @@ from homeassistant.components.binary_sensor import ( from homeassistant.const import ATTR_ATTRIBUTION, CONF_API_KEY import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyuptimerobot==0.0.5'] - _LOGGER = logging.getLogger(__name__) ATTR_TARGET = 'target' diff --git a/homeassistant/components/uscis/sensor.py b/homeassistant/components/uscis/sensor.py index 501c6c9665c..59b37c7ea65 100644 --- a/homeassistant/components/uscis/sensor.py +++ b/homeassistant/components/uscis/sensor.py @@ -13,8 +13,6 @@ from homeassistant.const import CONF_FRIENDLY_NAME _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['uscisstatus==0.1.1'] - DEFAULT_NAME = "USCIS" PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/usgs_earthquakes_feed/geo_location.py b/homeassistant/components/usgs_earthquakes_feed/geo_location.py index 1d11b1971cc..60d1f6925a4 100644 --- a/homeassistant/components/usgs_earthquakes_feed/geo_location.py +++ b/homeassistant/components/usgs_earthquakes_feed/geo_location.py @@ -16,8 +16,6 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_connect, dispatcher_send) from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['geojson_client==0.3'] - _LOGGER = logging.getLogger(__name__) ATTR_ALERT = 'alert' diff --git a/homeassistant/components/usps/__init__.py b/homeassistant/components/usps/__init__.py index 8a7d7d52255..eb2882d2a56 100644 --- a/homeassistant/components/usps/__init__.py +++ b/homeassistant/components/usps/__init__.py @@ -10,8 +10,6 @@ from homeassistant.helpers import (config_validation as cv, discovery) from homeassistant.util import Throttle from homeassistant.util.dt import now -REQUIREMENTS = ['myusps==1.3.2'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'usps' diff --git a/homeassistant/components/usps/camera.py b/homeassistant/components/usps/camera.py index 5b5eaca4ce2..cd0a216517b 100644 --- a/homeassistant/components/usps/camera.py +++ b/homeassistant/components/usps/camera.py @@ -8,8 +8,6 @@ from . import DATA_USPS _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['usps'] - SCAN_INTERVAL = timedelta(seconds=10) diff --git a/homeassistant/components/usps/sensor.py b/homeassistant/components/usps/sensor.py index 3e5fea5c4ee..4580978da75 100644 --- a/homeassistant/components/usps/sensor.py +++ b/homeassistant/components/usps/sensor.py @@ -11,8 +11,6 @@ from . import DATA_USPS _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['usps'] - STATUS_DELIVERED = 'delivered' diff --git a/homeassistant/components/uvc/camera.py b/homeassistant/components/uvc/camera.py index 65251054060..423c27e0781 100644 --- a/homeassistant/components/uvc/camera.py +++ b/homeassistant/components/uvc/camera.py @@ -10,8 +10,6 @@ from homeassistant.components.camera import Camera, PLATFORM_SCHEMA import homeassistant.helpers.config_validation as cv from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['uvcclient==0.11.0'] - _LOGGER = logging.getLogger(__name__) CONF_NVR = 'nvr' diff --git a/homeassistant/components/vacuum/__init__.py b/homeassistant/components/vacuum/__init__.py index 02266986ccf..0e44d494b56 100644 --- a/homeassistant/components/vacuum/__init__.py +++ b/homeassistant/components/vacuum/__init__.py @@ -20,8 +20,6 @@ from homeassistant.helpers.icon import icon_for_battery_level _LOGGER = logging.getLogger(__name__) DOMAIN = 'vacuum' -DEPENDENCIES = ['group'] - SCAN_INTERVAL = timedelta(seconds=20) GROUP_NAME_ALL_VACUUMS = 'all vacuum cleaners' diff --git a/homeassistant/components/vasttrafik/sensor.py b/homeassistant/components/vasttrafik/sensor.py index d8e9f1e7675..45279fa8933 100644 --- a/homeassistant/components/vasttrafik/sensor.py +++ b/homeassistant/components/vasttrafik/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import CONF_NAME, ATTR_ATTRIBUTION from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['vtjp==0.1.14'] - _LOGGER = logging.getLogger(__name__) ATTR_ACCESSIBILITY = 'accessibility' diff --git a/homeassistant/components/velbus/__init__.py b/homeassistant/components/velbus/__init__.py index 4e808dc21ca..73cd0d734bd 100644 --- a/homeassistant/components/velbus/__init__.py +++ b/homeassistant/components/velbus/__init__.py @@ -7,8 +7,6 @@ from homeassistant.const import EVENT_HOMEASSISTANT_STOP, CONF_PORT from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['python-velbus==2.0.22'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'velbus' diff --git a/homeassistant/components/velbus/binary_sensor.py b/homeassistant/components/velbus/binary_sensor.py index cbe1350bd4f..82a1c5568fc 100644 --- a/homeassistant/components/velbus/binary_sensor.py +++ b/homeassistant/components/velbus/binary_sensor.py @@ -7,8 +7,6 @@ from . import DOMAIN as VELBUS_DOMAIN, VelbusEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['velbus'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/velbus/climate.py b/homeassistant/components/velbus/climate.py index 470524bb6f3..0471e5b87e0 100644 --- a/homeassistant/components/velbus/climate.py +++ b/homeassistant/components/velbus/climate.py @@ -10,8 +10,6 @@ from . import DOMAIN as VELBUS_DOMAIN, VelbusEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['velbus'] - SUPPORT_FLAGS = (SUPPORT_TARGET_TEMPERATURE) diff --git a/homeassistant/components/velbus/cover.py b/homeassistant/components/velbus/cover.py index b176ab76c4b..fb9cea93455 100644 --- a/homeassistant/components/velbus/cover.py +++ b/homeassistant/components/velbus/cover.py @@ -24,8 +24,6 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_COVERS): cv.schema_with_slug_keys(COVER_SCHEMA), }) -DEPENDENCIES = ['velbus'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up cover controlled by Velbus.""" diff --git a/homeassistant/components/velbus/sensor.py b/homeassistant/components/velbus/sensor.py index ad78a795a30..b8287aef41a 100644 --- a/homeassistant/components/velbus/sensor.py +++ b/homeassistant/components/velbus/sensor.py @@ -5,8 +5,6 @@ from . import DOMAIN as VELBUS_DOMAIN, VelbusEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['velbus'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/velbus/switch.py b/homeassistant/components/velbus/switch.py index b5ef89ca480..0835e2bd209 100644 --- a/homeassistant/components/velbus/switch.py +++ b/homeassistant/components/velbus/switch.py @@ -7,8 +7,6 @@ from . import DOMAIN as VELBUS_DOMAIN, VelbusEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['velbus'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/velux/__init__.py b/homeassistant/components/velux/__init__.py index a46f62dbd5f..1a1444f22ae 100644 --- a/homeassistant/components/velux/__init__.py +++ b/homeassistant/components/velux/__init__.py @@ -12,8 +12,6 @@ DATA_VELUX = "data_velux" SUPPORTED_DOMAINS = ['cover', 'scene'] _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pyvlx==0.2.10'] - CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({ vol.Required(CONF_HOST): cv.string, diff --git a/homeassistant/components/velux/cover.py b/homeassistant/components/velux/cover.py index 1893909b706..3c1b6ecb1eb 100644 --- a/homeassistant/components/velux/cover.py +++ b/homeassistant/components/velux/cover.py @@ -6,8 +6,6 @@ from homeassistant.core import callback from . import DATA_VELUX -DEPENDENCIES = ['velux'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/velux/scene.py b/homeassistant/components/velux/scene.py index 614d3f349a2..f33296780d7 100644 --- a/homeassistant/components/velux/scene.py +++ b/homeassistant/components/velux/scene.py @@ -3,8 +3,6 @@ from homeassistant.components.scene import Scene from . import _LOGGER, DATA_VELUX -DEPENDENCIES = ['velux'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/venstar/climate.py b/homeassistant/components/venstar/climate.py index f3e7542af5c..68b6ff88857 100644 --- a/homeassistant/components/venstar/climate.py +++ b/homeassistant/components/venstar/climate.py @@ -17,8 +17,6 @@ from homeassistant.const import ( TEMP_FAHRENHEIT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['venstarcolortouch==0.6'] - _LOGGER = logging.getLogger(__name__) ATTR_FAN_STATE = 'fan_state' diff --git a/homeassistant/components/vera/__init__.py b/homeassistant/components/vera/__init__.py index 3f4c66d238a..1c5d9f811ad 100644 --- a/homeassistant/components/vera/__init__.py +++ b/homeassistant/components/vera/__init__.py @@ -14,8 +14,6 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_STOP, CONF_LIGHTS, CONF_EXCLUDE) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyvera==0.2.45'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'vera' diff --git a/homeassistant/components/vera/binary_sensor.py b/homeassistant/components/vera/binary_sensor.py index c81fa31938f..7482e39e721 100644 --- a/homeassistant/components/vera/binary_sensor.py +++ b/homeassistant/components/vera/binary_sensor.py @@ -6,8 +6,6 @@ from homeassistant.components.binary_sensor import ( from . import VERA_CONTROLLER, VERA_DEVICES, VeraDevice -DEPENDENCIES = ['vera'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vera/climate.py b/homeassistant/components/vera/climate.py index f8ff9c21b89..dba074f73ef 100644 --- a/homeassistant/components/vera/climate.py +++ b/homeassistant/components/vera/climate.py @@ -11,8 +11,6 @@ from homeassistant.util import convert from . import VERA_CONTROLLER, VERA_DEVICES, VeraDevice -DEPENDENCIES = ['vera'] - _LOGGER = logging.getLogger(__name__) OPERATION_LIST = [STATE_HEAT, STATE_COOL, STATE_AUTO, STATE_OFF] diff --git a/homeassistant/components/vera/cover.py b/homeassistant/components/vera/cover.py index 4cf2aac3bb4..ac61a913128 100644 --- a/homeassistant/components/vera/cover.py +++ b/homeassistant/components/vera/cover.py @@ -6,8 +6,6 @@ from homeassistant.components.cover import ( from . import VERA_CONTROLLER, VERA_DEVICES, VeraDevice -DEPENDENCIES = ['vera'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vera/light.py b/homeassistant/components/vera/light.py index e4e315bb52e..4ea9ad4400a 100644 --- a/homeassistant/components/vera/light.py +++ b/homeassistant/components/vera/light.py @@ -10,8 +10,6 @@ from . import VERA_CONTROLLER, VERA_DEVICES, VeraDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['vera'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Vera lights.""" diff --git a/homeassistant/components/vera/lock.py b/homeassistant/components/vera/lock.py index 5ace07b87d7..9ceb06d8a86 100644 --- a/homeassistant/components/vera/lock.py +++ b/homeassistant/components/vera/lock.py @@ -8,8 +8,6 @@ from . import VERA_CONTROLLER, VERA_DEVICES, VeraDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['vera'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Find and return Vera locks.""" diff --git a/homeassistant/components/vera/scene.py b/homeassistant/components/vera/scene.py index 5000f9bc50f..f3659fa3e9b 100644 --- a/homeassistant/components/vera/scene.py +++ b/homeassistant/components/vera/scene.py @@ -8,8 +8,6 @@ from . import VERA_CONTROLLER, VERA_ID_FORMAT, VERA_SCENES _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['vera'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Vera scenes.""" diff --git a/homeassistant/components/vera/sensor.py b/homeassistant/components/vera/sensor.py index 3c026046b3e..caec102eb1f 100644 --- a/homeassistant/components/vera/sensor.py +++ b/homeassistant/components/vera/sensor.py @@ -11,8 +11,6 @@ from . import VERA_CONTROLLER, VERA_DEVICES, VeraDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['vera'] - SCAN_INTERVAL = timedelta(seconds=5) diff --git a/homeassistant/components/vera/switch.py b/homeassistant/components/vera/switch.py index f422e49bf42..0f7654c9720 100644 --- a/homeassistant/components/vera/switch.py +++ b/homeassistant/components/vera/switch.py @@ -8,8 +8,6 @@ from . import VERA_CONTROLLER, VERA_DEVICES, VeraDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['vera'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Vera switches.""" diff --git a/homeassistant/components/verisure/__init__.py b/homeassistant/components/verisure/__init__.py index 393a4066002..195f065ee85 100644 --- a/homeassistant/components/verisure/__init__.py +++ b/homeassistant/components/verisure/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers import discovery from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['vsure==1.5.2', 'jsonpath==0.75'] - _LOGGER = logging.getLogger(__name__) ATTR_DEVICE_SERIAL = 'device_serial' diff --git a/homeassistant/components/version/sensor.py b/homeassistant/components/version/sensor.py index 7c8f2b1662a..6aed6da17f7 100644 --- a/homeassistant/components/version/sensor.py +++ b/homeassistant/components/version/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import CONF_NAME, CONF_SOURCE from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pyhaversion==2.2.0'] - _LOGGER = logging.getLogger(__name__) ALL_IMAGES = [ diff --git a/homeassistant/components/vesync/switch.py b/homeassistant/components/vesync/switch.py index d37728624ef..d8fa3d317ff 100644 --- a/homeassistant/components/vesync/switch.py +++ b/homeassistant/components/vesync/switch.py @@ -6,8 +6,6 @@ from homeassistant.const import (CONF_USERNAME, CONF_PASSWORD) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyvesync_v2==0.9.6'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/vizio/media_player.py b/homeassistant/components/vizio/media_player.py index bab54c68a90..7b47a388325 100644 --- a/homeassistant/components/vizio/media_player.py +++ b/homeassistant/components/vizio/media_player.py @@ -15,8 +15,6 @@ from homeassistant.const import ( CONF_ACCESS_TOKEN, CONF_HOST, CONF_NAME, STATE_OFF, STATE_ON) from homeassistant.helpers import config_validation as cv -REQUIREMENTS = ['pyvizio==0.0.4'] - _LOGGER = logging.getLogger(__name__) CONF_SUPPRESS_WARNING = 'suppress_warning' diff --git a/homeassistant/components/vlc/media_player.py b/homeassistant/components/vlc/media_player.py index 41f9b5b16d4..be930d02b0c 100644 --- a/homeassistant/components/vlc/media_player.py +++ b/homeassistant/components/vlc/media_player.py @@ -13,8 +13,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['python-vlc==1.1.2'] - _LOGGER = logging.getLogger(__name__) CONF_ARGUMENTS = 'arguments' diff --git a/homeassistant/components/volkszaehler/sensor.py b/homeassistant/components/volkszaehler/sensor.py index 5b808ff3c38..550dc395ee7 100644 --- a/homeassistant/components/volkszaehler/sensor.py +++ b/homeassistant/components/volkszaehler/sensor.py @@ -14,8 +14,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['volkszaehler==0.1.2'] - _LOGGER = logging.getLogger(__name__) CONF_UUID = 'uuid' diff --git a/homeassistant/components/volvooncall/__init__.py b/homeassistant/components/volvooncall/__init__.py index 36e3959338e..88ab41994be 100644 --- a/homeassistant/components/volvooncall/__init__.py +++ b/homeassistant/components/volvooncall/__init__.py @@ -21,8 +21,6 @@ DOMAIN = 'volvooncall' DATA_KEY = DOMAIN -REQUIREMENTS = ['volvooncall==0.8.7'] - _LOGGER = logging.getLogger(__name__) MIN_UPDATE_INTERVAL = timedelta(minutes=1) diff --git a/homeassistant/components/vultr/__init__.py b/homeassistant/components/vultr/__init__.py index 9f2efabd412..d7f5b30507a 100644 --- a/homeassistant/components/vultr/__init__.py +++ b/homeassistant/components/vultr/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import CONF_API_KEY from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['vultr==0.1.2'] - _LOGGER = logging.getLogger(__name__) ATTR_AUTO_BACKUPS = 'auto_backups' diff --git a/homeassistant/components/vultr/binary_sensor.py b/homeassistant/components/vultr/binary_sensor.py index 87e8e93bda7..087f38b77f5 100644 --- a/homeassistant/components/vultr/binary_sensor.py +++ b/homeassistant/components/vultr/binary_sensor.py @@ -18,8 +18,6 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_DEVICE_CLASS = 'power' DEFAULT_NAME = 'Vultr {}' -DEPENDENCIES = ['vultr'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_SUBSCRIPTION): cv.string, vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string diff --git a/homeassistant/components/vultr/sensor.py b/homeassistant/components/vultr/sensor.py index f7e03dddace..4f9692fe5c8 100644 --- a/homeassistant/components/vultr/sensor.py +++ b/homeassistant/components/vultr/sensor.py @@ -15,8 +15,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Vultr {} {}' -DEPENDENCIES = ['vultr'] - MONITORED_CONDITIONS = { ATTR_CURRENT_BANDWIDTH_USED: ['Current Bandwidth Used', 'GB', 'mdi:chart-histogram'], diff --git a/homeassistant/components/vultr/switch.py b/homeassistant/components/vultr/switch.py index 502aaf9daa8..33eeafbab68 100644 --- a/homeassistant/components/vultr/switch.py +++ b/homeassistant/components/vultr/switch.py @@ -16,8 +16,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Vultr {}' -DEPENDENCIES = ['vultr'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_SUBSCRIPTION): cv.string, vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, diff --git a/homeassistant/components/w800rf32/__init__.py b/homeassistant/components/w800rf32/__init__.py index d2c0cf6b968..920a90fbc52 100644 --- a/homeassistant/components/w800rf32/__init__.py +++ b/homeassistant/components/w800rf32/__init__.py @@ -10,8 +10,6 @@ from homeassistant.const import (CONF_DEVICE, import homeassistant.helpers.config_validation as cv from homeassistant.helpers.dispatcher import (dispatcher_send) -REQUIREMENTS = ['pyW800rf32==0.1'] - DATA_W800RF32 = 'data_w800rf32' DOMAIN = 'w800rf32' diff --git a/homeassistant/components/w800rf32/binary_sensor.py b/homeassistant/components/w800rf32/binary_sensor.py index c9424834953..caa3771b88e 100644 --- a/homeassistant/components/w800rf32/binary_sensor.py +++ b/homeassistant/components/w800rf32/binary_sensor.py @@ -15,7 +15,6 @@ from . import W800RF32_DEVICE _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['w800rf32'] CONF_OFF_DELAY = 'off_delay' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/wake_on_lan/__init__.py b/homeassistant/components/wake_on_lan/__init__.py index e6e12ef0afe..064568cdf1b 100644 --- a/homeassistant/components/wake_on_lan/__init__.py +++ b/homeassistant/components/wake_on_lan/__init__.py @@ -7,8 +7,6 @@ import voluptuous as vol from homeassistant.const import CONF_MAC import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['wakeonlan==1.1.6'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'wake_on_lan' diff --git a/homeassistant/components/wake_on_lan/switch.py b/homeassistant/components/wake_on_lan/switch.py index c81a476f0f8..e08e531a644 100644 --- a/homeassistant/components/wake_on_lan/switch.py +++ b/homeassistant/components/wake_on_lan/switch.py @@ -10,8 +10,6 @@ from homeassistant.const import CONF_HOST, CONF_NAME import homeassistant.helpers.config_validation as cv from homeassistant.helpers.script import Script -REQUIREMENTS = ['wakeonlan==1.1.6'] - _LOGGER = logging.getLogger(__name__) CONF_BROADCAST_ADDRESS = 'broadcast_address' diff --git a/homeassistant/components/waqi/sensor.py b/homeassistant/components/waqi/sensor.py index f3000890de6..451b8173562 100644 --- a/homeassistant/components/waqi/sensor.py +++ b/homeassistant/components/waqi/sensor.py @@ -14,8 +14,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.helpers.config_validation import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['waqiasync==1.0.0'] - _LOGGER = logging.getLogger(__name__) ATTR_DOMINENTPOL = 'dominentpol' diff --git a/homeassistant/components/waterfurnace/__init__.py b/homeassistant/components/waterfurnace/__init__.py index 38fd44cd1c7..848037f584e 100644 --- a/homeassistant/components/waterfurnace/__init__.py +++ b/homeassistant/components/waterfurnace/__init__.py @@ -13,8 +13,6 @@ from homeassistant.core import callback from homeassistant.helpers import config_validation as cv from homeassistant.helpers import discovery -REQUIREMENTS = ['waterfurnace==1.1.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'waterfurnace' diff --git a/homeassistant/components/watson_iot/__init__.py b/homeassistant/components/watson_iot/__init__.py index e9a907ee6d2..cefce56de07 100644 --- a/homeassistant/components/watson_iot/__init__.py +++ b/homeassistant/components/watson_iot/__init__.py @@ -13,8 +13,6 @@ from homeassistant.const import ( from homeassistant.helpers import state as state_helper import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['ibmiotf==0.3.4'] - _LOGGER = logging.getLogger(__name__) CONF_ORG = 'organization' diff --git a/homeassistant/components/waze_travel_time/sensor.py b/homeassistant/components/waze_travel_time/sensor.py index 984a5800898..282637b1507 100644 --- a/homeassistant/components/waze_travel_time/sensor.py +++ b/homeassistant/components/waze_travel_time/sensor.py @@ -13,8 +13,6 @@ from homeassistant.helpers import location from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['WazeRouteCalculator==0.9'] - _LOGGER = logging.getLogger(__name__) ATTR_DURATION = 'duration' diff --git a/homeassistant/components/webhook/__init__.py b/homeassistant/components/webhook/__init__.py index 59be3ab1890..7d8dda06e4d 100644 --- a/homeassistant/components/webhook/__init__.py +++ b/homeassistant/components/webhook/__init__.py @@ -12,8 +12,6 @@ from homeassistant.components.http.view import HomeAssistantView _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['http'] - DOMAIN = 'webhook' URL_WEBHOOK_PATH = "/api/webhook/{webhook_id}" diff --git a/homeassistant/components/webostv/media_player.py b/homeassistant/components/webostv/media_player.py index 35c3c456680..fa62e29f233 100644 --- a/homeassistant/components/webostv/media_player.py +++ b/homeassistant/components/webostv/media_player.py @@ -21,8 +21,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.script import Script -REQUIREMENTS = ['pylgtv==0.1.9', 'websockets==6.0'] - _CONFIGURING = {} # type: Dict[str, str] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/webostv/notify.py b/homeassistant/components/webostv/notify.py index 5887586df65..d8b1d04f8bf 100644 --- a/homeassistant/components/webostv/notify.py +++ b/homeassistant/components/webostv/notify.py @@ -8,8 +8,6 @@ from homeassistant.components.notify import ( ATTR_DATA, BaseNotificationService, PLATFORM_SCHEMA) from homeassistant.const import (CONF_FILENAME, CONF_HOST, CONF_ICON) -REQUIREMENTS = ['pylgtv==0.1.9'] - _LOGGER = logging.getLogger(__name__) WEBOSTV_CONFIG_FILE = 'webostv.conf' diff --git a/homeassistant/components/wemo/__init__.py b/homeassistant/components/wemo/__init__.py index 709b3ec8672..017538b93d4 100644 --- a/homeassistant/components/wemo/__init__.py +++ b/homeassistant/components/wemo/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers import discovery from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['pywemo==0.4.34'] - DOMAIN = 'wemo' # Mapping from Wemo model_name to component. diff --git a/homeassistant/components/wemo/binary_sensor.py b/homeassistant/components/wemo/binary_sensor.py index 6606a5bd65d..d7271903498 100644 --- a/homeassistant/components/wemo/binary_sensor.py +++ b/homeassistant/components/wemo/binary_sensor.py @@ -10,8 +10,6 @@ from homeassistant.exceptions import PlatformNotReady from . import SUBSCRIPTION_REGISTRY -DEPENDENCIES = ['wemo'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wemo/fan.py b/homeassistant/components/wemo/fan.py index c5f3c0a16fa..f635010d98d 100644 --- a/homeassistant/components/wemo/fan.py +++ b/homeassistant/components/wemo/fan.py @@ -16,7 +16,6 @@ from homeassistant.const import ATTR_ENTITY_ID from . import SUBSCRIPTION_REGISTRY -DEPENDENCIES = ['wemo'] SCAN_INTERVAL = timedelta(seconds=10) DATA_KEY = 'fan.wemo' diff --git a/homeassistant/components/wemo/light.py b/homeassistant/components/wemo/light.py index ff7185cbf34..2429bca8922 100644 --- a/homeassistant/components/wemo/light.py +++ b/homeassistant/components/wemo/light.py @@ -15,8 +15,6 @@ import homeassistant.util.color as color_util from . import SUBSCRIPTION_REGISTRY -DEPENDENCIES = ['wemo'] - MIN_TIME_BETWEEN_SCANS = timedelta(seconds=10) MIN_TIME_BETWEEN_FORCED_SCANS = timedelta(milliseconds=100) diff --git a/homeassistant/components/wemo/switch.py b/homeassistant/components/wemo/switch.py index 21d4cb64904..b8967cead3b 100644 --- a/homeassistant/components/wemo/switch.py +++ b/homeassistant/components/wemo/switch.py @@ -14,7 +14,6 @@ from homeassistant.const import ( from . import SUBSCRIPTION_REGISTRY -DEPENDENCIES = ['wemo'] SCAN_INTERVAL = timedelta(seconds=10) _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/whois/sensor.py b/homeassistant/components/whois/sensor.py index e36bdea08c3..5a369190c94 100644 --- a/homeassistant/components/whois/sensor.py +++ b/homeassistant/components/whois/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import CONF_NAME import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['python-whois==0.7.1'] - _LOGGER = logging.getLogger(__name__) CONF_DOMAIN = 'domain' diff --git a/homeassistant/components/wink/__init__.py b/homeassistant/components/wink/__init__.py index 2b03d7711ac..4e25fc4fd0d 100644 --- a/homeassistant/components/wink/__init__.py +++ b/homeassistant/components/wink/__init__.py @@ -20,8 +20,6 @@ from homeassistant.helpers.entity_component import EntityComponent from homeassistant.helpers.event import track_time_interval from homeassistant.util.json import load_json, save_json -REQUIREMENTS = ['python-wink==1.10.3', 'pubnubsub-handler==1.0.3'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'wink' diff --git a/homeassistant/components/wink/alarm_control_panel.py b/homeassistant/components/wink/alarm_control_panel.py index 73ca9a3cac4..61699c763ce 100644 --- a/homeassistant/components/wink/alarm_control_panel.py +++ b/homeassistant/components/wink/alarm_control_panel.py @@ -9,8 +9,6 @@ from . import DOMAIN, WinkDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['wink'] - STATE_ALARM_PRIVACY = 'Private' diff --git a/homeassistant/components/wink/binary_sensor.py b/homeassistant/components/wink/binary_sensor.py index f3757d7bf39..d8f9163c46e 100644 --- a/homeassistant/components/wink/binary_sensor.py +++ b/homeassistant/components/wink/binary_sensor.py @@ -7,8 +7,6 @@ from . import DOMAIN, WinkDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['wink'] - # These are the available sensors mapped to binary_sensor class SENSOR_TYPES = { 'brightness': 'light', diff --git a/homeassistant/components/wink/climate.py b/homeassistant/components/wink/climate.py index f5e75c1fb8d..fd02fdd4ec3 100644 --- a/homeassistant/components/wink/climate.py +++ b/homeassistant/components/wink/climate.py @@ -26,8 +26,6 @@ ATTR_TOTAL_CONSUMPTION = 'total_consumption' ATTR_HEAT_ON = 'heat_on' ATTR_COOL_ON = 'cool_on' -DEPENDENCIES = ['wink'] - SPEED_LOW = 'low' SPEED_MEDIUM = 'medium' SPEED_HIGH = 'high' diff --git a/homeassistant/components/wink/cover.py b/homeassistant/components/wink/cover.py index f4c4841c2a2..b8152adbfda 100644 --- a/homeassistant/components/wink/cover.py +++ b/homeassistant/components/wink/cover.py @@ -3,8 +3,6 @@ from homeassistant.components.cover import ATTR_POSITION, CoverDevice from . import DOMAIN, WinkDevice -DEPENDENCIES = ['wink'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Wink cover platform.""" diff --git a/homeassistant/components/wink/fan.py b/homeassistant/components/wink/fan.py index 52a27eb3c3d..3fb06abc145 100644 --- a/homeassistant/components/wink/fan.py +++ b/homeassistant/components/wink/fan.py @@ -9,8 +9,6 @@ from . import DOMAIN, WinkDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['wink'] - SPEED_AUTO = 'auto' SPEED_LOWEST = 'lowest' SUPPORTED_FEATURES = SUPPORT_DIRECTION + SUPPORT_SET_SPEED diff --git a/homeassistant/components/wink/light.py b/homeassistant/components/wink/light.py index 95747bcc1b2..0da432f7fe3 100644 --- a/homeassistant/components/wink/light.py +++ b/homeassistant/components/wink/light.py @@ -8,8 +8,6 @@ from homeassistant.util.color import ( from . import DOMAIN, WinkDevice -DEPENDENCIES = ['wink'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Wink lights.""" diff --git a/homeassistant/components/wink/lock.py b/homeassistant/components/wink/lock.py index 8e6fb9b2805..01e038e9d09 100644 --- a/homeassistant/components/wink/lock.py +++ b/homeassistant/components/wink/lock.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from . import DOMAIN, WinkDevice -DEPENDENCIES = ['wink'] - _LOGGER = logging.getLogger(__name__) SERVICE_SET_VACATION_MODE = 'wink_set_lock_vacation_mode' diff --git a/homeassistant/components/wink/scene.py b/homeassistant/components/wink/scene.py index e77402c4d45..d0e03ef0688 100644 --- a/homeassistant/components/wink/scene.py +++ b/homeassistant/components/wink/scene.py @@ -7,8 +7,6 @@ from . import DOMAIN, WinkDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['wink'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Wink platform.""" diff --git a/homeassistant/components/wink/sensor.py b/homeassistant/components/wink/sensor.py index 3dfd704d564..b2330894584 100644 --- a/homeassistant/components/wink/sensor.py +++ b/homeassistant/components/wink/sensor.py @@ -7,8 +7,6 @@ from . import DOMAIN, WinkDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['wink'] - SENSOR_TYPES = ['temperature', 'humidity', 'balance', 'proximity'] diff --git a/homeassistant/components/wink/switch.py b/homeassistant/components/wink/switch.py index 6ee777dd1fc..1102087ed2a 100644 --- a/homeassistant/components/wink/switch.py +++ b/homeassistant/components/wink/switch.py @@ -5,8 +5,6 @@ from homeassistant.helpers.entity import ToggleEntity from . import DOMAIN, WinkDevice -DEPENDENCIES = ['wink'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wirelesstag/__init__.py b/homeassistant/components/wirelesstag/__init__.py index 28c8cb4d515..61209a8293b 100644 --- a/homeassistant/components/wirelesstag/__init__.py +++ b/homeassistant/components/wirelesstag/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.dispatcher import ( dispatcher_send) -REQUIREMENTS = ['wirelesstagpy==0.4.0'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wirelesstag/binary_sensor.py b/homeassistant/components/wirelesstag/binary_sensor.py index aefa5ed34a9..7dd3e8df6ca 100644 --- a/homeassistant/components/wirelesstag/binary_sensor.py +++ b/homeassistant/components/wirelesstag/binary_sensor.py @@ -14,8 +14,6 @@ from . import ( DOMAIN as WIRELESSTAG_DOMAIN, SIGNAL_BINARY_EVENT_UPDATE, WirelessTagBaseSensor) -DEPENDENCIES = ['wirelesstag'] - _LOGGER = logging.getLogger(__name__) # On means in range, Off means out of range diff --git a/homeassistant/components/wirelesstag/sensor.py b/homeassistant/components/wirelesstag/sensor.py index ca26e07b985..bba3f1503c9 100644 --- a/homeassistant/components/wirelesstag/sensor.py +++ b/homeassistant/components/wirelesstag/sensor.py @@ -12,8 +12,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_connect from . import ( DOMAIN as WIRELESSTAG_DOMAIN, SIGNAL_TAG_UPDATE, WirelessTagBaseSensor) -DEPENDENCIES = ['wirelesstag'] - _LOGGER = logging.getLogger(__name__) SENSOR_TEMPERATURE = 'temperature' diff --git a/homeassistant/components/wirelesstag/switch.py b/homeassistant/components/wirelesstag/switch.py index 4a2b64acda1..c909f10c75c 100644 --- a/homeassistant/components/wirelesstag/switch.py +++ b/homeassistant/components/wirelesstag/switch.py @@ -9,8 +9,6 @@ import homeassistant.helpers.config_validation as cv from . import DOMAIN as WIRELESSTAG_DOMAIN, WirelessTagBaseSensor -DEPENDENCIES = ['wirelesstag'] - _LOGGER = logging.getLogger(__name__) ARM_TEMPERATURE = 'temperature' diff --git a/homeassistant/components/workday/binary_sensor.py b/homeassistant/components/workday/binary_sensor.py index b505e075018..73fa8133c9f 100644 --- a/homeassistant/components/workday/binary_sensor.py +++ b/homeassistant/components/workday/binary_sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import CONF_NAME, WEEKDAYS from homeassistant.components.binary_sensor import BinarySensorDevice import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['holidays==0.9.10'] - _LOGGER = logging.getLogger(__name__) # List of all countries currently supported by holidays diff --git a/homeassistant/components/wunderlist/__init__.py b/homeassistant/components/wunderlist/__init__.py index d67cf089b5e..5c85c746826 100644 --- a/homeassistant/components/wunderlist/__init__.py +++ b/homeassistant/components/wunderlist/__init__.py @@ -7,8 +7,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.const import ( CONF_NAME, CONF_ACCESS_TOKEN) -REQUIREMENTS = ['wunderpy2==0.1.6'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'wunderlist' diff --git a/homeassistant/components/xbox_live/sensor.py b/homeassistant/components/xbox_live/sensor.py index 9f8a02686ac..874c1629694 100644 --- a/homeassistant/components/xbox_live/sensor.py +++ b/homeassistant/components/xbox_live/sensor.py @@ -8,8 +8,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import (CONF_API_KEY, STATE_UNKNOWN) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['xboxapi==0.1.1'] - _LOGGER = logging.getLogger(__name__) CONF_XUID = 'xuid' diff --git a/homeassistant/components/xeoma/camera.py b/homeassistant/components/xeoma/camera.py index dd0ee432707..60f7ab2c972 100644 --- a/homeassistant/components/xeoma/camera.py +++ b/homeassistant/components/xeoma/camera.py @@ -8,8 +8,6 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_PASSWORD, CONF_USERNAME) from homeassistant.helpers import config_validation as cv -REQUIREMENTS = ['pyxeoma==1.4.1'] - _LOGGER = logging.getLogger(__name__) CONF_CAMERAS = 'cameras' diff --git a/homeassistant/components/xfinity/device_tracker.py b/homeassistant/components/xfinity/device_tracker.py index 04702355de7..bdde650091d 100644 --- a/homeassistant/components/xfinity/device_tracker.py +++ b/homeassistant/components/xfinity/device_tracker.py @@ -9,8 +9,6 @@ from homeassistant.components.device_tracker import ( DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST -REQUIREMENTS = ['xfinity-gateway==0.0.4'] - _LOGGER = logging.getLogger(__name__) DEFAULT_HOST = '10.0.0.1' diff --git a/homeassistant/components/xiaomi/camera.py b/homeassistant/components/xiaomi/camera.py index 98e54d2bc73..e541936ef0e 100644 --- a/homeassistant/components/xiaomi/camera.py +++ b/homeassistant/components/xiaomi/camera.py @@ -11,7 +11,6 @@ from homeassistant.const import (CONF_HOST, CONF_NAME, CONF_PATH, from homeassistant.helpers import config_validation as cv from homeassistant.helpers.aiohttp_client import async_aiohttp_proxy_stream -DEPENDENCIES = ['ffmpeg'] _LOGGER = logging.getLogger(__name__) DEFAULT_BRAND = 'Xiaomi Home Camera' diff --git a/homeassistant/components/xiaomi_aqara/__init__.py b/homeassistant/components/xiaomi_aqara/__init__.py index 9b113170f8a..22a8ec95c33 100644 --- a/homeassistant/components/xiaomi_aqara/__init__.py +++ b/homeassistant/components/xiaomi_aqara/__init__.py @@ -16,8 +16,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import async_track_point_in_utc_time from homeassistant.util.dt import utcnow -REQUIREMENTS = ['PyXiaomiGateway==0.12.2'] - _LOGGER = logging.getLogger(__name__) ATTR_GW_MAC = 'gw_mac' diff --git a/homeassistant/components/xiaomi_miio/device_tracker.py b/homeassistant/components/xiaomi_miio/device_tracker.py index e7ea9fbbb40..5e5485364df 100644 --- a/homeassistant/components/xiaomi_miio/device_tracker.py +++ b/homeassistant/components/xiaomi_miio/device_tracker.py @@ -8,8 +8,6 @@ from homeassistant.components.device_tracker import ( from homeassistant.const import CONF_HOST, CONF_TOKEN import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-miio==0.4.5', 'construct==2.9.45'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/xiaomi_miio/fan.py b/homeassistant/components/xiaomi_miio/fan.py index 51d4780160d..ea00cd6d95e 100644 --- a/homeassistant/components/xiaomi_miio/fan.py +++ b/homeassistant/components/xiaomi_miio/fan.py @@ -13,8 +13,6 @@ from homeassistant.const import (CONF_NAME, CONF_HOST, CONF_TOKEN, from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-miio==0.4.5', 'construct==2.9.45'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Xiaomi Miio Device' diff --git a/homeassistant/components/xiaomi_miio/light.py b/homeassistant/components/xiaomi_miio/light.py index ec07a557342..fa853d1f83d 100644 --- a/homeassistant/components/xiaomi_miio/light.py +++ b/homeassistant/components/xiaomi_miio/light.py @@ -17,8 +17,6 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv from homeassistant.util import color, dt -REQUIREMENTS = ['python-miio==0.4.5', 'construct==2.9.45'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Xiaomi Philips Light' diff --git a/homeassistant/components/xiaomi_miio/remote.py b/homeassistant/components/xiaomi_miio/remote.py index 450279c1825..7cb0cd68439 100644 --- a/homeassistant/components/xiaomi_miio/remote.py +++ b/homeassistant/components/xiaomi_miio/remote.py @@ -17,8 +17,6 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv from homeassistant.util.dt import utcnow -REQUIREMENTS = ['python-miio==0.4.5', 'construct==2.9.45'] - _LOGGER = logging.getLogger(__name__) SERVICE_LEARN = 'xiaomi_miio_learn_command' diff --git a/homeassistant/components/xiaomi_miio/sensor.py b/homeassistant/components/xiaomi_miio/sensor.py index 41d3ce65b13..be500f665f4 100644 --- a/homeassistant/components/xiaomi_miio/sensor.py +++ b/homeassistant/components/xiaomi_miio/sensor.py @@ -9,8 +9,6 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['python-miio==0.4.5', 'construct==2.9.45'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Xiaomi Miio Sensor' diff --git a/homeassistant/components/xiaomi_miio/switch.py b/homeassistant/components/xiaomi_miio/switch.py index d1acce02e47..91924c82821 100644 --- a/homeassistant/components/xiaomi_miio/switch.py +++ b/homeassistant/components/xiaomi_miio/switch.py @@ -12,8 +12,6 @@ from homeassistant.const import ( from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-miio==0.4.5', 'construct==2.9.45'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Xiaomi Miio Switch' diff --git a/homeassistant/components/xiaomi_miio/vacuum.py b/homeassistant/components/xiaomi_miio/vacuum.py index 2673a5b897c..ce527d41e25 100644 --- a/homeassistant/components/xiaomi_miio/vacuum.py +++ b/homeassistant/components/xiaomi_miio/vacuum.py @@ -16,8 +16,6 @@ from homeassistant.const import ( ATTR_ENTITY_ID, CONF_HOST, CONF_NAME, CONF_TOKEN, STATE_OFF, STATE_ON) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-miio==0.4.5', 'construct==2.9.45'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Xiaomi Vacuum cleaner' diff --git a/homeassistant/components/xiaomi_tv/media_player.py b/homeassistant/components/xiaomi_tv/media_player.py index 2c8a2e1ea83..862ed3bcc39 100644 --- a/homeassistant/components/xiaomi_tv/media_player.py +++ b/homeassistant/components/xiaomi_tv/media_player.py @@ -10,8 +10,6 @@ from homeassistant.components.media_player.const import ( from homeassistant.const import CONF_HOST, CONF_NAME, STATE_OFF, STATE_ON import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pymitv==1.4.3'] - DEFAULT_NAME = "Xiaomi TV" _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xmpp/notify.py b/homeassistant/components/xmpp/notify.py index d8036f5ee1e..79e6edafdb4 100644 --- a/homeassistant/components/xmpp/notify.py +++ b/homeassistant/components/xmpp/notify.py @@ -17,8 +17,6 @@ import homeassistant.helpers.template as template_helper from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['slixmpp==1.4.2'] - _LOGGER = logging.getLogger(__name__) ATTR_DATA = 'data' diff --git a/homeassistant/components/xs1/__init__.py b/homeassistant/components/xs1/__init__.py index f67eb8fd15a..7e245dc8135 100644 --- a/homeassistant/components/xs1/__init__.py +++ b/homeassistant/components/xs1/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['xs1-api-client==2.3.5'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'xs1' diff --git a/homeassistant/components/xs1/climate.py b/homeassistant/components/xs1/climate.py index 080b87c1346..1d12fcc90fa 100644 --- a/homeassistant/components/xs1/climate.py +++ b/homeassistant/components/xs1/climate.py @@ -8,7 +8,6 @@ from homeassistant.const import ATTR_TEMPERATURE from . import ACTUATORS, DOMAIN as COMPONENT_DOMAIN, SENSORS, XS1DeviceEntity -DEPENDENCIES = ['xs1'] _LOGGER = logging.getLogger(__name__) MIN_TEMP = 8 diff --git a/homeassistant/components/xs1/sensor.py b/homeassistant/components/xs1/sensor.py index f5fdcf1fb34..150c2da1f37 100644 --- a/homeassistant/components/xs1/sensor.py +++ b/homeassistant/components/xs1/sensor.py @@ -5,7 +5,6 @@ from homeassistant.helpers.entity import Entity from . import ACTUATORS, DOMAIN as COMPONENT_DOMAIN, SENSORS, XS1DeviceEntity -DEPENDENCIES = ['xs1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xs1/switch.py b/homeassistant/components/xs1/switch.py index d8b344fc716..2513d888dd8 100644 --- a/homeassistant/components/xs1/switch.py +++ b/homeassistant/components/xs1/switch.py @@ -7,8 +7,6 @@ from . import ACTUATORS, DOMAIN as COMPONENT_DOMAIN, XS1DeviceEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['xs1'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/yale_smart_alarm/alarm_control_panel.py b/homeassistant/components/yale_smart_alarm/alarm_control_panel.py index 1a8e03a6363..ac1b220b120 100755 --- a/homeassistant/components/yale_smart_alarm/alarm_control_panel.py +++ b/homeassistant/components/yale_smart_alarm/alarm_control_panel.py @@ -10,8 +10,6 @@ from homeassistant.const import ( STATE_ALARM_ARMED_AWAY, STATE_ALARM_ARMED_HOME, STATE_ALARM_DISARMED) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['yalesmartalarmclient==0.1.6'] - CONF_AREA_ID = 'area_id' DEFAULT_NAME = 'Yale Smart Alarm' diff --git a/homeassistant/components/yamaha/media_player.py b/homeassistant/components/yamaha/media_player.py index 53c6b466f6e..6ccbb1b93db 100644 --- a/homeassistant/components/yamaha/media_player.py +++ b/homeassistant/components/yamaha/media_player.py @@ -18,8 +18,6 @@ from homeassistant.const import ( STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['rxv==0.6.0'] - _LOGGER = logging.getLogger(__name__) ATTR_ENABLED = 'enabled' diff --git a/homeassistant/components/yamaha_musiccast/media_player.py b/homeassistant/components/yamaha_musiccast/media_player.py index 94002a4cc55..cfca4ae52f3 100644 --- a/homeassistant/components/yamaha_musiccast/media_player.py +++ b/homeassistant/components/yamaha_musiccast/media_player.py @@ -15,8 +15,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pymusiccast==0.1.6'] - _LOGGER = logging.getLogger(__name__) SUPPORTED_FEATURES = ( diff --git a/homeassistant/components/yeelight/__init__.py b/homeassistant/components/yeelight/__init__.py index 9b9778fd5d2..8c2c9c957c6 100644 --- a/homeassistant/components/yeelight/__init__.py +++ b/homeassistant/components/yeelight/__init__.py @@ -16,8 +16,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.dispatcher import dispatcher_send from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['yeelight==0.4.4'] - _LOGGER = logging.getLogger(__name__) DOMAIN = "yeelight" diff --git a/homeassistant/components/yeelight/binary_sensor.py b/homeassistant/components/yeelight/binary_sensor.py index 0b44966f15c..b2a61090a30 100644 --- a/homeassistant/components/yeelight/binary_sensor.py +++ b/homeassistant/components/yeelight/binary_sensor.py @@ -6,8 +6,6 @@ from homeassistant.core import callback from homeassistant.helpers.dispatcher import async_dispatcher_connect from . import DATA_YEELIGHT, DATA_UPDATED -DEPENDENCIES = ['yeelight'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yeelight/light.py b/homeassistant/components/yeelight/light.py index 8aa5c3d7300..fa62bdc35d7 100644 --- a/homeassistant/components/yeelight/light.py +++ b/homeassistant/components/yeelight/light.py @@ -22,8 +22,6 @@ from . import ( YEELIGHT_FLOW_TRANSITION_SCHEMA, ACTION_RECOVER, CONF_FLOW_PARAMS, ATTR_ACTION, ATTR_COUNT) -DEPENDENCIES = ['yeelight'] - _LOGGER = logging.getLogger(__name__) SUPPORT_YEELIGHT = (SUPPORT_BRIGHTNESS | diff --git a/homeassistant/components/yeelightsunflower/light.py b/homeassistant/components/yeelightsunflower/light.py index 9252143526b..a8636a280f5 100644 --- a/homeassistant/components/yeelightsunflower/light.py +++ b/homeassistant/components/yeelightsunflower/light.py @@ -10,8 +10,6 @@ from homeassistant.components.light import ( from homeassistant.const import CONF_HOST import homeassistant.util.color as color_util -REQUIREMENTS = ['yeelightsunflower==0.0.10'] - _LOGGER = logging.getLogger(__name__) SUPPORT_YEELIGHT_SUNFLOWER = (SUPPORT_BRIGHTNESS | SUPPORT_COLOR) diff --git a/homeassistant/components/yessssms/notify.py b/homeassistant/components/yessssms/notify.py index c229c361e28..5c3af591a12 100644 --- a/homeassistant/components/yessssms/notify.py +++ b/homeassistant/components/yessssms/notify.py @@ -9,8 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.notify import (PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['YesssSMS==0.2.3'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/yi/camera.py b/homeassistant/components/yi/camera.py index 7ed36b97868..0dbb42c384e 100644 --- a/homeassistant/components/yi/camera.py +++ b/homeassistant/components/yi/camera.py @@ -12,8 +12,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers.aiohttp_client import async_aiohttp_proxy_stream from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['aioftp==0.12.0'] -DEPENDENCIES = ['ffmpeg'] _LOGGER = logging.getLogger(__name__) DEFAULT_BRAND = 'YI Home Camera' diff --git a/homeassistant/components/yr/sensor.py b/homeassistant/components/yr/sensor.py index 4c898a7c9fe..c9f57abf5d9 100644 --- a/homeassistant/components/yr/sensor.py +++ b/homeassistant/components/yr/sensor.py @@ -20,8 +20,6 @@ from homeassistant.helpers.event import (async_track_utc_time_change, async_call_later) from homeassistant.util import dt as dt_util -REQUIREMENTS = ['xmltodict==0.11.0'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Weather forecast from met.no, delivered by the Norwegian " \ diff --git a/homeassistant/components/yweather/sensor.py b/homeassistant/components/yweather/sensor.py index 129532ceb57..fc49d79d110 100644 --- a/homeassistant/components/yweather/sensor.py +++ b/homeassistant/components/yweather/sensor.py @@ -12,8 +12,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['yahooweather==0.10'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Weather details provided by Yahoo! Inc." diff --git a/homeassistant/components/yweather/weather.py b/homeassistant/components/yweather/weather.py index e4eb34a039a..4d7986d8a5c 100644 --- a/homeassistant/components/yweather/weather.py +++ b/homeassistant/components/yweather/weather.py @@ -10,8 +10,6 @@ from homeassistant.components.weather import ( from homeassistant.const import CONF_NAME, STATE_UNKNOWN, TEMP_CELSIUS import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ["yahooweather==0.10"] - _LOGGER = logging.getLogger(__name__) DATA_CONDITION = 'yahoo_condition' diff --git a/homeassistant/components/zabbix/__init__.py b/homeassistant/components/zabbix/__init__.py index f33c60b1c39..041f67b37ee 100644 --- a/homeassistant/components/zabbix/__init__.py +++ b/homeassistant/components/zabbix/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import ( CONF_PATH, CONF_HOST, CONF_SSL, CONF_PASSWORD, CONF_USERNAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyzabbix==0.7.4'] - _LOGGER = logging.getLogger(__name__) DEFAULT_SSL = False diff --git a/homeassistant/components/zabbix/sensor.py b/homeassistant/components/zabbix/sensor.py index ae2e70ede2c..004c176570a 100644 --- a/homeassistant/components/zabbix/sensor.py +++ b/homeassistant/components/zabbix/sensor.py @@ -11,8 +11,6 @@ from homeassistant.helpers.entity import Entity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zabbix'] - _CONF_TRIGGERS = 'triggers' _CONF_HOSTIDS = 'hostids' _CONF_INDIVIDUAL = 'individual' diff --git a/homeassistant/components/zengge/light.py b/homeassistant/components/zengge/light.py index 8bbd56a483e..e066ad9da65 100644 --- a/homeassistant/components/zengge/light.py +++ b/homeassistant/components/zengge/light.py @@ -10,8 +10,6 @@ from homeassistant.components.light import ( import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['zengge==0.2'] - _LOGGER = logging.getLogger(__name__) SUPPORT_ZENGGE_LED = (SUPPORT_BRIGHTNESS | SUPPORT_COLOR | SUPPORT_WHITE_VALUE) diff --git a/homeassistant/components/zeroconf/__init__.py b/homeassistant/components/zeroconf/__init__.py index 844246528a6..d2dcd907885 100644 --- a/homeassistant/components/zeroconf/__init__.py +++ b/homeassistant/components/zeroconf/__init__.py @@ -7,11 +7,8 @@ import voluptuous as vol from homeassistant import util from homeassistant.const import (EVENT_HOMEASSISTANT_STOP, __version__) -REQUIREMENTS = ['zeroconf==0.21.3'] - _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['api'] DOMAIN = 'zeroconf' diff --git a/homeassistant/components/zestimate/sensor.py b/homeassistant/components/zestimate/sensor.py index f69e3b16ebe..e66aad701b7 100644 --- a/homeassistant/components/zestimate/sensor.py +++ b/homeassistant/components/zestimate/sensor.py @@ -12,8 +12,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['xmltodict==0.11.0'] - _LOGGER = logging.getLogger(__name__) _RESOURCE = 'http://www.zillow.com/webservice/GetZestimate.htm' diff --git a/homeassistant/components/zha/__init__.py b/homeassistant/components/zha/__init__.py index 08362eba082..64760170150 100644 --- a/homeassistant/components/zha/__init__.py +++ b/homeassistant/components/zha/__init__.py @@ -20,14 +20,6 @@ from .core.const import ( from .core.patches import apply_cluster_listener_patch from .core.registries import establish_device_mappings -REQUIREMENTS = [ - 'bellows-homeassistant==0.7.2', - 'zigpy-homeassistant==0.3.1', - 'zigpy-xbee-homeassistant==0.1.3', - 'zha-quirks==0.0.7', - 'zigpy-deconz==0.1.3' -] - DEVICE_CONFIG_SCHEMA_ENTRY = vol.Schema({ vol.Optional(ha_const.CONF_TYPE): cv.string, }) diff --git a/homeassistant/components/zha/binary_sensor.py b/homeassistant/components/zha/binary_sensor.py index b4254eb83e7..e9fa25c2577 100644 --- a/homeassistant/components/zha/binary_sensor.py +++ b/homeassistant/components/zha/binary_sensor.py @@ -14,8 +14,6 @@ from .entity import ZhaEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zha'] - # Zigbee Cluster Library Zone Type to Home Assistant device class CLASS_MAPPING = { 0x000d: 'motion', diff --git a/homeassistant/components/zha/fan.py b/homeassistant/components/zha/fan.py index b80834af1d7..9619049bc7f 100644 --- a/homeassistant/components/zha/fan.py +++ b/homeassistant/components/zha/fan.py @@ -12,8 +12,6 @@ from .core.const import ( ) from .entity import ZhaEntity -DEPENDENCIES = ['zha'] - _LOGGER = logging.getLogger(__name__) # Additional speeds in zigbee's ZCL diff --git a/homeassistant/components/zha/light.py b/homeassistant/components/zha/light.py index 12bc12c5f6e..ec840d5edb3 100644 --- a/homeassistant/components/zha/light.py +++ b/homeassistant/components/zha/light.py @@ -17,8 +17,6 @@ from .entity import ZhaEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zha'] - DEFAULT_DURATION = 5 CAPABILITIES_COLOR_XY = 0x08 diff --git a/homeassistant/components/zha/sensor.py b/homeassistant/components/zha/sensor.py index 13932d7dd7a..b6ac70fa187 100644 --- a/homeassistant/components/zha/sensor.py +++ b/homeassistant/components/zha/sensor.py @@ -16,8 +16,6 @@ from .entity import ZhaEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zha'] - # Formatter functions def pass_through_formatter(value): diff --git a/homeassistant/components/zha/switch.py b/homeassistant/components/zha/switch.py index 34c9ab2514d..7efcbabd74e 100644 --- a/homeassistant/components/zha/switch.py +++ b/homeassistant/components/zha/switch.py @@ -13,8 +13,6 @@ from .entity import ZhaEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zha'] - async def async_setup_platform(hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/zhong_hong/climate.py b/homeassistant/components/zhong_hong/climate.py index 7fd2b971009..d01d1028507 100644 --- a/homeassistant/components/zhong_hong/climate.py +++ b/homeassistant/components/zhong_hong/climate.py @@ -14,8 +14,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.dispatcher import (async_dispatcher_connect, async_dispatcher_send) -REQUIREMENTS = ['zhong_hong_hvac==1.0.9'] - _LOGGER = logging.getLogger(__name__) CONF_GATEWAY_ADDRRESS = 'gateway_address' diff --git a/homeassistant/components/zigbee/__init__.py b/homeassistant/components/zigbee/__init__.py index 0e2d3587829..516ac3453c8 100644 --- a/homeassistant/components/zigbee/__init__.py +++ b/homeassistant/components/zigbee/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers.dispatcher import ( async_dispatcher_connect, dispatcher_send) -REQUIREMENTS = ['xbee-helper==0.0.7'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'zigbee' diff --git a/homeassistant/components/zigbee/binary_sensor.py b/homeassistant/components/zigbee/binary_sensor.py index ccf4e70df34..8cf7f4d7dc0 100644 --- a/homeassistant/components/zigbee/binary_sensor.py +++ b/homeassistant/components/zigbee/binary_sensor.py @@ -8,8 +8,6 @@ from . import PLATFORM_SCHEMA, ZigBeeDigitalIn, ZigBeeDigitalInConfig CONF_ON_STATE = 'on_state' DEFAULT_ON_STATE = 'high' -DEPENDENCIES = ['zigbee'] - STATES = ['high', 'low'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/zigbee/light.py b/homeassistant/components/zigbee/light.py index b9be0d89323..1ff38af02e4 100644 --- a/homeassistant/components/zigbee/light.py +++ b/homeassistant/components/zigbee/light.py @@ -8,8 +8,6 @@ from . import PLATFORM_SCHEMA, ZigBeeDigitalOut, ZigBeeDigitalOutConfig CONF_ON_STATE = 'on_state' DEFAULT_ON_STATE = 'high' -DEPENDENCIES = ['zigbee'] - STATES = ['high', 'low'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/zigbee/sensor.py b/homeassistant/components/zigbee/sensor.py index 48301ac9728..480064c5715 100644 --- a/homeassistant/components/zigbee/sensor.py +++ b/homeassistant/components/zigbee/sensor.py @@ -16,8 +16,6 @@ CONF_TYPE = 'type' CONF_MAX_VOLTS = 'max_volts' DEFAULT_VOLTS = 1.2 -DEPENDENCIES = ['zigbee'] - TYPES = ['analog', 'temperature'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/zigbee/switch.py b/homeassistant/components/zigbee/switch.py index ddfd47a047e..26a9e8fac83 100644 --- a/homeassistant/components/zigbee/switch.py +++ b/homeassistant/components/zigbee/switch.py @@ -5,12 +5,10 @@ from homeassistant.components.switch import SwitchDevice from . import PLATFORM_SCHEMA, ZigBeeDigitalOut, ZigBeeDigitalOutConfig -DEPENDENCIES = ['zigbee'] CONF_ON_STATE = 'on_state' DEFAULT_ON_STATE = 'high' -DEPENDENCIES = ['zigbee'] STATES = ['high', 'low'] diff --git a/homeassistant/components/ziggo_mediabox_xl/media_player.py b/homeassistant/components/ziggo_mediabox_xl/media_player.py index 574d08e97a4..9bbc6186924 100644 --- a/homeassistant/components/ziggo_mediabox_xl/media_player.py +++ b/homeassistant/components/ziggo_mediabox_xl/media_player.py @@ -14,8 +14,6 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, STATE_OFF, STATE_PAUSED, STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['ziggo-mediabox-xl==1.1.0'] - _LOGGER = logging.getLogger(__name__) DATA_KNOWN_DEVICES = 'ziggo_mediabox_xl_known_devices' diff --git a/homeassistant/components/zoneminder/__init__.py b/homeassistant/components/zoneminder/__init__.py index a4d90d523aa..4e2585a34e3 100644 --- a/homeassistant/components/zoneminder/__init__.py +++ b/homeassistant/components/zoneminder/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers.discovery import async_load_platform _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['zm-py==0.3.3'] - CONF_PATH_ZMS = 'path_zms' DEFAULT_PATH = '/zm/' diff --git a/homeassistant/components/zoneminder/binary_sensor.py b/homeassistant/components/zoneminder/binary_sensor.py index ce59d4573be..23196cf571f 100644 --- a/homeassistant/components/zoneminder/binary_sensor.py +++ b/homeassistant/components/zoneminder/binary_sensor.py @@ -3,8 +3,6 @@ from homeassistant.components.binary_sensor import BinarySensorDevice from . import DOMAIN as ZONEMINDER_DOMAIN -DEPENDENCIES = ['zoneminder'] - async def async_setup_platform( hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/zoneminder/camera.py b/homeassistant/components/zoneminder/camera.py index fe3333fa3ed..da625e6ee46 100644 --- a/homeassistant/components/zoneminder/camera.py +++ b/homeassistant/components/zoneminder/camera.py @@ -9,8 +9,6 @@ from . import DOMAIN as ZONEMINDER_DOMAIN _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zoneminder'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the ZoneMinder cameras.""" diff --git a/homeassistant/components/zoneminder/sensor.py b/homeassistant/components/zoneminder/sensor.py index e205d921422..6a44d335a3e 100644 --- a/homeassistant/components/zoneminder/sensor.py +++ b/homeassistant/components/zoneminder/sensor.py @@ -12,8 +12,6 @@ from . import DOMAIN as ZONEMINDER_DOMAIN _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zoneminder'] - CONF_INCLUDE_ARCHIVED = "include_archived" DEFAULT_INCLUDE_ARCHIVED = False diff --git a/homeassistant/components/zoneminder/switch.py b/homeassistant/components/zoneminder/switch.py index 78e72c5fd4a..d70ba8f8fd8 100644 --- a/homeassistant/components/zoneminder/switch.py +++ b/homeassistant/components/zoneminder/switch.py @@ -11,8 +11,6 @@ from . import DOMAIN as ZONEMINDER_DOMAIN _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zoneminder'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_COMMAND_ON): cv.string, vol.Required(CONF_COMMAND_OFF): cv.string, diff --git a/homeassistant/components/zwave/__init__.py b/homeassistant/components/zwave/__init__.py index 2d575d99647..3240e389bb4 100644 --- a/homeassistant/components/zwave/__init__.py +++ b/homeassistant/components/zwave/__init__.py @@ -37,8 +37,6 @@ from .discovery_schemas import DISCOVERY_SCHEMAS from .util import (check_node_schema, check_value_schema, node_name, check_has_unique_id, is_node_parsed) -REQUIREMENTS = ['pydispatcher==2.0.5', 'homeassistant-pyozw==0.1.4'] - _LOGGER = logging.getLogger(__name__) CLASS_ID = 'class_id'