From fe7171b4cd30889bad5adc9a4fd60059d05ba5a7 Mon Sep 17 00:00:00 2001 From: Tobias Sauerwein Date: Fri, 12 Apr 2019 00:35:39 +0200 Subject: [PATCH 1/8] Remove dependencies and requirements --- homeassistant/components/abode/__init__.py | 2 +- homeassistant/components/abode/alarm_control_panel.py | 2 +- homeassistant/components/abode/binary_sensor.py | 2 +- homeassistant/components/abode/camera.py | 2 +- homeassistant/components/abode/cover.py | 2 +- homeassistant/components/abode/light.py | 2 +- homeassistant/components/abode/lock.py | 2 +- homeassistant/components/abode/sensor.py | 2 +- homeassistant/components/abode/switch.py | 2 +- homeassistant/components/acer_projector/switch.py | 2 +- homeassistant/components/ads/__init__.py | 2 +- homeassistant/components/ads/binary_sensor.py | 2 +- homeassistant/components/ads/light.py | 2 +- homeassistant/components/ads/sensor.py | 2 +- homeassistant/components/ads/switch.py | 2 +- homeassistant/components/aftership/sensor.py | 2 +- homeassistant/components/airvisual/sensor.py | 2 +- homeassistant/components/aladdin_connect/cover.py | 2 +- homeassistant/components/alarmdecoder/__init__.py | 2 +- homeassistant/components/alarmdecoder/alarm_control_panel.py | 2 +- homeassistant/components/alarmdecoder/binary_sensor.py | 2 +- homeassistant/components/alarmdecoder/sensor.py | 2 +- homeassistant/components/alarmdotcom/alarm_control_panel.py | 2 +- homeassistant/components/alexa/__init__.py | 2 +- homeassistant/components/alpha_vantage/sensor.py | 2 +- homeassistant/components/amazon_polly/tts.py | 2 +- homeassistant/components/ambient_station/__init__.py | 2 +- homeassistant/components/ambient_station/binary_sensor.py | 2 +- homeassistant/components/ambient_station/sensor.py | 2 +- homeassistant/components/amcrest/__init__.py | 4 ++-- homeassistant/components/amcrest/binary_sensor.py | 2 +- homeassistant/components/amcrest/camera.py | 2 +- homeassistant/components/amcrest/sensor.py | 2 +- homeassistant/components/amcrest/switch.py | 2 +- homeassistant/components/ampio/air_quality.py | 2 +- homeassistant/components/android_ip_webcam/__init__.py | 2 +- homeassistant/components/android_ip_webcam/binary_sensor.py | 2 +- homeassistant/components/android_ip_webcam/sensor.py | 2 +- homeassistant/components/android_ip_webcam/switch.py | 2 +- homeassistant/components/androidtv/media_player.py | 2 +- homeassistant/components/anel_pwrctrl/switch.py | 2 +- homeassistant/components/anthemav/media_player.py | 2 +- homeassistant/components/apcupsd/__init__.py | 2 +- homeassistant/components/apcupsd/binary_sensor.py | 2 +- homeassistant/components/apcupsd/sensor.py | 2 +- homeassistant/components/api/__init__.py | 2 +- homeassistant/components/apns/notify.py | 2 +- homeassistant/components/apple_tv/__init__.py | 2 +- homeassistant/components/apple_tv/media_player.py | 2 +- homeassistant/components/apple_tv/remote.py | 2 +- homeassistant/components/aqualogic/__init__.py | 2 +- homeassistant/components/aqualogic/sensor.py | 2 +- homeassistant/components/aqualogic/switch.py | 2 +- homeassistant/components/aquostv/media_player.py | 2 +- homeassistant/components/arduino/__init__.py | 2 +- homeassistant/components/arduino/sensor.py | 2 +- homeassistant/components/arduino/switch.py | 2 +- homeassistant/components/arlo/__init__.py | 2 +- homeassistant/components/arlo/alarm_control_panel.py | 2 +- homeassistant/components/arlo/camera.py | 2 +- homeassistant/components/arlo/sensor.py | 2 +- homeassistant/components/aruba/device_tracker.py | 2 +- homeassistant/components/arwn/sensor.py | 2 +- homeassistant/components/asterisk_cdr/mailbox.py | 2 +- homeassistant/components/asterisk_mbox/__init__.py | 2 +- homeassistant/components/asterisk_mbox/mailbox.py | 2 +- homeassistant/components/asuswrt/__init__.py | 2 +- homeassistant/components/asuswrt/device_tracker.py | 2 +- homeassistant/components/asuswrt/sensor.py | 2 +- homeassistant/components/august/__init__.py | 2 +- homeassistant/components/august/binary_sensor.py | 2 +- homeassistant/components/august/camera.py | 2 +- homeassistant/components/august/lock.py | 2 +- homeassistant/components/auth/__init__.py | 2 +- homeassistant/components/automatic/device_tracker.py | 4 ++-- homeassistant/components/automation/__init__.py | 2 +- homeassistant/components/automation/litejet.py | 2 +- homeassistant/components/automation/mqtt.py | 2 +- homeassistant/components/avion/light.py | 2 +- homeassistant/components/awair/sensor.py | 2 +- homeassistant/components/aws/__init__.py | 2 +- homeassistant/components/aws/notify.py | 2 +- homeassistant/components/axis/__init__.py | 2 +- homeassistant/components/axis/binary_sensor.py | 2 +- homeassistant/components/axis/camera.py | 2 +- homeassistant/components/baidu/tts.py | 2 +- homeassistant/components/bbb_gpio/__init__.py | 2 +- homeassistant/components/bbb_gpio/binary_sensor.py | 2 +- homeassistant/components/bbb_gpio/switch.py | 2 +- homeassistant/components/bbox/device_tracker.py | 2 +- homeassistant/components/bbox/sensor.py | 2 +- homeassistant/components/bitcoin/sensor.py | 2 +- homeassistant/components/blackbird/media_player.py | 2 +- homeassistant/components/blink/__init__.py | 2 +- homeassistant/components/blink/alarm_control_panel.py | 2 +- homeassistant/components/blink/binary_sensor.py | 2 +- homeassistant/components/blink/camera.py | 2 +- homeassistant/components/blink/sensor.py | 2 +- homeassistant/components/blinksticklight/light.py | 2 +- homeassistant/components/blinkt/light.py | 2 +- homeassistant/components/blockchain/sensor.py | 2 +- homeassistant/components/bloomsky/binary_sensor.py | 2 +- homeassistant/components/bloomsky/camera.py | 2 +- homeassistant/components/bloomsky/sensor.py | 2 +- homeassistant/components/bluesound/media_player.py | 2 +- .../components/bluetooth_le_tracker/device_tracker.py | 2 +- homeassistant/components/bluetooth_tracker/device_tracker.py | 2 +- homeassistant/components/bmw_connected_drive/__init__.py | 2 +- homeassistant/components/bmw_connected_drive/binary_sensor.py | 2 +- .../components/bmw_connected_drive/device_tracker.py | 2 +- homeassistant/components/bmw_connected_drive/lock.py | 2 +- homeassistant/components/bmw_connected_drive/sensor.py | 2 +- homeassistant/components/bom/camera.py | 2 +- homeassistant/components/braviatv/media_player.py | 2 +- homeassistant/components/broadlink/sensor.py | 2 +- homeassistant/components/broadlink/switch.py | 2 +- homeassistant/components/brottsplatskartan/sensor.py | 2 +- homeassistant/components/brunt/cover.py | 2 +- homeassistant/components/bt_home_hub_5/device_tracker.py | 2 +- homeassistant/components/bt_smarthub/device_tracker.py | 2 +- homeassistant/components/buienradar/sensor.py | 2 +- homeassistant/components/buienradar/weather.py | 2 +- homeassistant/components/caldav/calendar.py | 2 +- homeassistant/components/calendar/__init__.py | 2 +- homeassistant/components/camera/__init__.py | 2 +- homeassistant/components/canary/__init__.py | 2 +- homeassistant/components/canary/alarm_control_panel.py | 2 +- homeassistant/components/canary/camera.py | 2 +- homeassistant/components/canary/sensor.py | 2 +- homeassistant/components/cast/__init__.py | 2 +- homeassistant/components/channels/media_player.py | 2 +- homeassistant/components/cisco_ios/device_tracker.py | 2 +- .../components/cisco_mobility_express/device_tracker.py | 2 +- homeassistant/components/cisco_webex_teams/notify.py | 2 +- homeassistant/components/ciscospark/notify.py | 2 +- homeassistant/components/clementine/media_player.py | 2 +- homeassistant/components/cloud/__init__.py | 4 ++-- homeassistant/components/cloud/binary_sensor.py | 2 +- homeassistant/components/cloudflare/__init__.py | 2 +- homeassistant/components/cmus/media_player.py | 2 +- homeassistant/components/co2signal/sensor.py | 2 +- homeassistant/components/coinbase/__init__.py | 2 +- homeassistant/components/coinbase/sensor.py | 2 +- homeassistant/components/coinmarketcap/sensor.py | 2 +- homeassistant/components/comfoconnect/__init__.py | 2 +- homeassistant/components/comfoconnect/fan.py | 2 +- homeassistant/components/comfoconnect/sensor.py | 2 +- homeassistant/components/concord232/alarm_control_panel.py | 2 +- homeassistant/components/concord232/binary_sensor.py | 2 +- homeassistant/components/config/__init__.py | 2 +- homeassistant/components/conversation/__init__.py | 2 +- homeassistant/components/coolmaster/climate.py | 2 +- homeassistant/components/cover/__init__.py | 2 +- homeassistant/components/cppm_tracker/device_tracker.py | 2 +- homeassistant/components/cpuspeed/sensor.py | 2 +- homeassistant/components/crimereports/sensor.py | 2 +- homeassistant/components/cups/sensor.py | 2 +- homeassistant/components/daikin/__init__.py | 2 +- homeassistant/components/danfoss_air/__init__.py | 2 +- homeassistant/components/darksky/sensor.py | 2 +- homeassistant/components/darksky/weather.py | 2 +- homeassistant/components/datadog/__init__.py | 2 +- homeassistant/components/deconz/__init__.py | 2 +- homeassistant/components/deconz/binary_sensor.py | 2 +- homeassistant/components/deconz/climate.py | 2 +- homeassistant/components/deconz/cover.py | 2 +- homeassistant/components/deconz/light.py | 2 +- homeassistant/components/deconz/scene.py | 2 +- homeassistant/components/deconz/sensor.py | 2 +- homeassistant/components/deconz/switch.py | 2 +- homeassistant/components/decora/light.py | 2 +- homeassistant/components/decora_wifi/light.py | 2 +- homeassistant/components/deluge/sensor.py | 2 +- homeassistant/components/deluge/switch.py | 2 +- homeassistant/components/demo/__init__.py | 2 +- homeassistant/components/denonavr/media_player.py | 2 +- homeassistant/components/deutsche_bahn/sensor.py | 2 +- homeassistant/components/device_sun_light_trigger/__init__.py | 2 +- homeassistant/components/device_tracker/__init__.py | 2 +- homeassistant/components/dht/sensor.py | 2 +- homeassistant/components/dialogflow/__init__.py | 2 +- homeassistant/components/digital_ocean/__init__.py | 2 +- homeassistant/components/digital_ocean/binary_sensor.py | 2 +- homeassistant/components/digital_ocean/switch.py | 2 +- homeassistant/components/digitalloggers/switch.py | 2 +- homeassistant/components/directv/media_player.py | 2 +- homeassistant/components/discogs/sensor.py | 2 +- homeassistant/components/discord/notify.py | 2 +- homeassistant/components/discovery/__init__.py | 2 +- homeassistant/components/dlib_face_detect/image_processing.py | 2 +- .../components/dlib_face_identify/image_processing.py | 2 +- homeassistant/components/dlink/switch.py | 2 +- homeassistant/components/dlna_dmr/media_player.py | 2 +- homeassistant/components/dnsip/sensor.py | 2 +- homeassistant/components/dominos/__init__.py | 4 ++-- homeassistant/components/doorbird/__init__.py | 2 +- homeassistant/components/doorbird/camera.py | 2 +- homeassistant/components/doorbird/switch.py | 2 +- homeassistant/components/dovado/__init__.py | 2 +- homeassistant/components/dovado/notify.py | 2 +- homeassistant/components/dovado/sensor.py | 2 +- homeassistant/components/dsmr/sensor.py | 2 +- homeassistant/components/duke_energy/sensor.py | 2 +- homeassistant/components/dunehd/media_player.py | 2 +- homeassistant/components/dweet/__init__.py | 2 +- homeassistant/components/dweet/sensor.py | 2 +- homeassistant/components/dyson/__init__.py | 2 +- homeassistant/components/dyson/fan.py | 2 +- homeassistant/components/dyson/sensor.py | 2 +- homeassistant/components/dyson/vacuum.py | 2 +- homeassistant/components/ebox/sensor.py | 2 +- homeassistant/components/ebusd/__init__.py | 2 +- homeassistant/components/ebusd/sensor.py | 2 +- homeassistant/components/ecoal_boiler/__init__.py | 2 +- homeassistant/components/ecoal_boiler/sensor.py | 2 +- homeassistant/components/ecoal_boiler/switch.py | 2 +- homeassistant/components/ecobee/__init__.py | 2 +- homeassistant/components/ecobee/binary_sensor.py | 2 +- homeassistant/components/ecobee/climate.py | 2 +- homeassistant/components/ecobee/notify.py | 2 +- homeassistant/components/ecobee/sensor.py | 2 +- homeassistant/components/ecobee/weather.py | 2 +- homeassistant/components/econet/water_heater.py | 2 +- homeassistant/components/ecovacs/__init__.py | 2 +- homeassistant/components/ecovacs/vacuum.py | 2 +- homeassistant/components/eddystone_temperature/sensor.py | 2 +- homeassistant/components/edimax/switch.py | 2 +- homeassistant/components/edp_redy/__init__.py | 2 +- homeassistant/components/edp_redy/sensor.py | 2 +- homeassistant/components/edp_redy/switch.py | 2 +- homeassistant/components/ee_brightbox/device_tracker.py | 2 +- homeassistant/components/egardia/__init__.py | 2 +- homeassistant/components/egardia/alarm_control_panel.py | 2 +- homeassistant/components/egardia/binary_sensor.py | 2 +- homeassistant/components/eight_sleep/__init__.py | 2 +- homeassistant/components/eight_sleep/binary_sensor.py | 2 +- homeassistant/components/eight_sleep/sensor.py | 2 +- homeassistant/components/eliqonline/sensor.py | 2 +- homeassistant/components/elkm1/__init__.py | 2 +- homeassistant/components/elkm1/alarm_control_panel.py | 2 +- homeassistant/components/elkm1/climate.py | 2 +- homeassistant/components/elkm1/light.py | 2 +- homeassistant/components/elkm1/scene.py | 2 +- homeassistant/components/elkm1/sensor.py | 2 +- homeassistant/components/elkm1/switch.py | 2 +- homeassistant/components/emby/media_player.py | 2 +- homeassistant/components/emulated_roku/__init__.py | 2 +- homeassistant/components/enigma2/media_player.py | 2 +- homeassistant/components/enocean/__init__.py | 2 +- homeassistant/components/enocean/binary_sensor.py | 2 +- homeassistant/components/enocean/light.py | 2 +- homeassistant/components/enocean/sensor.py | 2 +- homeassistant/components/enocean/switch.py | 2 +- homeassistant/components/enphase_envoy/sensor.py | 2 +- homeassistant/components/entur_public_transport/sensor.py | 2 +- homeassistant/components/envisalink/__init__.py | 2 +- homeassistant/components/envisalink/alarm_control_panel.py | 2 +- homeassistant/components/envisalink/binary_sensor.py | 2 +- homeassistant/components/envisalink/sensor.py | 2 +- homeassistant/components/ephember/climate.py | 2 +- homeassistant/components/epson/media_player.py | 2 +- homeassistant/components/eq3btsmart/climate.py | 2 +- homeassistant/components/esphome/__init__.py | 2 +- homeassistant/components/esphome/binary_sensor.py | 2 +- homeassistant/components/esphome/camera.py | 2 +- homeassistant/components/esphome/climate.py | 2 +- homeassistant/components/esphome/cover.py | 2 +- homeassistant/components/esphome/fan.py | 2 +- homeassistant/components/esphome/light.py | 2 +- homeassistant/components/esphome/sensor.py | 2 +- homeassistant/components/esphome/switch.py | 2 +- homeassistant/components/etherscan/sensor.py | 2 +- homeassistant/components/eufy/__init__.py | 2 +- homeassistant/components/eufy/light.py | 2 +- homeassistant/components/eufy/switch.py | 2 +- homeassistant/components/everlights/light.py | 2 +- homeassistant/components/evohome/__init__.py | 2 +- homeassistant/components/familyhub/camera.py | 2 +- homeassistant/components/fan/__init__.py | 2 +- homeassistant/components/fastdotcom/__init__.py | 2 +- homeassistant/components/fastdotcom/sensor.py | 2 +- homeassistant/components/fedex/sensor.py | 2 +- homeassistant/components/feedreader/__init__.py | 2 +- homeassistant/components/ffmpeg/__init__.py | 2 +- homeassistant/components/ffmpeg/camera.py | 2 +- homeassistant/components/ffmpeg_motion/binary_sensor.py | 2 +- homeassistant/components/ffmpeg_noise/binary_sensor.py | 2 +- homeassistant/components/fibaro/__init__.py | 2 +- homeassistant/components/fibaro/binary_sensor.py | 2 +- homeassistant/components/fibaro/climate.py | 2 +- homeassistant/components/fibaro/cover.py | 2 +- homeassistant/components/fibaro/light.py | 2 +- homeassistant/components/fibaro/scene.py | 2 +- homeassistant/components/fibaro/sensor.py | 2 +- homeassistant/components/fibaro/switch.py | 2 +- homeassistant/components/fido/sensor.py | 2 +- homeassistant/components/fints/sensor.py | 2 +- homeassistant/components/fitbit/sensor.py | 4 ++-- homeassistant/components/fixer/sensor.py | 2 +- homeassistant/components/flexit/climate.py | 4 ++-- homeassistant/components/flic/binary_sensor.py | 2 +- homeassistant/components/flunearyou/sensor.py | 2 +- homeassistant/components/flux/switch.py | 2 +- homeassistant/components/flux_led/light.py | 2 +- homeassistant/components/folder_watcher/__init__.py | 2 +- homeassistant/components/foobot/sensor.py | 2 +- homeassistant/components/foscam/camera.py | 2 +- homeassistant/components/foursquare/__init__.py | 2 +- homeassistant/components/free_mobile/notify.py | 2 +- homeassistant/components/freebox/__init__.py | 2 +- homeassistant/components/freebox/device_tracker.py | 2 +- homeassistant/components/freebox/sensor.py | 2 +- homeassistant/components/freebox/switch.py | 2 +- homeassistant/components/fritz/device_tracker.py | 2 +- homeassistant/components/fritzbox/__init__.py | 2 +- homeassistant/components/fritzbox/binary_sensor.py | 2 +- homeassistant/components/fritzbox/climate.py | 2 +- homeassistant/components/fritzbox/sensor.py | 2 +- homeassistant/components/fritzbox/switch.py | 2 +- homeassistant/components/fritzbox_callmonitor/sensor.py | 2 +- homeassistant/components/fritzbox_netmonitor/sensor.py | 2 +- homeassistant/components/fritzdect/switch.py | 2 +- homeassistant/components/frontend/__init__.py | 2 +- homeassistant/components/frontier_silicon/media_player.py | 2 +- homeassistant/components/futurenow/light.py | 2 +- homeassistant/components/gc100/__init__.py | 2 +- homeassistant/components/gc100/binary_sensor.py | 2 +- homeassistant/components/gc100/switch.py | 2 +- homeassistant/components/gearbest/sensor.py | 2 +- homeassistant/components/geizhals/sensor.py | 2 +- homeassistant/components/generic_thermostat/climate.py | 2 +- homeassistant/components/geo_json_events/geo_location.py | 2 +- homeassistant/components/geo_rss_events/sensor.py | 2 +- homeassistant/components/geofency/__init__.py | 2 +- homeassistant/components/geofency/device_tracker.py | 2 +- homeassistant/components/github/sensor.py | 2 +- homeassistant/components/gitlab_ci/sensor.py | 2 +- homeassistant/components/gitter/sensor.py | 2 +- homeassistant/components/glances/sensor.py | 2 +- homeassistant/components/gntp/notify.py | 2 +- homeassistant/components/goalfeed/__init__.py | 2 +- homeassistant/components/gogogate2/cover.py | 2 +- homeassistant/components/google/tts.py | 2 +- homeassistant/components/google_assistant/__init__.py | 2 +- homeassistant/components/google_maps/device_tracker.py | 2 +- homeassistant/components/google_pubsub/__init__.py | 2 +- homeassistant/components/google_travel_time/sensor.py | 2 +- homeassistant/components/googlehome/__init__.py | 2 +- homeassistant/components/googlehome/device_tracker.py | 2 +- homeassistant/components/googlehome/sensor.py | 2 +- homeassistant/components/gpmdp/media_player.py | 2 +- homeassistant/components/gpsd/sensor.py | 2 +- homeassistant/components/gpslogger/__init__.py | 2 +- homeassistant/components/gpslogger/device_tracker.py | 2 +- homeassistant/components/greeneye_monitor/__init__.py | 2 +- homeassistant/components/greeneye_monitor/sensor.py | 2 +- homeassistant/components/greenwave/light.py | 2 +- homeassistant/components/gstreamer/media_player.py | 2 +- homeassistant/components/gtfs/sensor.py | 2 +- homeassistant/components/gtt/sensor.py | 2 +- homeassistant/components/habitica/__init__.py | 2 +- homeassistant/components/hangouts/__init__.py | 2 +- homeassistant/components/hangouts/notify.py | 2 +- homeassistant/components/harman_kardon_avr/media_player.py | 2 +- homeassistant/components/harmony/remote.py | 2 +- homeassistant/components/hassio/__init__.py | 2 +- homeassistant/components/hdmi_cec/__init__.py | 2 +- homeassistant/components/hdmi_cec/media_player.py | 2 +- homeassistant/components/hdmi_cec/switch.py | 2 +- homeassistant/components/heatmiser/climate.py | 2 +- homeassistant/components/heos/__init__.py | 2 +- homeassistant/components/heos/media_player.py | 2 +- homeassistant/components/hikvision/binary_sensor.py | 2 +- homeassistant/components/hikvisioncam/switch.py | 2 +- homeassistant/components/hipchat/notify.py | 2 +- homeassistant/components/history/__init__.py | 2 +- homeassistant/components/history_graph/__init__.py | 2 +- homeassistant/components/history_stats/sensor.py | 2 +- homeassistant/components/hive/__init__.py | 2 +- homeassistant/components/hive/binary_sensor.py | 2 +- homeassistant/components/hive/climate.py | 2 +- homeassistant/components/hive/light.py | 2 +- homeassistant/components/hive/sensor.py | 2 +- homeassistant/components/hive/switch.py | 2 +- homeassistant/components/hlk_sw16/__init__.py | 2 +- homeassistant/components/hlk_sw16/switch.py | 2 +- homeassistant/components/homekit/__init__.py | 2 +- homeassistant/components/homekit_controller/__init__.py | 2 +- .../components/homekit_controller/alarm_control_panel.py | 2 +- homeassistant/components/homekit_controller/binary_sensor.py | 2 +- homeassistant/components/homekit_controller/climate.py | 2 +- homeassistant/components/homekit_controller/cover.py | 2 +- homeassistant/components/homekit_controller/light.py | 2 +- homeassistant/components/homekit_controller/lock.py | 2 +- homeassistant/components/homekit_controller/sensor.py | 2 +- homeassistant/components/homekit_controller/switch.py | 2 +- homeassistant/components/homematic/__init__.py | 2 +- homeassistant/components/homematic/binary_sensor.py | 2 +- homeassistant/components/homematic/climate.py | 2 +- homeassistant/components/homematic/cover.py | 2 +- homeassistant/components/homematic/light.py | 2 +- homeassistant/components/homematic/lock.py | 2 +- homeassistant/components/homematic/notify.py | 2 +- homeassistant/components/homematic/sensor.py | 2 +- homeassistant/components/homematic/switch.py | 2 +- homeassistant/components/homematicip_cloud/__init__.py | 2 +- .../components/homematicip_cloud/alarm_control_panel.py | 2 +- homeassistant/components/homematicip_cloud/binary_sensor.py | 2 +- homeassistant/components/homematicip_cloud/cover.py | 2 +- homeassistant/components/homematicip_cloud/light.py | 2 +- homeassistant/components/homematicip_cloud/sensor.py | 2 +- homeassistant/components/homematicip_cloud/switch.py | 2 +- homeassistant/components/homematicip_cloud/weather.py | 2 +- homeassistant/components/homeworks/__init__.py | 2 +- homeassistant/components/homeworks/light.py | 2 +- homeassistant/components/honeywell/climate.py | 2 +- homeassistant/components/horizon/media_player.py | 2 +- homeassistant/components/hp_ilo/sensor.py | 2 +- homeassistant/components/html5/notify.py | 4 ++-- homeassistant/components/http/__init__.py | 2 +- homeassistant/components/huawei_lte/__init__.py | 2 +- homeassistant/components/huawei_lte/device_tracker.py | 2 +- homeassistant/components/huawei_lte/notify.py | 2 +- homeassistant/components/huawei_lte/sensor.py | 2 +- homeassistant/components/hue/__init__.py | 2 +- homeassistant/components/hue/light.py | 2 +- homeassistant/components/hunterdouglas_powerview/scene.py | 2 +- homeassistant/components/hydrawise/__init__.py | 2 +- homeassistant/components/hydrawise/binary_sensor.py | 2 +- homeassistant/components/hydrawise/sensor.py | 2 +- homeassistant/components/hydrawise/switch.py | 2 +- homeassistant/components/hydroquebec/sensor.py | 2 +- homeassistant/components/ialarm/alarm_control_panel.py | 2 +- homeassistant/components/icloud/device_tracker.py | 2 +- homeassistant/components/idteck_prox/__init__.py | 2 +- homeassistant/components/ifttt/__init__.py | 4 ++-- homeassistant/components/ifttt/alarm_control_panel.py | 2 +- homeassistant/components/iglo/light.py | 2 +- homeassistant/components/ihc/__init__.py | 2 +- homeassistant/components/ihc/binary_sensor.py | 2 +- homeassistant/components/ihc/light.py | 2 +- homeassistant/components/ihc/sensor.py | 2 +- homeassistant/components/ihc/switch.py | 2 +- homeassistant/components/image_processing/__init__.py | 2 +- homeassistant/components/imap/sensor.py | 2 +- homeassistant/components/influxdb/__init__.py | 2 +- homeassistant/components/influxdb/sensor.py | 2 +- homeassistant/components/insteon/__init__.py | 2 +- homeassistant/components/insteon/binary_sensor.py | 2 +- homeassistant/components/insteon/cover.py | 2 +- homeassistant/components/insteon/fan.py | 2 +- homeassistant/components/insteon/light.py | 2 +- homeassistant/components/insteon/sensor.py | 2 +- homeassistant/components/insteon/switch.py | 2 +- homeassistant/components/ios/__init__.py | 2 +- homeassistant/components/ios/notify.py | 2 +- homeassistant/components/ios/sensor.py | 2 +- homeassistant/components/iota/__init__.py | 2 +- homeassistant/components/iota/sensor.py | 2 +- homeassistant/components/iperf3/__init__.py | 2 +- homeassistant/components/iperf3/sensor.py | 2 +- homeassistant/components/ipma/weather.py | 2 +- homeassistant/components/irish_rail_transport/sensor.py | 2 +- homeassistant/components/islamic_prayer_times/sensor.py | 2 +- homeassistant/components/iss/binary_sensor.py | 2 +- homeassistant/components/isy994/__init__.py | 2 +- homeassistant/components/itach/remote.py | 2 +- homeassistant/components/jewish_calendar/sensor.py | 2 +- homeassistant/components/joaoapps_join/__init__.py | 2 +- homeassistant/components/joaoapps_join/notify.py | 2 +- homeassistant/components/juicenet/__init__.py | 2 +- homeassistant/components/juicenet/sensor.py | 2 +- homeassistant/components/keenetic_ndms2/device_tracker.py | 2 +- homeassistant/components/keyboard/__init__.py | 2 +- homeassistant/components/keyboard_remote/__init__.py | 2 +- homeassistant/components/kira/__init__.py | 2 +- homeassistant/components/kiwi/lock.py | 2 +- homeassistant/components/knx/__init__.py | 2 +- homeassistant/components/knx/binary_sensor.py | 2 +- homeassistant/components/knx/climate.py | 2 +- homeassistant/components/knx/cover.py | 2 +- homeassistant/components/knx/light.py | 2 +- homeassistant/components/knx/notify.py | 2 +- homeassistant/components/knx/scene.py | 2 +- homeassistant/components/knx/sensor.py | 2 +- homeassistant/components/knx/switch.py | 2 +- homeassistant/components/kodi/media_player.py | 2 +- homeassistant/components/kodi/notify.py | 2 +- homeassistant/components/konnected/__init__.py | 4 ++-- homeassistant/components/konnected/binary_sensor.py | 2 +- homeassistant/components/konnected/sensor.py | 2 +- homeassistant/components/konnected/switch.py | 2 +- homeassistant/components/kwb/sensor.py | 2 +- homeassistant/components/lacrosse/sensor.py | 2 +- homeassistant/components/lametric/__init__.py | 2 +- homeassistant/components/lametric/notify.py | 4 ++-- homeassistant/components/lastfm/sensor.py | 2 +- homeassistant/components/launch_library/sensor.py | 2 +- homeassistant/components/lcn/__init__.py | 2 +- homeassistant/components/lcn/binary_sensor.py | 2 +- homeassistant/components/lcn/cover.py | 2 +- homeassistant/components/lcn/light.py | 2 +- homeassistant/components/lcn/sensor.py | 2 +- homeassistant/components/lcn/switch.py | 2 +- homeassistant/components/lg_netcast/media_player.py | 2 +- homeassistant/components/lg_soundbar/media_player.py | 2 +- homeassistant/components/lifx/__init__.py | 2 +- homeassistant/components/lifx/light.py | 4 ++-- homeassistant/components/lifx_legacy/light.py | 2 +- homeassistant/components/light/__init__.py | 2 +- homeassistant/components/lightwave/__init__.py | 2 +- homeassistant/components/lightwave/light.py | 2 +- homeassistant/components/lightwave/switch.py | 2 +- homeassistant/components/limitlessled/light.py | 2 +- homeassistant/components/linksys_ap/device_tracker.py | 2 +- homeassistant/components/linky/sensor.py | 2 +- homeassistant/components/linode/__init__.py | 2 +- homeassistant/components/linode/binary_sensor.py | 2 +- homeassistant/components/linode/switch.py | 2 +- homeassistant/components/linux_battery/sensor.py | 2 +- homeassistant/components/lirc/__init__.py | 2 +- homeassistant/components/litejet/__init__.py | 2 +- homeassistant/components/litejet/light.py | 2 +- homeassistant/components/litejet/scene.py | 2 +- homeassistant/components/litejet/switch.py | 2 +- homeassistant/components/liveboxplaytv/media_player.py | 2 +- homeassistant/components/locative/__init__.py | 2 +- homeassistant/components/locative/device_tracker.py | 2 +- homeassistant/components/lock/__init__.py | 2 +- homeassistant/components/logbook/__init__.py | 2 +- homeassistant/components/logi_circle/__init__.py | 2 +- homeassistant/components/logi_circle/camera.py | 2 +- homeassistant/components/logi_circle/sensor.py | 2 +- homeassistant/components/london_underground/sensor.py | 2 +- homeassistant/components/loopenergy/sensor.py | 2 +- homeassistant/components/luci/device_tracker.py | 2 +- homeassistant/components/luftdaten/__init__.py | 2 +- homeassistant/components/luftdaten/sensor.py | 2 +- homeassistant/components/lupusec/__init__.py | 2 +- homeassistant/components/lupusec/alarm_control_panel.py | 2 +- homeassistant/components/lupusec/binary_sensor.py | 2 +- homeassistant/components/lupusec/switch.py | 2 +- homeassistant/components/lutron/__init__.py | 2 +- homeassistant/components/lutron/cover.py | 2 +- homeassistant/components/lutron/light.py | 2 +- homeassistant/components/lutron/scene.py | 2 +- homeassistant/components/lutron/switch.py | 2 +- homeassistant/components/lutron_caseta/__init__.py | 2 +- homeassistant/components/lutron_caseta/cover.py | 2 +- homeassistant/components/lutron_caseta/light.py | 2 +- homeassistant/components/lutron_caseta/scene.py | 2 +- homeassistant/components/lutron_caseta/switch.py | 2 +- homeassistant/components/lw12wifi/light.py | 2 +- homeassistant/components/lyft/sensor.py | 2 +- homeassistant/components/magicseaweed/sensor.py | 2 +- homeassistant/components/mailbox/__init__.py | 2 +- homeassistant/components/mailgun/__init__.py | 2 +- homeassistant/components/mailgun/notify.py | 4 ++-- homeassistant/components/manual_mqtt/alarm_control_panel.py | 2 +- homeassistant/components/mastodon/notify.py | 2 +- homeassistant/components/matrix/__init__.py | 2 +- homeassistant/components/matrix/notify.py | 2 +- homeassistant/components/maxcube/__init__.py | 2 +- homeassistant/components/media_extractor/__init__.py | 4 ++-- homeassistant/components/media_player/__init__.py | 2 +- homeassistant/components/mediaroom/media_player.py | 2 +- homeassistant/components/melissa/__init__.py | 2 +- homeassistant/components/melissa/climate.py | 2 +- homeassistant/components/meraki/device_tracker.py | 2 +- homeassistant/components/message_bird/notify.py | 2 +- homeassistant/components/met/weather.py | 2 +- homeassistant/components/meteo_france/__init__.py | 2 +- homeassistant/components/metoffice/sensor.py | 2 +- homeassistant/components/metoffice/weather.py | 2 +- homeassistant/components/mfi/sensor.py | 2 +- homeassistant/components/mfi/switch.py | 2 +- homeassistant/components/mhz19/sensor.py | 2 +- homeassistant/components/microsoft/tts.py | 2 +- homeassistant/components/microsoft_face/__init__.py | 2 +- .../components/microsoft_face_detect/image_processing.py | 2 +- .../components/microsoft_face_identify/image_processing.py | 2 +- homeassistant/components/miflora/sensor.py | 2 +- homeassistant/components/mikrotik/device_tracker.py | 2 +- homeassistant/components/mill/climate.py | 2 +- homeassistant/components/mitemp_bt/sensor.py | 2 +- homeassistant/components/mobile_app/__init__.py | 4 ++-- homeassistant/components/mobile_app/binary_sensor.py | 2 +- homeassistant/components/mobile_app/notify.py | 2 +- homeassistant/components/mobile_app/sensor.py | 2 +- homeassistant/components/mochad/__init__.py | 2 +- homeassistant/components/mochad/light.py | 2 +- homeassistant/components/mochad/switch.py | 2 +- homeassistant/components/modbus/__init__.py | 2 +- homeassistant/components/modbus/binary_sensor.py | 2 +- homeassistant/components/modbus/climate.py | 2 +- homeassistant/components/modbus/sensor.py | 2 +- homeassistant/components/modbus/switch.py | 2 +- homeassistant/components/modem_callerid/sensor.py | 2 +- homeassistant/components/monoprice/media_player.py | 2 +- homeassistant/components/mopar/__init__.py | 2 +- homeassistant/components/mopar/lock.py | 2 +- homeassistant/components/mopar/sensor.py | 2 +- homeassistant/components/mopar/switch.py | 2 +- homeassistant/components/mpd/media_player.py | 2 +- homeassistant/components/mqtt/__init__.py | 2 +- homeassistant/components/mqtt/alarm_control_panel.py | 2 +- homeassistant/components/mqtt/binary_sensor.py | 2 +- homeassistant/components/mqtt/camera.py | 2 +- homeassistant/components/mqtt/climate.py | 2 +- homeassistant/components/mqtt/cover.py | 2 +- homeassistant/components/mqtt/device_tracker.py | 2 +- homeassistant/components/mqtt/fan.py | 2 +- homeassistant/components/mqtt/light/__init__.py | 2 +- homeassistant/components/mqtt/light/schema_basic.py | 2 +- homeassistant/components/mqtt/light/schema_json.py | 2 +- homeassistant/components/mqtt/light/schema_template.py | 2 +- homeassistant/components/mqtt/lock.py | 2 +- homeassistant/components/mqtt/sensor.py | 2 +- homeassistant/components/mqtt/server.py | 4 ++-- homeassistant/components/mqtt/switch.py | 2 +- homeassistant/components/mqtt/vacuum.py | 2 +- homeassistant/components/mqtt_eventstream/__init__.py | 2 +- homeassistant/components/mqtt_json/device_tracker.py | 2 +- homeassistant/components/mqtt_room/sensor.py | 2 +- homeassistant/components/mqtt_statestream/__init__.py | 2 +- homeassistant/components/mvglive/sensor.py | 2 +- homeassistant/components/mychevy/__init__.py | 2 +- homeassistant/components/mycroft/__init__.py | 2 +- homeassistant/components/mycroft/notify.py | 2 +- homeassistant/components/myq/cover.py | 2 +- homeassistant/components/mysensors/__init__.py | 2 +- homeassistant/components/mystrom/binary_sensor.py | 2 +- homeassistant/components/mystrom/light.py | 2 +- homeassistant/components/mystrom/switch.py | 2 +- homeassistant/components/mythicbeastsdns/__init__.py | 2 +- homeassistant/components/n26/__init__.py | 2 +- homeassistant/components/n26/sensor.py | 2 +- homeassistant/components/n26/switch.py | 2 +- homeassistant/components/nad/media_player.py | 2 +- homeassistant/components/namecheapdns/__init__.py | 2 +- homeassistant/components/nanoleaf/light.py | 2 +- homeassistant/components/neato/__init__.py | 2 +- homeassistant/components/neato/camera.py | 2 +- homeassistant/components/neato/switch.py | 2 +- homeassistant/components/neato/vacuum.py | 2 +- homeassistant/components/nederlandse_spoorwegen/sensor.py | 2 +- homeassistant/components/nello/lock.py | 2 +- homeassistant/components/ness_alarm/__init__.py | 2 +- homeassistant/components/ness_alarm/alarm_control_panel.py | 2 +- homeassistant/components/ness_alarm/binary_sensor.py | 2 +- homeassistant/components/nest/__init__.py | 2 +- homeassistant/components/nest/binary_sensor.py | 2 +- homeassistant/components/nest/camera.py | 2 +- homeassistant/components/nest/climate.py | 2 +- homeassistant/components/nest/sensor.py | 2 +- homeassistant/components/netatmo/__init__.py | 4 ++-- homeassistant/components/netatmo/binary_sensor.py | 2 +- homeassistant/components/netatmo/camera.py | 2 +- homeassistant/components/netatmo/climate.py | 2 +- homeassistant/components/netatmo/sensor.py | 2 +- homeassistant/components/netatmo_public/sensor.py | 2 +- homeassistant/components/netdata/sensor.py | 2 +- homeassistant/components/netgear/device_tracker.py | 2 +- homeassistant/components/netgear_lte/__init__.py | 2 +- homeassistant/components/netgear_lte/binary_sensor.py | 2 +- homeassistant/components/netgear_lte/notify.py | 2 +- homeassistant/components/netgear_lte/sensor.py | 2 +- homeassistant/components/netio/switch.py | 4 ++-- homeassistant/components/neurio_energy/sensor.py | 2 +- homeassistant/components/niko_home_control/light.py | 2 +- homeassistant/components/nilu/air_quality.py | 2 +- homeassistant/components/nissan_leaf/__init__.py | 2 +- homeassistant/components/nissan_leaf/binary_sensor.py | 2 +- homeassistant/components/nissan_leaf/device_tracker.py | 2 +- homeassistant/components/nissan_leaf/sensor.py | 2 +- homeassistant/components/nissan_leaf/switch.py | 2 +- homeassistant/components/nmap_tracker/device_tracker.py | 2 +- homeassistant/components/nmbs/sensor.py | 2 +- homeassistant/components/noaa_tides/sensor.py | 2 +- homeassistant/components/norway_air/air_quality.py | 2 +- homeassistant/components/nsw_fuel_station/sensor.py | 2 +- .../components/nsw_rural_fire_service_feed/geo_location.py | 2 +- homeassistant/components/nuheat/__init__.py | 2 +- homeassistant/components/nuheat/climate.py | 2 +- homeassistant/components/nuki/lock.py | 2 +- homeassistant/components/nut/sensor.py | 2 +- homeassistant/components/nx584/alarm_control_panel.py | 2 +- homeassistant/components/nx584/binary_sensor.py | 2 +- homeassistant/components/oasa_telematics/sensor.py | 2 +- homeassistant/components/octoprint/binary_sensor.py | 2 +- homeassistant/components/octoprint/sensor.py | 2 +- homeassistant/components/oem/climate.py | 2 +- homeassistant/components/ohmconnect/sensor.py | 2 +- homeassistant/components/onboarding/__init__.py | 2 +- homeassistant/components/onkyo/media_player.py | 2 +- homeassistant/components/onvif/camera.py | 2 +- homeassistant/components/opencv/image_processing.py | 2 +- homeassistant/components/openevse/sensor.py | 2 +- homeassistant/components/openhome/media_player.py | 2 +- homeassistant/components/opensensemap/air_quality.py | 2 +- homeassistant/components/opentherm_gw/__init__.py | 2 +- homeassistant/components/opentherm_gw/binary_sensor.py | 2 +- homeassistant/components/opentherm_gw/climate.py | 2 +- homeassistant/components/opentherm_gw/sensor.py | 2 +- homeassistant/components/openuv/__init__.py | 2 +- homeassistant/components/openuv/binary_sensor.py | 2 +- homeassistant/components/openuv/sensor.py | 2 +- homeassistant/components/openweathermap/sensor.py | 2 +- homeassistant/components/openweathermap/weather.py | 2 +- homeassistant/components/opple/light.py | 2 +- homeassistant/components/orvibo/switch.py | 2 +- homeassistant/components/osramlightify/light.py | 2 +- homeassistant/components/otp/sensor.py | 2 +- homeassistant/components/owlet/__init__.py | 2 +- homeassistant/components/owntracks/__init__.py | 4 ++-- homeassistant/components/owntracks/device_tracker.py | 2 +- homeassistant/components/panasonic_bluray/media_player.py | 2 +- homeassistant/components/panasonic_viera/media_player.py | 2 +- homeassistant/components/pandora/media_player.py | 2 +- homeassistant/components/panel_custom/__init__.py | 2 +- homeassistant/components/panel_iframe/__init__.py | 2 +- homeassistant/components/pencom/switch.py | 2 +- homeassistant/components/philips_js/media_player.py | 2 +- homeassistant/components/pi_hole/sensor.py | 2 +- homeassistant/components/piglow/light.py | 2 +- homeassistant/components/pilight/__init__.py | 2 +- homeassistant/components/pilight/binary_sensor.py | 2 +- homeassistant/components/pilight/sensor.py | 2 +- homeassistant/components/pilight/switch.py | 2 +- homeassistant/components/pjlink/media_player.py | 2 +- homeassistant/components/plant/__init__.py | 2 +- homeassistant/components/plex/media_player.py | 2 +- homeassistant/components/plex/sensor.py | 2 +- homeassistant/components/plum_lightpad/__init__.py | 2 +- homeassistant/components/plum_lightpad/light.py | 2 +- homeassistant/components/pocketcasts/sensor.py | 2 +- homeassistant/components/point/__init__.py | 4 ++-- homeassistant/components/pollen/sensor.py | 2 +- homeassistant/components/postnl/sensor.py | 2 +- homeassistant/components/prezzibenzina/sensor.py | 2 +- homeassistant/components/proliphix/climate.py | 2 +- homeassistant/components/prometheus/__init__.py | 4 ++-- homeassistant/components/proximity/__init__.py | 2 +- homeassistant/components/proxy/camera.py | 2 +- homeassistant/components/ps4/__init__.py | 2 +- homeassistant/components/ps4/media_player.py | 2 +- homeassistant/components/push/camera.py | 2 +- homeassistant/components/pushbullet/notify.py | 2 +- homeassistant/components/pushbullet/sensor.py | 2 +- homeassistant/components/pushetta/notify.py | 2 +- homeassistant/components/pushover/notify.py | 2 +- homeassistant/components/python_script/__init__.py | 2 +- homeassistant/components/qbittorrent/sensor.py | 2 +- homeassistant/components/qnap/sensor.py | 2 +- homeassistant/components/qrcode/image_processing.py | 2 +- homeassistant/components/quantum_gateway/device_tracker.py | 2 +- homeassistant/components/qwikswitch/__init__.py | 2 +- homeassistant/components/qwikswitch/binary_sensor.py | 2 +- homeassistant/components/qwikswitch/light.py | 2 +- homeassistant/components/qwikswitch/sensor.py | 2 +- homeassistant/components/qwikswitch/switch.py | 2 +- homeassistant/components/rachio/__init__.py | 2 +- homeassistant/components/rachio/binary_sensor.py | 2 +- homeassistant/components/rachio/switch.py | 2 +- homeassistant/components/radiotherm/climate.py | 2 +- homeassistant/components/rainbird/__init__.py | 2 +- homeassistant/components/rainbird/sensor.py | 2 +- homeassistant/components/rainbird/switch.py | 2 +- homeassistant/components/raincloud/__init__.py | 2 +- homeassistant/components/raincloud/binary_sensor.py | 2 +- homeassistant/components/raincloud/sensor.py | 2 +- homeassistant/components/raincloud/switch.py | 2 +- homeassistant/components/rainmachine/__init__.py | 2 +- homeassistant/components/rainmachine/binary_sensor.py | 2 +- homeassistant/components/rainmachine/sensor.py | 2 +- homeassistant/components/rainmachine/switch.py | 2 +- homeassistant/components/raspihats/__init__.py | 2 +- homeassistant/components/raspihats/binary_sensor.py | 2 +- homeassistant/components/raspihats/switch.py | 2 +- homeassistant/components/raspyrfm/switch.py | 2 +- homeassistant/components/recollect_waste/sensor.py | 2 +- homeassistant/components/recorder/__init__.py | 2 +- homeassistant/components/recswitch/switch.py | 2 +- homeassistant/components/reddit/sensor.py | 2 +- homeassistant/components/rejseplanen/sensor.py | 2 +- homeassistant/components/remember_the_milk/__init__.py | 2 +- homeassistant/components/remote/__init__.py | 2 +- homeassistant/components/rflink/__init__.py | 2 +- homeassistant/components/rflink/binary_sensor.py | 2 +- homeassistant/components/rflink/cover.py | 2 +- homeassistant/components/rflink/light.py | 2 +- homeassistant/components/rflink/sensor.py | 2 +- homeassistant/components/rflink/switch.py | 2 +- homeassistant/components/rfxtrx/__init__.py | 2 +- homeassistant/components/rfxtrx/binary_sensor.py | 2 +- homeassistant/components/rfxtrx/cover.py | 2 +- homeassistant/components/rfxtrx/light.py | 2 +- homeassistant/components/rfxtrx/sensor.py | 2 +- homeassistant/components/rfxtrx/switch.py | 2 +- homeassistant/components/ring/__init__.py | 2 +- homeassistant/components/ring/binary_sensor.py | 2 +- homeassistant/components/ring/camera.py | 2 +- homeassistant/components/ring/sensor.py | 2 +- homeassistant/components/ripple/sensor.py | 2 +- homeassistant/components/ritassist/device_tracker.py | 2 +- homeassistant/components/rmvtransport/sensor.py | 2 +- homeassistant/components/rocketchat/notify.py | 2 +- homeassistant/components/roku/__init__.py | 2 +- homeassistant/components/roku/media_player.py | 2 +- homeassistant/components/roku/remote.py | 2 +- homeassistant/components/roomba/vacuum.py | 2 +- homeassistant/components/route53/__init__.py | 2 +- homeassistant/components/rova/sensor.py | 2 +- homeassistant/components/rpi_gpio/__init__.py | 2 +- homeassistant/components/rpi_gpio/binary_sensor.py | 2 +- homeassistant/components/rpi_gpio/cover.py | 2 +- homeassistant/components/rpi_gpio/switch.py | 2 +- homeassistant/components/rpi_gpio_pwm/light.py | 2 +- homeassistant/components/rpi_pfio/__init__.py | 2 +- homeassistant/components/rpi_pfio/binary_sensor.py | 2 +- homeassistant/components/rpi_pfio/switch.py | 2 +- homeassistant/components/rpi_rf/switch.py | 2 +- homeassistant/components/rss_feed_template/__init__.py | 2 +- homeassistant/components/russound_rio/media_player.py | 2 +- homeassistant/components/russound_rnet/media_player.py | 2 +- homeassistant/components/ruter/sensor.py | 2 +- homeassistant/components/sabnzbd/__init__.py | 2 +- homeassistant/components/sabnzbd/sensor.py | 2 +- homeassistant/components/samsungtv/media_player.py | 2 +- homeassistant/components/satel_integra/__init__.py | 2 +- homeassistant/components/satel_integra/alarm_control_panel.py | 2 +- homeassistant/components/satel_integra/binary_sensor.py | 2 +- homeassistant/components/scrape/sensor.py | 2 +- homeassistant/components/script/__init__.py | 2 +- homeassistant/components/scsgate/__init__.py | 2 +- homeassistant/components/scsgate/cover.py | 2 +- homeassistant/components/scsgate/light.py | 2 +- homeassistant/components/scsgate/switch.py | 2 +- homeassistant/components/season/sensor.py | 2 +- homeassistant/components/sendgrid/notify.py | 2 +- homeassistant/components/sense/__init__.py | 2 +- homeassistant/components/sense/binary_sensor.py | 2 +- homeassistant/components/sense/sensor.py | 2 +- homeassistant/components/sensehat/light.py | 2 +- homeassistant/components/sensehat/sensor.py | 2 +- homeassistant/components/sensibo/climate.py | 2 +- homeassistant/components/serial/sensor.py | 2 +- homeassistant/components/serial_pm/sensor.py | 2 +- homeassistant/components/sesame/lock.py | 2 +- homeassistant/components/seventeentrack/sensor.py | 2 +- homeassistant/components/shiftr/__init__.py | 2 +- homeassistant/components/shodan/sensor.py | 2 +- homeassistant/components/shopping_list/__init__.py | 2 +- homeassistant/components/simplepush/notify.py | 2 +- homeassistant/components/simplisafe/__init__.py | 2 +- homeassistant/components/sisyphus/__init__.py | 2 +- homeassistant/components/sisyphus/light.py | 2 +- homeassistant/components/sisyphus/media_player.py | 2 +- homeassistant/components/skybeacon/sensor.py | 2 +- homeassistant/components/skybell/__init__.py | 2 +- homeassistant/components/skybell/binary_sensor.py | 2 +- homeassistant/components/skybell/camera.py | 2 +- homeassistant/components/skybell/light.py | 2 +- homeassistant/components/skybell/sensor.py | 2 +- homeassistant/components/skybell/switch.py | 2 +- homeassistant/components/slack/notify.py | 2 +- homeassistant/components/sleepiq/__init__.py | 2 +- homeassistant/components/sleepiq/binary_sensor.py | 2 +- homeassistant/components/sleepiq/sensor.py | 2 +- homeassistant/components/sma/sensor.py | 2 +- homeassistant/components/smappee/__init__.py | 2 +- homeassistant/components/smappee/sensor.py | 2 +- homeassistant/components/smappee/switch.py | 2 +- homeassistant/components/smartthings/__init__.py | 4 ++-- homeassistant/components/smartthings/binary_sensor.py | 2 +- homeassistant/components/smartthings/climate.py | 2 +- homeassistant/components/smartthings/cover.py | 2 +- homeassistant/components/smartthings/fan.py | 2 +- homeassistant/components/smartthings/light.py | 2 +- homeassistant/components/smartthings/lock.py | 2 +- homeassistant/components/smartthings/scene.py | 2 +- homeassistant/components/smartthings/sensor.py | 2 +- homeassistant/components/smartthings/switch.py | 2 +- homeassistant/components/smhi/__init__.py | 2 +- homeassistant/components/smhi/weather.py | 2 +- homeassistant/components/snapcast/media_player.py | 2 +- homeassistant/components/snips/__init__.py | 2 +- homeassistant/components/snmp/device_tracker.py | 2 +- homeassistant/components/snmp/sensor.py | 2 +- homeassistant/components/snmp/switch.py | 2 +- homeassistant/components/sochain/sensor.py | 2 +- homeassistant/components/socialblade/sensor.py | 2 +- homeassistant/components/solaredge/sensor.py | 2 +- homeassistant/components/somfy_mylink/__init__.py | 2 +- homeassistant/components/somfy_mylink/cover.py | 2 +- homeassistant/components/songpal/media_player.py | 2 +- homeassistant/components/sonos/__init__.py | 2 +- homeassistant/components/sony_projector/switch.py | 2 +- homeassistant/components/soundtouch/media_player.py | 2 +- homeassistant/components/spaceapi/__init__.py | 2 +- homeassistant/components/spc/__init__.py | 2 +- homeassistant/components/speedtestdotnet/__init__.py | 2 +- homeassistant/components/speedtestdotnet/sensor.py | 2 +- homeassistant/components/spider/__init__.py | 2 +- homeassistant/components/spider/climate.py | 2 +- homeassistant/components/spider/switch.py | 2 +- homeassistant/components/spotcrime/sensor.py | 2 +- homeassistant/components/spotify/media_player.py | 4 ++-- homeassistant/components/sql/sensor.py | 2 +- homeassistant/components/srp_energy/sensor.py | 2 +- homeassistant/components/starlingbank/sensor.py | 2 +- homeassistant/components/startca/sensor.py | 2 +- homeassistant/components/statsd/__init__.py | 2 +- homeassistant/components/steam_online/sensor.py | 2 +- homeassistant/components/stream/__init__.py | 4 ++-- homeassistant/components/stride/notify.py | 2 +- homeassistant/components/swiss_hydrological_data/sensor.py | 2 +- homeassistant/components/swiss_public_transport/sensor.py | 2 +- homeassistant/components/switch/__init__.py | 2 +- homeassistant/components/switchbot/switch.py | 2 +- homeassistant/components/switchmate/switch.py | 2 +- homeassistant/components/syncthru/sensor.py | 2 +- homeassistant/components/synology/camera.py | 2 +- homeassistant/components/synology_srm/device_tracker.py | 2 +- homeassistant/components/synologydsm/sensor.py | 2 +- homeassistant/components/system_health/__init__.py | 2 +- homeassistant/components/system_log/__init__.py | 2 +- homeassistant/components/systemmonitor/sensor.py | 2 +- homeassistant/components/sytadin/sensor.py | 2 +- homeassistant/components/tado/__init__.py | 2 +- homeassistant/components/tahoma/__init__.py | 2 +- homeassistant/components/tahoma/binary_sensor.py | 2 +- homeassistant/components/tahoma/cover.py | 2 +- homeassistant/components/tahoma/scene.py | 2 +- homeassistant/components/tahoma/sensor.py | 2 +- homeassistant/components/tahoma/switch.py | 2 +- homeassistant/components/tapsaff/binary_sensor.py | 2 +- homeassistant/components/tautulli/sensor.py | 2 +- homeassistant/components/ted5000/sensor.py | 2 +- homeassistant/components/telegram/notify.py | 2 +- homeassistant/components/telegram_bot/__init__.py | 2 +- homeassistant/components/telegram_bot/webhooks.py | 2 +- homeassistant/components/tellduslive/__init__.py | 2 +- homeassistant/components/tellstick/__init__.py | 2 +- homeassistant/components/tellstick/sensor.py | 2 +- homeassistant/components/temper/sensor.py | 2 +- homeassistant/components/tensorflow/image_processing.py | 2 +- homeassistant/components/tesla/__init__.py | 2 +- homeassistant/components/tesla/binary_sensor.py | 2 +- homeassistant/components/tesla/climate.py | 2 +- homeassistant/components/tesla/device_tracker.py | 2 +- homeassistant/components/tesla/lock.py | 2 +- homeassistant/components/tesla/sensor.py | 2 +- homeassistant/components/tesla/switch.py | 2 +- homeassistant/components/tfiac/climate.py | 2 +- homeassistant/components/thermoworks_smoke/sensor.py | 2 +- homeassistant/components/thethingsnetwork/sensor.py | 2 +- homeassistant/components/thingspeak/__init__.py | 2 +- homeassistant/components/thinkingcleaner/sensor.py | 2 +- homeassistant/components/thinkingcleaner/switch.py | 2 +- homeassistant/components/tibber/__init__.py | 2 +- homeassistant/components/tikteck/light.py | 2 +- homeassistant/components/tile/device_tracker.py | 2 +- homeassistant/components/todoist/calendar.py | 2 +- homeassistant/components/tof/sensor.py | 4 ++-- homeassistant/components/toon/__init__.py | 2 +- homeassistant/components/toon/binary_sensor.py | 2 +- homeassistant/components/toon/climate.py | 2 +- homeassistant/components/toon/sensor.py | 2 +- homeassistant/components/torque/sensor.py | 2 +- homeassistant/components/totalconnect/alarm_control_panel.py | 2 +- homeassistant/components/touchline/climate.py | 2 +- homeassistant/components/tplink/__init__.py | 2 +- homeassistant/components/tplink/device_tracker.py | 2 +- homeassistant/components/tplink/light.py | 2 +- homeassistant/components/tplink/switch.py | 2 +- homeassistant/components/tplink_lte/__init__.py | 2 +- homeassistant/components/tplink_lte/notify.py | 2 +- homeassistant/components/traccar/device_tracker.py | 2 +- homeassistant/components/trackr/device_tracker.py | 2 +- homeassistant/components/tradfri/__init__.py | 2 +- homeassistant/components/tradfri/light.py | 2 +- homeassistant/components/tradfri/sensor.py | 2 +- homeassistant/components/tradfri/switch.py | 2 +- .../components/trafikverket_weatherstation/sensor.py | 2 +- homeassistant/components/transmission/__init__.py | 2 +- homeassistant/components/transmission/sensor.py | 2 +- homeassistant/components/transmission/switch.py | 2 +- homeassistant/components/transport_nsw/sensor.py | 2 +- homeassistant/components/travisci/sensor.py | 2 +- homeassistant/components/trend/binary_sensor.py | 2 +- homeassistant/components/tts/__init__.py | 4 ++-- homeassistant/components/tuya/__init__.py | 2 +- homeassistant/components/tuya/climate.py | 2 +- homeassistant/components/tuya/cover.py | 2 +- homeassistant/components/tuya/fan.py | 2 +- homeassistant/components/tuya/light.py | 2 +- homeassistant/components/tuya/scene.py | 2 +- homeassistant/components/tuya/switch.py | 2 +- homeassistant/components/twilio/__init__.py | 4 ++-- homeassistant/components/twilio_call/notify.py | 2 +- homeassistant/components/twilio_sms/notify.py | 2 +- homeassistant/components/twitch/sensor.py | 2 +- homeassistant/components/twitter/notify.py | 2 +- homeassistant/components/ubee/device_tracker.py | 2 +- homeassistant/components/uber/sensor.py | 2 +- homeassistant/components/unifi/__init__.py | 2 +- homeassistant/components/unifi/device_tracker.py | 2 +- homeassistant/components/unifi/switch.py | 2 +- homeassistant/components/unifi_direct/device_tracker.py | 2 +- homeassistant/components/upc_connect/device_tracker.py | 2 +- homeassistant/components/upcloud/__init__.py | 2 +- homeassistant/components/upcloud/binary_sensor.py | 2 +- homeassistant/components/upcloud/switch.py | 2 +- homeassistant/components/updater/__init__.py | 2 +- homeassistant/components/upnp/__init__.py | 2 +- homeassistant/components/upnp/sensor.py | 2 +- homeassistant/components/ups/sensor.py | 2 +- homeassistant/components/uptimerobot/binary_sensor.py | 2 +- homeassistant/components/uscis/sensor.py | 2 +- .../components/usgs_earthquakes_feed/geo_location.py | 2 +- homeassistant/components/usps/__init__.py | 2 +- homeassistant/components/usps/camera.py | 2 +- homeassistant/components/usps/sensor.py | 2 +- homeassistant/components/uvc/camera.py | 2 +- homeassistant/components/vacuum/__init__.py | 2 +- homeassistant/components/vasttrafik/sensor.py | 2 +- homeassistant/components/velbus/__init__.py | 2 +- homeassistant/components/velbus/binary_sensor.py | 2 +- homeassistant/components/velbus/climate.py | 2 +- homeassistant/components/velbus/cover.py | 2 +- homeassistant/components/velbus/sensor.py | 2 +- homeassistant/components/velbus/switch.py | 2 +- homeassistant/components/velux/__init__.py | 2 +- homeassistant/components/velux/cover.py | 2 +- homeassistant/components/velux/scene.py | 2 +- homeassistant/components/venstar/climate.py | 2 +- homeassistant/components/vera/__init__.py | 2 +- homeassistant/components/vera/binary_sensor.py | 2 +- homeassistant/components/vera/climate.py | 2 +- homeassistant/components/vera/cover.py | 2 +- homeassistant/components/vera/light.py | 2 +- homeassistant/components/vera/lock.py | 2 +- homeassistant/components/vera/scene.py | 2 +- homeassistant/components/vera/sensor.py | 2 +- homeassistant/components/vera/switch.py | 2 +- homeassistant/components/verisure/__init__.py | 2 +- homeassistant/components/version/sensor.py | 2 +- homeassistant/components/vesync/switch.py | 2 +- homeassistant/components/vizio/media_player.py | 2 +- homeassistant/components/vlc/media_player.py | 2 +- homeassistant/components/volkszaehler/sensor.py | 2 +- homeassistant/components/volvooncall/__init__.py | 2 +- homeassistant/components/vultr/__init__.py | 2 +- homeassistant/components/vultr/binary_sensor.py | 2 +- homeassistant/components/vultr/sensor.py | 2 +- homeassistant/components/vultr/switch.py | 2 +- homeassistant/components/w800rf32/__init__.py | 2 +- homeassistant/components/w800rf32/binary_sensor.py | 2 +- homeassistant/components/wake_on_lan/__init__.py | 2 +- homeassistant/components/wake_on_lan/switch.py | 2 +- homeassistant/components/waqi/sensor.py | 2 +- homeassistant/components/waterfurnace/__init__.py | 2 +- homeassistant/components/watson_iot/__init__.py | 2 +- homeassistant/components/waze_travel_time/sensor.py | 2 +- homeassistant/components/webhook/__init__.py | 2 +- homeassistant/components/webostv/media_player.py | 2 +- homeassistant/components/webostv/notify.py | 2 +- homeassistant/components/wemo/__init__.py | 2 +- homeassistant/components/wemo/binary_sensor.py | 2 +- homeassistant/components/wemo/fan.py | 2 +- homeassistant/components/wemo/light.py | 2 +- homeassistant/components/wemo/switch.py | 2 +- homeassistant/components/whois/sensor.py | 2 +- homeassistant/components/wink/__init__.py | 2 +- homeassistant/components/wink/alarm_control_panel.py | 2 +- homeassistant/components/wink/binary_sensor.py | 2 +- homeassistant/components/wink/climate.py | 2 +- homeassistant/components/wink/cover.py | 2 +- homeassistant/components/wink/fan.py | 2 +- homeassistant/components/wink/light.py | 2 +- homeassistant/components/wink/lock.py | 2 +- homeassistant/components/wink/scene.py | 2 +- homeassistant/components/wink/sensor.py | 2 +- homeassistant/components/wink/switch.py | 2 +- homeassistant/components/wirelesstag/__init__.py | 2 +- homeassistant/components/wirelesstag/binary_sensor.py | 2 +- homeassistant/components/wirelesstag/sensor.py | 2 +- homeassistant/components/wirelesstag/switch.py | 2 +- homeassistant/components/workday/binary_sensor.py | 2 +- homeassistant/components/wunderlist/__init__.py | 2 +- homeassistant/components/xbox_live/sensor.py | 2 +- homeassistant/components/xeoma/camera.py | 2 +- homeassistant/components/xfinity/device_tracker.py | 2 +- homeassistant/components/xiaomi/camera.py | 2 +- homeassistant/components/xiaomi_aqara/__init__.py | 2 +- homeassistant/components/xiaomi_miio/device_tracker.py | 2 +- homeassistant/components/xiaomi_miio/fan.py | 2 +- homeassistant/components/xiaomi_miio/light.py | 2 +- homeassistant/components/xiaomi_miio/remote.py | 2 +- homeassistant/components/xiaomi_miio/sensor.py | 2 +- homeassistant/components/xiaomi_miio/switch.py | 2 +- homeassistant/components/xiaomi_miio/vacuum.py | 2 +- homeassistant/components/xiaomi_tv/media_player.py | 2 +- homeassistant/components/xmpp/notify.py | 2 +- homeassistant/components/xs1/__init__.py | 2 +- homeassistant/components/xs1/climate.py | 2 +- homeassistant/components/xs1/sensor.py | 2 +- homeassistant/components/xs1/switch.py | 2 +- .../components/yale_smart_alarm/alarm_control_panel.py | 2 +- homeassistant/components/yamaha/media_player.py | 2 +- homeassistant/components/yamaha_musiccast/media_player.py | 2 +- homeassistant/components/yeelight/__init__.py | 2 +- homeassistant/components/yeelight/binary_sensor.py | 2 +- homeassistant/components/yeelight/light.py | 2 +- homeassistant/components/yeelightsunflower/light.py | 2 +- homeassistant/components/yessssms/notify.py | 2 +- homeassistant/components/yi/camera.py | 4 ++-- homeassistant/components/yr/sensor.py | 2 +- homeassistant/components/yweather/sensor.py | 2 +- homeassistant/components/yweather/weather.py | 2 +- homeassistant/components/zabbix/__init__.py | 2 +- homeassistant/components/zabbix/sensor.py | 2 +- homeassistant/components/zengge/light.py | 2 +- homeassistant/components/zeroconf/__init__.py | 4 ++-- homeassistant/components/zestimate/sensor.py | 2 +- homeassistant/components/zha/binary_sensor.py | 2 +- homeassistant/components/zha/fan.py | 2 +- homeassistant/components/zha/light.py | 2 +- homeassistant/components/zha/sensor.py | 2 +- homeassistant/components/zha/switch.py | 2 +- homeassistant/components/zhong_hong/climate.py | 2 +- homeassistant/components/zigbee/__init__.py | 2 +- homeassistant/components/zigbee/binary_sensor.py | 2 +- homeassistant/components/zigbee/light.py | 2 +- homeassistant/components/zigbee/sensor.py | 2 +- homeassistant/components/zigbee/switch.py | 4 ++-- homeassistant/components/ziggo_mediabox_xl/media_player.py | 2 +- homeassistant/components/zoneminder/__init__.py | 2 +- homeassistant/components/zoneminder/binary_sensor.py | 2 +- homeassistant/components/zoneminder/camera.py | 2 +- homeassistant/components/zoneminder/sensor.py | 2 +- homeassistant/components/zoneminder/switch.py | 2 +- homeassistant/components/zwave/__init__.py | 2 +- 1144 files changed, 1173 insertions(+), 1173 deletions(-) diff --git a/homeassistant/components/abode/__init__.py b/homeassistant/components/abode/__init__.py index 591bae1a9cf665..957b2510d517e0 100644 --- a/homeassistant/components/abode/__init__.py +++ b/homeassistant/components/abode/__init__.py @@ -13,7 +13,7 @@ from homeassistant.helpers import discovery from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['abodepy==0.15.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/abode/alarm_control_panel.py b/homeassistant/components/abode/alarm_control_panel.py index d7426e04166dc5..4c5aa15aa13e41 100644 --- a/homeassistant/components/abode/alarm_control_panel.py +++ b/homeassistant/components/abode/alarm_control_panel.py @@ -8,7 +8,7 @@ from . import ATTRIBUTION, DOMAIN as ABODE_DOMAIN, AbodeDevice -DEPENDENCIES = ['abode'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/abode/binary_sensor.py b/homeassistant/components/abode/binary_sensor.py index 874723420ed811..bb3ada245030d0 100644 --- a/homeassistant/components/abode/binary_sensor.py +++ b/homeassistant/components/abode/binary_sensor.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['abode'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/abode/camera.py b/homeassistant/components/abode/camera.py index d37644eccc397e..51d795f09ed60e 100644 --- a/homeassistant/components/abode/camera.py +++ b/homeassistant/components/abode/camera.py @@ -9,7 +9,7 @@ from . import DOMAIN as ABODE_DOMAIN, AbodeDevice -DEPENDENCIES = ['abode'] + MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=90) diff --git a/homeassistant/components/abode/cover.py b/homeassistant/components/abode/cover.py index c40159164dc4db..b979bd3b2eb4c3 100644 --- a/homeassistant/components/abode/cover.py +++ b/homeassistant/components/abode/cover.py @@ -5,7 +5,7 @@ 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 9e88acce41f053..728ec6c64bcd64 100644 --- a/homeassistant/components/abode/light.py +++ b/homeassistant/components/abode/light.py @@ -10,7 +10,7 @@ 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 0f568a4ace2492..eec1c6f009185e 100644 --- a/homeassistant/components/abode/lock.py +++ b/homeassistant/components/abode/lock.py @@ -5,7 +5,7 @@ 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 ef6941c76d8b5f..40d83676333ad6 100644 --- a/homeassistant/components/abode/sensor.py +++ b/homeassistant/components/abode/sensor.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['abode'] + # Sensor types: Name, icon SENSOR_TYPES = { diff --git a/homeassistant/components/abode/switch.py b/homeassistant/components/abode/switch.py index 3e3ce031855fd0..9a0e4c5c12309a 100644 --- a/homeassistant/components/abode/switch.py +++ b/homeassistant/components/abode/switch.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['abode'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/acer_projector/switch.py b/homeassistant/components/acer_projector/switch.py index df6fb8816aae47..a9e4ef46b6f1f1 100644 --- a/homeassistant/components/acer_projector/switch.py +++ b/homeassistant/components/acer_projector/switch.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/ads/__init__.py b/homeassistant/components/ads/__init__.py index 92c6ecb3335147..4930e315ac5632 100644 --- a/homeassistant/components/ads/__init__.py +++ b/homeassistant/components/ads/__init__.py @@ -14,7 +14,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyads==3.0.7'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ads/binary_sensor.py b/homeassistant/components/ads/binary_sensor.py index baa44cb498fe04..0a50ba6b20fa1f 100644 --- a/homeassistant/components/ads/binary_sensor.py +++ b/homeassistant/components/ads/binary_sensor.py @@ -13,7 +13,7 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'ADS binary sensor' -DEPENDENCIES = ['ads'] + PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADS_VAR): cv.string, diff --git a/homeassistant/components/ads/light.py b/homeassistant/components/ads/light.py index 49961565dced77..c808b54ca8ad13 100644 --- a/homeassistant/components/ads/light.py +++ b/homeassistant/components/ads/light.py @@ -12,7 +12,7 @@ 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 e74b8753d4b042..5a313e6ba97060 100644 --- a/homeassistant/components/ads/sensor.py +++ b/homeassistant/components/ads/sensor.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = "ADS sensor" -DEPENDENCIES = ['ads'] + PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADS_VAR): cv.string, diff --git a/homeassistant/components/ads/switch.py b/homeassistant/components/ads/switch.py index 0dfbeb811a068b..6b86f208a4cb35 100644 --- a/homeassistant/components/ads/switch.py +++ b/homeassistant/components/ads/switch.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ads'] + DEFAULT_NAME = 'ADS Switch' diff --git a/homeassistant/components/aftership/sensor.py b/homeassistant/components/aftership/sensor.py index 18bc3cb34304bc..9e367d316f74e6 100644 --- a/homeassistant/components/aftership/sensor.py +++ b/homeassistant/components/aftership/sensor.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pyaftership==0.1.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/airvisual/sensor.py b/homeassistant/components/airvisual/sensor.py index 7fad7bb35be0ec..563784e634e5df 100644 --- a/homeassistant/components/airvisual/sensor.py +++ b/homeassistant/components/airvisual/sensor.py @@ -13,7 +13,7 @@ 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 01146fecbb667c..8156565a59f071 100644 --- a/homeassistant/components/aladdin_connect/cover.py +++ b/homeassistant/components/aladdin_connect/cover.py @@ -9,7 +9,7 @@ STATE_OPENING, STATE_CLOSING, STATE_OPEN) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['aladdin_connect==0.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/alarmdecoder/__init__.py b/homeassistant/components/alarmdecoder/__init__.py index 5b1296b39de2c3..366a6f48b7955b 100644 --- a/homeassistant/components/alarmdecoder/__init__.py +++ b/homeassistant/components/alarmdecoder/__init__.py @@ -10,7 +10,7 @@ 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__) diff --git a/homeassistant/components/alarmdecoder/alarm_control_panel.py b/homeassistant/components/alarmdecoder/alarm_control_panel.py index d7eced933ddbd1..3ab1f72981324e 100644 --- a/homeassistant/components/alarmdecoder/alarm_control_panel.py +++ b/homeassistant/components/alarmdecoder/alarm_control_panel.py @@ -13,7 +13,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['alarmdecoder'] + SERVICE_ALARM_TOGGLE_CHIME = 'alarmdecoder_alarm_toggle_chime' ALARM_TOGGLE_CHIME_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/alarmdecoder/binary_sensor.py b/homeassistant/components/alarmdecoder/binary_sensor.py index 09e63b4d664348..727dd976cef7c2 100644 --- a/homeassistant/components/alarmdecoder/binary_sensor.py +++ b/homeassistant/components/alarmdecoder/binary_sensor.py @@ -8,7 +8,7 @@ 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__) diff --git a/homeassistant/components/alarmdecoder/sensor.py b/homeassistant/components/alarmdecoder/sensor.py index 88371dad17a345..5b92b15d9557dd 100644 --- a/homeassistant/components/alarmdecoder/sensor.py +++ b/homeassistant/components/alarmdecoder/sensor.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['alarmdecoder'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/alarmdotcom/alarm_control_panel.py b/homeassistant/components/alarmdotcom/alarm_control_panel.py index ea581aca747fc8..88f38ed0ebcf0b 100644 --- a/homeassistant/components/alarmdotcom/alarm_control_panel.py +++ b/homeassistant/components/alarmdotcom/alarm_control_panel.py @@ -12,7 +12,7 @@ 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__) diff --git a/homeassistant/components/alexa/__init__.py b/homeassistant/components/alexa/__init__.py index 062d698d5122a8..9422d08e062dde 100644 --- a/homeassistant/components/alexa/__init__.py +++ b/homeassistant/components/alexa/__init__.py @@ -17,7 +17,7 @@ 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, diff --git a/homeassistant/components/alpha_vantage/sensor.py b/homeassistant/components/alpha_vantage/sensor.py index 0eb57e5b27aeee..f28cbb8f4f134b 100644 --- a/homeassistant/components/alpha_vantage/sensor.py +++ b/homeassistant/components/alpha_vantage/sensor.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['alpha_vantage==2.1.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/amazon_polly/tts.py b/homeassistant/components/amazon_polly/tts.py index d29ae32fb5723f..606135ef0b6b95 100644 --- a/homeassistant/components/amazon_polly/tts.py +++ b/homeassistant/components/amazon_polly/tts.py @@ -6,7 +6,7 @@ from homeassistant.components.tts import PLATFORM_SCHEMA, Provider import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['boto3==1.9.16'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ambient_station/__init__.py b/homeassistant/components/ambient_station/__init__.py index 944d4e14e7d26d..1287911f357889 100644 --- a/homeassistant/components/ambient_station/__init__.py +++ b/homeassistant/components/ambient_station/__init__.py @@ -20,7 +20,7 @@ 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__) diff --git a/homeassistant/components/ambient_station/binary_sensor.py b/homeassistant/components/ambient_station/binary_sensor.py index 04a38901683d94..4ea3abf47b2d67 100644 --- a/homeassistant/components/ambient_station/binary_sensor.py +++ b/homeassistant/components/ambient_station/binary_sensor.py @@ -12,7 +12,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ambient_station'] + async def async_setup_platform( diff --git a/homeassistant/components/ambient_station/sensor.py b/homeassistant/components/ambient_station/sensor.py index b394dc558e63c6..416088c02a6382 100644 --- a/homeassistant/components/ambient_station/sensor.py +++ b/homeassistant/components/ambient_station/sensor.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ambient_station'] + async def async_setup_platform( diff --git a/homeassistant/components/amcrest/__init__.py b/homeassistant/components/amcrest/__init__.py index a4c020efcdfa13..c69b404b011cf2 100644 --- a/homeassistant/components/amcrest/__init__.py +++ b/homeassistant/components/amcrest/__init__.py @@ -12,8 +12,8 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['amcrest==1.3.0'] -DEPENDENCIES = ['ffmpeg'] + + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/amcrest/binary_sensor.py b/homeassistant/components/amcrest/binary_sensor.py index 113918ed041c3e..d339c4dac83760 100644 --- a/homeassistant/components/amcrest/binary_sensor.py +++ b/homeassistant/components/amcrest/binary_sensor.py @@ -7,7 +7,7 @@ from homeassistant.const import CONF_NAME, CONF_BINARY_SENSORS from . import DATA_AMCREST, BINARY_SENSORS -DEPENDENCIES = ['amcrest'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/amcrest/camera.py b/homeassistant/components/amcrest/camera.py index f361c4e0183e6b..98ef9fa15acb00 100644 --- a/homeassistant/components/amcrest/camera.py +++ b/homeassistant/components/amcrest/camera.py @@ -12,7 +12,7 @@ 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 119520e6a03b5e..2ca1c45767b2a8 100644 --- a/homeassistant/components/amcrest/sensor.py +++ b/homeassistant/components/amcrest/sensor.py @@ -7,7 +7,7 @@ from . import DATA_AMCREST, SENSORS -DEPENDENCIES = ['amcrest'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/amcrest/switch.py b/homeassistant/components/amcrest/switch.py index 0bbd290b3ac253..5fe89b37ef652e 100644 --- a/homeassistant/components/amcrest/switch.py +++ b/homeassistant/components/amcrest/switch.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['amcrest'] + async def async_setup_platform( diff --git a/homeassistant/components/ampio/air_quality.py b/homeassistant/components/ampio/air_quality.py index f7aa98aec7c27c..9ba9652607cdfa 100644 --- a/homeassistant/components/ampio/air_quality.py +++ b/homeassistant/components/ampio/air_quality.py @@ -11,7 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['asmog==0.0.6'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/android_ip_webcam/__init__.py b/homeassistant/components/android_ip_webcam/__init__.py index 600efd55a16a1d..d78b1a7f1ceb90 100644 --- a/homeassistant/components/android_ip_webcam/__init__.py +++ b/homeassistant/components/android_ip_webcam/__init__.py @@ -21,7 +21,7 @@ from homeassistant.components.mjpeg.camera import ( CONF_MJPEG_URL, CONF_STILL_IMAGE_URL) -REQUIREMENTS = ['pydroid-ipcam==0.8'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/android_ip_webcam/binary_sensor.py b/homeassistant/components/android_ip_webcam/binary_sensor.py index c058c44c5034e1..8832b62be44d00 100644 --- a/homeassistant/components/android_ip_webcam/binary_sensor.py +++ b/homeassistant/components/android_ip_webcam/binary_sensor.py @@ -3,7 +3,7 @@ from . import CONF_HOST, CONF_NAME, DATA_IP_WEBCAM, KEY_MAP, AndroidIPCamEntity -DEPENDENCIES = ['android_ip_webcam'] + async def async_setup_platform( diff --git a/homeassistant/components/android_ip_webcam/sensor.py b/homeassistant/components/android_ip_webcam/sensor.py index 4d29493d64fba7..72475962cec771 100644 --- a/homeassistant/components/android_ip_webcam/sensor.py +++ b/homeassistant/components/android_ip_webcam/sensor.py @@ -5,7 +5,7 @@ CONF_HOST, CONF_NAME, CONF_SENSORS, DATA_IP_WEBCAM, ICON_MAP, KEY_MAP, AndroidIPCamEntity) -DEPENDENCIES = ['android_ip_webcam'] + async def async_setup_platform( diff --git a/homeassistant/components/android_ip_webcam/switch.py b/homeassistant/components/android_ip_webcam/switch.py index 0304c5747f71ae..3c0792688bedcd 100644 --- a/homeassistant/components/android_ip_webcam/switch.py +++ b/homeassistant/components/android_ip_webcam/switch.py @@ -5,7 +5,7 @@ CONF_HOST, CONF_NAME, CONF_SWITCHES, DATA_IP_WEBCAM, ICON_MAP, KEY_MAP, AndroidIPCamEntity) -DEPENDENCIES = ['android_ip_webcam'] + async def async_setup_platform( diff --git a/homeassistant/components/androidtv/media_player.py b/homeassistant/components/androidtv/media_player.py index 706ef6f8402430..e3f7538da1c7cd 100644 --- a/homeassistant/components/androidtv/media_player.py +++ b/homeassistant/components/androidtv/media_player.py @@ -18,7 +18,7 @@ ANDROIDTV_DOMAIN = 'androidtv' -REQUIREMENTS = ['androidtv==0.0.15'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/anel_pwrctrl/switch.py b/homeassistant/components/anel_pwrctrl/switch.py index b9b3070b97e737..244b6394fa2f8e 100644 --- a/homeassistant/components/anel_pwrctrl/switch.py +++ b/homeassistant/components/anel_pwrctrl/switch.py @@ -10,7 +10,7 @@ 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__) diff --git a/homeassistant/components/anthemav/media_player.py b/homeassistant/components/anthemav/media_player.py index c7ee579bc17cb0..03a51ac85175c1 100644 --- a/homeassistant/components/anthemav/media_player.py +++ b/homeassistant/components/anthemav/media_player.py @@ -13,7 +13,7 @@ STATE_ON) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['anthemav==1.1.10'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/apcupsd/__init__.py b/homeassistant/components/apcupsd/__init__.py index aab6f6dda018c6..bc73918b3343bf 100644 --- a/homeassistant/components/apcupsd/__init__.py +++ b/homeassistant/components/apcupsd/__init__.py @@ -8,7 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['apcaccess==0.0.13'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/apcupsd/binary_sensor.py b/homeassistant/components/apcupsd/binary_sensor.py index 445dab9b0744a0..08bcd9918ad532 100644 --- a/homeassistant/components/apcupsd/binary_sensor.py +++ b/homeassistant/components/apcupsd/binary_sensor.py @@ -8,7 +8,7 @@ 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 09f9b324bdd863..594003414d12a1 100644 --- a/homeassistant/components/apcupsd/sensor.py +++ b/homeassistant/components/apcupsd/sensor.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = [apcupsd.DOMAIN] + SENSOR_PREFIX = 'UPS ' SENSOR_TYPES = { diff --git a/homeassistant/components/api/__init__.py b/homeassistant/components/api/__init__.py index beba17ee2ea03b..61a5cd70c45f1d 100644 --- a/homeassistant/components/api/__init__.py +++ b/homeassistant/components/api/__init__.py @@ -33,7 +33,7 @@ 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 d7f6559fe7eaad..8e4d7d1f8b1516 100644 --- a/homeassistant/components/apns/notify.py +++ b/homeassistant/components/apns/notify.py @@ -13,7 +13,7 @@ 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' diff --git a/homeassistant/components/apple_tv/__init__.py b/homeassistant/components/apple_tv/__init__.py index b265dc533eb85c..12b9203729c43d 100644 --- a/homeassistant/components/apple_tv/__init__.py +++ b/homeassistant/components/apple_tv/__init__.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/apple_tv/media_player.py b/homeassistant/components/apple_tv/media_player.py index e00ce6ed13bcd2..b285ca86c61188 100644 --- a/homeassistant/components/apple_tv/media_player.py +++ b/homeassistant/components/apple_tv/media_player.py @@ -14,7 +14,7 @@ from . import ATTR_ATV, ATTR_POWER, DATA_APPLE_TV, DATA_ENTITIES -DEPENDENCIES = ['apple_tv'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/apple_tv/remote.py b/homeassistant/components/apple_tv/remote.py index 25b500ac09d6ea..439d7def3715da 100644 --- a/homeassistant/components/apple_tv/remote.py +++ b/homeassistant/components/apple_tv/remote.py @@ -4,7 +4,7 @@ from . import ATTR_ATV, ATTR_POWER, DATA_APPLE_TV -DEPENDENCIES = ['apple_tv'] + async def async_setup_platform( diff --git a/homeassistant/components/aqualogic/__init__.py b/homeassistant/components/aqualogic/__init__.py index a4f83b573f73b7..91f985c4a0eb21 100644 --- a/homeassistant/components/aqualogic/__init__.py +++ b/homeassistant/components/aqualogic/__init__.py @@ -11,7 +11,7 @@ EVENT_HOMEASSISTANT_STOP) from homeassistant.helpers import config_validation as cv -REQUIREMENTS = ["aqualogic==1.0"] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/aqualogic/sensor.py b/homeassistant/components/aqualogic/sensor.py index dc06a2127e941d..422db6bb02d5d7 100644 --- a/homeassistant/components/aqualogic/sensor.py +++ b/homeassistant/components/aqualogic/sensor.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['aqualogic'] + TEMP_UNITS = [TEMP_CELSIUS, TEMP_FAHRENHEIT] PERCENT_UNITS = ['%', '%'] diff --git a/homeassistant/components/aqualogic/switch.py b/homeassistant/components/aqualogic/switch.py index 21e573f944b6d2..1fffadab3b87c1 100644 --- a/homeassistant/components/aqualogic/switch.py +++ b/homeassistant/components/aqualogic/switch.py @@ -10,7 +10,7 @@ from . import DOMAIN, UPDATE_TOPIC -DEPENDENCIES = ['aqualogic'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/aquostv/media_player.py b/homeassistant/components/aquostv/media_player.py index 0ffe48d21ec61f..c90f798180edb1 100644 --- a/homeassistant/components/aquostv/media_player.py +++ b/homeassistant/components/aquostv/media_player.py @@ -15,7 +15,7 @@ CONF_USERNAME, STATE_OFF, STATE_ON) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['sharp_aquos_rc==0.3.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/arduino/__init__.py b/homeassistant/components/arduino/__init__.py index 351122e74f0e0f..dc59cb652e6fb6 100644 --- a/homeassistant/components/arduino/__init__.py +++ b/homeassistant/components/arduino/__init__.py @@ -8,7 +8,7 @@ from homeassistant.const import CONF_PORT import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['PyMata==2.14'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/arduino/sensor.py b/homeassistant/components/arduino/sensor.py index ff758ea58470b5..9013edfa641bd3 100644 --- a/homeassistant/components/arduino/sensor.py +++ b/homeassistant/components/arduino/sensor.py @@ -14,7 +14,7 @@ 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 947c5188766cd1..eae61f0ee91258 100644 --- a/homeassistant/components/arduino/switch.py +++ b/homeassistant/components/arduino/switch.py @@ -8,7 +8,7 @@ from homeassistant.const import CONF_NAME import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['arduino'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/arlo/__init__.py b/homeassistant/components/arlo/__init__.py index cbb720778e5e7e..c370600e9ca1b9 100644 --- a/homeassistant/components/arlo/__init__.py +++ b/homeassistant/components/arlo/__init__.py @@ -11,7 +11,7 @@ from homeassistant.helpers.event import track_time_interval from homeassistant.helpers.dispatcher import dispatcher_send -REQUIREMENTS = ['pyarlo==0.2.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/arlo/alarm_control_panel.py b/homeassistant/components/arlo/alarm_control_panel.py index 3557ed125c6cda..aeebd46a9f1693 100644 --- a/homeassistant/components/arlo/alarm_control_panel.py +++ b/homeassistant/components/arlo/alarm_control_panel.py @@ -22,7 +22,7 @@ CONF_AWAY_MODE_NAME = 'away_mode_name' CONF_NIGHT_MODE_NAME = 'night_mode_name' -DEPENDENCIES = ['arlo'] + DISARMED = 'disarmed' diff --git a/homeassistant/components/arlo/camera.py b/homeassistant/components/arlo/camera.py index d4b00f0062503a..918c2e0a71de5a 100644 --- a/homeassistant/components/arlo/camera.py +++ b/homeassistant/components/arlo/camera.py @@ -13,7 +13,7 @@ from . import DATA_ARLO, DEFAULT_BRAND, SIGNAL_UPDATE_ARLO -DEPENDENCIES = ['arlo', 'ffmpeg'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/arlo/sensor.py b/homeassistant/components/arlo/sensor.py index e08669eb80b60e..5b6f33eb89dc6a 100644 --- a/homeassistant/components/arlo/sensor.py +++ b/homeassistant/components/arlo/sensor.py @@ -17,7 +17,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['arlo'] + # sensor_type [ description, unit, icon ] SENSOR_TYPES = { diff --git a/homeassistant/components/aruba/device_tracker.py b/homeassistant/components/aruba/device_tracker.py index ed1fee25a6c837..c4b03f4de8e0e7 100644 --- a/homeassistant/components/aruba/device_tracker.py +++ b/homeassistant/components/aruba/device_tracker.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pexpect==4.6.0'] + _DEVICES_REGEX = re.compile( r'(?P([^\s]+)?)\s+' + diff --git a/homeassistant/components/arwn/sensor.py b/homeassistant/components/arwn/sensor.py index aef43c4b401556..602d106ff4d839 100644 --- a/homeassistant/components/arwn/sensor.py +++ b/homeassistant/components/arwn/sensor.py @@ -10,7 +10,7 @@ _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 db5d4e8d6eef12..d2a04c3d9a3c27 100644 --- a/homeassistant/components/asterisk_cdr/mailbox.py +++ b/homeassistant/components/asterisk_cdr/mailbox.py @@ -11,7 +11,7 @@ _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 d8d3b194cd7f16..9d0f79ef278caf 100644 --- a/homeassistant/components/asterisk_mbox/__init__.py +++ b/homeassistant/components/asterisk_mbox/__init__.py @@ -10,7 +10,7 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_send, dispatcher_connect) -REQUIREMENTS = ['asterisk_mbox==0.5.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/asterisk_mbox/mailbox.py b/homeassistant/components/asterisk_mbox/mailbox.py index a3e7c3f4d61c13..f5e82f55f89ff1 100644 --- a/homeassistant/components/asterisk_mbox/mailbox.py +++ b/homeassistant/components/asterisk_mbox/mailbox.py @@ -10,7 +10,7 @@ _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 9b004b5bc04fc4..a862383e94515c 100644 --- a/homeassistant/components/asuswrt/__init__.py +++ b/homeassistant/components/asuswrt/__init__.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/asuswrt/device_tracker.py b/homeassistant/components/asuswrt/device_tracker.py index d115e640ffa863..837c5a02b068cf 100644 --- a/homeassistant/components/asuswrt/device_tracker.py +++ b/homeassistant/components/asuswrt/device_tracker.py @@ -5,7 +5,7 @@ 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 ac80a447e28716..650b1eb27ca41d 100644 --- a/homeassistant/components/asuswrt/sensor.py +++ b/homeassistant/components/asuswrt/sensor.py @@ -5,7 +5,7 @@ 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 8e749dca46e5f7..cbdf6be583da86 100644 --- a/homeassistant/components/august/__init__.py +++ b/homeassistant/components/august/__init__.py @@ -15,7 +15,7 @@ _CONFIGURING = {} -REQUIREMENTS = ['py-august==0.7.0'] + DEFAULT_TIMEOUT = 10 ACTIVITY_FETCH_LIMIT = 10 diff --git a/homeassistant/components/august/binary_sensor.py b/homeassistant/components/august/binary_sensor.py index 3a69d41177d6c5..c223d8ecaac8cf 100644 --- a/homeassistant/components/august/binary_sensor.py +++ b/homeassistant/components/august/binary_sensor.py @@ -8,7 +8,7 @@ _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 53a9d78bc60419..251dbc95604328 100644 --- a/homeassistant/components/august/camera.py +++ b/homeassistant/components/august/camera.py @@ -7,7 +7,7 @@ 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 e112eaa2592c31..243cb49706ba0f 100644 --- a/homeassistant/components/august/lock.py +++ b/homeassistant/components/august/lock.py @@ -9,7 +9,7 @@ _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 d0157158aca6b2..3d5a9b9256488c 100644 --- a/homeassistant/components/auth/__init__.py +++ b/homeassistant/components/auth/__init__.py @@ -138,7 +138,7 @@ 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({ diff --git a/homeassistant/components/automatic/device_tracker.py b/homeassistant/components/automatic/device_tracker.py index 8abd81e63bea6d..afb4a5e74fcda4 100644 --- a/homeassistant/components/automatic/device_tracker.py +++ b/homeassistant/components/automatic/device_tracker.py @@ -18,7 +18,7 @@ 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__) @@ -34,7 +34,7 @@ DATA_REFRESH_TOKEN = 'refresh_token' DEFAULT_SCOPE = ['location', 'trip', 'vehicle:events', 'vehicle:profile'] DEFAULT_TIMEOUT = 5 -DEPENDENCIES = ['http'] + EVENT_AUTOMATIC_UPDATE = 'automatic_update' diff --git a/homeassistant/components/automation/__init__.py b/homeassistant/components/automation/__init__.py index b1470582d59232..26aa65f2128067 100644 --- a/homeassistant/components/automation/__init__.py +++ b/homeassistant/components/automation/__init__.py @@ -21,7 +21,7 @@ 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 20c689d74cf438..d5788db2d1a79a 100644 --- a/homeassistant/components/automation/litejet.py +++ b/homeassistant/components/automation/litejet.py @@ -9,7 +9,7 @@ import homeassistant.util.dt as dt_util from homeassistant.helpers.event import track_point_in_utc_time -DEPENDENCIES = ['litejet'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/automation/mqtt.py b/homeassistant/components/automation/mqtt.py index ff89cd47024c16..c5e8ce33e3c67c 100644 --- a/homeassistant/components/automation/mqtt.py +++ b/homeassistant/components/automation/mqtt.py @@ -8,7 +8,7 @@ from homeassistant.const import (CONF_PLATFORM, CONF_PAYLOAD) import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['mqtt'] + CONF_ENCODING = 'encoding' CONF_TOPIC = 'topic' diff --git a/homeassistant/components/avion/light.py b/homeassistant/components/avion/light.py index 65172025b56b51..0953258744391b 100644 --- a/homeassistant/components/avion/light.py +++ b/homeassistant/components/avion/light.py @@ -12,7 +12,7 @@ CONF_USERNAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['avion==0.10'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/awair/sensor.py b/homeassistant/components/awair/sensor.py index 7fdcc6735495c1..627e65006af4d8 100644 --- a/homeassistant/components/awair/sensor.py +++ b/homeassistant/components/awair/sensor.py @@ -15,7 +15,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle, dt -REQUIREMENTS = ['python_awair==0.0.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/aws/__init__.py b/homeassistant/components/aws/__init__.py index a15e56e9de89cd..0f8f82f3d2788a 100644 --- a/homeassistant/components/aws/__init__.py +++ b/homeassistant/components/aws/__init__.py @@ -26,7 +26,7 @@ DOMAIN, ) -REQUIREMENTS = ["aiobotocore==0.10.2"] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/aws/notify.py b/homeassistant/components/aws/notify.py index 48b80b64ce2ee6..8a02cd2375a085 100644 --- a/homeassistant/components/aws/notify.py +++ b/homeassistant/components/aws/notify.py @@ -21,7 +21,7 @@ DATA_SESSIONS, ) -DEPENDENCIES = ["aws"] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/axis/__init__.py b/homeassistant/components/axis/__init__.py index e9ed37477a5a02..c65a2b66fce690 100644 --- a/homeassistant/components/axis/__init__.py +++ b/homeassistant/components/axis/__init__.py @@ -11,7 +11,7 @@ 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), diff --git a/homeassistant/components/axis/binary_sensor.py b/homeassistant/components/axis/binary_sensor.py index 30e0e759a2cda3..e734abbf5be5df 100644 --- a/homeassistant/components/axis/binary_sensor.py +++ b/homeassistant/components/axis/binary_sensor.py @@ -11,7 +11,7 @@ from .const import DOMAIN as AXIS_DOMAIN, LOGGER -DEPENDENCIES = [AXIS_DOMAIN] + async def async_setup_entry(hass, config_entry, async_add_entities): diff --git a/homeassistant/components/axis/camera.py b/homeassistant/components/axis/camera.py index 62b694a99bb971..7873cff301af09 100644 --- a/homeassistant/components/axis/camera.py +++ b/homeassistant/components/axis/camera.py @@ -11,7 +11,7 @@ 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' diff --git a/homeassistant/components/baidu/tts.py b/homeassistant/components/baidu/tts.py index fbe27591ef535c..7cc3080fac0cda 100644 --- a/homeassistant/components/baidu/tts.py +++ b/homeassistant/components/baidu/tts.py @@ -7,7 +7,7 @@ from homeassistant.const import CONF_API_KEY import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ["baidu-aip==1.6.6"] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bbb_gpio/__init__.py b/homeassistant/components/bbb_gpio/__init__.py index 7749af8f335c48..ed6cbba54f17a9 100644 --- a/homeassistant/components/bbb_gpio/__init__.py +++ b/homeassistant/components/bbb_gpio/__init__.py @@ -4,7 +4,7 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['Adafruit_BBIO==1.0.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bbb_gpio/binary_sensor.py b/homeassistant/components/bbb_gpio/binary_sensor.py index 1ee371dcc2a6ac..af131306c40a54 100644 --- a/homeassistant/components/bbb_gpio/binary_sensor.py +++ b/homeassistant/components/bbb_gpio/binary_sensor.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['bbb_gpio'] + CONF_PINS = 'pins' CONF_BOUNCETIME = 'bouncetime' diff --git a/homeassistant/components/bbb_gpio/switch.py b/homeassistant/components/bbb_gpio/switch.py index 3ad46fd61aedfd..3bd6908b556c86 100644 --- a/homeassistant/components/bbb_gpio/switch.py +++ b/homeassistant/components/bbb_gpio/switch.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['bbb_gpio'] + CONF_PINS = 'pins' CONF_INITIAL = 'initial' diff --git a/homeassistant/components/bbox/device_tracker.py b/homeassistant/components/bbox/device_tracker.py index badbcdc8a0bf56..d10e113a402d5c 100644 --- a/homeassistant/components/bbox/device_tracker.py +++ b/homeassistant/components/bbox/device_tracker.py @@ -12,7 +12,7 @@ from homeassistant.util import Throttle import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pybbox==0.0.5-alpha'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bbox/sensor.py b/homeassistant/components/bbox/sensor.py index 5b3c31d1ddf241..b1880ac3a9431b 100644 --- a/homeassistant/components/bbox/sensor.py +++ b/homeassistant/components/bbox/sensor.py @@ -12,7 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pybbox==0.0.5-alpha'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bitcoin/sensor.py b/homeassistant/components/bitcoin/sensor.py index 3bc14637a87631..d8e95582325ed5 100644 --- a/homeassistant/components/bitcoin/sensor.py +++ b/homeassistant/components/bitcoin/sensor.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['blockchain==1.4.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/blackbird/media_player.py b/homeassistant/components/blackbird/media_player.py index c66bc412160f0e..c1f2d2660ed48c 100644 --- a/homeassistant/components/blackbird/media_player.py +++ b/homeassistant/components/blackbird/media_player.py @@ -14,7 +14,7 @@ STATE_ON) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyblackbird==0.5'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/blink/__init__.py b/homeassistant/components/blink/__init__.py index 488209e3689fc3..9d779883fb0065 100644 --- a/homeassistant/components/blink/__init__.py +++ b/homeassistant/components/blink/__init__.py @@ -10,7 +10,7 @@ CONF_BINARY_SENSORS, CONF_SENSORS, CONF_FILENAME, CONF_MONITORED_CONDITIONS, TEMP_FAHRENHEIT) -REQUIREMENTS = ['blinkpy==0.13.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/blink/alarm_control_panel.py b/homeassistant/components/blink/alarm_control_panel.py index 75e645dff5f3f9..e5b49772dd550a 100644 --- a/homeassistant/components/blink/alarm_control_panel.py +++ b/homeassistant/components/blink/alarm_control_panel.py @@ -9,7 +9,7 @@ _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 466b73caf5fd5a..c058bb40ed3126 100644 --- a/homeassistant/components/blink/binary_sensor.py +++ b/homeassistant/components/blink/binary_sensor.py @@ -4,7 +4,7 @@ from . import BINARY_SENSORS, BLINK_DATA -DEPENDENCIES = ['blink'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/blink/camera.py b/homeassistant/components/blink/camera.py index 1da3080e3ff074..6fe3e81a319358 100644 --- a/homeassistant/components/blink/camera.py +++ b/homeassistant/components/blink/camera.py @@ -7,7 +7,7 @@ _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 0e97db9d7d410d..bd9541112379da 100644 --- a/homeassistant/components/blink/sensor.py +++ b/homeassistant/components/blink/sensor.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['blink'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/blinksticklight/light.py b/homeassistant/components/blinksticklight/light.py index 0d4c7b736f3d3d..067ef122419351 100644 --- a/homeassistant/components/blinksticklight/light.py +++ b/homeassistant/components/blinksticklight/light.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['blinkstick==1.1.8'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/blinkt/light.py b/homeassistant/components/blinkt/light.py index 57d19172614c9f..86b5997141988d 100644 --- a/homeassistant/components/blinkt/light.py +++ b/homeassistant/components/blinkt/light.py @@ -11,7 +11,7 @@ from homeassistant.const import CONF_NAME import homeassistant.util.color as color_util -REQUIREMENTS = ['blinkt==0.1.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/blockchain/sensor.py b/homeassistant/components/blockchain/sensor.py index def1dc3309f9a9..3069265060a30a 100644 --- a/homeassistant/components/blockchain/sensor.py +++ b/homeassistant/components/blockchain/sensor.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/bloomsky/binary_sensor.py b/homeassistant/components/bloomsky/binary_sensor.py index c8763524de7631..aa64179c6da984 100644 --- a/homeassistant/components/bloomsky/binary_sensor.py +++ b/homeassistant/components/bloomsky/binary_sensor.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['bloomsky'] + SENSOR_TYPES = { 'Rain': 'moisture', diff --git a/homeassistant/components/bloomsky/camera.py b/homeassistant/components/bloomsky/camera.py index 5cb2e1adfe16ba..350d9ed91f93a4 100644 --- a/homeassistant/components/bloomsky/camera.py +++ b/homeassistant/components/bloomsky/camera.py @@ -5,7 +5,7 @@ from homeassistant.components.camera import Camera -DEPENDENCIES = ['bloomsky'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/bloomsky/sensor.py b/homeassistant/components/bloomsky/sensor.py index 7e6847f0e7ec2e..51645bb82ef6be 100644 --- a/homeassistant/components/bloomsky/sensor.py +++ b/homeassistant/components/bloomsky/sensor.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['bloomsky'] + # These are the available sensors SENSOR_TYPES = ['Temperature', diff --git a/homeassistant/components/bluesound/media_player.py b/homeassistant/components/bluesound/media_player.py index c4cd3572e75c3b..16e4ea5775db21 100644 --- a/homeassistant/components/bluesound/media_player.py +++ b/homeassistant/components/bluesound/media_player.py @@ -29,7 +29,7 @@ from homeassistant.util import Throttle import homeassistant.util.dt as dt_util -REQUIREMENTS = ['xmltodict==0.11.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bluetooth_le_tracker/device_tracker.py b/homeassistant/components/bluetooth_le_tracker/device_tracker.py index dfb5fa073b93de..c8627ed91f38a8 100644 --- a/homeassistant/components/bluetooth_le_tracker/device_tracker.py +++ b/homeassistant/components/bluetooth_le_tracker/device_tracker.py @@ -10,7 +10,7 @@ _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 3a4aa8880012d1..5a92434b45a612 100644 --- a/homeassistant/components/bluetooth_tracker/device_tracker.py +++ b/homeassistant/components/bluetooth_tracker/device_tracker.py @@ -13,7 +13,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pybluez==0.22', 'bt_proximity==0.1.2'] + BT_PREFIX = 'BT_' diff --git a/homeassistant/components/bmw_connected_drive/__init__.py b/homeassistant/components/bmw_connected_drive/__init__.py index e1ac30120d2115..f5c771b1e2582c 100644 --- a/homeassistant/components/bmw_connected_drive/__init__.py +++ b/homeassistant/components/bmw_connected_drive/__init__.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/bmw_connected_drive/binary_sensor.py b/homeassistant/components/bmw_connected_drive/binary_sensor.py index deab157292d2f3..4c65ef9ac892a6 100644 --- a/homeassistant/components/bmw_connected_drive/binary_sensor.py +++ b/homeassistant/components/bmw_connected_drive/binary_sensor.py @@ -6,7 +6,7 @@ from . import DOMAIN as BMW_DOMAIN -DEPENDENCIES = ['bmw_connected_drive'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bmw_connected_drive/device_tracker.py b/homeassistant/components/bmw_connected_drive/device_tracker.py index 20e84e33e29bd3..7362daf090d78d 100644 --- a/homeassistant/components/bmw_connected_drive/device_tracker.py +++ b/homeassistant/components/bmw_connected_drive/device_tracker.py @@ -5,7 +5,7 @@ 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 fe646dcd1c9c10..9b30eb0a888f3e 100644 --- a/homeassistant/components/bmw_connected_drive/lock.py +++ b/homeassistant/components/bmw_connected_drive/lock.py @@ -6,7 +6,7 @@ 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 03c03f01b4a148..20e24c623e4706 100644 --- a/homeassistant/components/bmw_connected_drive/sensor.py +++ b/homeassistant/components/bmw_connected_drive/sensor.py @@ -9,7 +9,7 @@ from . import DOMAIN as BMW_DOMAIN -DEPENDENCIES = ['bmw_connected_drive'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bom/camera.py b/homeassistant/components/bom/camera.py index d3e78034015bc1..c6751330e41f81 100644 --- a/homeassistant/components/bom/camera.py +++ b/homeassistant/components/bom/camera.py @@ -5,7 +5,7 @@ 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' diff --git a/homeassistant/components/braviatv/media_player.py b/homeassistant/components/braviatv/media_player.py index 45fdb63a4a9b45..4b2bbe22c42f8d 100644 --- a/homeassistant/components/braviatv/media_player.py +++ b/homeassistant/components/braviatv/media_player.py @@ -15,7 +15,7 @@ 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' diff --git a/homeassistant/components/broadlink/sensor.py b/homeassistant/components/broadlink/sensor.py index b3ce245a979ae7..a4f0d5d1c53e82 100644 --- a/homeassistant/components/broadlink/sensor.py +++ b/homeassistant/components/broadlink/sensor.py @@ -14,7 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['broadlink==0.9.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/broadlink/switch.py b/homeassistant/components/broadlink/switch.py index 8695f70786c6f2..95eeccbf10131d 100644 --- a/homeassistant/components/broadlink/switch.py +++ b/homeassistant/components/broadlink/switch.py @@ -17,7 +17,7 @@ from homeassistant.util import Throttle, slugify from homeassistant.util.dt import utcnow -REQUIREMENTS = ['broadlink==0.9.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/brottsplatskartan/sensor.py b/homeassistant/components/brottsplatskartan/sensor.py index f990dd1aba1630..d895b48da29b9e 100644 --- a/homeassistant/components/brottsplatskartan/sensor.py +++ b/homeassistant/components/brottsplatskartan/sensor.py @@ -12,7 +12,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['brottsplatskartan==0.0.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/brunt/cover.py b/homeassistant/components/brunt/cover.py index dc17cebcec2fd6..73c30e344b848b 100644 --- a/homeassistant/components/brunt/cover.py +++ b/homeassistant/components/brunt/cover.py @@ -13,7 +13,7 @@ ) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['brunt==0.1.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bt_home_hub_5/device_tracker.py b/homeassistant/components/bt_home_hub_5/device_tracker.py index 61853c0af89f0b..5e1ae73f4bb6f4 100644 --- a/homeassistant/components/bt_home_hub_5/device_tracker.py +++ b/homeassistant/components/bt_home_hub_5/device_tracker.py @@ -8,7 +8,7 @@ DeviceScanner) from homeassistant.const import CONF_HOST -REQUIREMENTS = ['bthomehub5-devicelist==0.1.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bt_smarthub/device_tracker.py b/homeassistant/components/bt_smarthub/device_tracker.py index 5820feda567903..ce253e054f261e 100644 --- a/homeassistant/components/bt_smarthub/device_tracker.py +++ b/homeassistant/components/bt_smarthub/device_tracker.py @@ -8,7 +8,7 @@ DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST -REQUIREMENTS = ['btsmarthub_devicelist==0.1.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/buienradar/sensor.py b/homeassistant/components/buienradar/sensor.py index 754873fa2c914f..0d14c0007300b3 100644 --- a/homeassistant/components/buienradar/sensor.py +++ b/homeassistant/components/buienradar/sensor.py @@ -17,7 +17,7 @@ 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__) diff --git a/homeassistant/components/buienradar/weather.py b/homeassistant/components/buienradar/weather.py index 86dcb229a78bbd..af586b33f9b063 100644 --- a/homeassistant/components/buienradar/weather.py +++ b/homeassistant/components/buienradar/weather.py @@ -13,7 +13,7 @@ # Reuse data and API logic from the sensor implementation from .sensor import BrData -REQUIREMENTS = ['buienradar==0.91'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/caldav/calendar.py b/homeassistant/components/caldav/calendar.py index 65cb20811b880b..1c420fef3e1721 100644 --- a/homeassistant/components/caldav/calendar.py +++ b/homeassistant/components/caldav/calendar.py @@ -12,7 +12,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle, dt -REQUIREMENTS = ['caldav==0.5.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/calendar/__init__.py b/homeassistant/components/calendar/__init__.py index aa9e3153fe5bbd..cbe7740420bc9c 100644 --- a/homeassistant/components/calendar/__init__.py +++ b/homeassistant/components/calendar/__init__.py @@ -22,7 +22,7 @@ DOMAIN = 'calendar' -DEPENDENCIES = ['http'] + ENTITY_ID_FORMAT = DOMAIN + '.{}' diff --git a/homeassistant/components/camera/__init__.py b/homeassistant/components/camera/__init__.py index 2ddab537acc09e..25b4e5cd7099df 100644 --- a/homeassistant/components/camera/__init__.py +++ b/homeassistant/components/camera/__init__.py @@ -36,7 +36,7 @@ from .const import DOMAIN, DATA_CAMERA_PREFS from .prefs import CameraPreferences -DEPENDENCIES = ['http'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/canary/__init__.py b/homeassistant/components/canary/__init__.py index e53c7e22d2d6dd..7ff09863bda461 100644 --- a/homeassistant/components/canary/__init__.py +++ b/homeassistant/components/canary/__init__.py @@ -10,7 +10,7 @@ from homeassistant.helpers import discovery from homeassistant.util import Throttle -REQUIREMENTS = ['py-canary==0.5.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/canary/alarm_control_panel.py b/homeassistant/components/canary/alarm_control_panel.py index faa7d819a2e91f..511ee54f50dba5 100644 --- a/homeassistant/components/canary/alarm_control_panel.py +++ b/homeassistant/components/canary/alarm_control_panel.py @@ -8,7 +8,7 @@ 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 fc740a46f628d9..cf5edb0f3f1a81 100644 --- a/homeassistant/components/canary/camera.py +++ b/homeassistant/components/canary/camera.py @@ -13,7 +13,7 @@ from . import DATA_CANARY, DEFAULT_TIMEOUT -DEPENDENCIES = ['canary', 'ffmpeg'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/canary/sensor.py b/homeassistant/components/canary/sensor.py index fb3aaf78b0a487..73054e610b6d59 100644 --- a/homeassistant/components/canary/sensor.py +++ b/homeassistant/components/canary/sensor.py @@ -6,7 +6,7 @@ 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 0ec3ac150d7501..140563a4337dcb 100644 --- a/homeassistant/components/cast/__init__.py +++ b/homeassistant/components/cast/__init__.py @@ -2,7 +2,7 @@ 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 afe29ae079f9ac..12959fe6729a42 100644 --- a/homeassistant/components/channels/media_player.py +++ b/homeassistant/components/channels/media_player.py @@ -15,7 +15,7 @@ STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pychannels==1.0.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cisco_ios/device_tracker.py b/homeassistant/components/cisco_ios/device_tracker.py index d5a64626e89924..1941e3cd9b4481 100644 --- a/homeassistant/components/cisco_ios/device_tracker.py +++ b/homeassistant/components/cisco_ios/device_tracker.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pexpect==4.6.0'] + PLATFORM_SCHEMA = vol.All( PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/cisco_mobility_express/device_tracker.py b/homeassistant/components/cisco_mobility_express/device_tracker.py index a722a994350041..e4d6a741f51c4a 100644 --- a/homeassistant/components/cisco_mobility_express/device_tracker.py +++ b/homeassistant/components/cisco_mobility_express/device_tracker.py @@ -10,7 +10,7 @@ CONF_HOST, CONF_USERNAME, CONF_PASSWORD, CONF_SSL, CONF_VERIFY_SSL) -REQUIREMENTS = ['ciscomobilityexpress==0.1.5'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cisco_webex_teams/notify.py b/homeassistant/components/cisco_webex_teams/notify.py index f893d4071b0e6e..f0e290ca7294d0 100644 --- a/homeassistant/components/cisco_webex_teams/notify.py +++ b/homeassistant/components/cisco_webex_teams/notify.py @@ -8,7 +8,7 @@ from homeassistant.const import (CONF_TOKEN) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['webexteamssdk==1.1.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ciscospark/notify.py b/homeassistant/components/ciscospark/notify.py index 2eccb233a3cdd6..58fb4c75013a16 100644 --- a/homeassistant/components/ciscospark/notify.py +++ b/homeassistant/components/ciscospark/notify.py @@ -9,7 +9,7 @@ from homeassistant.components.notify import (ATTR_TITLE, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['ciscosparkapi==0.4.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/clementine/media_player.py b/homeassistant/components/clementine/media_player.py index 65c6be19845faa..faffb51c81a2f0 100644 --- a/homeassistant/components/clementine/media_player.py +++ b/homeassistant/components/clementine/media_player.py @@ -16,7 +16,7 @@ STATE_PAUSED, STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-clementine-remote==1.0.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cloud/__init__.py b/homeassistant/components/cloud/__init__.py index 41045ba1f91265..f4efea2df7fe96 100644 --- a/homeassistant/components/cloud/__init__.py +++ b/homeassistant/components/cloud/__init__.py @@ -24,8 +24,8 @@ CONF_USER_POOL_ID, DOMAIN, MODE_DEV, MODE_PROD) from .prefs import CloudPreferences -REQUIREMENTS = ['hass-nabucasa==0.11'] -DEPENDENCIES = ['http'] + + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cloud/binary_sensor.py b/homeassistant/components/cloud/binary_sensor.py index 19a6528e3218f5..b24a057860a069 100644 --- a/homeassistant/components/cloud/binary_sensor.py +++ b/homeassistant/components/cloud/binary_sensor.py @@ -6,7 +6,7 @@ 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 363e7c5eeb11dd..87fec8e9ff0ae8 100644 --- a/homeassistant/components/cloudflare/__init__.py +++ b/homeassistant/components/cloudflare/__init__.py @@ -8,7 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['pycfdns==0.0.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cmus/media_player.py b/homeassistant/components/cmus/media_player.py index e5134508feaaaa..b5d25d234e3c88 100644 --- a/homeassistant/components/cmus/media_player.py +++ b/homeassistant/components/cmus/media_player.py @@ -14,7 +14,7 @@ STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pycmus==0.1.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/co2signal/sensor.py b/homeassistant/components/co2signal/sensor.py index b9ae5e26ebef20..0b816356ba2fb9 100644 --- a/homeassistant/components/co2signal/sensor.py +++ b/homeassistant/components/co2signal/sensor.py @@ -11,7 +11,7 @@ CONF_COUNTRY_CODE = "country_code" -REQUIREMENTS = ['co2signal==0.4.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/coinbase/__init__.py b/homeassistant/components/coinbase/__init__.py index 40d04eadb3a79e..75dd7a4ef72bc5 100644 --- a/homeassistant/components/coinbase/__init__.py +++ b/homeassistant/components/coinbase/__init__.py @@ -9,7 +9,7 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.util import Throttle -REQUIREMENTS = ['coinbase==2.1.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/coinbase/sensor.py b/homeassistant/components/coinbase/sensor.py index 2483d46b38a095..88f6620b2f83b6 100644 --- a/homeassistant/components/coinbase/sensor.py +++ b/homeassistant/components/coinbase/sensor.py @@ -17,7 +17,7 @@ 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 a39f11b5352a0a..c6102833af5501 100644 --- a/homeassistant/components/coinmarketcap/sensor.py +++ b/homeassistant/components/coinmarketcap/sensor.py @@ -11,7 +11,7 @@ ATTR_ATTRIBUTION, CONF_DISPLAY_CURRENCY) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['coinmarketcap==5.0.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/comfoconnect/__init__.py b/homeassistant/components/comfoconnect/__init__.py index 64ebec18545903..c159b28200d17a 100644 --- a/homeassistant/components/comfoconnect/__init__.py +++ b/homeassistant/components/comfoconnect/__init__.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.dispatcher import dispatcher_send -REQUIREMENTS = ['pycomfoconnect==0.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/comfoconnect/fan.py b/homeassistant/components/comfoconnect/fan.py index 88dcffcfd21485..2187afb49df9a6 100644 --- a/homeassistant/components/comfoconnect/fan.py +++ b/homeassistant/components/comfoconnect/fan.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['comfoconnect'] + SPEED_MAPPING = { 0: SPEED_OFF, diff --git a/homeassistant/components/comfoconnect/sensor.py b/homeassistant/components/comfoconnect/sensor.py index edb96b8d279d3d..65f7c2025e2f95 100644 --- a/homeassistant/components/comfoconnect/sensor.py +++ b/homeassistant/components/comfoconnect/sensor.py @@ -12,7 +12,7 @@ _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 a209fba93edfb3..99e3fbdfd0bc7f 100644 --- a/homeassistant/components/concord232/alarm_control_panel.py +++ b/homeassistant/components/concord232/alarm_control_panel.py @@ -12,7 +12,7 @@ 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__) diff --git a/homeassistant/components/concord232/binary_sensor.py b/homeassistant/components/concord232/binary_sensor.py index c1a31eb9ead989..a3d96c2e7bf93b 100644 --- a/homeassistant/components/concord232/binary_sensor.py +++ b/homeassistant/components/concord232/binary_sensor.py @@ -10,7 +10,7 @@ from homeassistant.const import (CONF_HOST, CONF_PORT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['concord232==0.15'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/config/__init__.py b/homeassistant/components/config/__init__.py index 7807c52737091e..6373226399cfb5 100644 --- a/homeassistant/components/config/__init__.py +++ b/homeassistant/components/config/__init__.py @@ -12,7 +12,7 @@ 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 bb2d692f2490b3..f16ff2f291dfd7 100644 --- a/homeassistant/components/conversation/__init__.py +++ b/homeassistant/components/conversation/__init__.py @@ -21,7 +21,7 @@ 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 77bb9a6b213d29..9fb197152aecaf 100644 --- a/homeassistant/components/coolmaster/climate.py +++ b/homeassistant/components/coolmaster/climate.py @@ -13,7 +13,7 @@ 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 9bb1aacfaf13ea..7fcd47381b8a35 100644 --- a/homeassistant/components/cover/__init__.py +++ b/homeassistant/components/cover/__init__.py @@ -22,7 +22,7 @@ _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 31d8122692a39e..167ea76574a418 100755 --- a/homeassistant/components/cppm_tracker/device_tracker.py +++ b/homeassistant/components/cppm_tracker/device_tracker.py @@ -11,7 +11,7 @@ CONF_HOST, CONF_API_KEY ) -REQUIREMENTS = ['clearpasspy==1.0.2'] + SCAN_INTERVAL = timedelta(seconds=120) diff --git a/homeassistant/components/cpuspeed/sensor.py b/homeassistant/components/cpuspeed/sensor.py index 98d22c20d153b6..30ac7e34ca846e 100644 --- a/homeassistant/components/cpuspeed/sensor.py +++ b/homeassistant/components/cpuspeed/sensor.py @@ -8,7 +8,7 @@ from homeassistant.const import CONF_NAME from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['py-cpuinfo==5.0.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/crimereports/sensor.py b/homeassistant/components/crimereports/sensor.py index 139346755178e9..7895578b2e7f1d 100644 --- a/homeassistant/components/crimereports/sensor.py +++ b/homeassistant/components/crimereports/sensor.py @@ -16,7 +16,7 @@ from homeassistant.util.dt import now import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['crimereports==1.0.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cups/sensor.py b/homeassistant/components/cups/sensor.py index 97f894aed86981..2b1371d093a4e1 100644 --- a/homeassistant/components/cups/sensor.py +++ b/homeassistant/components/cups/sensor.py @@ -10,7 +10,7 @@ from homeassistant.const import CONF_HOST, CONF_PORT from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pycups==1.9.73'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/daikin/__init__.py b/homeassistant/components/daikin/__init__.py index 8e96ccb87388a9..6e21fd919c2dd0 100644 --- a/homeassistant/components/daikin/__init__.py +++ b/homeassistant/components/daikin/__init__.py @@ -17,7 +17,7 @@ from . import config_flow # noqa pylint_disable=unused-import -REQUIREMENTS = ['pydaikin==1.4.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/danfoss_air/__init__.py b/homeassistant/components/danfoss_air/__init__.py index f4a7b92c17cbb9..8b25b134a261b4 100644 --- a/homeassistant/components/danfoss_air/__init__.py +++ b/homeassistant/components/danfoss_air/__init__.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['pydanfossair==0.0.7'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/darksky/sensor.py b/homeassistant/components/darksky/sensor.py index 6aee3457acb381..86b93ea27439a6 100644 --- a/homeassistant/components/darksky/sensor.py +++ b/homeassistant/components/darksky/sensor.py @@ -14,7 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['python-forecastio==1.4.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/darksky/weather.py b/homeassistant/components/darksky/weather.py index 5b3db4312bfb10..4a549750d7be70 100644 --- a/homeassistant/components/darksky/weather.py +++ b/homeassistant/components/darksky/weather.py @@ -16,7 +16,7 @@ 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__) diff --git a/homeassistant/components/datadog/__init__.py b/homeassistant/components/datadog/__init__.py index 3b519514d17b44..b9800c77a385cc 100644 --- a/homeassistant/components/datadog/__init__.py +++ b/homeassistant/components/datadog/__init__.py @@ -9,7 +9,7 @@ from homeassistant.helpers import state as state_helper import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['datadog==0.15.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/deconz/__init__.py b/homeassistant/components/deconz/__init__.py index 807f82821fb293..47aa00a47ac4fb 100644 --- a/homeassistant/components/deconz/__init__.py +++ b/homeassistant/components/deconz/__init__.py @@ -13,7 +13,7 @@ CONF_MASTER_GATEWAY, DEFAULT_PORT, DOMAIN, _LOGGER) from .gateway import DeconzGateway -REQUIREMENTS = ['pydeconz==54'] + CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({ diff --git a/homeassistant/components/deconz/binary_sensor.py b/homeassistant/components/deconz/binary_sensor.py index 70de1fd7cf44ba..f8941d05838857 100644 --- a/homeassistant/components/deconz/binary_sensor.py +++ b/homeassistant/components/deconz/binary_sensor.py @@ -8,7 +8,7 @@ from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] + ATTR_ORIENTATION = 'orientation' ATTR_TILTANGLE = 'tiltangle' diff --git a/homeassistant/components/deconz/climate.py b/homeassistant/components/deconz/climate.py index c4327d3c497fec..4bf1459d75fc0d 100644 --- a/homeassistant/components/deconz/climate.py +++ b/homeassistant/components/deconz/climate.py @@ -11,7 +11,7 @@ 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): diff --git a/homeassistant/components/deconz/cover.py b/homeassistant/components/deconz/cover.py index 903c1160eb8226..cfad5028076a61 100644 --- a/homeassistant/components/deconz/cover.py +++ b/homeassistant/components/deconz/cover.py @@ -9,7 +9,7 @@ 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 b5a2b075f75bdf..135f7cf3867cd9 100644 --- a/homeassistant/components/deconz/light.py +++ b/homeassistant/components/deconz/light.py @@ -12,7 +12,7 @@ from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] + async def async_setup_platform( diff --git a/homeassistant/components/deconz/scene.py b/homeassistant/components/deconz/scene.py index 1ae1e079daa065..5035f5b369354b 100644 --- a/homeassistant/components/deconz/scene.py +++ b/homeassistant/components/deconz/scene.py @@ -6,7 +6,7 @@ from .const import NEW_SCENE from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] + async def async_setup_platform( diff --git a/homeassistant/components/deconz/sensor.py b/homeassistant/components/deconz/sensor.py index 7c3109e1f5961f..63d23a7913d5ae 100644 --- a/homeassistant/components/deconz/sensor.py +++ b/homeassistant/components/deconz/sensor.py @@ -9,7 +9,7 @@ from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] + ATTR_CURRENT = 'current' ATTR_DAYLIGHT = 'daylight' diff --git a/homeassistant/components/deconz/switch.py b/homeassistant/components/deconz/switch.py index b9f959766fc2c2..40826635d677cc 100644 --- a/homeassistant/components/deconz/switch.py +++ b/homeassistant/components/deconz/switch.py @@ -7,7 +7,7 @@ from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] + async def async_setup_platform( diff --git a/homeassistant/components/decora/light.py b/homeassistant/components/decora/light.py index fc8b2859c0712d..090d58fcb1a5ab 100644 --- a/homeassistant/components/decora/light.py +++ b/homeassistant/components/decora/light.py @@ -12,7 +12,7 @@ PLATFORM_SCHEMA) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['decora==0.6', 'bluepy==1.1.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/decora_wifi/light.py b/homeassistant/components/decora_wifi/light.py index b7be6bffb0151a..5d2592b019a198 100644 --- a/homeassistant/components/decora_wifi/light.py +++ b/homeassistant/components/decora_wifi/light.py @@ -12,7 +12,7 @@ EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['decora_wifi==1.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/deluge/sensor.py b/homeassistant/components/deluge/sensor.py index 32b1c16a47c783..5665a409d8c0bd 100644 --- a/homeassistant/components/deluge/sensor.py +++ b/homeassistant/components/deluge/sensor.py @@ -11,7 +11,7 @@ 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 d7c60bd96e2932..52db97dd7085a3 100644 --- a/homeassistant/components/deluge/switch.py +++ b/homeassistant/components/deluge/switch.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import ToggleEntity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['deluge-client==1.4.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/demo/__init__.py b/homeassistant/components/demo/__init__.py index 354f0c0e37541a..698ca1aba1a49e 100644 --- a/homeassistant/components/demo/__init__.py +++ b/homeassistant/components/demo/__init__.py @@ -7,7 +7,7 @@ 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 0adafe4f472e2e..c94c812b0a17bd 100644 --- a/homeassistant/components/denonavr/media_player.py +++ b/homeassistant/components/denonavr/media_player.py @@ -18,7 +18,7 @@ STATE_PAUSED, STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['denonavr==0.7.8'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/deutsche_bahn/sensor.py b/homeassistant/components/deutsche_bahn/sensor.py index 41584b2561fb9d..e308e935ad1b15 100644 --- a/homeassistant/components/deutsche_bahn/sensor.py +++ b/homeassistant/components/deutsche_bahn/sensor.py @@ -9,7 +9,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.util.dt as dt_util -REQUIREMENTS = ['schiene==0.23'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/device_sun_light_trigger/__init__.py b/homeassistant/components/device_sun_light_trigger/__init__.py index 00adefc6b5c31f..696584275e7ced 100644 --- a/homeassistant/components/device_sun_light_trigger/__init__.py +++ b/homeassistant/components/device_sun_light_trigger/__init__.py @@ -17,7 +17,7 @@ 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' diff --git a/homeassistant/components/device_tracker/__init__.py b/homeassistant/components/device_tracker/__init__.py index 42d301721dad47..a85113f0832bd4 100644 --- a/homeassistant/components/device_tracker/__init__.py +++ b/homeassistant/components/device_tracker/__init__.py @@ -35,7 +35,7 @@ _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 719c2525f0a985..1c9478a3fd3709 100644 --- a/homeassistant/components/dht/sensor.py +++ b/homeassistant/components/dht/sensor.py @@ -12,7 +12,7 @@ from homeassistant.util import Throttle from homeassistant.util.temperature import celsius_to_fahrenheit -REQUIREMENTS = ['Adafruit-DHT==1.4.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dialogflow/__init__.py b/homeassistant/components/dialogflow/__init__.py index 1536fe3d2362ca..00a9dd5242b3e3 100644 --- a/homeassistant/components/dialogflow/__init__.py +++ b/homeassistant/components/dialogflow/__init__.py @@ -10,7 +10,7 @@ _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 7975a6eea0d69c..2a024ba69e3482 100644 --- a/homeassistant/components/digital_ocean/__init__.py +++ b/homeassistant/components/digital_ocean/__init__.py @@ -8,7 +8,7 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-digitalocean==1.13.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/digital_ocean/binary_sensor.py b/homeassistant/components/digital_ocean/binary_sensor.py index d496a09161b91d..69b4432f441e0e 100644 --- a/homeassistant/components/digital_ocean/binary_sensor.py +++ b/homeassistant/components/digital_ocean/binary_sensor.py @@ -17,7 +17,7 @@ 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 bc4a6a29b42064..4285e4081265b7 100644 --- a/homeassistant/components/digital_ocean/switch.py +++ b/homeassistant/components/digital_ocean/switch.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['digital_ocean'] + DEFAULT_NAME = 'Droplet' diff --git a/homeassistant/components/digitalloggers/switch.py b/homeassistant/components/digitalloggers/switch.py index 89973cfad0c828..7f6b3bf185ef4b 100644 --- a/homeassistant/components/digitalloggers/switch.py +++ b/homeassistant/components/digitalloggers/switch.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['dlipower==0.7.165'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/directv/media_player.py b/homeassistant/components/directv/media_player.py index 3a30282bdf49be..59a4bd18d236e2 100644 --- a/homeassistant/components/directv/media_player.py +++ b/homeassistant/components/directv/media_player.py @@ -15,7 +15,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['directpy==0.5'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/discogs/sensor.py b/homeassistant/components/discogs/sensor.py index f8d66688b4ff65..da40d2d3b72bed 100644 --- a/homeassistant/components/discogs/sensor.py +++ b/homeassistant/components/discogs/sensor.py @@ -12,7 +12,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['discogs_client==2.2.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/discord/notify.py b/homeassistant/components/discord/notify.py index cb6fc8329c66b5..ebe676d3317533 100644 --- a/homeassistant/components/discord/notify.py +++ b/homeassistant/components/discord/notify.py @@ -12,7 +12,7 @@ _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 8e3a350c5ca1b0..a5212a6f107efa 100644 --- a/homeassistant/components/discovery/__init__.py +++ b/homeassistant/components/discovery/__init__.py @@ -20,7 +20,7 @@ from homeassistant.helpers.discovery import async_load_platform, async_discover import homeassistant.util.dt as dt_util -REQUIREMENTS = ['netdisco==2.6.0'] + DOMAIN = 'discovery' diff --git a/homeassistant/components/dlib_face_detect/image_processing.py b/homeassistant/components/dlib_face_detect/image_processing.py index 49fbfadff7e779..0d4b37b4a15965 100644 --- a/homeassistant/components/dlib_face_detect/image_processing.py +++ b/homeassistant/components/dlib_face_detect/image_processing.py @@ -8,7 +8,7 @@ from homeassistant.components.image_processing import ( ImageProcessingFaceEntity, CONF_SOURCE, CONF_ENTITY_ID, CONF_NAME) -REQUIREMENTS = ['face_recognition==1.2.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dlib_face_identify/image_processing.py b/homeassistant/components/dlib_face_identify/image_processing.py index a3b91235125e43..6ad90893723c4c 100644 --- a/homeassistant/components/dlib_face_identify/image_processing.py +++ b/homeassistant/components/dlib_face_identify/image_processing.py @@ -10,7 +10,7 @@ CONF_NAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['face_recognition==1.2.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dlink/switch.py b/homeassistant/components/dlink/switch.py index 812fd3882b311b..8c0a0ad0b8ff5d 100644 --- a/homeassistant/components/dlink/switch.py +++ b/homeassistant/components/dlink/switch.py @@ -12,7 +12,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import dt as dt_util -REQUIREMENTS = ['pyW215==0.6.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dlna_dmr/media_player.py b/homeassistant/components/dlna_dmr/media_player.py index 54c19f70ef324d..8b68eaa372397e 100644 --- a/homeassistant/components/dlna_dmr/media_player.py +++ b/homeassistant/components/dlna_dmr/media_player.py @@ -27,7 +27,7 @@ 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__) diff --git a/homeassistant/components/dnsip/sensor.py b/homeassistant/components/dnsip/sensor.py index 13c9be7bb14fb5..04391d0aeface5 100644 --- a/homeassistant/components/dnsip/sensor.py +++ b/homeassistant/components/dnsip/sensor.py @@ -8,7 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['aiodns==1.1.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dominos/__init__.py b/homeassistant/components/dominos/__init__.py index 1c8966f3b4b5d9..9a3aa02afdf048 100644 --- a/homeassistant/components/dominos/__init__.py +++ b/homeassistant/components/dominos/__init__.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity_component import EntityComponent from homeassistant.util import Throttle -REQUIREMENTS = ['pizzapi==0.0.3'] + _LOGGER = logging.getLogger(__name__) @@ -34,7 +34,7 @@ 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, diff --git a/homeassistant/components/doorbird/__init__.py b/homeassistant/components/doorbird/__init__.py index 25a2c5caff91d9..15bf0bbaead0ae 100644 --- a/homeassistant/components/doorbird/__init__.py +++ b/homeassistant/components/doorbird/__init__.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/doorbird/camera.py b/homeassistant/components/doorbird/camera.py index a93b0fbf1948cb..89cc5211f045a1 100644 --- a/homeassistant/components/doorbird/camera.py +++ b/homeassistant/components/doorbird/camera.py @@ -11,7 +11,7 @@ from . import DOMAIN as DOORBIRD_DOMAIN -DEPENDENCIES = ['doorbird'] + _CAMERA_LAST_VISITOR = "{} Last Ring" _CAMERA_LAST_MOTION = "{} Last Motion" diff --git a/homeassistant/components/doorbird/switch.py b/homeassistant/components/doorbird/switch.py index ba6f96660d1b2d..be1de1cc8530d5 100644 --- a/homeassistant/components/doorbird/switch.py +++ b/homeassistant/components/doorbird/switch.py @@ -6,7 +6,7 @@ from . import DOMAIN as DOORBIRD_DOMAIN -DEPENDENCIES = ['doorbird'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dovado/__init__.py b/homeassistant/components/dovado/__init__.py index df2eed3011a873..496e0ef676dc24 100644 --- a/homeassistant/components/dovado/__init__.py +++ b/homeassistant/components/dovado/__init__.py @@ -12,7 +12,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['dovado==0.4.1'] + DOMAIN = 'dovado' diff --git a/homeassistant/components/dovado/notify.py b/homeassistant/components/dovado/notify.py index 59827529ed3ad5..df1269e3b97df9 100644 --- a/homeassistant/components/dovado/notify.py +++ b/homeassistant/components/dovado/notify.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['dovado'] + def get_service(hass, config, discovery_info=None): diff --git a/homeassistant/components/dovado/sensor.py b/homeassistant/components/dovado/sensor.py index 56c4ee03a3ada9..558e9cc32165e1 100644 --- a/homeassistant/components/dovado/sensor.py +++ b/homeassistant/components/dovado/sensor.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['dovado'] + MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=30) diff --git a/homeassistant/components/dsmr/sensor.py b/homeassistant/components/dsmr/sensor.py index 74f6cb37fc2ebc..c93b83c4ec3992 100644 --- a/homeassistant/components/dsmr/sensor.py +++ b/homeassistant/components/dsmr/sensor.py @@ -15,7 +15,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['dsmr_parser==0.12'] + CONF_DSMR_VERSION = 'dsmr_version' CONF_RECONNECT_INTERVAL = 'reconnect_interval' diff --git a/homeassistant/components/duke_energy/sensor.py b/homeassistant/components/duke_energy/sensor.py index 9aada34841880a..5b8b51a6955fe4 100644 --- a/homeassistant/components/duke_energy/sensor.py +++ b/homeassistant/components/duke_energy/sensor.py @@ -8,7 +8,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pydukeenergy==0.0.6'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dunehd/media_player.py b/homeassistant/components/dunehd/media_player.py index 70d96424ced97e..62a4326707174d 100644 --- a/homeassistant/components/dunehd/media_player.py +++ b/homeassistant/components/dunehd/media_player.py @@ -11,7 +11,7 @@ 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' diff --git a/homeassistant/components/dweet/__init__.py b/homeassistant/components/dweet/__init__.py index f8e5b1811632e4..4b3716020dc708 100644 --- a/homeassistant/components/dweet/__init__.py +++ b/homeassistant/components/dweet/__init__.py @@ -10,7 +10,7 @@ from homeassistant.helpers import state as state_helper from homeassistant.util import Throttle -REQUIREMENTS = ['dweepy==0.3.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dweet/sensor.py b/homeassistant/components/dweet/sensor.py index d1a64201e6dc48..73273a0200fd7d 100644 --- a/homeassistant/components/dweet/sensor.py +++ b/homeassistant/components/dweet/sensor.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/dyson/__init__.py b/homeassistant/components/dyson/__init__.py index eccf8aac364c04..04dbcbc4bb7eee 100644 --- a/homeassistant/components/dyson/__init__.py +++ b/homeassistant/components/dyson/__init__.py @@ -8,7 +8,7 @@ CONF_DEVICES, CONF_PASSWORD, CONF_TIMEOUT, CONF_USERNAME) from homeassistant.helpers import discovery -REQUIREMENTS = ['libpurecool==0.5.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dyson/fan.py b/homeassistant/components/dyson/fan.py index 0140378968b60b..dd49ca4522d1ac 100644 --- a/homeassistant/components/dyson/fan.py +++ b/homeassistant/components/dyson/fan.py @@ -27,7 +27,7 @@ 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 2c7a71f5724847..09a2fd4478c8d4 100644 --- a/homeassistant/components/dyson/sensor.py +++ b/homeassistant/components/dyson/sensor.py @@ -6,7 +6,7 @@ from . import DYSON_DEVICES -DEPENDENCIES = ['dyson'] + SENSOR_UNITS = { 'air_quality': None, diff --git a/homeassistant/components/dyson/vacuum.py b/homeassistant/components/dyson/vacuum.py index f1822b4043b461..7f800a0d8fe6de 100644 --- a/homeassistant/components/dyson/vacuum.py +++ b/homeassistant/components/dyson/vacuum.py @@ -15,7 +15,7 @@ ATTR_FULL_CLEAN_TYPE = 'full_clean_type' ATTR_POSITION = 'position' -DEPENDENCIES = ['dyson'] + DYSON_360_EYE_DEVICES = "dyson_360_eye_devices" diff --git a/homeassistant/components/ebox/sensor.py b/homeassistant/components/ebox/sensor.py index 24458e444dc7a9..9ce475c64f118e 100644 --- a/homeassistant/components/ebox/sensor.py +++ b/homeassistant/components/ebox/sensor.py @@ -21,7 +21,7 @@ from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['pyebox==1.1.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ebusd/__init__.py b/homeassistant/components/ebusd/__init__.py index bc1b3aa9595f9b..797a8a5cb20f04 100644 --- a/homeassistant/components/ebusd/__init__.py +++ b/homeassistant/components/ebusd/__init__.py @@ -13,7 +13,7 @@ from .const import (DOMAIN, SENSOR_TYPES) -REQUIREMENTS = ['ebusdpy==0.0.16'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ebusd/sensor.py b/homeassistant/components/ebusd/sensor.py index 942ba107509a94..75e7237f09bf73 100644 --- a/homeassistant/components/ebusd/sensor.py +++ b/homeassistant/components/ebusd/sensor.py @@ -6,7 +6,7 @@ from .const import DOMAIN -DEPENDENCIES = ['ebusd'] + TIME_FRAME1_BEGIN = 'time_frame1_begin' TIME_FRAME1_END = 'time_frame1_end' diff --git a/homeassistant/components/ecoal_boiler/__init__.py b/homeassistant/components/ecoal_boiler/__init__.py index 6ab9fc3181cb9c..18bb8171debd62 100644 --- a/homeassistant/components/ecoal_boiler/__init__.py +++ b/homeassistant/components/ecoal_boiler/__init__.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform -REQUIREMENTS = ['ecoaliface==0.4.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ecoal_boiler/sensor.py b/homeassistant/components/ecoal_boiler/sensor.py index ef8b39842d9a0f..deb9248569f448 100644 --- a/homeassistant/components/ecoal_boiler/sensor.py +++ b/homeassistant/components/ecoal_boiler/sensor.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ecoal_boiler'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/ecoal_boiler/switch.py b/homeassistant/components/ecoal_boiler/switch.py index db8759a032acc9..0221cc65f201f5 100644 --- a/homeassistant/components/ecoal_boiler/switch.py +++ b/homeassistant/components/ecoal_boiler/switch.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ecoal_boiler'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/ecobee/__init__.py b/homeassistant/components/ecobee/__init__.py index 167132a5f41f16..ef032b3cb3eb7c 100644 --- a/homeassistant/components/ecobee/__init__.py +++ b/homeassistant/components/ecobee/__init__.py @@ -11,7 +11,7 @@ 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 ca8e551bf5e6f2..db69197f16e938 100644 --- a/homeassistant/components/ecobee/binary_sensor.py +++ b/homeassistant/components/ecobee/binary_sensor.py @@ -2,7 +2,7 @@ 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 44a3800afa958f..e49879f3baec71 100644 --- a/homeassistant/components/ecobee/climate.py +++ b/homeassistant/components/ecobee/climate.py @@ -27,7 +27,7 @@ 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 9824d20b85e98e..c2d4f753cc7aa8 100644 --- a/homeassistant/components/ecobee/notify.py +++ b/homeassistant/components/ecobee/notify.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ecobee'] + CONF_INDEX = 'index' diff --git a/homeassistant/components/ecobee/sensor.py b/homeassistant/components/ecobee/sensor.py index 1f9fd5cbde8548..bac1e6a441da43 100644 --- a/homeassistant/components/ecobee/sensor.py +++ b/homeassistant/components/ecobee/sensor.py @@ -4,7 +4,7 @@ DEVICE_CLASS_HUMIDITY, DEVICE_CLASS_TEMPERATURE, TEMP_FAHRENHEIT) from homeassistant.helpers.entity import Entity -DEPENDENCIES = ['ecobee'] + ECOBEE_CONFIG_FILE = 'ecobee.conf' diff --git a/homeassistant/components/ecobee/weather.py b/homeassistant/components/ecobee/weather.py index 2ba5f362b7d829..9eda034e6501a6 100644 --- a/homeassistant/components/ecobee/weather.py +++ b/homeassistant/components/ecobee/weather.py @@ -7,7 +7,7 @@ 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' diff --git a/homeassistant/components/econet/water_heater.py b/homeassistant/components/econet/water_heater.py index 90176842bf1175..bdb63beca21d54 100644 --- a/homeassistant/components/econet/water_heater.py +++ b/homeassistant/components/econet/water_heater.py @@ -13,7 +13,7 @@ TEMP_FAHRENHEIT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyeconet==0.0.10'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ecovacs/__init__.py b/homeassistant/components/ecovacs/__init__.py index 124cae3ca47191..8f438ca5df5478 100644 --- a/homeassistant/components/ecovacs/__init__.py +++ b/homeassistant/components/ecovacs/__init__.py @@ -10,7 +10,7 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['sucks==0.9.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ecovacs/vacuum.py b/homeassistant/components/ecovacs/vacuum.py index b9fe94f2bed0cb..97f9ad79e038d8 100644 --- a/homeassistant/components/ecovacs/vacuum.py +++ b/homeassistant/components/ecovacs/vacuum.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ecovacs'] + SUPPORT_ECOVACS = ( SUPPORT_BATTERY | SUPPORT_RETURN_HOME | SUPPORT_CLEAN_SPOT | diff --git a/homeassistant/components/eddystone_temperature/sensor.py b/homeassistant/components/eddystone_temperature/sensor.py index ae3d498d30c0d9..605e8b4cf1cf3e 100644 --- a/homeassistant/components/eddystone_temperature/sensor.py +++ b/homeassistant/components/eddystone_temperature/sensor.py @@ -18,7 +18,7 @@ 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__) diff --git a/homeassistant/components/edimax/switch.py b/homeassistant/components/edimax/switch.py index 338e6ac932cc4b..f1a81a3a04f999 100644 --- a/homeassistant/components/edimax/switch.py +++ b/homeassistant/components/edimax/switch.py @@ -8,7 +8,7 @@ CONF_HOST, CONF_NAME, CONF_PASSWORD, CONF_USERNAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyedimax==0.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/edp_redy/__init__.py b/homeassistant/components/edp_redy/__init__.py index 9b8bfaa437a12d..b6de302c7afb94 100644 --- a/homeassistant/components/edp_redy/__init__.py +++ b/homeassistant/components/edp_redy/__init__.py @@ -20,7 +20,7 @@ DATA_UPDATE_TOPIC = '{0}_data_update'.format(DOMAIN) UPDATE_INTERVAL = 60 -REQUIREMENTS = ['edp_redy==0.0.3'] + CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({ diff --git a/homeassistant/components/edp_redy/sensor.py b/homeassistant/components/edp_redy/sensor.py index b8f9c031c298c9..83de7a5ce8dea2 100644 --- a/homeassistant/components/edp_redy/sensor.py +++ b/homeassistant/components/edp_redy/sensor.py @@ -8,7 +8,7 @@ _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 0c92f80ccf6366..67b5dbeb4d5561 100644 --- a/homeassistant/components/edp_redy/switch.py +++ b/homeassistant/components/edp_redy/switch.py @@ -7,7 +7,7 @@ _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 46e4a3c3c24307..b39d07085532cb 100644 --- a/homeassistant/components/ee_brightbox/device_tracker.py +++ b/homeassistant/components/ee_brightbox/device_tracker.py @@ -8,7 +8,7 @@ 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__) diff --git a/homeassistant/components/egardia/__init__.py b/homeassistant/components/egardia/__init__.py index fe613824c9512d..20ac192a8431ae 100644 --- a/homeassistant/components/egardia/__init__.py +++ b/homeassistant/components/egardia/__init__.py @@ -10,7 +10,7 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pythonegardia==1.0.39'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/egardia/alarm_control_panel.py b/homeassistant/components/egardia/alarm_control_panel.py index 7fc60d5fb5db6e..9db8fa2e5f896b 100644 --- a/homeassistant/components/egardia/alarm_control_panel.py +++ b/homeassistant/components/egardia/alarm_control_panel.py @@ -13,7 +13,7 @@ CONF_REPORT_SERVER_PORT, EGARDIA_DEVICE, EGARDIA_SERVER, REPORT_SERVER_CODES_IGNORE) -DEPENDENCIES = ['egardia'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/egardia/binary_sensor.py b/homeassistant/components/egardia/binary_sensor.py index d11894ae675666..e1b0d42626bb26 100644 --- a/homeassistant/components/egardia/binary_sensor.py +++ b/homeassistant/components/egardia/binary_sensor.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['egardia'] + EGARDIA_TYPE_TO_DEVICE_CLASS = { 'IR Sensor': 'motion', diff --git a/homeassistant/components/eight_sleep/__init__.py b/homeassistant/components/eight_sleep/__init__.py index ca6c8a5a5c6070..f19338d9c2f401 100644 --- a/homeassistant/components/eight_sleep/__init__.py +++ b/homeassistant/components/eight_sleep/__init__.py @@ -16,7 +16,7 @@ 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__) diff --git a/homeassistant/components/eight_sleep/binary_sensor.py b/homeassistant/components/eight_sleep/binary_sensor.py index a3ca27b570de0c..97d658bb6d79a8 100644 --- a/homeassistant/components/eight_sleep/binary_sensor.py +++ b/homeassistant/components/eight_sleep/binary_sensor.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['eight_sleep'] + async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/eight_sleep/sensor.py b/homeassistant/components/eight_sleep/sensor.py index a1ad93ec54a3f3..c41dde3caf1f60 100644 --- a/homeassistant/components/eight_sleep/sensor.py +++ b/homeassistant/components/eight_sleep/sensor.py @@ -5,7 +5,7 @@ CONF_SENSORS, DATA_EIGHT, NAME_MAP, EightSleepHeatEntity, EightSleepUserEntity) -DEPENDENCIES = ['eight_sleep'] + ATTR_ROOM_TEMP = 'Room Temperature' ATTR_AVG_ROOM_TEMP = 'Average Room Temperature' diff --git a/homeassistant/components/eliqonline/sensor.py b/homeassistant/components/eliqonline/sensor.py index 198ca327997808..a1aa5d56bdc10b 100644 --- a/homeassistant/components/eliqonline/sensor.py +++ b/homeassistant/components/eliqonline/sensor.py @@ -10,7 +10,7 @@ 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__) diff --git a/homeassistant/components/elkm1/__init__.py b/homeassistant/components/elkm1/__init__.py index a0c08bf54299f5..12c6dfcf6aa8f0 100644 --- a/homeassistant/components/elkm1/__init__.py +++ b/homeassistant/components/elkm1/__init__.py @@ -12,7 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.typing import ConfigType # noqa -REQUIREMENTS = ['elkm1-lib==0.7.13'] + DOMAIN = 'elkm1' diff --git a/homeassistant/components/elkm1/alarm_control_panel.py b/homeassistant/components/elkm1/alarm_control_panel.py index e9155dd17b5bf7..a2f45aa2c2e369 100644 --- a/homeassistant/components/elkm1/alarm_control_panel.py +++ b/homeassistant/components/elkm1/alarm_control_panel.py @@ -12,7 +12,7 @@ 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 93e4aa66b23494..7ad5c72b1d58e9 100644 --- a/homeassistant/components/elkm1/climate.py +++ b/homeassistant/components/elkm1/climate.py @@ -9,7 +9,7 @@ from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities -DEPENDENCIES = [ELK_DOMAIN] + async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/elkm1/light.py b/homeassistant/components/elkm1/light.py index fe84ab3f251895..1c908672aa9973 100644 --- a/homeassistant/components/elkm1/light.py +++ b/homeassistant/components/elkm1/light.py @@ -4,7 +4,7 @@ from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities -DEPENDENCIES = [ELK_DOMAIN] + async def async_setup_platform( diff --git a/homeassistant/components/elkm1/scene.py b/homeassistant/components/elkm1/scene.py index 1d08f4cf96d5f1..671c0056d69cf4 100644 --- a/homeassistant/components/elkm1/scene.py +++ b/homeassistant/components/elkm1/scene.py @@ -3,7 +3,7 @@ from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities -DEPENDENCIES = [ELK_DOMAIN] + async def async_setup_platform( diff --git a/homeassistant/components/elkm1/sensor.py b/homeassistant/components/elkm1/sensor.py index da27a3ac4b105d..4ce93ab1295d0f 100644 --- a/homeassistant/components/elkm1/sensor.py +++ b/homeassistant/components/elkm1/sensor.py @@ -1,7 +1,7 @@ """Support for control of ElkM1 sensors.""" from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities -DEPENDENCIES = [ELK_DOMAIN] + async def async_setup_platform( diff --git a/homeassistant/components/elkm1/switch.py b/homeassistant/components/elkm1/switch.py index 740a296586502f..050999fa9733c5 100644 --- a/homeassistant/components/elkm1/switch.py +++ b/homeassistant/components/elkm1/switch.py @@ -3,7 +3,7 @@ from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities -DEPENDENCIES = [ELK_DOMAIN] + async def async_setup_platform( diff --git a/homeassistant/components/emby/media_player.py b/homeassistant/components/emby/media_player.py index 8a94664f352cbe..f84b1013e7b449 100644 --- a/homeassistant/components/emby/media_player.py +++ b/homeassistant/components/emby/media_player.py @@ -17,7 +17,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pyemby==1.6'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/emulated_roku/__init__.py b/homeassistant/components/emulated_roku/__init__.py index ef87e14ec434bf..19550de7f6802d 100644 --- a/homeassistant/components/emulated_roku/__init__.py +++ b/homeassistant/components/emulated_roku/__init__.py @@ -11,7 +11,7 @@ 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, diff --git a/homeassistant/components/enigma2/media_player.py b/homeassistant/components/enigma2/media_player.py index 11c3e0fe3ceab4..2fb3c270f4c0fe 100644 --- a/homeassistant/components/enigma2/media_player.py +++ b/homeassistant/components/enigma2/media_player.py @@ -14,7 +14,7 @@ STATE_OFF, STATE_ON, STATE_PLAYING, CONF_PORT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['openwebifpy==3.1.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/enocean/__init__.py b/homeassistant/components/enocean/__init__.py index 8b3c27025cd26e..818a9ac14dfee2 100644 --- a/homeassistant/components/enocean/__init__.py +++ b/homeassistant/components/enocean/__init__.py @@ -6,7 +6,7 @@ from homeassistant.const import CONF_DEVICE import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['enocean==0.40'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/enocean/binary_sensor.py b/homeassistant/components/enocean/binary_sensor.py index 1fde8c79e401dd..e87433101cda97 100644 --- a/homeassistant/components/enocean/binary_sensor.py +++ b/homeassistant/components/enocean/binary_sensor.py @@ -12,7 +12,7 @@ _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 f574f89f951f77..5dfac6f98b08dc 100644 --- a/homeassistant/components/enocean/light.py +++ b/homeassistant/components/enocean/light.py @@ -15,7 +15,7 @@ CONF_SENDER_ID = 'sender_id' DEFAULT_NAME = 'EnOcean Light' -DEPENDENCIES = ['enocean'] + SUPPORT_ENOCEAN = SUPPORT_BRIGHTNESS diff --git a/homeassistant/components/enocean/sensor.py b/homeassistant/components/enocean/sensor.py index 8d79de2c50d700..3b9b250f944c59 100644 --- a/homeassistant/components/enocean/sensor.py +++ b/homeassistant/components/enocean/sensor.py @@ -12,7 +12,7 @@ _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)]), diff --git a/homeassistant/components/enocean/switch.py b/homeassistant/components/enocean/switch.py index 4dfbafd36b16f6..a86bd6af22086f 100644 --- a/homeassistant/components/enocean/switch.py +++ b/homeassistant/components/enocean/switch.py @@ -12,7 +12,7 @@ _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 2b62732dc9106f..2c478fd4135033 100644 --- a/homeassistant/components/enphase_envoy/sensor.py +++ b/homeassistant/components/enphase_envoy/sensor.py @@ -10,7 +10,7 @@ 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 b2e228676902f3..8386afd07cc13a 100644 --- a/homeassistant/components/entur_public_transport/sensor.py +++ b/homeassistant/components/entur_public_transport/sensor.py @@ -14,7 +14,7 @@ from homeassistant.util import Throttle import homeassistant.util.dt as dt_util -REQUIREMENTS = ['enturclient==0.2.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/envisalink/__init__.py b/homeassistant/components/envisalink/__init__.py index c46a26c6f857f3..9bd1f971a46462 100644 --- a/homeassistant/components/envisalink/__init__.py +++ b/homeassistant/components/envisalink/__init__.py @@ -12,7 +12,7 @@ from homeassistant.helpers.discovery import async_load_platform from homeassistant.helpers.dispatcher import async_dispatcher_send -REQUIREMENTS = ['pyenvisalink==3.8'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/envisalink/alarm_control_panel.py b/homeassistant/components/envisalink/alarm_control_panel.py index 44874c6d5e8445..2d191f5958a647 100644 --- a/homeassistant/components/envisalink/alarm_control_panel.py +++ b/homeassistant/components/envisalink/alarm_control_panel.py @@ -18,7 +18,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['envisalink'] + SERVICE_ALARM_KEYPRESS = 'envisalink_alarm_keypress' ATTR_KEYPRESS = 'keypress' diff --git a/homeassistant/components/envisalink/binary_sensor.py b/homeassistant/components/envisalink/binary_sensor.py index 267bba8cd288ee..fbd2b1093a54ba 100644 --- a/homeassistant/components/envisalink/binary_sensor.py +++ b/homeassistant/components/envisalink/binary_sensor.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['envisalink'] + async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/envisalink/sensor.py b/homeassistant/components/envisalink/sensor.py index 67a601b02a2ff5..a1806d02ffc146 100644 --- a/homeassistant/components/envisalink/sensor.py +++ b/homeassistant/components/envisalink/sensor.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['envisalink'] + async def async_setup_platform( diff --git a/homeassistant/components/ephember/climate.py b/homeassistant/components/ephember/climate.py index 3052dd911ee5de..f2a37460fa1356 100644 --- a/homeassistant/components/ephember/climate.py +++ b/homeassistant/components/ephember/climate.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/epson/media_player.py b/homeassistant/components/epson/media_player.py index 57bd18e0ee0e50..b25a4b8d1b924e 100644 --- a/homeassistant/components/epson/media_player.py +++ b/homeassistant/components/epson/media_player.py @@ -15,7 +15,7 @@ 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__) diff --git a/homeassistant/components/eq3btsmart/climate.py b/homeassistant/components/eq3btsmart/climate.py index f02bd2bc9a55e2..c081bdf4456165 100644 --- a/homeassistant/components/eq3btsmart/climate.py +++ b/homeassistant/components/eq3btsmart/climate.py @@ -13,7 +13,7 @@ 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__) diff --git a/homeassistant/components/esphome/__init__.py b/homeassistant/components/esphome/__init__.py index 9e6f6367cda4fd..98fdd41a38807d 100644 --- a/homeassistant/components/esphome/__init__.py +++ b/homeassistant/components/esphome/__init__.py @@ -32,7 +32,7 @@ ServiceCall, UserService DOMAIN = 'esphome' -REQUIREMENTS = ['aioesphomeapi==2.0.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/esphome/binary_sensor.py b/homeassistant/components/esphome/binary_sensor.py index 2db2f209fa5ac9..013ffb71ccb832 100644 --- a/homeassistant/components/esphome/binary_sensor.py +++ b/homeassistant/components/esphome/binary_sensor.py @@ -10,7 +10,7 @@ # 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 319a2c2a4d9150..5ea25f7615a709 100644 --- a/homeassistant/components/esphome/camera.py +++ b/homeassistant/components/esphome/camera.py @@ -13,7 +13,7 @@ # 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 e3cd9e488bf60d..d25957c0154dc8 100644 --- a/homeassistant/components/esphome/climate.py +++ b/homeassistant/components/esphome/climate.py @@ -19,7 +19,7 @@ # 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 68eb4221a931c9..7e3844ee42b6de 100644 --- a/homeassistant/components/esphome/cover.py +++ b/homeassistant/components/esphome/cover.py @@ -15,7 +15,7 @@ # 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 973fa85774c0a9..64e40c656fc9fb 100644 --- a/homeassistant/components/esphome/fan.py +++ b/homeassistant/components/esphome/fan.py @@ -14,7 +14,7 @@ # 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 c84c50010d9482..35ba121f27d44d 100644 --- a/homeassistant/components/esphome/light.py +++ b/homeassistant/components/esphome/light.py @@ -17,7 +17,7 @@ # 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 e4fb7ef82baf85..af54c52a29a010 100644 --- a/homeassistant/components/esphome/sensor.py +++ b/homeassistant/components/esphome/sensor.py @@ -13,7 +13,7 @@ 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 e736c1df2097f1..11ad0cde157a4a 100644 --- a/homeassistant/components/esphome/switch.py +++ b/homeassistant/components/esphome/switch.py @@ -12,7 +12,7 @@ # 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 082295bfea5479..a442314eb2d191 100644 --- a/homeassistant/components/etherscan/sensor.py +++ b/homeassistant/components/etherscan/sensor.py @@ -9,7 +9,7 @@ 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" diff --git a/homeassistant/components/eufy/__init__.py b/homeassistant/components/eufy/__init__.py index b0bd9109363e39..d38431444631d0 100644 --- a/homeassistant/components/eufy/__init__.py +++ b/homeassistant/components/eufy/__init__.py @@ -9,7 +9,7 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['lakeside==0.12'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/eufy/light.py b/homeassistant/components/eufy/light.py index 62bc058f1555a8..5b596611cfd214 100644 --- a/homeassistant/components/eufy/light.py +++ b/homeassistant/components/eufy/light.py @@ -11,7 +11,7 @@ color_temperature_mired_to_kelvin as mired_to_kelvin, color_temperature_kelvin_to_mired as kelvin_to_mired) -DEPENDENCIES = ['eufy'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/eufy/switch.py b/homeassistant/components/eufy/switch.py index 96d68194107217..722ceaeac5b362 100644 --- a/homeassistant/components/eufy/switch.py +++ b/homeassistant/components/eufy/switch.py @@ -3,7 +3,7 @@ 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 a628f25ea288f0..9e411912600b31 100644 --- a/homeassistant/components/everlights/light.py +++ b/homeassistant/components/everlights/light.py @@ -15,7 +15,7 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['pyeverlights==0.1.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/evohome/__init__.py b/homeassistant/components/evohome/__init__.py index 87a563ecd6d07f..74b16757452f80 100644 --- a/homeassistant/components/evohome/__init__.py +++ b/homeassistant/components/evohome/__init__.py @@ -19,7 +19,7 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.dispatcher import async_dispatcher_send -REQUIREMENTS = ['evohomeclient==0.3.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/familyhub/camera.py b/homeassistant/components/familyhub/camera.py index 18aa969132da79..1fdc5c6ff3af46 100644 --- a/homeassistant/components/familyhub/camera.py +++ b/homeassistant/components/familyhub/camera.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['python-family-hub-local==0.0.2'] + DEFAULT_NAME = 'FamilyHub Camera' diff --git a/homeassistant/components/fan/__init__.py b/homeassistant/components/fan/__init__.py index e67ba390a98e53..e4d2c1eb504ef1 100644 --- a/homeassistant/components/fan/__init__.py +++ b/homeassistant/components/fan/__init__.py @@ -18,7 +18,7 @@ _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 973cc8e36597f1..ec8c359963b083 100644 --- a/homeassistant/components/fastdotcom/__init__.py +++ b/homeassistant/components/fastdotcom/__init__.py @@ -10,7 +10,7 @@ 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 37fc0815ddcd93..54923cd7f092c4 100644 --- a/homeassistant/components/fastdotcom/sensor.py +++ b/homeassistant/components/fastdotcom/sensor.py @@ -7,7 +7,7 @@ from . import DATA_UPDATED, DOMAIN as FASTDOTCOM_DOMAIN -DEPENDENCIES = ['fastdotcom'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fedex/sensor.py b/homeassistant/components/fedex/sensor.py index 74ad4f7d0e53c4..09f474be7cad97 100644 --- a/homeassistant/components/fedex/sensor.py +++ b/homeassistant/components/fedex/sensor.py @@ -14,7 +14,7 @@ from homeassistant.util import slugify from homeassistant.util.dt import now, parse_date -REQUIREMENTS = ['fedexdeliverymanager==1.0.6'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/feedreader/__init__.py b/homeassistant/components/feedreader/__init__.py index 86744bfd39c771..9396d88b2d5035 100644 --- a/homeassistant/components/feedreader/__init__.py +++ b/homeassistant/components/feedreader/__init__.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/ffmpeg/__init__.py b/homeassistant/components/ffmpeg/__init__.py index 05bc1d991678d0..e657fcb7f179b5 100644 --- a/homeassistant/components/ffmpeg/__init__.py +++ b/homeassistant/components/ffmpeg/__init__.py @@ -12,7 +12,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['ha-ffmpeg==2.0'] + DOMAIN = 'ffmpeg' diff --git a/homeassistant/components/ffmpeg/camera.py b/homeassistant/components/ffmpeg/camera.py index 8bca13cfbb7c94..f0aee43bd63255 100644 --- a/homeassistant/components/ffmpeg/camera.py +++ b/homeassistant/components/ffmpeg/camera.py @@ -14,7 +14,7 @@ _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 c274d84329e62d..902d658042ab43 100644 --- a/homeassistant/components/ffmpeg_motion/binary_sensor.py +++ b/homeassistant/components/ffmpeg_motion/binary_sensor.py @@ -12,7 +12,7 @@ CONF_INITIAL_STATE) from homeassistant.const import CONF_NAME -DEPENDENCIES = ['ffmpeg'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ffmpeg_noise/binary_sensor.py b/homeassistant/components/ffmpeg_noise/binary_sensor.py index 7efcc3deda2637..46160fac50974b 100644 --- a/homeassistant/components/ffmpeg_noise/binary_sensor.py +++ b/homeassistant/components/ffmpeg_noise/binary_sensor.py @@ -12,7 +12,7 @@ CONF_INITIAL_STATE) from homeassistant.const import CONF_NAME -DEPENDENCIES = ['ffmpeg'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fibaro/__init__.py b/homeassistant/components/fibaro/__init__.py index 6b37b178a595bb..a4f6dd4f471ec5 100644 --- a/homeassistant/components/fibaro/__init__.py +++ b/homeassistant/components/fibaro/__init__.py @@ -13,7 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import convert, slugify -REQUIREMENTS = ['fiblary3==0.1.7'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fibaro/binary_sensor.py b/homeassistant/components/fibaro/binary_sensor.py index f71a5f3662e8e2..c944098c6058b0 100644 --- a/homeassistant/components/fibaro/binary_sensor.py +++ b/homeassistant/components/fibaro/binary_sensor.py @@ -7,7 +7,7 @@ from . import FIBARO_DEVICES, FibaroDevice -DEPENDENCIES = ['fibaro'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fibaro/climate.py b/homeassistant/components/fibaro/climate.py index 0d1ecc3a77f9cf..11f1b15d2ea640 100644 --- a/homeassistant/components/fibaro/climate.py +++ b/homeassistant/components/fibaro/climate.py @@ -44,7 +44,7 @@ FAN_UP_DOWN = 'up_down' FAN_QUIET = 'quiet' -DEPENDENCIES = ['fibaro'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fibaro/cover.py b/homeassistant/components/fibaro/cover.py index 0f5cc32bc9695b..219fdcb4d84bca 100644 --- a/homeassistant/components/fibaro/cover.py +++ b/homeassistant/components/fibaro/cover.py @@ -6,7 +6,7 @@ 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 600b566b36b23c..aa3c2fc87b5d53 100644 --- a/homeassistant/components/fibaro/light.py +++ b/homeassistant/components/fibaro/light.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['fibaro'] + def scaleto255(value): diff --git a/homeassistant/components/fibaro/scene.py b/homeassistant/components/fibaro/scene.py index 93f0cd5b63afd0..3bdb68427b5aab 100644 --- a/homeassistant/components/fibaro/scene.py +++ b/homeassistant/components/fibaro/scene.py @@ -5,7 +5,7 @@ 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 20a37fd3c23756..9761b36113672a 100644 --- a/homeassistant/components/fibaro/sensor.py +++ b/homeassistant/components/fibaro/sensor.py @@ -22,7 +22,7 @@ ['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 024531f62c70e8..6ab06f4312233e 100644 --- a/homeassistant/components/fibaro/switch.py +++ b/homeassistant/components/fibaro/switch.py @@ -6,7 +6,7 @@ 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 00754c5ba68c12..9e016bcf4c544d 100644 --- a/homeassistant/components/fido/sensor.py +++ b/homeassistant/components/fido/sensor.py @@ -20,7 +20,7 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyfido==2.1.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fints/sensor.py b/homeassistant/components/fints/sensor.py index dce52785fbf269..fb0a89ff430bb5 100644 --- a/homeassistant/components/fints/sensor.py +++ b/homeassistant/components/fints/sensor.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['fints==1.0.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fitbit/sensor.py b/homeassistant/components/fitbit/sensor.py index abbe69c3e1d7db..84888c48788f9c 100644 --- a/homeassistant/components/fitbit/sensor.py +++ b/homeassistant/components/fitbit/sensor.py @@ -17,7 +17,7 @@ from homeassistant.util.json import load_json, save_json -REQUIREMENTS = ['fitbit==0.3.0'] + _CONFIGURING = {} _LOGGER = logging.getLogger(__name__) @@ -32,7 +32,7 @@ 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' diff --git a/homeassistant/components/fixer/sensor.py b/homeassistant/components/fixer/sensor.py index f746d2008e10f3..3b2ce5fc1f5106 100644 --- a/homeassistant/components/fixer/sensor.py +++ b/homeassistant/components/fixer/sensor.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['fixerio==1.0.0a0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/flexit/climate.py b/homeassistant/components/flexit/climate.py index fe7b5ff8e7cd2f..62cde4e35a4f49 100644 --- a/homeassistant/components/flexit/climate.py +++ b/homeassistant/components/flexit/climate.py @@ -25,8 +25,8 @@ 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, diff --git a/homeassistant/components/flic/binary_sensor.py b/homeassistant/components/flic/binary_sensor.py index 083ac01ab4a2d9..96acc3a8794373 100644 --- a/homeassistant/components/flic/binary_sensor.py +++ b/homeassistant/components/flic/binary_sensor.py @@ -11,7 +11,7 @@ from homeassistant.components.binary_sensor import ( BinarySensorDevice, PLATFORM_SCHEMA) -REQUIREMENTS = ['pyflic-homeassistant==0.4.dev0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/flunearyou/sensor.py b/homeassistant/components/flunearyou/sensor.py index 65de2c6ae43e0d..973bcb4cd9db1d 100644 --- a/homeassistant/components/flunearyou/sensor.py +++ b/homeassistant/components/flunearyou/sensor.py @@ -13,7 +13,7 @@ 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 fdd0c09b9d7a60..be0708989b8d08 100644 --- a/homeassistant/components/flux/switch.py +++ b/homeassistant/components/flux/switch.py @@ -42,7 +42,7 @@ MODE_MIRED = 'mired' MODE_RGB = 'rgb' DEFAULT_MODE = MODE_XY -DEPENDENCIES = ['light'] + PLATFORM_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/flux_led/light.py b/homeassistant/components/flux_led/light.py index 0ed14c49ec851c..b7f92b104cb78d 100644 --- a/homeassistant/components/flux_led/light.py +++ b/homeassistant/components/flux_led/light.py @@ -15,7 +15,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['flux_led==0.22'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/folder_watcher/__init__.py b/homeassistant/components/folder_watcher/__init__.py index babfbd9e9aa61c..0dab42138b0a17 100644 --- a/homeassistant/components/folder_watcher/__init__.py +++ b/homeassistant/components/folder_watcher/__init__.py @@ -8,7 +8,7 @@ EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['watchdog==0.8.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/foobot/sensor.py b/homeassistant/components/foobot/sensor.py index 2eeca5243a66f5..74ebefd4a07333 100644 --- a/homeassistant/components/foobot/sensor.py +++ b/homeassistant/components/foobot/sensor.py @@ -16,7 +16,7 @@ from homeassistant.util import Throttle -REQUIREMENTS = ['foobot_async==0.3.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/foscam/camera.py b/homeassistant/components/foscam/camera.py index 6ce8f1865fcf77..a090a88bfc9ff2 100644 --- a/homeassistant/components/foscam/camera.py +++ b/homeassistant/components/foscam/camera.py @@ -11,7 +11,7 @@ _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 0c5a48049ecc9e..86686b89d6fd25 100644 --- a/homeassistant/components/foursquare/__init__.py +++ b/homeassistant/components/foursquare/__init__.py @@ -12,7 +12,7 @@ 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 03beef52357af6..665ee9d5e510f6 100644 --- a/homeassistant/components/free_mobile/notify.py +++ b/homeassistant/components/free_mobile/notify.py @@ -9,7 +9,7 @@ from homeassistant.components.notify import (PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['freesms==0.1.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/freebox/__init__.py b/homeassistant/components/freebox/__init__.py index 7accf7820f4d14..703c067f98f04c 100644 --- a/homeassistant/components/freebox/__init__.py +++ b/homeassistant/components/freebox/__init__.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/freebox/device_tracker.py b/homeassistant/components/freebox/device_tracker.py index 5418c1c61a7322..4290920a01c76a 100644 --- a/homeassistant/components/freebox/device_tracker.py +++ b/homeassistant/components/freebox/device_tracker.py @@ -6,7 +6,7 @@ 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 328665ab51cd9b..7004e01dbef6ed 100644 --- a/homeassistant/components/freebox/sensor.py +++ b/homeassistant/components/freebox/sensor.py @@ -5,7 +5,7 @@ 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 4de194fc9023fd..7a6a14d837587f 100644 --- a/homeassistant/components/freebox/switch.py +++ b/homeassistant/components/freebox/switch.py @@ -5,7 +5,7 @@ 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 3e3e04f44475fb..adb6a4ef122fcb 100644 --- a/homeassistant/components/fritz/device_tracker.py +++ b/homeassistant/components/fritz/device_tracker.py @@ -8,7 +8,7 @@ DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_USERNAME -REQUIREMENTS = ['fritzconnection==0.6.5'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fritzbox/__init__.py b/homeassistant/components/fritzbox/__init__.py index 81ba019acbc0b0..17d874c2f64aec 100644 --- a/homeassistant/components/fritzbox/__init__.py +++ b/homeassistant/components/fritzbox/__init__.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pyfritzhome==0.4.0'] + SUPPORTED_DOMAINS = ['binary_sensor', 'climate', 'switch', 'sensor'] diff --git a/homeassistant/components/fritzbox/binary_sensor.py b/homeassistant/components/fritzbox/binary_sensor.py index 65578c571805e9..d98704423b3645 100644 --- a/homeassistant/components/fritzbox/binary_sensor.py +++ b/homeassistant/components/fritzbox/binary_sensor.py @@ -7,7 +7,7 @@ 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 e2c9be833ac4d3..4bb4816d0deb5e 100644 --- a/homeassistant/components/fritzbox/climate.py +++ b/homeassistant/components/fritzbox/climate.py @@ -16,7 +16,7 @@ ATTR_STATE_LOCKED, ATTR_STATE_SUMMER_MODE, ATTR_STATE_WINDOW_OPEN, DOMAIN as FRITZBOX_DOMAIN) -DEPENDENCIES = ['fritzbox'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fritzbox/sensor.py b/homeassistant/components/fritzbox/sensor.py index 7309f8cc6180a6..0ad5a2f5309585 100644 --- a/homeassistant/components/fritzbox/sensor.py +++ b/homeassistant/components/fritzbox/sensor.py @@ -9,7 +9,7 @@ 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 e227cdaef8a00a..e164895881b593 100644 --- a/homeassistant/components/fritzbox/switch.py +++ b/homeassistant/components/fritzbox/switch.py @@ -10,7 +10,7 @@ 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_callmonitor/sensor.py b/homeassistant/components/fritzbox_callmonitor/sensor.py index a6641bc14ad5b5..c0bd88d8bbc514 100644 --- a/homeassistant/components/fritzbox_callmonitor/sensor.py +++ b/homeassistant/components/fritzbox_callmonitor/sensor.py @@ -16,7 +16,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['fritzconnection==0.6.5'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fritzbox_netmonitor/sensor.py b/homeassistant/components/fritzbox_netmonitor/sensor.py index 93f834a894d3b7..cd76fb05e3905b 100644 --- a/homeassistant/components/fritzbox_netmonitor/sensor.py +++ b/homeassistant/components/fritzbox_netmonitor/sensor.py @@ -11,7 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['fritzconnection==0.6.5'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fritzdect/switch.py b/homeassistant/components/fritzdect/switch.py index 449ae5a76f13ae..cc4bb75327423f 100644 --- a/homeassistant/components/fritzdect/switch.py +++ b/homeassistant/components/fritzdect/switch.py @@ -11,7 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.const import TEMP_CELSIUS, ATTR_TEMPERATURE -REQUIREMENTS = ['fritzhome==1.0.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/frontend/__init__.py b/homeassistant/components/frontend/__init__.py index cfee41dc6ae806..d531f46654f93d 100644 --- a/homeassistant/components/frontend/__init__.py +++ b/homeassistant/components/frontend/__init__.py @@ -21,7 +21,7 @@ from .storage import async_setup_frontend_storage -REQUIREMENTS = ['home-assistant-frontend==20190410.0'] + DOMAIN = 'frontend' DEPENDENCIES = ['api', 'websocket_api', 'http', 'system_log', diff --git a/homeassistant/components/frontier_silicon/media_player.py b/homeassistant/components/frontier_silicon/media_player.py index 4f28d83e6cfe36..4eba49db47ab0c 100644 --- a/homeassistant/components/frontier_silicon/media_player.py +++ b/homeassistant/components/frontier_silicon/media_player.py @@ -15,7 +15,7 @@ STATE_PLAYING, STATE_UNKNOWN) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['afsapi==0.0.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/futurenow/light.py b/homeassistant/components/futurenow/light.py index 4b570fd0a4dcdb..d2d5f04fd9f9f9 100644 --- a/homeassistant/components/futurenow/light.py +++ b/homeassistant/components/futurenow/light.py @@ -11,7 +11,7 @@ PLATFORM_SCHEMA) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyfnip==0.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gc100/__init__.py b/homeassistant/components/gc100/__init__.py index 36e9c61b1ba1e1..061ae0fbc8cd31 100644 --- a/homeassistant/components/gc100/__init__.py +++ b/homeassistant/components/gc100/__init__.py @@ -7,7 +7,7 @@ EVENT_HOMEASSISTANT_STOP, CONF_HOST, CONF_PORT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-gc100==1.0.3a'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gc100/binary_sensor.py b/homeassistant/components/gc100/binary_sensor.py index 9588506af77666..a0b583f7d21365 100644 --- a/homeassistant/components/gc100/binary_sensor.py +++ b/homeassistant/components/gc100/binary_sensor.py @@ -8,7 +8,7 @@ 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 1ffb2726495ffc..77bf21b8594d92 100644 --- a/homeassistant/components/gc100/switch.py +++ b/homeassistant/components/gc100/switch.py @@ -8,7 +8,7 @@ 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 e4f85a1892dfc7..6fdfc6c3dbb2ff 100644 --- a/homeassistant/components/gearbest/sensor.py +++ b/homeassistant/components/gearbest/sensor.py @@ -11,7 +11,7 @@ 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 d619d768c234e3..68d7fa851b5774 100644 --- a/homeassistant/components/geizhals/sensor.py +++ b/homeassistant/components/geizhals/sensor.py @@ -10,7 +10,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.const import CONF_NAME -REQUIREMENTS = ['geizhals==0.0.9'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/generic_thermostat/climate.py b/homeassistant/components/generic_thermostat/climate.py index 35efa82c8a3c1f..25d33f8307130c 100644 --- a/homeassistant/components/generic_thermostat/climate.py +++ b/homeassistant/components/generic_thermostat/climate.py @@ -23,7 +23,7 @@ _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 e89616126d5f24..5f7a347cee1462 100644 --- a/homeassistant/components/geo_json_events/geo_location.py +++ b/homeassistant/components/geo_json_events/geo_location.py @@ -16,7 +16,7 @@ async_dispatcher_connect, dispatcher_send) from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['geojson_client==0.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/geo_rss_events/sensor.py b/homeassistant/components/geo_rss_events/sensor.py index f71a60c2e83e89..c251b92506aeda 100644 --- a/homeassistant/components/geo_rss_events/sensor.py +++ b/homeassistant/components/geo_rss_events/sensor.py @@ -20,7 +20,7 @@ CONF_LATITUDE, CONF_LONGITUDE, CONF_RADIUS, CONF_URL) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['georss_generic_client==0.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/geofency/__init__.py b/homeassistant/components/geofency/__init__.py index 88b72f02cc2e9f..61860855ea45d8 100644 --- a/homeassistant/components/geofency/__init__.py +++ b/homeassistant/components/geofency/__init__.py @@ -16,7 +16,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'geofency' -DEPENDENCIES = ['webhook'] + CONF_MOBILE_BEACONS = 'mobile_beacons' diff --git a/homeassistant/components/geofency/device_tracker.py b/homeassistant/components/geofency/device_tracker.py index 0a1a9d5f32edc6..b5caaecad42678 100644 --- a/homeassistant/components/geofency/device_tracker.py +++ b/homeassistant/components/geofency/device_tracker.py @@ -9,7 +9,7 @@ _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 5a86233d561ff7..bd7f2228fae745 100644 --- a/homeassistant/components/github/sensor.py +++ b/homeassistant/components/github/sensor.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['PyGithub==1.43.5'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gitlab_ci/sensor.py b/homeassistant/components/gitlab_ci/sensor.py index dd574b348d8239..3ea5e2a02eadeb 100644 --- a/homeassistant/components/gitlab_ci/sensor.py +++ b/homeassistant/components/gitlab_ci/sensor.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['python-gitlab==1.6.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gitter/sensor.py b/homeassistant/components/gitter/sensor.py index 2af9c20fb29094..3fc37fe3cb6a30 100644 --- a/homeassistant/components/gitter/sensor.py +++ b/homeassistant/components/gitter/sensor.py @@ -8,7 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['gitterpy==0.1.7'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/glances/sensor.py b/homeassistant/components/glances/sensor.py index db8f0397887e89..0eacf4005331dd 100644 --- a/homeassistant/components/glances/sensor.py +++ b/homeassistant/components/glances/sensor.py @@ -14,7 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['glances_api==0.2.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gntp/notify.py b/homeassistant/components/gntp/notify.py index fb3e96e83ab827..e521ddbaa8a20e 100644 --- a/homeassistant/components/gntp/notify.py +++ b/homeassistant/components/gntp/notify.py @@ -10,7 +10,7 @@ from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['gntp==1.0.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/goalfeed/__init__.py b/homeassistant/components/goalfeed/__init__.py index 6f0149f657a908..6e276785c5b837 100644 --- a/homeassistant/components/goalfeed/__init__.py +++ b/homeassistant/components/goalfeed/__init__.py @@ -9,7 +9,7 @@ # 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 4d40ddd2c72ee9..fb45526af73c60 100644 --- a/homeassistant/components/gogogate2/cover.py +++ b/homeassistant/components/gogogate2/cover.py @@ -10,7 +10,7 @@ CONF_IP_ADDRESS, CONF_NAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pygogogate2==0.1.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/google/tts.py b/homeassistant/components/google/tts.py index 49a945cbbfd241..d516ad9f43bfda 100644 --- a/homeassistant/components/google/tts.py +++ b/homeassistant/components/google/tts.py @@ -12,7 +12,7 @@ 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__) diff --git a/homeassistant/components/google_assistant/__init__.py b/homeassistant/components/google_assistant/__init__.py index 0fd167c2729436..1222d97a7599cc 100644 --- a/homeassistant/components/google_assistant/__init__.py +++ b/homeassistant/components/google_assistant/__init__.py @@ -28,7 +28,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['http'] + ENTITY_SCHEMA = vol.Schema({ vol.Optional(CONF_NAME): cv.string, diff --git a/homeassistant/components/google_maps/device_tracker.py b/homeassistant/components/google_maps/device_tracker.py index 7bc9be00b8cc66..9ce40711fc3a1a 100644 --- a/homeassistant/components/google_maps/device_tracker.py +++ b/homeassistant/components/google_maps/device_tracker.py @@ -14,7 +14,7 @@ from homeassistant.helpers.typing import ConfigType from homeassistant.util import slugify, dt as dt_util -REQUIREMENTS = ['locationsharinglib==3.0.11'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/google_pubsub/__init__.py b/homeassistant/components/google_pubsub/__init__.py index 18c068ea454bcc..61c44d1e29e9d6 100644 --- a/homeassistant/components/google_pubsub/__init__.py +++ b/homeassistant/components/google_pubsub/__init__.py @@ -15,7 +15,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['google-cloud-pubsub==0.39.1'] + DOMAIN = 'google_pubsub' diff --git a/homeassistant/components/google_travel_time/sensor.py b/homeassistant/components/google_travel_time/sensor.py index b448830ab02aa6..6f7971ef03df0f 100644 --- a/homeassistant/components/google_travel_time/sensor.py +++ b/homeassistant/components/google_travel_time/sensor.py @@ -15,7 +15,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['googlemaps==2.5.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/googlehome/__init__.py b/homeassistant/components/googlehome/__init__.py index 6ebc2f512b1fef..f039cc0232a5cc 100644 --- a/homeassistant/components/googlehome/__init__.py +++ b/homeassistant/components/googlehome/__init__.py @@ -10,7 +10,7 @@ _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 c024cde0c6ce66..19af4247254d06 100644 --- a/homeassistant/components/googlehome/device_tracker.py +++ b/homeassistant/components/googlehome/device_tracker.py @@ -10,7 +10,7 @@ _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 4f37740da85ed2..239fd11782abbc 100644 --- a/homeassistant/components/googlehome/sensor.py +++ b/homeassistant/components/googlehome/sensor.py @@ -8,7 +8,7 @@ from . import CLIENT, DOMAIN as GOOGLEHOME_DOMAIN, NAME -DEPENDENCIES = ['googlehome'] + SCAN_INTERVAL = timedelta(seconds=10) diff --git a/homeassistant/components/gpmdp/media_player.py b/homeassistant/components/gpmdp/media_player.py index 788126b957f9fc..970e85a270d106 100644 --- a/homeassistant/components/gpmdp/media_player.py +++ b/homeassistant/components/gpmdp/media_player.py @@ -16,7 +16,7 @@ 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 62307cb1011631..fd13bbe8e67858 100644 --- a/homeassistant/components/gpsd/sensor.py +++ b/homeassistant/components/gpsd/sensor.py @@ -10,7 +10,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['gps3==0.33.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gpslogger/__init__.py b/homeassistant/components/gpslogger/__init__.py index 6bc9d11a68e088..77e3990bad0b01 100644 --- a/homeassistant/components/gpslogger/__init__.py +++ b/homeassistant/components/gpslogger/__init__.py @@ -15,7 +15,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'gpslogger' -DEPENDENCIES = ['webhook'] + TRACKER_UPDATE = '{}_tracker_update'.format(DOMAIN) diff --git a/homeassistant/components/gpslogger/device_tracker.py b/homeassistant/components/gpslogger/device_tracker.py index c9496975272811..72ab2336656eb6 100644 --- a/homeassistant/components/gpslogger/device_tracker.py +++ b/homeassistant/components/gpslogger/device_tracker.py @@ -10,7 +10,7 @@ _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 aedc98aac314e6..9d335fc0df9860 100644 --- a/homeassistant/components/greeneye_monitor/__init__.py +++ b/homeassistant/components/greeneye_monitor/__init__.py @@ -11,7 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import async_load_platform -REQUIREMENTS = ['greeneye_monitor==1.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/greeneye_monitor/sensor.py b/homeassistant/components/greeneye_monitor/sensor.py index 8321bb768cabf0..6ce6815e33bd2a 100644 --- a/homeassistant/components/greeneye_monitor/sensor.py +++ b/homeassistant/components/greeneye_monitor/sensor.py @@ -23,7 +23,7 @@ _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 b8efe8ae17dcba..3e07f2613fd9df 100644 --- a/homeassistant/components/greenwave/light.py +++ b/homeassistant/components/greenwave/light.py @@ -10,7 +10,7 @@ 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 094a561d310ea5..903a50c908e775 100644 --- a/homeassistant/components/gstreamer/media_player.py +++ b/homeassistant/components/gstreamer/media_player.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/gtfs/sensor.py b/homeassistant/components/gtfs/sensor.py index 9e89a8ad844de3..85db95eb2d3a57 100644 --- a/homeassistant/components/gtfs/sensor.py +++ b/homeassistant/components/gtfs/sensor.py @@ -17,7 +17,7 @@ from homeassistant.util import slugify import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pygtfs==0.1.5'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gtt/sensor.py b/homeassistant/components/gtt/sensor.py index 659984fadea8f9..9638e431e6dfdb 100644 --- a/homeassistant/components/gtt/sensor.py +++ b/homeassistant/components/gtt/sensor.py @@ -9,7 +9,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pygtt==1.1.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/habitica/__init__.py b/homeassistant/components/habitica/__init__.py index 23113a1388b4f7..54600825073a5d 100644 --- a/homeassistant/components/habitica/__init__.py +++ b/homeassistant/components/habitica/__init__.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/hangouts/__init__.py b/homeassistant/components/hangouts/__init__.py index 29cdc29e5ada6c..8bec2827b92014 100644 --- a/homeassistant/components/hangouts/__init__.py +++ b/homeassistant/components/hangouts/__init__.py @@ -19,7 +19,7 @@ MESSAGE_SCHEMA, SERVICE_RECONNECT, SERVICE_SEND_MESSAGE, SERVICE_UPDATE, TARGETS_SCHEMA) -REQUIREMENTS = ['hangups==0.4.9'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hangouts/notify.py b/homeassistant/components/hangouts/notify.py index de9af2e077512b..dbf884af85fc4d 100644 --- a/homeassistant/components/hangouts/notify.py +++ b/homeassistant/components/hangouts/notify.py @@ -12,7 +12,7 @@ _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 cec0ac4f5c8653..3917b043b0207c 100644 --- a/homeassistant/components/harman_kardon_avr/media_player.py +++ b/homeassistant/components/harman_kardon_avr/media_player.py @@ -12,7 +12,7 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_PORT, STATE_OFF, STATE_ON) -REQUIREMENTS = ['hkavr==0.0.5'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/harmony/remote.py b/homeassistant/components/harmony/remote.py index 12b3a91e12b675..6dbf325c76a64a 100644 --- a/homeassistant/components/harmony/remote.py +++ b/homeassistant/components/harmony/remote.py @@ -16,7 +16,7 @@ from homeassistant.exceptions import PlatformNotReady from homeassistant.util import slugify -REQUIREMENTS = ['aioharmony==0.1.11'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hassio/__init__.py b/homeassistant/components/hassio/__init__.py index e8d04b1596d980..6529521c39d3cb 100644 --- a/homeassistant/components/hassio/__init__.py +++ b/homeassistant/components/hassio/__init__.py @@ -25,7 +25,7 @@ _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 8eb13c5ab213ae..9166e080be4826 100644 --- a/homeassistant/components/hdmi_cec/__init__.py +++ b/homeassistant/components/hdmi_cec/__init__.py @@ -17,7 +17,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyCEC==0.4.13'] + DOMAIN = 'hdmi_cec' diff --git a/homeassistant/components/hdmi_cec/media_player.py b/homeassistant/components/hdmi_cec/media_player.py index b2d2910e145bbe..772c722718f613 100644 --- a/homeassistant/components/hdmi_cec/media_player.py +++ b/homeassistant/components/hdmi_cec/media_player.py @@ -11,7 +11,7 @@ from . import ATTR_NEW, CecDevice -DEPENDENCIES = ['hdmi_cec'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hdmi_cec/switch.py b/homeassistant/components/hdmi_cec/switch.py index 639f545707ee2b..87df6d74300258 100644 --- a/homeassistant/components/hdmi_cec/switch.py +++ b/homeassistant/components/hdmi_cec/switch.py @@ -6,7 +6,7 @@ from . import ATTR_NEW, CecDevice -DEPENDENCIES = ['hdmi_cec'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/heatmiser/climate.py b/homeassistant/components/heatmiser/climate.py index fc9057bc905699..db568a81cc524d 100644 --- a/homeassistant/components/heatmiser/climate.py +++ b/homeassistant/components/heatmiser/climate.py @@ -10,7 +10,7 @@ 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__) diff --git a/homeassistant/components/heos/__init__.py b/homeassistant/components/heos/__init__.py index 084444be4ea87f..c9d5a6883dd2da 100644 --- a/homeassistant/components/heos/__init__.py +++ b/homeassistant/components/heos/__init__.py @@ -19,7 +19,7 @@ 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({ diff --git a/homeassistant/components/heos/media_player.py b/homeassistant/components/heos/media_player.py index 72d42f8f66f6bb..bc7b0831993128 100644 --- a/homeassistant/components/heos/media_player.py +++ b/homeassistant/components/heos/media_player.py @@ -17,7 +17,7 @@ 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 | \ diff --git a/homeassistant/components/hikvision/binary_sensor.py b/homeassistant/components/hikvision/binary_sensor.py index a6a82c9ee1b814..dbdc98b145cf48 100644 --- a/homeassistant/components/hikvision/binary_sensor.py +++ b/homeassistant/components/hikvision/binary_sensor.py @@ -13,7 +13,7 @@ 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 6e5dcdac9aae6b..6920a4fbfe65ad 100644 --- a/homeassistant/components/hikvisioncam/switch.py +++ b/homeassistant/components/hikvisioncam/switch.py @@ -10,7 +10,7 @@ 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 5128b8beea341c..925e205ace69a4 100644 --- a/homeassistant/components/hipchat/notify.py +++ b/homeassistant/components/hipchat/notify.py @@ -10,7 +10,7 @@ PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['hipnotify==1.0.8'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/history/__init__.py b/homeassistant/components/history/__init__.py index 7b07fac19a692d..cc44526cdbd798 100644 --- a/homeassistant/components/history/__init__.py +++ b/homeassistant/components/history/__init__.py @@ -19,7 +19,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'history' -DEPENDENCIES = ['recorder', 'http'] + CONF_ORDER = 'use_include_order' diff --git a/homeassistant/components/history_graph/__init__.py b/homeassistant/components/history_graph/__init__.py index 893f3514d77f93..4a20a4b9685167 100644 --- a/homeassistant/components/history_graph/__init__.py +++ b/homeassistant/components/history_graph/__init__.py @@ -8,7 +8,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.entity_component import EntityComponent -DEPENDENCIES = ['history'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/history_stats/sensor.py b/homeassistant/components/history_stats/sensor.py index f1eea4dd693086..7ae29d94dea4cb 100644 --- a/homeassistant/components/history_stats/sensor.py +++ b/homeassistant/components/history_stats/sensor.py @@ -20,7 +20,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'history_stats' -DEPENDENCIES = ['history'] + CONF_START = 'start' CONF_END = 'end' diff --git a/homeassistant/components/hive/__init__.py b/homeassistant/components/hive/__init__.py index 934c44028ac27b..9931d03f23c759 100644 --- a/homeassistant/components/hive/__init__.py +++ b/homeassistant/components/hive/__init__.py @@ -8,7 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform -REQUIREMENTS = ['pyhiveapi==0.2.17'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hive/binary_sensor.py b/homeassistant/components/hive/binary_sensor.py index a0973f4d8e93a7..ecbf56df59250f 100644 --- a/homeassistant/components/hive/binary_sensor.py +++ b/homeassistant/components/hive/binary_sensor.py @@ -3,7 +3,7 @@ from . import DATA_HIVE, DOMAIN -DEPENDENCIES = ['hive'] + DEVICETYPE_DEVICE_CLASS = { 'motionsensor': 'motion', diff --git a/homeassistant/components/hive/climate.py b/homeassistant/components/hive/climate.py index dac7feb2927fe6..3dfb33646613c4 100644 --- a/homeassistant/components/hive/climate.py +++ b/homeassistant/components/hive/climate.py @@ -8,7 +8,7 @@ from . import DATA_HIVE, DOMAIN -DEPENDENCIES = ['hive'] + HIVE_TO_HASS_STATE = { 'SCHEDULE': STATE_AUTO, diff --git a/homeassistant/components/hive/light.py b/homeassistant/components/hive/light.py index 3a2176c3eedab7..80734adcc4b6db 100644 --- a/homeassistant/components/hive/light.py +++ b/homeassistant/components/hive/light.py @@ -6,7 +6,7 @@ from . import DATA_HIVE, DOMAIN -DEPENDENCIES = ['hive'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/hive/sensor.py b/homeassistant/components/hive/sensor.py index e7b7d6b45977aa..25df56dbfa42cf 100644 --- a/homeassistant/components/hive/sensor.py +++ b/homeassistant/components/hive/sensor.py @@ -4,7 +4,7 @@ from . import DATA_HIVE, DOMAIN -DEPENDENCIES = ['hive'] + FRIENDLY_NAMES = { 'Hub_OnlineStatus': 'Hive Hub Status', diff --git a/homeassistant/components/hive/switch.py b/homeassistant/components/hive/switch.py index fd4d3d69b50a06..01638080df0ec2 100644 --- a/homeassistant/components/hive/switch.py +++ b/homeassistant/components/hive/switch.py @@ -3,7 +3,7 @@ from . import DATA_HIVE, DOMAIN -DEPENDENCIES = ['hive'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/hlk_sw16/__init__.py b/homeassistant/components/hlk_sw16/__init__.py index acb604bc0103b3..5ba6c0d3e9f72f 100644 --- a/homeassistant/components/hlk_sw16/__init__.py +++ b/homeassistant/components/hlk_sw16/__init__.py @@ -13,7 +13,7 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_send, async_dispatcher_connect) -REQUIREMENTS = ['hlk-sw16==0.0.7'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hlk_sw16/switch.py b/homeassistant/components/hlk_sw16/switch.py index 164a504fa34406..0be8678755ee3c 100644 --- a/homeassistant/components/hlk_sw16/switch.py +++ b/homeassistant/components/hlk_sw16/switch.py @@ -6,7 +6,7 @@ from . import DATA_DEVICE_REGISTER, DOMAIN as HLK_SW16, SW16Device -DEPENDENCIES = [HLK_SW16] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit/__init__.py b/homeassistant/components/homekit/__init__.py index 01979f03b9a5f1..f575b6d7f4141d 100644 --- a/homeassistant/components/homekit/__init__.py +++ b/homeassistant/components/homekit/__init__.py @@ -26,7 +26,7 @@ from .util import ( show_setup_message, validate_entity_config, validate_media_player_features) -REQUIREMENTS = ['HAP-python==2.4.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit_controller/__init__.py b/homeassistant/components/homekit_controller/__init__.py index 2a43d0ac9ce5c4..cc7535da85f190 100644 --- a/homeassistant/components/homekit_controller/__init__.py +++ b/homeassistant/components/homekit_controller/__init__.py @@ -12,7 +12,7 @@ ) from .const import DOMAIN # noqa: pylint: disable=unused-import -REQUIREMENTS = ['homekit[IP]==0.13.0'] + HOMEKIT_IGNORE = [ 'BSB002', diff --git a/homeassistant/components/homekit_controller/alarm_control_panel.py b/homeassistant/components/homekit_controller/alarm_control_panel.py index f9bc25f4237e0c..bf3a875e7d3e0e 100644 --- a/homeassistant/components/homekit_controller/alarm_control_panel.py +++ b/homeassistant/components/homekit_controller/alarm_control_panel.py @@ -8,7 +8,7 @@ from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] + ICON = 'mdi:security' diff --git a/homeassistant/components/homekit_controller/binary_sensor.py b/homeassistant/components/homekit_controller/binary_sensor.py index 2bd03b18932146..81af48f902ec89 100644 --- a/homeassistant/components/homekit_controller/binary_sensor.py +++ b/homeassistant/components/homekit_controller/binary_sensor.py @@ -5,7 +5,7 @@ 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 67f1fb72bcfbb5..c895d31874b356 100644 --- a/homeassistant/components/homekit_controller/climate.py +++ b/homeassistant/components/homekit_controller/climate.py @@ -9,7 +9,7 @@ from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit_controller/cover.py b/homeassistant/components/homekit_controller/cover.py index 26b7613ed2b6d5..a07a94e6cbbbd4 100644 --- a/homeassistant/components/homekit_controller/cover.py +++ b/homeassistant/components/homekit_controller/cover.py @@ -12,7 +12,7 @@ STATE_STOPPED = 'stopped' -DEPENDENCIES = ['homekit_controller'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit_controller/light.py b/homeassistant/components/homekit_controller/light.py index cb9259df4a992d..820299438b9d8c 100644 --- a/homeassistant/components/homekit_controller/light.py +++ b/homeassistant/components/homekit_controller/light.py @@ -7,7 +7,7 @@ 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 0d0275fda164e7..9716e3d45846f9 100644 --- a/homeassistant/components/homekit_controller/lock.py +++ b/homeassistant/components/homekit_controller/lock.py @@ -7,7 +7,7 @@ from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit_controller/sensor.py b/homeassistant/components/homekit_controller/sensor.py index 8cbc8f248bafe0..7a7c9e730708f9 100644 --- a/homeassistant/components/homekit_controller/sensor.py +++ b/homeassistant/components/homekit_controller/sensor.py @@ -3,7 +3,7 @@ from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] + HUMIDITY_ICON = 'mdi-water-percent' TEMP_C_ICON = "mdi-temperature-celsius" diff --git a/homeassistant/components/homekit_controller/switch.py b/homeassistant/components/homekit_controller/switch.py index 34e83c06526758..22cb9abd55e468 100644 --- a/homeassistant/components/homekit_controller/switch.py +++ b/homeassistant/components/homekit_controller/switch.py @@ -5,7 +5,7 @@ from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] + OUTLET_IN_USE = "outlet_in_use" diff --git a/homeassistant/components/homematic/__init__.py b/homeassistant/components/homematic/__init__.py index a8109af5ed8f84..78ff2b1051e053 100644 --- a/homeassistant/components/homematic/__init__.py +++ b/homeassistant/components/homematic/__init__.py @@ -14,7 +14,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyhomematic==0.1.58'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematic/binary_sensor.py b/homeassistant/components/homematic/binary_sensor.py index 7bf260a9bdc385..5aee2b112cfaf3 100644 --- a/homeassistant/components/homematic/binary_sensor.py +++ b/homeassistant/components/homematic/binary_sensor.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematic'] + SENSOR_TYPES_CLASS = { 'IPShutterContact': 'opening', diff --git a/homeassistant/components/homematic/climate.py b/homeassistant/components/homematic/climate.py index 146cad1bc4ca75..202c4b9d2f3776 100644 --- a/homeassistant/components/homematic/climate.py +++ b/homeassistant/components/homematic/climate.py @@ -9,7 +9,7 @@ from . import ATTR_DISCOVER_DEVICES, HM_ATTRIBUTE_SUPPORT, HMDevice -DEPENDENCIES = ['homematic'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematic/cover.py b/homeassistant/components/homematic/cover.py index 33b764dc31fa21..4f617a08241c9c 100644 --- a/homeassistant/components/homematic/cover.py +++ b/homeassistant/components/homematic/cover.py @@ -9,7 +9,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematic'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/homematic/light.py b/homeassistant/components/homematic/light.py index c3601461173783..6592959c270cb8 100644 --- a/homeassistant/components/homematic/light.py +++ b/homeassistant/components/homematic/light.py @@ -9,7 +9,7 @@ _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 3c0ca040c5f522..de2dfbab31ccbb 100644 --- a/homeassistant/components/homematic/lock.py +++ b/homeassistant/components/homematic/lock.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematic'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/homematic/notify.py b/homeassistant/components/homematic/notify.py index 9054c1fa0ad6ca..894e2c799b8b49 100644 --- a/homeassistant/components/homematic/notify.py +++ b/homeassistant/components/homematic/notify.py @@ -13,7 +13,7 @@ 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), diff --git a/homeassistant/components/homematic/sensor.py b/homeassistant/components/homematic/sensor.py index 401d11f70c849b..a8ab6c849343a2 100644 --- a/homeassistant/components/homematic/sensor.py +++ b/homeassistant/components/homematic/sensor.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematic'] + HM_STATE_HA_CAST = { 'RotaryHandleSensor': {0: 'closed', 1: 'tilted', 2: 'open'}, diff --git a/homeassistant/components/homematic/switch.py b/homeassistant/components/homematic/switch.py index 393ad09b3104ef..44d8599ae39964 100644 --- a/homeassistant/components/homematic/switch.py +++ b/homeassistant/components/homematic/switch.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematic'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/homematicip_cloud/__init__.py b/homeassistant/components/homematicip_cloud/__init__.py index 1330a2750ae6db..b257cbfc412caa 100644 --- a/homeassistant/components/homematicip_cloud/__init__.py +++ b/homeassistant/components/homematicip_cloud/__init__.py @@ -15,7 +15,7 @@ from .device import HomematicipGenericDevice # noqa: F401 from .hap import HomematicipAuth, HomematicipHAP # noqa: F401 -REQUIREMENTS = ['homematicip==0.10.7'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematicip_cloud/alarm_control_panel.py b/homeassistant/components/homematicip_cloud/alarm_control_panel.py index df0201340ed127..6c190455be7bd2 100644 --- a/homeassistant/components/homematicip_cloud/alarm_control_panel.py +++ b/homeassistant/components/homematicip_cloud/alarm_control_panel.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematicip_cloud'] + async def async_setup_platform( diff --git a/homeassistant/components/homematicip_cloud/binary_sensor.py b/homeassistant/components/homematicip_cloud/binary_sensor.py index 44c17282dda03d..d461781c721cf0 100644 --- a/homeassistant/components/homematicip_cloud/binary_sensor.py +++ b/homeassistant/components/homematicip_cloud/binary_sensor.py @@ -6,7 +6,7 @@ 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/cover.py b/homeassistant/components/homematicip_cloud/cover.py index 735e8789670452..2faf8163166cf1 100644 --- a/homeassistant/components/homematicip_cloud/cover.py +++ b/homeassistant/components/homematicip_cloud/cover.py @@ -5,7 +5,7 @@ from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice -DEPENDENCIES = ['homematicip_cloud'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematicip_cloud/light.py b/homeassistant/components/homematicip_cloud/light.py index f5bac66388c6d5..f71ad07cbfea33 100644 --- a/homeassistant/components/homematicip_cloud/light.py +++ b/homeassistant/components/homematicip_cloud/light.py @@ -7,7 +7,7 @@ from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice -DEPENDENCIES = ['homematicip_cloud'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematicip_cloud/sensor.py b/homeassistant/components/homematicip_cloud/sensor.py index 5f345f419fac09..6c9136813aba67 100644 --- a/homeassistant/components/homematicip_cloud/sensor.py +++ b/homeassistant/components/homematicip_cloud/sensor.py @@ -9,7 +9,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematicip_cloud'] + ATTR_TEMPERATURE_OFFSET = 'temperature_offset' ATTR_WIND_DIRECTION = 'wind_direction' diff --git a/homeassistant/components/homematicip_cloud/switch.py b/homeassistant/components/homematicip_cloud/switch.py index f9713cd8c006cc..23956a7097df78 100644 --- a/homeassistant/components/homematicip_cloud/switch.py +++ b/homeassistant/components/homematicip_cloud/switch.py @@ -6,7 +6,7 @@ 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 ba3157471f9c80..ef5aebd2320a11 100644 --- a/homeassistant/components/homematicip_cloud/weather.py +++ b/homeassistant/components/homematicip_cloud/weather.py @@ -7,7 +7,7 @@ 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 d0769ed25e6193..752d8908078791 100644 --- a/homeassistant/components/homeworks/__init__.py +++ b/homeassistant/components/homeworks/__init__.py @@ -12,7 +12,7 @@ async_dispatcher_connect, dispatcher_send) from homeassistant.util import slugify -REQUIREMENTS = ['pyhomeworks==0.0.6'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homeworks/light.py b/homeassistant/components/homeworks/light.py index ca41dff9834b44..0e9e02a6cb162f 100644 --- a/homeassistant/components/homeworks/light.py +++ b/homeassistant/components/homeworks/light.py @@ -11,7 +11,7 @@ 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 7460ed6e9d0a8c..f8b44d400b547f 100644 --- a/homeassistant/components/honeywell/climate.py +++ b/homeassistant/components/honeywell/climate.py @@ -15,7 +15,7 @@ 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__) diff --git a/homeassistant/components/horizon/media_player.py b/homeassistant/components/horizon/media_player.py index 51168e4ef2e1a7..7813aac785f1ab 100644 --- a/homeassistant/components/horizon/media_player.py +++ b/homeassistant/components/horizon/media_player.py @@ -16,7 +16,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['horimote==0.4.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hp_ilo/sensor.py b/homeassistant/components/hp_ilo/sensor.py index a017f0ee3e8c08..e2157b6b07f5f6 100644 --- a/homeassistant/components/hp_ilo/sensor.py +++ b/homeassistant/components/hp_ilo/sensor.py @@ -13,7 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['python-hpilo==3.9'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/html5/notify.py b/homeassistant/components/html5/notify.py index fa7bf660b79f59..7a4ce9ad723720 100644 --- a/homeassistant/components/html5/notify.py +++ b/homeassistant/components/html5/notify.py @@ -24,9 +24,9 @@ ATTR_DATA, ATTR_TARGET, ATTR_TITLE, ATTR_TITLE_DEFAULT, DOMAIN, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['pywebpush==1.9.2'] -DEPENDENCIES = ['frontend'] + + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/http/__init__.py b/homeassistant/components/http/__init__.py index 0bcf3f85ff7932..710c309b321fba 100644 --- a/homeassistant/components/http/__init__.py +++ b/homeassistant/components/http/__init__.py @@ -29,7 +29,7 @@ from .static import CACHE_HEADERS, CachingStaticResource from .view import HomeAssistantView # noqa -REQUIREMENTS = ['aiohttp_cors==0.7.0'] + DOMAIN = 'http' diff --git a/homeassistant/components/huawei_lte/__init__.py b/homeassistant/components/huawei_lte/__init__.py index a462b1b3072f18..af4d78b35cc2e9 100644 --- a/homeassistant/components/huawei_lte/__init__.py +++ b/homeassistant/components/huawei_lte/__init__.py @@ -19,7 +19,7 @@ # 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) diff --git a/homeassistant/components/huawei_lte/device_tracker.py b/homeassistant/components/huawei_lte/device_tracker.py index 69bf42fb3fe5a5..5f14f7059b181a 100644 --- a/homeassistant/components/huawei_lte/device_tracker.py +++ b/homeassistant/components/huawei_lte/device_tracker.py @@ -11,7 +11,7 @@ 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 5e20a774c25d2a..ca13bc9e6e08fd 100644 --- a/homeassistant/components/huawei_lte/notify.py +++ b/homeassistant/components/huawei_lte/notify.py @@ -11,7 +11,7 @@ from ..huawei_lte import DATA_KEY -DEPENDENCIES = ['huawei_lte'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/huawei_lte/sensor.py b/homeassistant/components/huawei_lte/sensor.py index 42ad4b52f8d815..ba58348299b4d3 100644 --- a/homeassistant/components/huawei_lte/sensor.py +++ b/homeassistant/components/huawei_lte/sensor.py @@ -16,7 +16,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['huawei_lte'] + DEFAULT_NAME_TEMPLATE = 'Huawei {} {}' diff --git a/homeassistant/components/hue/__init__.py b/homeassistant/components/hue/__init__.py index 8f5c27f6516e8d..ab5b5a9ef8c241 100644 --- a/homeassistant/components/hue/__init__.py +++ b/homeassistant/components/hue/__init__.py @@ -14,7 +14,7 @@ # Loading the config flow file will register the flow from .config_flow import configured_hosts -REQUIREMENTS = ['aiohue==1.9.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hue/light.py b/homeassistant/components/hue/light.py index 0725c86bd954e0..038901be181619 100644 --- a/homeassistant/components/hue/light.py +++ b/homeassistant/components/hue/light.py @@ -16,7 +16,7 @@ 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 7f0709aa6c1cd6..e1ee269383a7f7 100644 --- a/homeassistant/components/hunterdouglas_powerview/scene.py +++ b/homeassistant/components/hunterdouglas_powerview/scene.py @@ -10,7 +10,7 @@ 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 9c7baf6db2e2dd..8320dc6a4627bb 100644 --- a/homeassistant/components/hydrawise/__init__.py +++ b/homeassistant/components/hydrawise/__init__.py @@ -14,7 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['hydrawiser==0.1.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hydrawise/binary_sensor.py b/homeassistant/components/hydrawise/binary_sensor.py index 85a51d3649eb55..3aedcac16c1e31 100644 --- a/homeassistant/components/hydrawise/binary_sensor.py +++ b/homeassistant/components/hydrawise/binary_sensor.py @@ -12,7 +12,7 @@ BINARY_SENSORS, DATA_HYDRAWISE, DEVICE_MAP, DEVICE_MAP_INDEX, HydrawiseEntity) -DEPENDENCIES = ['hydrawise'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hydrawise/sensor.py b/homeassistant/components/hydrawise/sensor.py index fc15a54ed60963..60cac1047b9242 100644 --- a/homeassistant/components/hydrawise/sensor.py +++ b/homeassistant/components/hydrawise/sensor.py @@ -10,7 +10,7 @@ from . import ( DATA_HYDRAWISE, DEVICE_MAP, DEVICE_MAP_INDEX, SENSORS, HydrawiseEntity) -DEPENDENCIES = ['hydrawise'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hydrawise/switch.py b/homeassistant/components/hydrawise/switch.py index dcbd5274a6237d..e51c719e7f182e 100644 --- a/homeassistant/components/hydrawise/switch.py +++ b/homeassistant/components/hydrawise/switch.py @@ -12,7 +12,7 @@ DEFAULT_WATERING_TIME, DEVICE_MAP, DEVICE_MAP_INDEX, SWITCHES, HydrawiseEntity) -DEPENDENCIES = ['hydrawise'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hydroquebec/sensor.py b/homeassistant/components/hydroquebec/sensor.py index 5f0fd9e01aded9..843fc2a96b3ea7 100644 --- a/homeassistant/components/hydroquebec/sensor.py +++ b/homeassistant/components/hydroquebec/sensor.py @@ -20,7 +20,7 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyhydroquebec==2.2.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ialarm/alarm_control_panel.py b/homeassistant/components/ialarm/alarm_control_panel.py index 8152c2496e603c..9d8cd76528a31b 100644 --- a/homeassistant/components/ialarm/alarm_control_panel.py +++ b/homeassistant/components/ialarm/alarm_control_panel.py @@ -12,7 +12,7 @@ STATE_ALARM_TRIGGERED) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyialarm==0.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/icloud/device_tracker.py b/homeassistant/components/icloud/device_tracker.py index 1d0e0d2fafb0f6..4fe6ed6a5051f2 100644 --- a/homeassistant/components/icloud/device_tracker.py +++ b/homeassistant/components/icloud/device_tracker.py @@ -17,7 +17,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pyicloud==0.9.1'] + CONF_ACCOUNTNAME = 'account_name' CONF_MAX_INTERVAL = 'max_interval' diff --git a/homeassistant/components/idteck_prox/__init__.py b/homeassistant/components/idteck_prox/__init__.py index 3de7aa7cc8c5fa..56814a1ea559db 100644 --- a/homeassistant/components/idteck_prox/__init__.py +++ b/homeassistant/components/idteck_prox/__init__.py @@ -7,7 +7,7 @@ from homeassistant.const import ( CONF_HOST, CONF_PORT, CONF_NAME, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['rfk101py==0.0.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ifttt/__init__.py b/homeassistant/components/ifttt/__init__.py index bad3984ea5bd20..47439fd394fad1 100644 --- a/homeassistant/components/ifttt/__init__.py +++ b/homeassistant/components/ifttt/__init__.py @@ -9,8 +9,8 @@ from homeassistant.helpers import config_entry_flow import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyfttt==0.3'] -DEPENDENCIES = ['webhook'] + + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ifttt/alarm_control_panel.py b/homeassistant/components/ifttt/alarm_control_panel.py index 3f806173196897..332beb7a081b98 100644 --- a/homeassistant/components/ifttt/alarm_control_panel.py +++ b/homeassistant/components/ifttt/alarm_control_panel.py @@ -15,7 +15,7 @@ from . import ATTR_EVENT, DOMAIN as IFTTT_DOMAIN, SERVICE_TRIGGER -DEPENDENCIES = ['ifttt'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/iglo/light.py b/homeassistant/components/iglo/light.py index 6851141efb46be..44b951e39a899a 100644 --- a/homeassistant/components/iglo/light.py +++ b/homeassistant/components/iglo/light.py @@ -12,7 +12,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['iglo==1.2.7'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ihc/__init__.py b/homeassistant/components/ihc/__init__.py index 102acd82551c4f..2160c1d5255cf1 100644 --- a/homeassistant/components/ihc/__init__.py +++ b/homeassistant/components/ihc/__init__.py @@ -21,7 +21,7 @@ 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__) diff --git a/homeassistant/components/ihc/binary_sensor.py b/homeassistant/components/ihc/binary_sensor.py index 69e3e1685af8c8..aafd54fe695538 100644 --- a/homeassistant/components/ihc/binary_sensor.py +++ b/homeassistant/components/ihc/binary_sensor.py @@ -6,7 +6,7 @@ from .const import CONF_INVERTING from .ihcdevice import IHCDevice -DEPENDENCIES = ['ihc'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/ihc/light.py b/homeassistant/components/ihc/light.py index ad6d0fb6511859..94057a07c240de 100644 --- a/homeassistant/components/ihc/light.py +++ b/homeassistant/components/ihc/light.py @@ -9,7 +9,7 @@ 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 fd1f2cee53a846..5b6d6f536b7c03 100644 --- a/homeassistant/components/ihc/sensor.py +++ b/homeassistant/components/ihc/sensor.py @@ -5,7 +5,7 @@ from . import IHC_CONTROLLER, IHC_DATA, IHC_INFO from .ihcdevice import IHCDevice -DEPENDENCIES = ['ihc'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/ihc/switch.py b/homeassistant/components/ihc/switch.py index e2189492b8f435..d3885f32dd2232 100644 --- a/homeassistant/components/ihc/switch.py +++ b/homeassistant/components/ihc/switch.py @@ -6,7 +6,7 @@ from .ihcdevice import IHCDevice from .util import async_pulse, async_set_bool -DEPENDENCIES = ['ihc'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/image_processing/__init__.py b/homeassistant/components/image_processing/__init__.py index e5193985629629..cfa087a2c305c6 100644 --- a/homeassistant/components/image_processing/__init__.py +++ b/homeassistant/components/image_processing/__init__.py @@ -17,7 +17,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'image_processing' -DEPENDENCIES = ['camera'] + SCAN_INTERVAL = timedelta(seconds=10) diff --git a/homeassistant/components/imap/sensor.py b/homeassistant/components/imap/sensor.py index 5ff23eb8e5d5c4..3dfcc8dae10d42 100644 --- a/homeassistant/components/imap/sensor.py +++ b/homeassistant/components/imap/sensor.py @@ -15,7 +15,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['aioimaplib==0.7.15'] + CONF_SERVER = 'server' CONF_FOLDER = 'folder' diff --git a/homeassistant/components/influxdb/__init__.py b/homeassistant/components/influxdb/__init__.py index 551996983c8004..58ea445ebc8190 100644 --- a/homeassistant/components/influxdb/__init__.py +++ b/homeassistant/components/influxdb/__init__.py @@ -18,7 +18,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity_values import EntityValues -REQUIREMENTS = ['influxdb==5.2.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/influxdb/sensor.py b/homeassistant/components/influxdb/sensor.py index 3bec7e3c657780..671faa18c0a2bf 100644 --- a/homeassistant/components/influxdb/sensor.py +++ b/homeassistant/components/influxdb/sensor.py @@ -18,7 +18,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['influxdb==5.2.0'] + DEFAULT_HOST = 'localhost' DEFAULT_PORT = 8086 diff --git a/homeassistant/components/insteon/__init__.py b/homeassistant/components/insteon/__init__.py index a462ac0f63efe3..83b45b4ee54410 100644 --- a/homeassistant/components/insteon/__init__.py +++ b/homeassistant/components/insteon/__init__.py @@ -13,7 +13,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['insteonplm==0.15.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/insteon/binary_sensor.py b/homeassistant/components/insteon/binary_sensor.py index 6f1e56756394f0..1d6591fd8fa549 100644 --- a/homeassistant/components/insteon/binary_sensor.py +++ b/homeassistant/components/insteon/binary_sensor.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['insteon'] + SENSOR_TYPES = { 'openClosedSensor': 'opening', diff --git a/homeassistant/components/insteon/cover.py b/homeassistant/components/insteon/cover.py index 1bb316152a9db9..75dda4929e3054 100644 --- a/homeassistant/components/insteon/cover.py +++ b/homeassistant/components/insteon/cover.py @@ -10,7 +10,7 @@ _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 26a56d6df98b3b..29171b2ac6e3a8 100644 --- a/homeassistant/components/insteon/fan.py +++ b/homeassistant/components/insteon/fan.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['insteon'] + SPEED_TO_HEX = { SPEED_OFF: 0x00, diff --git a/homeassistant/components/insteon/light.py b/homeassistant/components/insteon/light.py index 676c053325c65f..30bb494a28f046 100644 --- a/homeassistant/components/insteon/light.py +++ b/homeassistant/components/insteon/light.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['insteon'] + MAX_BRIGHTNESS = 255 diff --git a/homeassistant/components/insteon/sensor.py b/homeassistant/components/insteon/sensor.py index edea87e1f738aa..765d9a78334251 100644 --- a/homeassistant/components/insteon/sensor.py +++ b/homeassistant/components/insteon/sensor.py @@ -5,7 +5,7 @@ from . import InsteonEntity -DEPENDENCIES = ['insteon'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/insteon/switch.py b/homeassistant/components/insteon/switch.py index 4fdcdb20bb2847..d02bb060a21c5d 100644 --- a/homeassistant/components/insteon/switch.py +++ b/homeassistant/components/insteon/switch.py @@ -5,7 +5,7 @@ from . import InsteonEntity -DEPENDENCIES = ['insteon'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ios/__init__.py b/homeassistant/components/ios/__init__.py index cc8bd62293a18b..20e203f1f82046 100644 --- a/homeassistant/components/ios/__init__.py +++ b/homeassistant/components/ios/__init__.py @@ -17,7 +17,7 @@ DOMAIN = 'ios' -DEPENDENCIES = ['device_tracker', 'http', 'zeroconf'] + CONF_PUSH = 'push' CONF_PUSH_CATEGORIES = 'categories' diff --git a/homeassistant/components/ios/notify.py b/homeassistant/components/ios/notify.py index 1f8aade4ec17a8..9264ebae9645fd 100644 --- a/homeassistant/components/ios/notify.py +++ b/homeassistant/components/ios/notify.py @@ -14,7 +14,7 @@ PUSH_URL = "https://ios-push.home-assistant.io/push" -DEPENDENCIES = ["ios"] + # pylint: disable=invalid-name diff --git a/homeassistant/components/ios/sensor.py b/homeassistant/components/ios/sensor.py index 404b313368cebe..4003cb18cbded2 100644 --- a/homeassistant/components/ios/sensor.py +++ b/homeassistant/components/ios/sensor.py @@ -3,7 +3,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.icon import icon_for_battery_level -DEPENDENCIES = ['ios'] + SENSOR_TYPES = { 'level': ['Battery Level', '%'], diff --git a/homeassistant/components/iota/__init__.py b/homeassistant/components/iota/__init__.py index e28de61aad0174..a7141d23d938ba 100644 --- a/homeassistant/components/iota/__init__.py +++ b/homeassistant/components/iota/__init__.py @@ -8,7 +8,7 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyota==2.0.5'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/iota/sensor.py b/homeassistant/components/iota/sensor.py index 2955828aff5a77..22dcded99210ed 100644 --- a/homeassistant/components/iota/sensor.py +++ b/homeassistant/components/iota/sensor.py @@ -15,7 +15,7 @@ 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 01ac2194f355e7..ba5af03f8cecf0 100644 --- a/homeassistant/components/iperf3/__init__.py +++ b/homeassistant/components/iperf3/__init__.py @@ -12,7 +12,7 @@ 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 db9aafcdf4bb19..85916e0e54c978 100644 --- a/homeassistant/components/iperf3/sensor.py +++ b/homeassistant/components/iperf3/sensor.py @@ -6,7 +6,7 @@ from . import ATTR_VERSION, DATA_UPDATED, DOMAIN as IPERF3_DOMAIN, SENSOR_TYPES -DEPENDENCIES = ['iperf3'] + ATTRIBUTION = 'Data retrieved using Iperf3' diff --git a/homeassistant/components/ipma/weather.py b/homeassistant/components/ipma/weather.py index 7122957ad12d95..0e46199d815043 100644 --- a/homeassistant/components/ipma/weather.py +++ b/homeassistant/components/ipma/weather.py @@ -15,7 +15,7 @@ from homeassistant.helpers import config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['pyipma==1.2.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/irish_rail_transport/sensor.py b/homeassistant/components/irish_rail_transport/sensor.py index e17ecfde59da5b..8a4db9a2ea23dd 100644 --- a/homeassistant/components/irish_rail_transport/sensor.py +++ b/homeassistant/components/irish_rail_transport/sensor.py @@ -9,7 +9,7 @@ from homeassistant.const import CONF_NAME, ATTR_ATTRIBUTION from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyirishrail==0.0.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/islamic_prayer_times/sensor.py b/homeassistant/components/islamic_prayer_times/sensor.py index 9efbc237e30a5e..15595bd8517c9f 100644 --- a/homeassistant/components/islamic_prayer_times/sensor.py +++ b/homeassistant/components/islamic_prayer_times/sensor.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/iss/binary_sensor.py b/homeassistant/components/iss/binary_sensor.py index 381bc16791826e..1761f595f59a19 100644 --- a/homeassistant/components/iss/binary_sensor.py +++ b/homeassistant/components/iss/binary_sensor.py @@ -12,7 +12,7 @@ CONF_NAME, ATTR_LONGITUDE, ATTR_LATITUDE, CONF_SHOW_ON_MAP) from homeassistant.util import Throttle -REQUIREMENTS = ['pyiss==1.0.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/isy994/__init__.py b/homeassistant/components/isy994/__init__.py index 4eaa71deececa5..321b231783691b 100644 --- a/homeassistant/components/isy994/__init__.py +++ b/homeassistant/components/isy994/__init__.py @@ -12,7 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.typing import ConfigType, Dict -REQUIREMENTS = ['PyISY==1.1.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/itach/remote.py b/homeassistant/components/itach/remote.py index beb773838fb17d..a0794edcdd1e6b 100644 --- a/homeassistant/components/itach/remote.py +++ b/homeassistant/components/itach/remote.py @@ -10,7 +10,7 @@ CONF_DEVICES) from homeassistant.components.remote import PLATFORM_SCHEMA -REQUIREMENTS = ['pyitachip2ir==0.0.7'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/jewish_calendar/sensor.py b/homeassistant/components/jewish_calendar/sensor.py index 478bbed98fa6c7..37c625bf1ab1b2 100644 --- a/homeassistant/components/jewish_calendar/sensor.py +++ b/homeassistant/components/jewish_calendar/sensor.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/joaoapps_join/__init__.py b/homeassistant/components/joaoapps_join/__init__.py index f1371deed2bdf5..8d438b4919a9e1 100644 --- a/homeassistant/components/joaoapps_join/__init__.py +++ b/homeassistant/components/joaoapps_join/__init__.py @@ -6,7 +6,7 @@ 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__) diff --git a/homeassistant/components/joaoapps_join/notify.py b/homeassistant/components/joaoapps_join/notify.py index 0137520049d423..ca73d46bd0479d 100644 --- a/homeassistant/components/joaoapps_join/notify.py +++ b/homeassistant/components/joaoapps_join/notify.py @@ -7,7 +7,7 @@ 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__) diff --git a/homeassistant/components/juicenet/__init__.py b/homeassistant/components/juicenet/__init__.py index f62331d1502ea0..056b202d3468e1 100644 --- a/homeassistant/components/juicenet/__init__.py +++ b/homeassistant/components/juicenet/__init__.py @@ -8,7 +8,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-juicenet==0.0.5'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/juicenet/sensor.py b/homeassistant/components/juicenet/sensor.py index 6b55e539547d24..d480501fb99c42 100644 --- a/homeassistant/components/juicenet/sensor.py +++ b/homeassistant/components/juicenet/sensor.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['juicenet'] + SENSOR_TYPES = { 'status': ['Charging Status', None], diff --git a/homeassistant/components/keenetic_ndms2/device_tracker.py b/homeassistant/components/keenetic_ndms2/device_tracker.py index f873507112dc62..22549b0f68d7c8 100644 --- a/homeassistant/components/keenetic_ndms2/device_tracker.py +++ b/homeassistant/components/keenetic_ndms2/device_tracker.py @@ -10,7 +10,7 @@ CONF_HOST, CONF_PORT, CONF_PASSWORD, CONF_USERNAME ) -REQUIREMENTS = ['ndms2_client==0.0.6'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/keyboard/__init__.py b/homeassistant/components/keyboard/__init__.py index 44accca2f56a7e..54db68578c979a 100644 --- a/homeassistant/components/keyboard/__init__.py +++ b/homeassistant/components/keyboard/__init__.py @@ -6,7 +6,7 @@ SERVICE_MEDIA_PREVIOUS_TRACK, SERVICE_VOLUME_DOWN, SERVICE_VOLUME_MUTE, SERVICE_VOLUME_UP) -REQUIREMENTS = ['pyuserinput==0.1.11'] + DOMAIN = 'keyboard' diff --git a/homeassistant/components/keyboard_remote/__init__.py b/homeassistant/components/keyboard_remote/__init__.py index e786fe458a8460..7abaeccf4929f6 100644 --- a/homeassistant/components/keyboard_remote/__init__.py +++ b/homeassistant/components/keyboard_remote/__init__.py @@ -11,7 +11,7 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['evdev==0.6.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/kira/__init__.py b/homeassistant/components/kira/__init__.py index d60d8e0cfeb10a..422c5ca2dca2e1 100644 --- a/homeassistant/components/kira/__init__.py +++ b/homeassistant/components/kira/__init__.py @@ -12,7 +12,7 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pykira==0.1.1'] + DOMAIN = 'kira' diff --git a/homeassistant/components/kiwi/lock.py b/homeassistant/components/kiwi/lock.py index 0b5806425d95a7..303b35fe8d1477 100644 --- a/homeassistant/components/kiwi/lock.py +++ b/homeassistant/components/kiwi/lock.py @@ -11,7 +11,7 @@ from homeassistant.helpers.event import async_call_later from homeassistant.core import callback -REQUIREMENTS = ['kiwiki-client==0.1.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/knx/__init__.py b/homeassistant/components/knx/__init__.py index ea5b18b7ede91a..b39cce0f393fe3 100644 --- a/homeassistant/components/knx/__init__.py +++ b/homeassistant/components/knx/__init__.py @@ -11,7 +11,7 @@ from homeassistant.helpers.event import async_track_state_change from homeassistant.helpers.script import Script -REQUIREMENTS = ['xknx==0.10.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/knx/binary_sensor.py b/homeassistant/components/knx/binary_sensor.py index 8ee21e24c5e978..b636894fcf41d4 100644 --- a/homeassistant/components/knx/binary_sensor.py +++ b/homeassistant/components/knx/binary_sensor.py @@ -22,7 +22,7 @@ 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, diff --git a/homeassistant/components/knx/climate.py b/homeassistant/components/knx/climate.py index e11e5449326bf5..6b75c6ab713d50 100644 --- a/homeassistant/components/knx/climate.py +++ b/homeassistant/components/knx/climate.py @@ -39,7 +39,7 @@ 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 = { diff --git a/homeassistant/components/knx/cover.py b/homeassistant/components/knx/cover.py index b2b287d1e87d23..4a33af163651b7 100644 --- a/homeassistant/components/knx/cover.py +++ b/homeassistant/components/knx/cover.py @@ -25,7 +25,7 @@ DEFAULT_TRAVEL_TIME = 25 DEFAULT_NAME = 'KNX Cover' -DEPENDENCIES = ['knx'] + PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, diff --git a/homeassistant/components/knx/light.py b/homeassistant/components/knx/light.py index cf59f1fc135b3b..24b5d02d3cab4d 100644 --- a/homeassistant/components/knx/light.py +++ b/homeassistant/components/knx/light.py @@ -30,7 +30,7 @@ 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 742252d187426f..8342fc10632733 100644 --- a/homeassistant/components/knx/notify.py +++ b/homeassistant/components/knx/notify.py @@ -11,7 +11,7 @@ DEFAULT_NAME = 'KNX Notify' -DEPENDENCIES = ['knx'] + PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADDRESS): cv.string, diff --git a/homeassistant/components/knx/scene.py b/homeassistant/components/knx/scene.py index 4bf186c28ff7d4..271e9efb22c7a9 100644 --- a/homeassistant/components/knx/scene.py +++ b/homeassistant/components/knx/scene.py @@ -11,7 +11,7 @@ CONF_SCENE_NUMBER = 'scene_number' DEFAULT_NAME = 'KNX SCENE' -DEPENDENCIES = ['knx'] + PLATFORM_SCHEMA = vol.Schema({ vol.Required(CONF_PLATFORM): 'knx', diff --git a/homeassistant/components/knx/sensor.py b/homeassistant/components/knx/sensor.py index 7ddafe53be44b0..cfaf8bd91f8875 100644 --- a/homeassistant/components/knx/sensor.py +++ b/homeassistant/components/knx/sensor.py @@ -10,7 +10,7 @@ from . import ATTR_DISCOVER_DEVICES, DATA_KNX DEFAULT_NAME = 'KNX Sensor' -DEPENDENCIES = ['knx'] + PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADDRESS): cv.string, diff --git a/homeassistant/components/knx/switch.py b/homeassistant/components/knx/switch.py index e3beff39677954..29a98d28807fab 100644 --- a/homeassistant/components/knx/switch.py +++ b/homeassistant/components/knx/switch.py @@ -11,7 +11,7 @@ CONF_STATE_ADDRESS = 'state_address' DEFAULT_NAME = 'KNX Switch' -DEPENDENCIES = ['knx'] + PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADDRESS): cv.string, diff --git a/homeassistant/components/kodi/media_player.py b/homeassistant/components/kodi/media_player.py index 81c93dba2ac417..3f2974281fe5d7 100644 --- a/homeassistant/components/kodi/media_player.py +++ b/homeassistant/components/kodi/media_player.py @@ -31,7 +31,7 @@ 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__) diff --git a/homeassistant/components/kodi/notify.py b/homeassistant/components/kodi/notify.py index f6ee2c47b96b7c..8d9bfbe8fbec2f 100644 --- a/homeassistant/components/kodi/notify.py +++ b/homeassistant/components/kodi/notify.py @@ -14,7 +14,7 @@ ATTR_DATA, ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['jsonrpc-async==0.6'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/konnected/__init__.py b/homeassistant/components/konnected/__init__.py index 276e395817c0d5..50c107b12ee4b0 100644 --- a/homeassistant/components/konnected/__init__.py +++ b/homeassistant/components/konnected/__init__.py @@ -32,7 +32,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['konnected==0.1.5'] + _BINARY_SENSOR_SCHEMA = vol.All( vol.Schema({ @@ -96,7 +96,7 @@ extra=vol.ALLOW_EXTRA, ) -DEPENDENCIES = ['http'] + async def async_setup(hass, config): diff --git a/homeassistant/components/konnected/binary_sensor.py b/homeassistant/components/konnected/binary_sensor.py index 1fbfbea1861c25..7c884f90f5ee2a 100644 --- a/homeassistant/components/konnected/binary_sensor.py +++ b/homeassistant/components/konnected/binary_sensor.py @@ -12,7 +12,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['konnected'] + async def async_setup_platform( diff --git a/homeassistant/components/konnected/sensor.py b/homeassistant/components/konnected/sensor.py index a48d1a58619600..43d9de96214ca3 100644 --- a/homeassistant/components/konnected/sensor.py +++ b/homeassistant/components/konnected/sensor.py @@ -13,7 +13,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['konnected'] + SENSOR_TYPES = { DEVICE_CLASS_TEMPERATURE: ['Temperature', TEMP_CELSIUS], diff --git a/homeassistant/components/konnected/switch.py b/homeassistant/components/konnected/switch.py index 3db602215b968d..3d8d2a88067b96 100644 --- a/homeassistant/components/konnected/switch.py +++ b/homeassistant/components/konnected/switch.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['konnected'] + async def async_setup_platform( diff --git a/homeassistant/components/kwb/sensor.py b/homeassistant/components/kwb/sensor.py index bad0ea3cdede51..08292377a60a48 100644 --- a/homeassistant/components/kwb/sensor.py +++ b/homeassistant/components/kwb/sensor.py @@ -9,7 +9,7 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pykwb==0.0.8'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lacrosse/sensor.py b/homeassistant/components/lacrosse/sensor.py index 9240343a5e3e69..4b5e000708f7bc 100644 --- a/homeassistant/components/lacrosse/sensor.py +++ b/homeassistant/components/lacrosse/sensor.py @@ -14,7 +14,7 @@ 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__) diff --git a/homeassistant/components/lametric/__init__.py b/homeassistant/components/lametric/__init__.py index 0c3c8b08dd732e..bcd8aec4b90b8a 100644 --- a/homeassistant/components/lametric/__init__.py +++ b/homeassistant/components/lametric/__init__.py @@ -5,7 +5,7 @@ import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['lmnotify==0.0.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lametric/notify.py b/homeassistant/components/lametric/notify.py index 358bb056b00e33..7c7ab711e70d13 100644 --- a/homeassistant/components/lametric/notify.py +++ b/homeassistant/components/lametric/notify.py @@ -11,7 +11,7 @@ from . import DOMAIN as LAMETRIC_DOMAIN -REQUIREMENTS = ['lmnotify==0.0.4'] + _LOGGER = logging.getLogger(__name__) @@ -21,7 +21,7 @@ CONF_LIFETIME = 'lifetime' CONF_PRIORITY = 'priority' -DEPENDENCIES = ['lametric'] + PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_ICON, default='a7956'): cv.string, diff --git a/homeassistant/components/lastfm/sensor.py b/homeassistant/components/lastfm/sensor.py index e4e28eff4f1819..0dad1ac7c6c52a 100644 --- a/homeassistant/components/lastfm/sensor.py +++ b/homeassistant/components/lastfm/sensor.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pylast==3.1.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/launch_library/sensor.py b/homeassistant/components/launch_library/sensor.py index 4b42ddba268b0b..0d5bc2b764a999 100644 --- a/homeassistant/components/launch_library/sensor.py +++ b/homeassistant/components/launch_library/sensor.py @@ -10,7 +10,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['pylaunches==0.2.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lcn/__init__.py b/homeassistant/components/lcn/__init__.py index 44f69c261b9c88..018a84f7156232 100644 --- a/homeassistant/components/lcn/__init__.py +++ b/homeassistant/components/lcn/__init__.py @@ -20,7 +20,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pypck==0.5.9'] + def has_unique_connection_names(connections): diff --git a/homeassistant/components/lcn/binary_sensor.py b/homeassistant/components/lcn/binary_sensor.py index 0ffa2e50d8b21d..974572dbc2a07a 100755 --- a/homeassistant/components/lcn/binary_sensor.py +++ b/homeassistant/components/lcn/binary_sensor.py @@ -6,7 +6,7 @@ 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, diff --git a/homeassistant/components/lcn/cover.py b/homeassistant/components/lcn/cover.py index a32ff7c23f4605..8172303dfac226 100755 --- a/homeassistant/components/lcn/cover.py +++ b/homeassistant/components/lcn/cover.py @@ -5,7 +5,7 @@ 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, diff --git a/homeassistant/components/lcn/light.py b/homeassistant/components/lcn/light.py index 00b78259354e51..f21f2c8c3ade49 100644 --- a/homeassistant/components/lcn/light.py +++ b/homeassistant/components/lcn/light.py @@ -9,7 +9,7 @@ CONF_CONNECTIONS, CONF_DIMMABLE, CONF_OUTPUT, CONF_TRANSITION, DATA_LCN, OUTPUT_PORTS) -DEPENDENCIES = ['lcn'] + async def async_setup_platform( diff --git a/homeassistant/components/lcn/sensor.py b/homeassistant/components/lcn/sensor.py index 5e50d092ada05d..87bab240e5f07e 100755 --- a/homeassistant/components/lcn/sensor.py +++ b/homeassistant/components/lcn/sensor.py @@ -6,7 +6,7 @@ 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, diff --git a/homeassistant/components/lcn/switch.py b/homeassistant/components/lcn/switch.py index 7c375f4a598c79..fcfaef1c64bc3f 100755 --- a/homeassistant/components/lcn/switch.py +++ b/homeassistant/components/lcn/switch.py @@ -5,7 +5,7 @@ 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, diff --git a/homeassistant/components/lg_netcast/media_player.py b/homeassistant/components/lg_netcast/media_player.py index 12fee5fae96eda..691bdb3cc0777a 100644 --- a/homeassistant/components/lg_netcast/media_player.py +++ b/homeassistant/components/lg_netcast/media_player.py @@ -17,7 +17,7 @@ STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pylgnetcast-homeassistant==0.2.0.dev0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lg_soundbar/media_player.py b/homeassistant/components/lg_soundbar/media_player.py index 2e2481a462b5a9..305c3a74f9a615 100644 --- a/homeassistant/components/lg_soundbar/media_player.py +++ b/homeassistant/components/lg_soundbar/media_player.py @@ -9,7 +9,7 @@ from homeassistant.const import STATE_ON -REQUIREMENTS = ['temescal==0.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lifx/__init__.py b/homeassistant/components/lifx/__init__.py index 82802bab4af75c..d2f9e4cf4395da 100644 --- a/homeassistant/components/lifx/__init__.py +++ b/homeassistant/components/lifx/__init__.py @@ -8,7 +8,7 @@ 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 014ca9ae6c80b5..eb5699aaf9dc09 100644 --- a/homeassistant/components/lifx/light.py +++ b/homeassistant/components/lifx/light.py @@ -30,8 +30,8 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lifx'] -REQUIREMENTS = ['aiolifx_effects==0.2.1'] + + SCAN_INTERVAL = timedelta(seconds=10) diff --git a/homeassistant/components/lifx_legacy/light.py b/homeassistant/components/lifx_legacy/light.py index 6c5f68937f88a5..1c4e66cf7f7207 100644 --- a/homeassistant/components/lifx_legacy/light.py +++ b/homeassistant/components/lifx_legacy/light.py @@ -22,7 +22,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['liffylights==0.9.4'] + BYTE_MAX = 255 diff --git a/homeassistant/components/light/__init__.py b/homeassistant/components/light/__init__.py index db2e9ce0197b50..4971cd257c6c84 100644 --- a/homeassistant/components/light/__init__.py +++ b/homeassistant/components/light/__init__.py @@ -24,7 +24,7 @@ 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 f6e11352265dcf..54407ade74230d 100644 --- a/homeassistant/components/lightwave/__init__.py +++ b/homeassistant/components/lightwave/__init__.py @@ -5,7 +5,7 @@ CONF_SWITCHES) from homeassistant.helpers.discovery import async_load_platform -REQUIREMENTS = ['lightwave==0.15'] + LIGHTWAVE_LINK = 'lightwave_link' diff --git a/homeassistant/components/lightwave/light.py b/homeassistant/components/lightwave/light.py index f22533d2548dca..54e5f9672fde37 100644 --- a/homeassistant/components/lightwave/light.py +++ b/homeassistant/components/lightwave/light.py @@ -5,7 +5,7 @@ from . import LIGHTWAVE_LINK -DEPENDENCIES = ['lightwave'] + MAX_BRIGHTNESS = 255 diff --git a/homeassistant/components/lightwave/switch.py b/homeassistant/components/lightwave/switch.py index dfa93b4b151844..d4b27eef880217 100644 --- a/homeassistant/components/lightwave/switch.py +++ b/homeassistant/components/lightwave/switch.py @@ -4,7 +4,7 @@ from . import LIGHTWAVE_LINK -DEPENDENCIES = ['lightwave'] + async def async_setup_platform( diff --git a/homeassistant/components/limitlessled/light.py b/homeassistant/components/limitlessled/light.py index 4f187afa1d75df..31f6679400eb97 100644 --- a/homeassistant/components/limitlessled/light.py +++ b/homeassistant/components/limitlessled/light.py @@ -15,7 +15,7 @@ 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__) diff --git a/homeassistant/components/linksys_ap/device_tracker.py b/homeassistant/components/linksys_ap/device_tracker.py index 46cc78d4e4ae36..324a8390c54bb4 100644 --- a/homeassistant/components/linksys_ap/device_tracker.py +++ b/homeassistant/components/linksys_ap/device_tracker.py @@ -14,7 +14,7 @@ INTERFACES = 2 DEFAULT_TIMEOUT = 10 -REQUIREMENTS = ['beautifulsoup4==4.7.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/linky/sensor.py b/homeassistant/components/linky/sensor.py index 35f85f15ed6332..0684a766f956f7 100644 --- a/homeassistant/components/linky/sensor.py +++ b/homeassistant/components/linky/sensor.py @@ -12,7 +12,7 @@ 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 8bbd98c0acf778..1292b76110b0b1 100644 --- a/homeassistant/components/linode/__init__.py +++ b/homeassistant/components/linode/__init__.py @@ -8,7 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['linode-api==4.1.9b1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/linode/binary_sensor.py b/homeassistant/components/linode/binary_sensor.py index 19455917dbb28b..d82c48c61fddbd 100644 --- a/homeassistant/components/linode/binary_sensor.py +++ b/homeassistant/components/linode/binary_sensor.py @@ -16,7 +16,7 @@ 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 e5f97ef756e403..378bc1824eedbe 100644 --- a/homeassistant/components/linode/switch.py +++ b/homeassistant/components/linode/switch.py @@ -13,7 +13,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['linode'] + DEFAULT_NAME = 'Node' diff --git a/homeassistant/components/linux_battery/sensor.py b/homeassistant/components/linux_battery/sensor.py index 7164315de8ea42..6ff6487a530565 100644 --- a/homeassistant/components/linux_battery/sensor.py +++ b/homeassistant/components/linux_battery/sensor.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['batinfo==0.4.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lirc/__init__.py b/homeassistant/components/lirc/__init__.py index 0f00eda20072c0..72e1c4be2e7b9a 100644 --- a/homeassistant/components/lirc/__init__.py +++ b/homeassistant/components/lirc/__init__.py @@ -9,7 +9,7 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_STOP, EVENT_HOMEASSISTANT_START) -REQUIREMENTS = ['python-lirc==1.2.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/litejet/__init__.py b/homeassistant/components/litejet/__init__.py index b4e8e45fa0b742..d5bb4a60153e23 100644 --- a/homeassistant/components/litejet/__init__.py +++ b/homeassistant/components/litejet/__init__.py @@ -7,7 +7,7 @@ from homeassistant.helpers import discovery from homeassistant.const import CONF_PORT -REQUIREMENTS = ['pylitejet==0.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/litejet/light.py b/homeassistant/components/litejet/light.py index e52e50ed21a858..4a13526e39fa24 100644 --- a/homeassistant/components/litejet/light.py +++ b/homeassistant/components/litejet/light.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['litejet'] + ATTR_NUMBER = 'number' diff --git a/homeassistant/components/litejet/scene.py b/homeassistant/components/litejet/scene.py index 2563c9ceb0c480..725334e303eb6b 100644 --- a/homeassistant/components/litejet/scene.py +++ b/homeassistant/components/litejet/scene.py @@ -4,7 +4,7 @@ from homeassistant.components import litejet from homeassistant.components.scene import Scene -DEPENDENCIES = ['litejet'] + ATTR_NUMBER = 'number' diff --git a/homeassistant/components/litejet/switch.py b/homeassistant/components/litejet/switch.py index 9972dcb9f44797..92bd655f3fba7a 100644 --- a/homeassistant/components/litejet/switch.py +++ b/homeassistant/components/litejet/switch.py @@ -4,7 +4,7 @@ from homeassistant.components import litejet from homeassistant.components.switch import SwitchDevice -DEPENDENCIES = ['litejet'] + ATTR_NUMBER = 'number' diff --git a/homeassistant/components/liveboxplaytv/media_player.py b/homeassistant/components/liveboxplaytv/media_player.py index 1ee9931d233c0d..46e23cd211d4ca 100644 --- a/homeassistant/components/liveboxplaytv/media_player.py +++ b/homeassistant/components/liveboxplaytv/media_player.py @@ -18,7 +18,7 @@ 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__) diff --git a/homeassistant/components/locative/__init__.py b/homeassistant/components/locative/__init__.py index 335ae4cfe1eae9..36c639ba84864d 100644 --- a/homeassistant/components/locative/__init__.py +++ b/homeassistant/components/locative/__init__.py @@ -16,7 +16,7 @@ _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 51135f4e21a941..a25de7538c84d8 100644 --- a/homeassistant/components/locative/device_tracker.py +++ b/homeassistant/components/locative/device_tracker.py @@ -10,7 +10,7 @@ _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 fe5286ba813daf..a7b45cabcd09aa 100644 --- a/homeassistant/components/lock/__init__.py +++ b/homeassistant/components/lock/__init__.py @@ -19,7 +19,7 @@ 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 7a0fb5e2654b3a..97b3e89037114d 100644 --- a/homeassistant/components/logbook/__init__.py +++ b/homeassistant/components/logbook/__init__.py @@ -31,7 +31,7 @@ CONF_ENTITIES = 'entities' CONTINUOUS_DOMAINS = ['proximity', 'sensor'] -DEPENDENCIES = ['recorder', 'frontend'] + DOMAIN = 'logbook' diff --git a/homeassistant/components/logi_circle/__init__.py b/homeassistant/components/logi_circle/__init__.py index 433895293f441d..d14d331eea77a5 100644 --- a/homeassistant/components/logi_circle/__init__.py +++ b/homeassistant/components/logi_circle/__init__.py @@ -20,7 +20,7 @@ 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 b69f23ac19dc7e..0ececc9657ae20 100644 --- a/homeassistant/components/logi_circle/camera.py +++ b/homeassistant/components/logi_circle/camera.py @@ -15,7 +15,7 @@ RECORDING_MODE_KEY, SIGNAL_LOGI_CIRCLE_RECONFIGURE, SIGNAL_LOGI_CIRCLE_RECORD, SIGNAL_LOGI_CIRCLE_SNAPSHOT) -DEPENDENCIES = ['logi_circle', 'ffmpeg'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/logi_circle/sensor.py b/homeassistant/components/logi_circle/sensor.py index 01d5492eea7ce7..5b0efc0af949e3 100644 --- a/homeassistant/components/logi_circle/sensor.py +++ b/homeassistant/components/logi_circle/sensor.py @@ -11,7 +11,7 @@ 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 c2502e2ab2be60..4421f1d614febc 100644 --- a/homeassistant/components/london_underground/sensor.py +++ b/homeassistant/components/london_underground/sensor.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['london-tube-status==0.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/loopenergy/sensor.py b/homeassistant/components/loopenergy/sensor.py index 23bdf48f64506d..f6a4db9ef55f7d 100644 --- a/homeassistant/components/loopenergy/sensor.py +++ b/homeassistant/components/loopenergy/sensor.py @@ -12,7 +12,7 @@ _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 77273d89d42033..bd11cfb9a81905 100644 --- a/homeassistant/components/luci/device_tracker.py +++ b/homeassistant/components/luci/device_tracker.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/luftdaten/__init__.py b/homeassistant/components/luftdaten/__init__.py index 125cefb90265d6..898f90d06875d5 100644 --- a/homeassistant/components/luftdaten/__init__.py +++ b/homeassistant/components/luftdaten/__init__.py @@ -17,7 +17,7 @@ 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__) diff --git a/homeassistant/components/luftdaten/sensor.py b/homeassistant/components/luftdaten/sensor.py index 107673bac45214..a4c734e8ec01a5 100644 --- a/homeassistant/components/luftdaten/sensor.py +++ b/homeassistant/components/luftdaten/sensor.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['luftdaten'] + async def async_setup_platform( diff --git a/homeassistant/components/lupusec/__init__.py b/homeassistant/components/lupusec/__init__.py index 8a5f098f741929..5eeb68b7b78ffe 100644 --- a/homeassistant/components/lupusec/__init__.py +++ b/homeassistant/components/lupusec/__init__.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['lupupy==0.0.17'] + DOMAIN = 'lupusec' diff --git a/homeassistant/components/lupusec/alarm_control_panel.py b/homeassistant/components/lupusec/alarm_control_panel.py index 0a88f3bd552fc4..f22952034875c6 100644 --- a/homeassistant/components/lupusec/alarm_control_panel.py +++ b/homeassistant/components/lupusec/alarm_control_panel.py @@ -8,7 +8,7 @@ from . import DOMAIN as LUPUSEC_DOMAIN, LupusecDevice -DEPENDENCIES = ['lupusec'] + ICON = 'mdi:security' diff --git a/homeassistant/components/lupusec/binary_sensor.py b/homeassistant/components/lupusec/binary_sensor.py index 2c3f5e0e0b86e0..a8e4afdbd9d22b 100644 --- a/homeassistant/components/lupusec/binary_sensor.py +++ b/homeassistant/components/lupusec/binary_sensor.py @@ -7,7 +7,7 @@ from . import DOMAIN as LUPUSEC_DOMAIN, LupusecDevice -DEPENDENCIES = ['lupusec'] + SCAN_INTERVAL = timedelta(seconds=2) diff --git a/homeassistant/components/lupusec/switch.py b/homeassistant/components/lupusec/switch.py index 0d86ea0a3650bf..a65b4e20010888 100644 --- a/homeassistant/components/lupusec/switch.py +++ b/homeassistant/components/lupusec/switch.py @@ -6,7 +6,7 @@ from . import DOMAIN as LUPUSEC_DOMAIN, LupusecDevice -DEPENDENCIES = ['lupusec'] + SCAN_INTERVAL = timedelta(seconds=2) diff --git a/homeassistant/components/lutron/__init__.py b/homeassistant/components/lutron/__init__.py index f642e96d8f6433..bfea1f4b4d5c99 100644 --- a/homeassistant/components/lutron/__init__.py +++ b/homeassistant/components/lutron/__init__.py @@ -10,7 +10,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import slugify -REQUIREMENTS = ['pylutron==0.2.0'] + DOMAIN = 'lutron' diff --git a/homeassistant/components/lutron/cover.py b/homeassistant/components/lutron/cover.py index da7f69095fc436..9dbf7374aa21d8 100644 --- a/homeassistant/components/lutron/cover.py +++ b/homeassistant/components/lutron/cover.py @@ -9,7 +9,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/lutron/light.py b/homeassistant/components/lutron/light.py index 5f3fd4787fd3ef..f042bfa5db152f 100644 --- a/homeassistant/components/lutron/light.py +++ b/homeassistant/components/lutron/light.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/lutron/scene.py b/homeassistant/components/lutron/scene.py index a2d18c6d242407..afe91599daf4f7 100644 --- a/homeassistant/components/lutron/scene.py +++ b/homeassistant/components/lutron/scene.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/lutron/switch.py b/homeassistant/components/lutron/switch.py index b42c0d930bc834..2a3e48b068515d 100644 --- a/homeassistant/components/lutron/switch.py +++ b/homeassistant/components/lutron/switch.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/lutron_caseta/__init__.py b/homeassistant/components/lutron_caseta/__init__.py index 61c005f60b2d22..4490d16329bca8 100644 --- a/homeassistant/components/lutron_caseta/__init__.py +++ b/homeassistant/components/lutron_caseta/__init__.py @@ -8,7 +8,7 @@ from homeassistant.helpers import discovery from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pylutron-caseta==0.5.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lutron_caseta/cover.py b/homeassistant/components/lutron_caseta/cover.py index d970f5282ff003..d4c061e13bdfd1 100644 --- a/homeassistant/components/lutron_caseta/cover.py +++ b/homeassistant/components/lutron_caseta/cover.py @@ -9,7 +9,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron_caseta'] + async def async_setup_platform( diff --git a/homeassistant/components/lutron_caseta/light.py b/homeassistant/components/lutron_caseta/light.py index d883da73c9161a..67efce514a9ae2 100644 --- a/homeassistant/components/lutron_caseta/light.py +++ b/homeassistant/components/lutron_caseta/light.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron_caseta'] + async def async_setup_platform( diff --git a/homeassistant/components/lutron_caseta/scene.py b/homeassistant/components/lutron_caseta/scene.py index 2e7059a56fc0a2..92b2476dbb1da7 100644 --- a/homeassistant/components/lutron_caseta/scene.py +++ b/homeassistant/components/lutron_caseta/scene.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron_caseta'] + async def async_setup_platform( diff --git a/homeassistant/components/lutron_caseta/switch.py b/homeassistant/components/lutron_caseta/switch.py index 54c670913576ce..860707656e96cd 100644 --- a/homeassistant/components/lutron_caseta/switch.py +++ b/homeassistant/components/lutron_caseta/switch.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron_caseta'] + async def async_setup_platform( diff --git a/homeassistant/components/lw12wifi/light.py b/homeassistant/components/lw12wifi/light.py index 5d9b7635ad2dd1..b00f8948bacc30 100644 --- a/homeassistant/components/lw12wifi/light.py +++ b/homeassistant/components/lw12wifi/light.py @@ -16,7 +16,7 @@ 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 98d79cd970b965..6f13ba64225824 100644 --- a/homeassistant/components/lyft/sensor.py +++ b/homeassistant/components/lyft/sensor.py @@ -9,7 +9,7 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['lyft_rides==0.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/magicseaweed/sensor.py b/homeassistant/components/magicseaweed/sensor.py index 4c09d1e09e04f0..eaa61d2b7a60f1 100644 --- a/homeassistant/components/magicseaweed/sensor.py +++ b/homeassistant/components/magicseaweed/sensor.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['magicseaweed==1.0.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mailbox/__init__.py b/homeassistant/components/mailbox/__init__.py index 1907a1e9e978a7..359e6e6303c313 100644 --- a/homeassistant/components/mailbox/__init__.py +++ b/homeassistant/components/mailbox/__init__.py @@ -18,7 +18,7 @@ _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 2a941d8bf505b8..cd9c37959b6012 100644 --- a/homeassistant/components/mailgun/__init__.py +++ b/homeassistant/components/mailgun/__init__.py @@ -15,7 +15,7 @@ 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 b9f5bf0b10000f..81b928ad24db7d 100644 --- a/homeassistant/components/mailgun/notify.py +++ b/homeassistant/components/mailgun/notify.py @@ -11,11 +11,11 @@ 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 8057a8993473f1..71c57a40a165da 100644 --- a/homeassistant/components/manual_mqtt/alarm_control_panel.py +++ b/homeassistant/components/manual_mqtt/alarm_control_panel.py @@ -83,7 +83,7 @@ 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', diff --git a/homeassistant/components/mastodon/notify.py b/homeassistant/components/mastodon/notify.py index c1a91b8312ea1f..01a3f44400edfc 100644 --- a/homeassistant/components/mastodon/notify.py +++ b/homeassistant/components/mastodon/notify.py @@ -9,7 +9,7 @@ from homeassistant.components.notify import (PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['Mastodon.py==1.3.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/matrix/__init__.py b/homeassistant/components/matrix/__init__.py index 4b3c1bf4d76965..52a4c2794e0841 100644 --- a/homeassistant/components/matrix/__init__.py +++ b/homeassistant/components/matrix/__init__.py @@ -14,7 +14,7 @@ from homeassistant.util.json import load_json, save_json from homeassistant.exceptions import HomeAssistantError -REQUIREMENTS = ['matrix-client==0.2.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/matrix/notify.py b/homeassistant/components/matrix/notify.py index f1f53268c2ba85..bbbe52a6739e94 100644 --- a/homeassistant/components/matrix/notify.py +++ b/homeassistant/components/matrix/notify.py @@ -13,7 +13,7 @@ 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 c398ccbde4f41e..c485f55236040a 100644 --- a/homeassistant/components/maxcube/__init__.py +++ b/homeassistant/components/maxcube/__init__.py @@ -10,7 +10,7 @@ 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__) diff --git a/homeassistant/components/media_extractor/__init__.py b/homeassistant/components/media_extractor/__init__.py index f44075816affd2..dbc128118397e0 100644 --- a/homeassistant/components/media_extractor/__init__.py +++ b/homeassistant/components/media_extractor/__init__.py @@ -12,7 +12,7 @@ ATTR_ENTITY_ID) from homeassistant.helpers import config_validation as cv -REQUIREMENTS = ['youtube_dl==2019.04.07'] + _LOGGER = logging.getLogger(__name__) @@ -20,7 +20,7 @@ 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 5bc2d640e2bd56..454bad1a17d412 100644 --- a/homeassistant/components/media_player/__init__.py +++ b/homeassistant/components/media_player/__init__.py @@ -51,7 +51,7 @@ _LOGGER = logging.getLogger(__name__) _RND = SystemRandom() -DEPENDENCIES = ['http'] + ENTITY_ID_FORMAT = DOMAIN + '.{}' diff --git a/homeassistant/components/mediaroom/media_player.py b/homeassistant/components/mediaroom/media_player.py index acbc0462722a59..42b6afc00f3e99 100644 --- a/homeassistant/components/mediaroom/media_player.py +++ b/homeassistant/components/mediaroom/media_player.py @@ -19,7 +19,7 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_connect, dispatcher_send) -REQUIREMENTS = ['pymediaroom==0.6.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/melissa/__init__.py b/homeassistant/components/melissa/__init__.py index 2037caa11c334f..5ebd6647623e36 100644 --- a/homeassistant/components/melissa/__init__.py +++ b/homeassistant/components/melissa/__init__.py @@ -7,7 +7,7 @@ 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__) diff --git a/homeassistant/components/melissa/climate.py b/homeassistant/components/melissa/climate.py index 79d94a419912a5..33530ce69d8f21 100644 --- a/homeassistant/components/melissa/climate.py +++ b/homeassistant/components/melissa/climate.py @@ -13,7 +13,7 @@ from . import DATA_MELISSA -DEPENDENCIES = ['melissa'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/meraki/device_tracker.py b/homeassistant/components/meraki/device_tracker.py index d12aff1127a0d9..b516f5e0d8a695 100644 --- a/homeassistant/components/meraki/device_tracker.py +++ b/homeassistant/components/meraki/device_tracker.py @@ -18,7 +18,7 @@ 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 c801de34a9a6ae..45b7671a9c6721 100644 --- a/homeassistant/components/message_bird/notify.py +++ b/homeassistant/components/message_bird/notify.py @@ -9,7 +9,7 @@ from homeassistant.components.notify import (ATTR_TARGET, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['messagebird==1.2.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/met/weather.py b/homeassistant/components/met/weather.py index 6c9613ac5d2838..9a39722d741893 100644 --- a/homeassistant/components/met/weather.py +++ b/homeassistant/components/met/weather.py @@ -13,7 +13,7 @@ async_call_later, async_track_utc_time_change) import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pyMetno==0.4.6'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/meteo_france/__init__.py b/homeassistant/components/meteo_france/__init__.py index e084cff3c79c73..ccf089e8eb0be1 100644 --- a/homeassistant/components/meteo_france/__init__.py +++ b/homeassistant/components/meteo_france/__init__.py @@ -9,7 +9,7 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.util import Throttle -REQUIREMENTS = ['meteofrance==0.3.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/metoffice/sensor.py b/homeassistant/components/metoffice/sensor.py index 6c4e91517dac6f..d818b0bf8d50e0 100644 --- a/homeassistant/components/metoffice/sensor.py +++ b/homeassistant/components/metoffice/sensor.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['datapoint==0.4.3'] + ATTR_LAST_UPDATE = 'last_update' ATTR_SENSOR_ID = 'sensor_id' diff --git a/homeassistant/components/metoffice/weather.py b/homeassistant/components/metoffice/weather.py index a67dcdcdbd67c7..3ddee31f19f081 100644 --- a/homeassistant/components/metoffice/weather.py +++ b/homeassistant/components/metoffice/weather.py @@ -10,7 +10,7 @@ from .sensor import ATTRIBUTION, CONDITION_CLASSES, MetOfficeCurrentData -REQUIREMENTS = ['datapoint==0.4.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mfi/sensor.py b/homeassistant/components/mfi/sensor.py index 36f9d1a829c25c..29a471cd989a5b 100644 --- a/homeassistant/components/mfi/sensor.py +++ b/homeassistant/components/mfi/sensor.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['mficlient==0.3.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mfi/switch.py b/homeassistant/components/mfi/switch.py index 818081f7a2ed69..4c83d47309bb88 100644 --- a/homeassistant/components/mfi/switch.py +++ b/homeassistant/components/mfi/switch.py @@ -10,7 +10,7 @@ CONF_VERIFY_SSL) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['mficlient==0.3.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mhz19/sensor.py b/homeassistant/components/mhz19/sensor.py index 3aa82950fa7b8a..5f609f31406bba 100644 --- a/homeassistant/components/mhz19/sensor.py +++ b/homeassistant/components/mhz19/sensor.py @@ -12,7 +12,7 @@ from homeassistant.util.temperature import celsius_to_fahrenheit from homeassistant.util import Throttle -REQUIREMENTS = ['pmsensor==0.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/microsoft/tts.py b/homeassistant/components/microsoft/tts.py index 9fe31ef495eced..bd27a5580d59b2 100644 --- a/homeassistant/components/microsoft/tts.py +++ b/homeassistant/components/microsoft/tts.py @@ -15,7 +15,7 @@ CONF_PITCH = 'pitch' CONF_CONTOUR = 'contour' -REQUIREMENTS = ["pycsspeechtts==1.0.2"] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/microsoft_face/__init__.py b/homeassistant/components/microsoft_face/__init__.py index 9b3ee960fb23c8..5cd977eb40ed11 100644 --- a/homeassistant/components/microsoft_face/__init__.py +++ b/homeassistant/components/microsoft_face/__init__.py @@ -25,7 +25,7 @@ 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 91eae07e9928bf..411002afd77f0e 100644 --- a/homeassistant/components/microsoft_face_detect/image_processing.py +++ b/homeassistant/components/microsoft_face_detect/image_processing.py @@ -11,7 +11,7 @@ from homeassistant.exceptions import HomeAssistantError import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['microsoft_face'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/microsoft_face_identify/image_processing.py b/homeassistant/components/microsoft_face_identify/image_processing.py index 52baa3617e82a4..2583ef5d79d3f4 100644 --- a/homeassistant/components/microsoft_face_identify/image_processing.py +++ b/homeassistant/components/microsoft_face_identify/image_processing.py @@ -12,7 +12,7 @@ from homeassistant.exceptions import HomeAssistantError import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['microsoft_face'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/miflora/sensor.py b/homeassistant/components/miflora/sensor.py index 04595b0daeb148..b544260aad8a3a 100644 --- a/homeassistant/components/miflora/sensor.py +++ b/homeassistant/components/miflora/sensor.py @@ -11,7 +11,7 @@ CONF_SCAN_INTERVAL, EVENT_HOMEASSISTANT_START) from homeassistant.core import callback -REQUIREMENTS = ['miflora==0.4.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mikrotik/device_tracker.py b/homeassistant/components/mikrotik/device_tracker.py index 7d376b431bbd82..3b8572a795861c 100644 --- a/homeassistant/components/mikrotik/device_tracker.py +++ b/homeassistant/components/mikrotik/device_tracker.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/mill/climate.py b/homeassistant/components/mill/climate.py index cb6d47a52b0826..620f5bb88548e4 100644 --- a/homeassistant/components/mill/climate.py +++ b/homeassistant/components/mill/climate.py @@ -15,7 +15,7 @@ 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__) diff --git a/homeassistant/components/mitemp_bt/sensor.py b/homeassistant/components/mitemp_bt/sensor.py index cea2c6a55dbd6f..3277eff843588a 100644 --- a/homeassistant/components/mitemp_bt/sensor.py +++ b/homeassistant/components/mitemp_bt/sensor.py @@ -12,7 +12,7 @@ ) -REQUIREMENTS = ['mitemp_bt==0.0.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mobile_app/__init__.py b/homeassistant/components/mobile_app/__init__.py index a4ae78959cf367..a6c207ad77cec3 100644 --- a/homeassistant/components/mobile_app/__init__.py +++ b/homeassistant/components/mobile_app/__init__.py @@ -15,9 +15,9 @@ 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): diff --git a/homeassistant/components/mobile_app/binary_sensor.py b/homeassistant/components/mobile_app/binary_sensor.py index 50943bb6504d8b..920d58f0aae245 100644 --- a/homeassistant/components/mobile_app/binary_sensor.py +++ b/homeassistant/components/mobile_app/binary_sensor.py @@ -13,7 +13,7 @@ from .entity import MobileAppEntity, sensor_id -DEPENDENCIES = ['mobile_app'] + async def async_setup_entry(hass, config_entry, async_add_entities): diff --git a/homeassistant/components/mobile_app/notify.py b/homeassistant/components/mobile_app/notify.py index 8d2ac1b97ecef4..eb8df94253b113 100644 --- a/homeassistant/components/mobile_app/notify.py +++ b/homeassistant/components/mobile_app/notify.py @@ -22,7 +22,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mobile_app'] + def push_registrations(hass): diff --git a/homeassistant/components/mobile_app/sensor.py b/homeassistant/components/mobile_app/sensor.py index 64ad69c5758ecc..3d516c056612ca 100644 --- a/homeassistant/components/mobile_app/sensor.py +++ b/homeassistant/components/mobile_app/sensor.py @@ -12,7 +12,7 @@ from .entity import MobileAppEntity, sensor_id -DEPENDENCIES = ['mobile_app'] + async def async_setup_entry(hass, config_entry, async_add_entities): diff --git a/homeassistant/components/mochad/__init__.py b/homeassistant/components/mochad/__init__.py index e10adf693fe70d..7b75ea5cbcf6a3 100644 --- a/homeassistant/components/mochad/__init__.py +++ b/homeassistant/components/mochad/__init__.py @@ -9,7 +9,7 @@ EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) from homeassistant.const import (CONF_HOST, CONF_PORT) -REQUIREMENTS = ['pymochad==0.2.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mochad/light.py b/homeassistant/components/mochad/light.py index d2e1a567d27501..2b832b7edb857c 100644 --- a/homeassistant/components/mochad/light.py +++ b/homeassistant/components/mochad/light.py @@ -12,7 +12,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mochad'] + CONF_BRIGHTNESS_LEVELS = 'brightness_levels' diff --git a/homeassistant/components/mochad/switch.py b/homeassistant/components/mochad/switch.py index 03fd2db07bf2fe..28d570e6174bdb 100644 --- a/homeassistant/components/mochad/switch.py +++ b/homeassistant/components/mochad/switch.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mochad'] + PLATFORM_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/modbus/__init__.py b/homeassistant/components/modbus/__init__.py index 0500a904cb9c86..536f7729fe72d1 100644 --- a/homeassistant/components/modbus/__init__.py +++ b/homeassistant/components/modbus/__init__.py @@ -9,7 +9,7 @@ CONF_TYPE, EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pymodbus==1.5.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/modbus/binary_sensor.py b/homeassistant/components/modbus/binary_sensor.py index 0c10548452a01d..3358ea30656fad 100644 --- a/homeassistant/components/modbus/binary_sensor.py +++ b/homeassistant/components/modbus/binary_sensor.py @@ -15,7 +15,7 @@ CONF_COIL = 'coil' CONF_COILS = 'coils' -DEPENDENCIES = ['modbus'] + PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_COILS): [{ diff --git a/homeassistant/components/modbus/climate.py b/homeassistant/components/modbus/climate.py index 4d2b86903e770d..c11d6ffbce94c8 100644 --- a/homeassistant/components/modbus/climate.py +++ b/homeassistant/components/modbus/climate.py @@ -22,7 +22,7 @@ DATA_TYPE_INT = 'int' DATA_TYPE_UINT = 'uint' DATA_TYPE_FLOAT = 'float' -DEPENDENCIES = ['modbus'] + SUPPORT_FLAGS = SUPPORT_TARGET_TEMPERATURE diff --git a/homeassistant/components/modbus/sensor.py b/homeassistant/components/modbus/sensor.py index 10e11a9a656263..c0ca00013a145d 100644 --- a/homeassistant/components/modbus/sensor.py +++ b/homeassistant/components/modbus/sensor.py @@ -29,7 +29,7 @@ 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 69c5e3e483888a..73859c5ab26859 100644 --- a/homeassistant/components/modbus/switch.py +++ b/homeassistant/components/modbus/switch.py @@ -24,7 +24,7 @@ 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 b87f4840334d4f..82a9cc6123007e 100644 --- a/homeassistant/components/modem_callerid/sensor.py +++ b/homeassistant/components/modem_callerid/sensor.py @@ -9,7 +9,7 @@ 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' diff --git a/homeassistant/components/monoprice/media_player.py b/homeassistant/components/monoprice/media_player.py index edffd6ac7ce825..1d54175ded97a1 100644 --- a/homeassistant/components/monoprice/media_player.py +++ b/homeassistant/components/monoprice/media_player.py @@ -13,7 +13,7 @@ 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__) diff --git a/homeassistant/components/mopar/__init__.py b/homeassistant/components/mopar/__init__.py index 4ee9f3219b483a..839751f1e58560 100644 --- a/homeassistant/components/mopar/__init__.py +++ b/homeassistant/components/mopar/__init__.py @@ -18,7 +18,7 @@ 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 aa2e0161813188..178161fbadba39 100644 --- a/homeassistant/components/mopar/lock.py +++ b/homeassistant/components/mopar/lock.py @@ -7,7 +7,7 @@ ) 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 0d6e5765fda9aa..dcd7a7770aeeaa 100644 --- a/homeassistant/components/mopar/sensor.py +++ b/homeassistant/components/mopar/sensor.py @@ -10,7 +10,7 @@ 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 352cdafbd417ab..5e2f5419d002a7 100644 --- a/homeassistant/components/mopar/switch.py +++ b/homeassistant/components/mopar/switch.py @@ -5,7 +5,7 @@ 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 8cbc1406e0bc4a..9c118aa20d8d89 100644 --- a/homeassistant/components/mpd/media_player.py +++ b/homeassistant/components/mpd/media_player.py @@ -20,7 +20,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['python-mpd2==1.0.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mqtt/__init__.py b/homeassistant/components/mqtt/__init__.py index 4f9ad990105853..f2c65aaff69d14 100644 --- a/homeassistant/components/mqtt/__init__.py +++ b/homeassistant/components/mqtt/__init__.py @@ -40,7 +40,7 @@ CONF_BROKER, CONF_DISCOVERY, DEFAULT_DISCOVERY, CONF_STATE_TOPIC, ATTR_DISCOVERY_HASH) -REQUIREMENTS = ['paho-mqtt==1.4.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mqtt/alarm_control_panel.py b/homeassistant/components/mqtt/alarm_control_panel.py index 03a2ac8e3887fa..5d678b477ac1c1 100644 --- a/homeassistant/components/mqtt/alarm_control_panel.py +++ b/homeassistant/components/mqtt/alarm_control_panel.py @@ -37,7 +37,7 @@ 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, diff --git a/homeassistant/components/mqtt/binary_sensor.py b/homeassistant/components/mqtt/binary_sensor.py index 95daad9b262868..2f8a6390b35f4f 100644 --- a/homeassistant/components/mqtt/binary_sensor.py +++ b/homeassistant/components/mqtt/binary_sensor.py @@ -29,7 +29,7 @@ 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, diff --git a/homeassistant/components/mqtt/camera.py b/homeassistant/components/mqtt/camera.py index f651050b6c8596..9d2dca1fee637e 100644 --- a/homeassistant/components/mqtt/camera.py +++ b/homeassistant/components/mqtt/camera.py @@ -23,7 +23,7 @@ CONF_TOPIC = 'topic' DEFAULT_NAME = 'MQTT Camera' -DEPENDENCIES = ['mqtt'] + PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, diff --git a/homeassistant/components/mqtt/climate.py b/homeassistant/components/mqtt/climate.py index 17d32984bb528d..48419307e57c63 100644 --- a/homeassistant/components/mqtt/climate.py +++ b/homeassistant/components/mqtt/climate.py @@ -31,7 +31,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] + DEFAULT_NAME = 'MQTT HVAC' diff --git a/homeassistant/components/mqtt/cover.py b/homeassistant/components/mqtt/cover.py index 5cb7300f0efcb4..6ab70e55fe7650 100644 --- a/homeassistant/components/mqtt/cover.py +++ b/homeassistant/components/mqtt/cover.py @@ -25,7 +25,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] + CONF_GET_POSITION_TOPIC = 'position_topic' CONF_SET_POSITION_TEMPLATE = 'set_position_template' diff --git a/homeassistant/components/mqtt/device_tracker.py b/homeassistant/components/mqtt/device_tracker.py index 659c6315b2150a..302d2af8ee8d07 100644 --- a/homeassistant/components/mqtt/device_tracker.py +++ b/homeassistant/components/mqtt/device_tracker.py @@ -11,7 +11,7 @@ from . import CONF_QOS -DEPENDENCIES = ['mqtt'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mqtt/fan.py b/homeassistant/components/mqtt/fan.py index d86390ee31de17..dddc9dcda5d1a9 100644 --- a/homeassistant/components/mqtt/fan.py +++ b/homeassistant/components/mqtt/fan.py @@ -23,7 +23,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] + CONF_STATE_VALUE_TEMPLATE = 'state_value_template' CONF_SPEED_STATE_TOPIC = 'speed_state_topic' diff --git a/homeassistant/components/mqtt/light/__init__.py b/homeassistant/components/mqtt/light/__init__.py index 4ff6efb8643960..e7b3e522a24a32 100644 --- a/homeassistant/components/mqtt/light/__init__.py +++ b/homeassistant/components/mqtt/light/__init__.py @@ -17,7 +17,7 @@ _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 d5aa4480139215..1b6ea0f00c5592 100644 --- a/homeassistant/components/mqtt/light/schema_basic.py +++ b/homeassistant/components/mqtt/light/schema_basic.py @@ -30,7 +30,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] + CONF_BRIGHTNESS_COMMAND_TOPIC = 'brightness_command_topic' CONF_BRIGHTNESS_SCALE = 'brightness_scale' diff --git a/homeassistant/components/mqtt/light/schema_json.py b/homeassistant/components/mqtt/light/schema_json.py index a52f3c58d0efc9..9638a3e181b7a1 100644 --- a/homeassistant/components/mqtt/light/schema_json.py +++ b/homeassistant/components/mqtt/light/schema_json.py @@ -35,7 +35,7 @@ DOMAIN = 'mqtt_json' -DEPENDENCIES = ['mqtt'] + DEFAULT_BRIGHTNESS = False DEFAULT_COLOR_TEMP = False diff --git a/homeassistant/components/mqtt/light/schema_template.py b/homeassistant/components/mqtt/light/schema_template.py index 49cba082401d16..a1dbd196011691 100644 --- a/homeassistant/components/mqtt/light/schema_template.py +++ b/homeassistant/components/mqtt/light/schema_template.py @@ -30,7 +30,7 @@ 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 235eacc94540cf..cc9f5d3753d1be 100644 --- a/homeassistant/components/mqtt/lock.py +++ b/homeassistant/components/mqtt/lock.py @@ -27,7 +27,7 @@ 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, diff --git a/homeassistant/components/mqtt/sensor.py b/homeassistant/components/mqtt/sensor.py index b6419ea2c24b36..c6702a9d42386e 100644 --- a/homeassistant/components/mqtt/sensor.py +++ b/homeassistant/components/mqtt/sensor.py @@ -32,7 +32,7 @@ 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, diff --git a/homeassistant/components/mqtt/server.py b/homeassistant/components/mqtt/server.py index d7d36add517f6e..39e17f906524da 100644 --- a/homeassistant/components/mqtt/server.py +++ b/homeassistant/components/mqtt/server.py @@ -8,11 +8,11 @@ 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({ diff --git a/homeassistant/components/mqtt/switch.py b/homeassistant/components/mqtt/switch.py index 20d28b6496ca8b..319ecbecf8cd00 100644 --- a/homeassistant/components/mqtt/switch.py +++ b/homeassistant/components/mqtt/switch.py @@ -22,7 +22,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] + DEFAULT_NAME = 'MQTT Switch' DEFAULT_PAYLOAD_ON = 'ON' diff --git a/homeassistant/components/mqtt/vacuum.py b/homeassistant/components/mqtt/vacuum.py index 23a5e34b3caff5..c9d41770110dc9 100644 --- a/homeassistant/components/mqtt/vacuum.py +++ b/homeassistant/components/mqtt/vacuum.py @@ -22,7 +22,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] + SERVICE_TO_STRING = { SUPPORT_TURN_ON: 'turn_on', diff --git a/homeassistant/components/mqtt_eventstream/__init__.py b/homeassistant/components/mqtt_eventstream/__init__.py index fb6a94f1870d73..329361e9b0d538 100644 --- a/homeassistant/components/mqtt_eventstream/__init__.py +++ b/homeassistant/components/mqtt_eventstream/__init__.py @@ -15,7 +15,7 @@ from homeassistant.helpers.json import JSONEncoder DOMAIN = 'mqtt_eventstream' -DEPENDENCIES = ['mqtt'] + CONF_PUBLISH_TOPIC = 'publish_topic' CONF_SUBSCRIBE_TOPIC = 'subscribe_topic' diff --git a/homeassistant/components/mqtt_json/device_tracker.py b/homeassistant/components/mqtt_json/device_tracker.py index 6059b26bcbdc11..eac8f702b528ea 100644 --- a/homeassistant/components/mqtt_json/device_tracker.py +++ b/homeassistant/components/mqtt_json/device_tracker.py @@ -13,7 +13,7 @@ CONF_DEVICES, ATTR_GPS_ACCURACY, ATTR_LATITUDE, ATTR_LONGITUDE, ATTR_BATTERY_LEVEL) -DEPENDENCIES = ['mqtt'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mqtt_room/sensor.py b/homeassistant/components/mqtt_room/sensor.py index 961769711a4d6c..d0b84b1a889fdb 100644 --- a/homeassistant/components/mqtt_room/sensor.py +++ b/homeassistant/components/mqtt_room/sensor.py @@ -17,7 +17,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] + ATTR_DEVICE_ID = 'device_id' ATTR_DISTANCE = 'distance' diff --git a/homeassistant/components/mqtt_statestream/__init__.py b/homeassistant/components/mqtt_statestream/__init__.py index 18a70bf75bb3a8..764ee46e57ee8e 100644 --- a/homeassistant/components/mqtt_statestream/__init__.py +++ b/homeassistant/components/mqtt_statestream/__init__.py @@ -16,7 +16,7 @@ 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 978c9ad34eb436..c96b729c1a7995 100644 --- a/homeassistant/components/mvglive/sensor.py +++ b/homeassistant/components/mvglive/sensor.py @@ -11,7 +11,7 @@ from homeassistant.const import ( CONF_NAME, ATTR_ATTRIBUTION) -REQUIREMENTS = ['PyMVGLive==1.1.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mychevy/__init__.py b/homeassistant/components/mychevy/__init__.py index e6fd7f19c2a3ab..6fce266fe42c30 100644 --- a/homeassistant/components/mychevy/__init__.py +++ b/homeassistant/components/mychevy/__init__.py @@ -11,7 +11,7 @@ from homeassistant.helpers import discovery from homeassistant.util import Throttle -REQUIREMENTS = ['mychevy==1.2.0'] + DOMAIN = 'mychevy' UPDATE_TOPIC = DOMAIN diff --git a/homeassistant/components/mycroft/__init__.py b/homeassistant/components/mycroft/__init__.py index 29f6383f686b1e..1b78280907fa8a 100644 --- a/homeassistant/components/mycroft/__init__.py +++ b/homeassistant/components/mycroft/__init__.py @@ -7,7 +7,7 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['mycroftapi==2.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mycroft/notify.py b/homeassistant/components/mycroft/notify.py index d66be629f17b09..1583e52b628368 100644 --- a/homeassistant/components/mycroft/notify.py +++ b/homeassistant/components/mycroft/notify.py @@ -3,7 +3,7 @@ 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 5b926a183f72c9..807bc212a54cca 100644 --- a/homeassistant/components/myq/cover.py +++ b/homeassistant/components/myq/cover.py @@ -11,7 +11,7 @@ ) 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 7ca21ac582a001..78c74a06d3ed80 100644 --- a/homeassistant/components/mysensors/__init__.py +++ b/homeassistant/components/mysensors/__init__.py @@ -17,7 +17,7 @@ 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__) diff --git a/homeassistant/components/mystrom/binary_sensor.py b/homeassistant/components/mystrom/binary_sensor.py index 42245dc4df3e85..d178a00e1cbe4d 100644 --- a/homeassistant/components/mystrom/binary_sensor.py +++ b/homeassistant/components/mystrom/binary_sensor.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['http'] + async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/mystrom/light.py b/homeassistant/components/mystrom/light.py index f9b8dcd203b60c..bb5acd29ffaf80 100644 --- a/homeassistant/components/mystrom/light.py +++ b/homeassistant/components/mystrom/light.py @@ -10,7 +10,7 @@ ATTR_HS_COLOR) from homeassistant.const import CONF_HOST, CONF_MAC, CONF_NAME -REQUIREMENTS = ['python-mystrom==0.5.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mystrom/switch.py b/homeassistant/components/mystrom/switch.py index a25517eea911db..480e96224d75fe 100644 --- a/homeassistant/components/mystrom/switch.py +++ b/homeassistant/components/mystrom/switch.py @@ -7,7 +7,7 @@ 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' diff --git a/homeassistant/components/mythicbeastsdns/__init__.py b/homeassistant/components/mythicbeastsdns/__init__.py index 4db53bf0407cf4..6143dbe53df612 100644 --- a/homeassistant/components/mythicbeastsdns/__init__.py +++ b/homeassistant/components/mythicbeastsdns/__init__.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/n26/__init__.py b/homeassistant/components/n26/__init__.py index 8f4ade9c87f6ea..644ae84bae7b1c 100644 --- a/homeassistant/components/n26/__init__.py +++ b/homeassistant/components/n26/__init__.py @@ -12,7 +12,7 @@ from .const import DATA, DOMAIN -REQUIREMENTS = ['n26==0.2.7'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/n26/sensor.py b/homeassistant/components/n26/sensor.py index 682cd5dae68575..ef5f944ac18111 100644 --- a/homeassistant/components/n26/sensor.py +++ b/homeassistant/components/n26/sensor.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['n26'] + SCAN_INTERVAL = DEFAULT_SCAN_INTERVAL diff --git a/homeassistant/components/n26/switch.py b/homeassistant/components/n26/switch.py index 0e7455ea7030c8..f6b15c64c21d42 100644 --- a/homeassistant/components/n26/switch.py +++ b/homeassistant/components/n26/switch.py @@ -8,7 +8,7 @@ _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 8c5a14a35243c8..c841adadcd0e2f 100644 --- a/homeassistant/components/nad/media_player.py +++ b/homeassistant/components/nad/media_player.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/namecheapdns/__init__.py b/homeassistant/components/namecheapdns/__init__.py index f86e7d18556786..4de7e5932fad54 100644 --- a/homeassistant/components/namecheapdns/__init__.py +++ b/homeassistant/components/namecheapdns/__init__.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/nanoleaf/light.py b/homeassistant/components/nanoleaf/light.py index 60457e21f9a67d..93fd8d0bbb79ba 100644 --- a/homeassistant/components/nanoleaf/light.py +++ b/homeassistant/components/nanoleaf/light.py @@ -15,7 +15,7 @@ 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__) diff --git a/homeassistant/components/neato/__init__.py b/homeassistant/components/neato/__init__.py index bb717b8d230b22..e03f5754d38e13 100644 --- a/homeassistant/components/neato/__init__.py +++ b/homeassistant/components/neato/__init__.py @@ -10,7 +10,7 @@ from homeassistant.helpers import discovery from homeassistant.util import Throttle -REQUIREMENTS = ['pybotvac==0.0.13'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/neato/camera.py b/homeassistant/components/neato/camera.py index f8106c3e645ebc..19a681fe2c6d12 100644 --- a/homeassistant/components/neato/camera.py +++ b/homeassistant/components/neato/camera.py @@ -8,7 +8,7 @@ _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 ea60f9492e22a7..68e6bd22875f08 100644 --- a/homeassistant/components/neato/switch.py +++ b/homeassistant/components/neato/switch.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['neato'] + SCAN_INTERVAL = timedelta(minutes=10) diff --git a/homeassistant/components/neato/vacuum.py b/homeassistant/components/neato/vacuum.py index 3575301ea97e6b..e36403238c5510 100644 --- a/homeassistant/components/neato/vacuum.py +++ b/homeassistant/components/neato/vacuum.py @@ -21,7 +21,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['neato'] + SCAN_INTERVAL = timedelta(minutes=5) diff --git a/homeassistant/components/nederlandse_spoorwegen/sensor.py b/homeassistant/components/nederlandse_spoorwegen/sensor.py index 224d16e4869b9a..52442d7e6f544a 100644 --- a/homeassistant/components/nederlandse_spoorwegen/sensor.py +++ b/homeassistant/components/nederlandse_spoorwegen/sensor.py @@ -12,7 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['nsapi==2.7.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nello/lock.py b/homeassistant/components/nello/lock.py index efb7719e2013fd..ed8a36e9abb0ee 100644 --- a/homeassistant/components/nello/lock.py +++ b/homeassistant/components/nello/lock.py @@ -8,7 +8,7 @@ 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__) diff --git a/homeassistant/components/ness_alarm/__init__.py b/homeassistant/components/ness_alarm/__init__.py index 97896f9aa3f9ec..aa9ca038177689 100644 --- a/homeassistant/components/ness_alarm/__init__.py +++ b/homeassistant/components/ness_alarm/__init__.py @@ -13,7 +13,7 @@ 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__) diff --git a/homeassistant/components/ness_alarm/alarm_control_panel.py b/homeassistant/components/ness_alarm/alarm_control_panel.py index 618297ef9a5216..5860f79215e441 100644 --- a/homeassistant/components/ness_alarm/alarm_control_panel.py +++ b/homeassistant/components/ness_alarm/alarm_control_panel.py @@ -13,7 +13,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ness_alarm'] + async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/ness_alarm/binary_sensor.py b/homeassistant/components/ness_alarm/binary_sensor.py index 2bed9eb64042bf..193275bfcdcc4b 100644 --- a/homeassistant/components/ness_alarm/binary_sensor.py +++ b/homeassistant/components/ness_alarm/binary_sensor.py @@ -9,7 +9,7 @@ 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 21aaa2109a10c4..131fdf10173373 100644 --- a/homeassistant/components/nest/__init__.py +++ b/homeassistant/components/nest/__init__.py @@ -22,7 +22,7 @@ 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 aa56bfbf29d50c..64e7716d0ff487 100644 --- a/homeassistant/components/nest/binary_sensor.py +++ b/homeassistant/components/nest/binary_sensor.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['nest'] + BINARY_TYPES = {'online': 'connectivity'} diff --git a/homeassistant/components/nest/camera.py b/homeassistant/components/nest/camera.py index 8b450e02b46777..7089bff85df0ec 100644 --- a/homeassistant/components/nest/camera.py +++ b/homeassistant/components/nest/camera.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['nest'] + NEST_BRAND = 'Nest' diff --git a/homeassistant/components/nest/climate.py b/homeassistant/components/nest/climate.py index cd9a7cb71b634d..a72b3d8ba8beab 100644 --- a/homeassistant/components/nest/climate.py +++ b/homeassistant/components/nest/climate.py @@ -16,7 +16,7 @@ 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 ecae83e303c2a9..df0bb07a4b0b1b 100644 --- a/homeassistant/components/nest/sensor.py +++ b/homeassistant/components/nest/sensor.py @@ -8,7 +8,7 @@ from . import CONF_SENSORS, DATA_NEST, DATA_NEST_CONFIG, NestSensorDevice -DEPENDENCIES = ['nest'] + SENSOR_TYPES = ['humidity', 'operation_mode', 'hvac_state'] diff --git a/homeassistant/components/netatmo/__init__.py b/homeassistant/components/netatmo/__init__.py index 2036e55b3a88ad..d6d76ecede66ef 100644 --- a/homeassistant/components/netatmo/__init__.py +++ b/homeassistant/components/netatmo/__init__.py @@ -12,8 +12,8 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['pyatmo==1.9'] -DEPENDENCIES = ['webhook'] + + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netatmo/binary_sensor.py b/homeassistant/components/netatmo/binary_sensor.py index a11ce6bddf710a..2e1feeb5c46736 100644 --- a/homeassistant/components/netatmo/binary_sensor.py +++ b/homeassistant/components/netatmo/binary_sensor.py @@ -12,7 +12,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['netatmo'] + # These are the available sensors mapped to binary_sensor class WELCOME_SENSOR_TYPES = { diff --git a/homeassistant/components/netatmo/camera.py b/homeassistant/components/netatmo/camera.py index 6b80c3061b567e..4a56586761ea43 100644 --- a/homeassistant/components/netatmo/camera.py +++ b/homeassistant/components/netatmo/camera.py @@ -11,7 +11,7 @@ from . import CameraData -DEPENDENCIES = ['netatmo'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netatmo/climate.py b/homeassistant/components/netatmo/climate.py index d0537c5912b18a..348c47aa84b515 100644 --- a/homeassistant/components/netatmo/climate.py +++ b/homeassistant/components/netatmo/climate.py @@ -14,7 +14,7 @@ STATE_OFF, TEMP_CELSIUS, ATTR_TEMPERATURE, CONF_NAME) from homeassistant.util import Throttle -DEPENDENCIES = ['netatmo'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netatmo/sensor.py b/homeassistant/components/netatmo/sensor.py index 307b76ca434bd4..67172a88b5822f 100644 --- a/homeassistant/components/netatmo/sensor.py +++ b/homeassistant/components/netatmo/sensor.py @@ -17,7 +17,7 @@ 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 3480534436da6b..f464ef6a647d45 100644 --- a/homeassistant/components/netatmo_public/sensor.py +++ b/homeassistant/components/netatmo_public/sensor.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['netatmo'] + CONF_AREAS = 'areas' CONF_LAT_NE = 'lat_ne' diff --git a/homeassistant/components/netdata/sensor.py b/homeassistant/components/netdata/sensor.py index 6d99722a4162d4..645ce35f6da8b6 100644 --- a/homeassistant/components/netdata/sensor.py +++ b/homeassistant/components/netdata/sensor.py @@ -13,7 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['netdata==0.1.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netgear/device_tracker.py b/homeassistant/components/netgear/device_tracker.py index ce8c2d6066d3d4..bde212257f1deb 100644 --- a/homeassistant/components/netgear/device_tracker.py +++ b/homeassistant/components/netgear/device_tracker.py @@ -10,7 +10,7 @@ CONF_HOST, CONF_PASSWORD, CONF_USERNAME, CONF_PORT, CONF_SSL, CONF_DEVICES, CONF_EXCLUDE) -REQUIREMENTS = ['pynetgear==0.5.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netgear_lte/__init__.py b/homeassistant/components/netgear_lte/__init__.py index c0f248a3dd5205..4fddc122992bf1 100644 --- a/homeassistant/components/netgear_lte/__init__.py +++ b/homeassistant/components/netgear_lte/__init__.py @@ -24,7 +24,7 @@ from . import sensor_types -REQUIREMENTS = ['eternalegypt==0.0.7'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netgear_lte/binary_sensor.py b/homeassistant/components/netgear_lte/binary_sensor.py index a26c8538ea5be9..86ae877e67465b 100644 --- a/homeassistant/components/netgear_lte/binary_sensor.py +++ b/homeassistant/components/netgear_lte/binary_sensor.py @@ -7,7 +7,7 @@ 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 fba1a335ace333..20d1c950f1676f 100644 --- a/homeassistant/components/netgear_lte/notify.py +++ b/homeassistant/components/netgear_lte/notify.py @@ -8,7 +8,7 @@ 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 238a5f9b72d3d6..f05ba7edd36a1d 100644 --- a/homeassistant/components/netgear_lte/sensor.py +++ b/homeassistant/components/netgear_lte/sensor.py @@ -8,7 +8,7 @@ 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 27a7dfbd5e7de5..3bd630e8ace16b 100644 --- a/homeassistant/components/netio/switch.py +++ b/homeassistant/components/netio/switch.py @@ -14,7 +14,7 @@ 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__) @@ -25,7 +25,7 @@ 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 9e12465c69b078..17287ee881b56c 100644 --- a/homeassistant/components/neurio_energy/sensor.py +++ b/homeassistant/components/neurio_energy/sensor.py @@ -13,7 +13,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['neurio==0.3.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/niko_home_control/light.py b/homeassistant/components/niko_home_control/light.py index 00e8dc838a6c0d..5a0f35cb9de884 100644 --- a/homeassistant/components/niko_home_control/light.py +++ b/homeassistant/components/niko_home_control/light.py @@ -9,7 +9,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['niko-home-control==0.1.8'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nilu/air_quality.py b/homeassistant/components/nilu/air_quality.py index 979d5736d6a20d..b3bb83683e01cf 100644 --- a/homeassistant/components/nilu/air_quality.py +++ b/homeassistant/components/nilu/air_quality.py @@ -11,7 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['niluclient==0.1.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nissan_leaf/__init__.py b/homeassistant/components/nissan_leaf/__init__.py index cb101c0a5309c5..024bbf7cc60480 100644 --- a/homeassistant/components/nissan_leaf/__init__.py +++ b/homeassistant/components/nissan_leaf/__init__.py @@ -16,7 +16,7 @@ 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__) diff --git a/homeassistant/components/nissan_leaf/binary_sensor.py b/homeassistant/components/nissan_leaf/binary_sensor.py index 5c71cf1fc513a9..e61a964eb77155 100644 --- a/homeassistant/components/nissan_leaf/binary_sensor.py +++ b/homeassistant/components/nissan_leaf/binary_sensor.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['nissan_leaf'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/nissan_leaf/device_tracker.py b/homeassistant/components/nissan_leaf/device_tracker.py index 95f6fcdcaf16c0..963b6e19e46b50 100644 --- a/homeassistant/components/nissan_leaf/device_tracker.py +++ b/homeassistant/components/nissan_leaf/device_tracker.py @@ -8,7 +8,7 @@ _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 682f482b4888f2..19de2360ae7f34 100644 --- a/homeassistant/components/nissan_leaf/sensor.py +++ b/homeassistant/components/nissan_leaf/sensor.py @@ -12,7 +12,7 @@ _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 e6d72103a6c6c4..0de5e14886e02c 100644 --- a/homeassistant/components/nissan_leaf/switch.py +++ b/homeassistant/components/nissan_leaf/switch.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['nissan_leaf'] + def setup_platform(hass, config, add_devices, discovery_info=None): diff --git a/homeassistant/components/nmap_tracker/device_tracker.py b/homeassistant/components/nmap_tracker/device_tracker.py index e553d323b72306..a7d4969ecb0c79 100644 --- a/homeassistant/components/nmap_tracker/device_tracker.py +++ b/homeassistant/components/nmap_tracker/device_tracker.py @@ -13,7 +13,7 @@ DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOSTS -REQUIREMENTS = ['python-nmap==0.6.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nmbs/sensor.py b/homeassistant/components/nmbs/sensor.py index 034c37530b355e..d628676d67f216 100644 --- a/homeassistant/components/nmbs/sensor.py +++ b/homeassistant/components/nmbs/sensor.py @@ -23,7 +23,7 @@ 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, diff --git a/homeassistant/components/noaa_tides/sensor.py b/homeassistant/components/noaa_tides/sensor.py index 0c4bde94f5770f..07c7cd92a0e09b 100644 --- a/homeassistant/components/noaa_tides/sensor.py +++ b/homeassistant/components/noaa_tides/sensor.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['py_noaa==0.3.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/norway_air/air_quality.py b/homeassistant/components/norway_air/air_quality.py index 06ed68801f89c7..f99d5271893bfa 100644 --- a/homeassistant/components/norway_air/air_quality.py +++ b/homeassistant/components/norway_air/air_quality.py @@ -12,7 +12,7 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['pyMetno==0.4.6'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nsw_fuel_station/sensor.py b/homeassistant/components/nsw_fuel_station/sensor.py index ce4337fc93ab6c..d78630c70e7ba3 100644 --- a/homeassistant/components/nsw_fuel_station/sensor.py +++ b/homeassistant/components/nsw_fuel_station/sensor.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['nsw-fuel-api-client==1.0.10'] + _LOGGER = logging.getLogger(__name__) 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 38491feb32f406..2e012eb7676b55 100644 --- a/homeassistant/components/nsw_rural_fire_service_feed/geo_location.py +++ b/homeassistant/components/nsw_rural_fire_service_feed/geo_location.py @@ -16,7 +16,7 @@ async_dispatcher_connect, dispatcher_send) from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['geojson_client==0.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nuheat/__init__.py b/homeassistant/components/nuheat/__init__.py index 4ea37339ef35f3..456ce3fb0402b0 100644 --- a/homeassistant/components/nuheat/__init__.py +++ b/homeassistant/components/nuheat/__init__.py @@ -7,7 +7,7 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers import discovery -REQUIREMENTS = ["nuheat==0.3.0"] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nuheat/climate.py b/homeassistant/components/nuheat/climate.py index 32adc1d216f3c5..573dc12b3aacbd 100644 --- a/homeassistant/components/nuheat/climate.py +++ b/homeassistant/components/nuheat/climate.py @@ -15,7 +15,7 @@ from . import DOMAIN as NUHEAT_DOMAIN -DEPENDENCIES = ["nuheat"] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nuki/lock.py b/homeassistant/components/nuki/lock.py index ef49d4b97dd955..972e21f73bb376 100644 --- a/homeassistant/components/nuki/lock.py +++ b/homeassistant/components/nuki/lock.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.service import extract_entity_ids -REQUIREMENTS = ['pynuki==1.3.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nut/sensor.py b/homeassistant/components/nut/sensor.py index 43ba06f70eb1b3..9ddffc832ba5b8 100644 --- a/homeassistant/components/nut/sensor.py +++ b/homeassistant/components/nut/sensor.py @@ -14,7 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pynut2==2.1.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nx584/alarm_control_panel.py b/homeassistant/components/nx584/alarm_control_panel.py index c5e1fede6fd8fd..5762e1c65a8d2c 100644 --- a/homeassistant/components/nx584/alarm_control_panel.py +++ b/homeassistant/components/nx584/alarm_control_panel.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/nx584/binary_sensor.py b/homeassistant/components/nx584/binary_sensor.py index 61f8fb801eac5b..b175e180af2364 100644 --- a/homeassistant/components/nx584/binary_sensor.py +++ b/homeassistant/components/nx584/binary_sensor.py @@ -11,7 +11,7 @@ from homeassistant.const import (CONF_HOST, CONF_PORT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pynx584==0.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/oasa_telematics/sensor.py b/homeassistant/components/oasa_telematics/sensor.py index 665f2f83f86af7..35f1d44e579b7c 100644 --- a/homeassistant/components/oasa_telematics/sensor.py +++ b/homeassistant/components/oasa_telematics/sensor.py @@ -12,7 +12,7 @@ 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 be3381f3bc8a2e..a048d8196b4561 100644 --- a/homeassistant/components/octoprint/binary_sensor.py +++ b/homeassistant/components/octoprint/binary_sensor.py @@ -9,7 +9,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['octoprint'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/octoprint/sensor.py b/homeassistant/components/octoprint/sensor.py index f07d88d11da3ff..2d8fc400a242f2 100644 --- a/homeassistant/components/octoprint/sensor.py +++ b/homeassistant/components/octoprint/sensor.py @@ -10,7 +10,7 @@ _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 f1e03396b05002..72026a96c36188 100644 --- a/homeassistant/components/oem/climate.py +++ b/homeassistant/components/oem/climate.py @@ -21,7 +21,7 @@ CONF_PORT, TEMP_CELSIUS, CONF_NAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['oemthermostat==1.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ohmconnect/sensor.py b/homeassistant/components/ohmconnect/sensor.py index 1d870e4d15a12c..90c9a8ace6905f 100644 --- a/homeassistant/components/ohmconnect/sensor.py +++ b/homeassistant/components/ohmconnect/sensor.py @@ -11,7 +11,7 @@ from homeassistant.util import Throttle from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['defusedxml==0.5.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/onboarding/__init__.py b/homeassistant/components/onboarding/__init__.py index f8885962ee7174..e3879dda8e216c 100644 --- a/homeassistant/components/onboarding/__init__.py +++ b/homeassistant/components/onboarding/__init__.py @@ -4,7 +4,7 @@ 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 64b9684c58c4ec..7765b3fb5d747b 100644 --- a/homeassistant/components/onkyo/media_player.py +++ b/homeassistant/components/onkyo/media_player.py @@ -16,7 +16,7 @@ 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__) diff --git a/homeassistant/components/onvif/camera.py b/homeassistant/components/onvif/camera.py index 90222b9cafc06b..1d96d15e2abe6e 100644 --- a/homeassistant/components/onvif/camera.py +++ b/homeassistant/components/onvif/camera.py @@ -23,7 +23,7 @@ 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 10173cdb725c8b..5dde6d0af3f65d 100644 --- a/homeassistant/components/opencv/image_processing.py +++ b/homeassistant/components/opencv/image_processing.py @@ -11,7 +11,7 @@ from homeassistant.core import split_entity_id import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['numpy==1.16.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/openevse/sensor.py b/homeassistant/components/openevse/sensor.py index e54b47236c5fe3..772df87cd8e78b 100644 --- a/homeassistant/components/openevse/sensor.py +++ b/homeassistant/components/openevse/sensor.py @@ -11,7 +11,7 @@ CONF_MONITORED_VARIABLES) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['openevsewifi==0.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/openhome/media_player.py b/homeassistant/components/openhome/media_player.py index 03926bce8c5ce8..bed651408d91df 100644 --- a/homeassistant/components/openhome/media_player.py +++ b/homeassistant/components/openhome/media_player.py @@ -10,7 +10,7 @@ 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 | \ diff --git a/homeassistant/components/opensensemap/air_quality.py b/homeassistant/components/opensensemap/air_quality.py index 5407f65a1d822f..57deb9676ed1f6 100644 --- a/homeassistant/components/opensensemap/air_quality.py +++ b/homeassistant/components/opensensemap/air_quality.py @@ -11,7 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['opensensemap-api==0.1.5'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/opentherm_gw/__init__.py b/homeassistant/components/opentherm_gw/__init__.py index 1476363c6bd877..1abd07d47ec419 100644 --- a/homeassistant/components/opentherm_gw/__init__.py +++ b/homeassistant/components/opentherm_gw/__init__.py @@ -15,7 +15,7 @@ import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyotgw==0.4b3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/opentherm_gw/binary_sensor.py b/homeassistant/components/opentherm_gw/binary_sensor.py index d0b60a257705a6..2df8207a0459e4 100644 --- a/homeassistant/components/opentherm_gw/binary_sensor.py +++ b/homeassistant/components/opentherm_gw/binary_sensor.py @@ -14,7 +14,7 @@ DEVICE_CLASS_HEAT = 'heat' DEVICE_CLASS_PROBLEM = 'problem' -DEPENDENCIES = ['opentherm_gw'] + async def async_setup_platform( diff --git a/homeassistant/components/opentherm_gw/climate.py b/homeassistant/components/opentherm_gw/climate.py index 60f1901d43e96d..6cf0b86a3cb386 100644 --- a/homeassistant/components/opentherm_gw/climate.py +++ b/homeassistant/components/opentherm_gw/climate.py @@ -15,7 +15,7 @@ _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 5c64b8ab719b02..fa06f362977bd4 100644 --- a/homeassistant/components/opentherm_gw/sensor.py +++ b/homeassistant/components/opentherm_gw/sensor.py @@ -16,7 +16,7 @@ UNIT_L_MIN = 'L/min' UNIT_PERCENT = '%' -DEPENDENCIES = ['opentherm_gw'] + async def async_setup_platform( diff --git a/homeassistant/components/openuv/__init__.py b/homeassistant/components/openuv/__init__.py index 5533beb2faed4b..470ffe260f400c 100644 --- a/homeassistant/components/openuv/__init__.py +++ b/homeassistant/components/openuv/__init__.py @@ -15,7 +15,7 @@ from .config_flow import configured_instances from .const import DOMAIN -REQUIREMENTS = ['pyopenuv==1.0.9'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/openuv/binary_sensor.py b/homeassistant/components/openuv/binary_sensor.py index cfc82a7572954d..f51286a9704954 100644 --- a/homeassistant/components/openuv/binary_sensor.py +++ b/homeassistant/components/openuv/binary_sensor.py @@ -16,7 +16,7 @@ ATTR_PROTECTION_WINDOW_STARTING_TIME = 'start_time' ATTR_PROTECTION_WINDOW_STARTING_UV = 'start_uv' -DEPENDENCIES = ['openuv'] + async def async_setup_platform( diff --git a/homeassistant/components/openuv/sensor.py b/homeassistant/components/openuv/sensor.py index 42780d57b3c252..4473f3bcc8aedf 100644 --- a/homeassistant/components/openuv/sensor.py +++ b/homeassistant/components/openuv/sensor.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['openuv'] + ATTR_MAX_UV_TIME = 'time' diff --git a/homeassistant/components/openweathermap/sensor.py b/homeassistant/components/openweathermap/sensor.py index 5de67721e3057f..6ff83572bf51f9 100644 --- a/homeassistant/components/openweathermap/sensor.py +++ b/homeassistant/components/openweathermap/sensor.py @@ -12,7 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pyowm==2.10.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/openweathermap/weather.py b/homeassistant/components/openweathermap/weather.py index 8a37bc97575180..112cf8821b1def 100644 --- a/homeassistant/components/openweathermap/weather.py +++ b/homeassistant/components/openweathermap/weather.py @@ -14,7 +14,7 @@ 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__) diff --git a/homeassistant/components/opple/light.py b/homeassistant/components/opple/light.py index 03e36dc179d43b..355bc786cc0571 100644 --- a/homeassistant/components/opple/light.py +++ b/homeassistant/components/opple/light.py @@ -14,7 +14,7 @@ from homeassistant.util.color import \ color_temperature_mired_to_kelvin as mired_to_kelvin -REQUIREMENTS = ['pyoppleio==1.0.5'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/orvibo/switch.py b/homeassistant/components/orvibo/switch.py index c77e24446ec2a6..afc9a22a16625d 100644 --- a/homeassistant/components/orvibo/switch.py +++ b/homeassistant/components/orvibo/switch.py @@ -8,7 +8,7 @@ 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__) diff --git a/homeassistant/components/osramlightify/light.py b/homeassistant/components/osramlightify/light.py index b880273fd1e916..5cc2ed211e51a0 100644 --- a/homeassistant/components/osramlightify/light.py +++ b/homeassistant/components/osramlightify/light.py @@ -15,7 +15,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['lightify==1.0.7.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/otp/sensor.py b/homeassistant/components/otp/sensor.py index 2ac4c51998443e..29bdcb13ef70d0 100644 --- a/homeassistant/components/otp/sensor.py +++ b/homeassistant/components/otp/sensor.py @@ -10,7 +10,7 @@ from homeassistant.const import (CONF_NAME, CONF_TOKEN) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyotp==2.2.6'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/owlet/__init__.py b/homeassistant/components/owlet/__init__.py index b7ad7ab915240a..bafd3d15834f13 100644 --- a/homeassistant/components/owlet/__init__.py +++ b/homeassistant/components/owlet/__init__.py @@ -11,7 +11,7 @@ SENSOR_BASE_STATION, SENSOR_HEART_RATE, SENSOR_MOVEMENT, SENSOR_OXYGEN_LEVEL) -REQUIREMENTS = ['pyowlet==1.0.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/owntracks/__init__.py b/homeassistant/components/owntracks/__init__.py index df6b815e4c5be9..e45dc6ebab28c5 100644 --- a/homeassistant/components/owntracks/__init__.py +++ b/homeassistant/components/owntracks/__init__.py @@ -16,12 +16,12 @@ 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' diff --git a/homeassistant/components/owntracks/device_tracker.py b/homeassistant/components/owntracks/device_tracker.py index 69ea723d84c503..213e7f3a69e95c 100644 --- a/homeassistant/components/owntracks/device_tracker.py +++ b/homeassistant/components/owntracks/device_tracker.py @@ -10,7 +10,7 @@ from . import DOMAIN as OT_DOMAIN -DEPENDENCIES = ['owntracks'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/panasonic_bluray/media_player.py b/homeassistant/components/panasonic_bluray/media_player.py index ebf71135d343f7..40ecba616163a8 100644 --- a/homeassistant/components/panasonic_bluray/media_player.py +++ b/homeassistant/components/panasonic_bluray/media_player.py @@ -14,7 +14,7 @@ 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 324becd0bf756d..7aea89e9d2a263 100644 --- a/homeassistant/components/panasonic_viera/media_player.py +++ b/homeassistant/components/panasonic_viera/media_player.py @@ -14,7 +14,7 @@ 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__) diff --git a/homeassistant/components/pandora/media_player.py b/homeassistant/components/pandora/media_player.py index 32cde430d0e97b..2fc7b3dd1ab2e8 100644 --- a/homeassistant/components/pandora/media_player.py +++ b/homeassistant/components/pandora/media_player.py @@ -16,7 +16,7 @@ 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 7fe2191f4c497c..1a3d2aabba8e1c 100644 --- a/homeassistant/components/panel_custom/__init__.py +++ b/homeassistant/components/panel_custom/__init__.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'panel_custom' -DEPENDENCIES = ['frontend'] + CONF_COMPONENT_NAME = 'name' CONF_SIDEBAR_TITLE = 'sidebar_title' diff --git a/homeassistant/components/panel_iframe/__init__.py b/homeassistant/components/panel_iframe/__init__.py index 9319dfcc6adb27..bcc644f4bbec97 100644 --- a/homeassistant/components/panel_iframe/__init__.py +++ b/homeassistant/components/panel_iframe/__init__.py @@ -4,7 +4,7 @@ from homeassistant.const import CONF_ICON, CONF_URL import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['frontend'] + DOMAIN = 'panel_iframe' diff --git a/homeassistant/components/pencom/switch.py b/homeassistant/components/pencom/switch.py index d2c73d70d96deb..2768206068548c 100644 --- a/homeassistant/components/pencom/switch.py +++ b/homeassistant/components/pencom/switch.py @@ -12,7 +12,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pencompy==0.0.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/philips_js/media_player.py b/homeassistant/components/philips_js/media_player.py index f5eddff8d138dc..0ad581e8be19b9 100644 --- a/homeassistant/components/philips_js/media_player.py +++ b/homeassistant/components/philips_js/media_player.py @@ -15,7 +15,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.script import Script -REQUIREMENTS = ['ha-philipsjs==0.0.5'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pi_hole/sensor.py b/homeassistant/components/pi_hole/sensor.py index 805e17ebdff418..41c0a4c448e049 100644 --- a/homeassistant/components/pi_hole/sensor.py +++ b/homeassistant/components/pi_hole/sensor.py @@ -13,7 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['hole==0.3.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/piglow/light.py b/homeassistant/components/piglow/light.py index dc3906b20026cd..c2b0e12379e5b2 100644 --- a/homeassistant/components/piglow/light.py +++ b/homeassistant/components/piglow/light.py @@ -11,7 +11,7 @@ from homeassistant.const import CONF_NAME import homeassistant.util.color as color_util -REQUIREMENTS = ['piglow==1.2.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pilight/__init__.py b/homeassistant/components/pilight/__init__.py index 46be3b3720438b..795c1dedeab899 100644 --- a/homeassistant/components/pilight/__init__.py +++ b/homeassistant/components/pilight/__init__.py @@ -14,7 +14,7 @@ EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP, CONF_HOST, CONF_PORT, CONF_WHITELIST, CONF_PROTOCOL) -REQUIREMENTS = ['pilight==0.1.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pilight/binary_sensor.py b/homeassistant/components/pilight/binary_sensor.py index 131a91b5fc3c0a..534479e991a774 100644 --- a/homeassistant/components/pilight/binary_sensor.py +++ b/homeassistant/components/pilight/binary_sensor.py @@ -26,7 +26,7 @@ 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, diff --git a/homeassistant/components/pilight/sensor.py b/homeassistant/components/pilight/sensor.py index c36151c90dce26..370f219128729f 100644 --- a/homeassistant/components/pilight/sensor.py +++ b/homeassistant/components/pilight/sensor.py @@ -15,7 +15,7 @@ CONF_VARIABLE = 'variable' DEFAULT_NAME = 'Pilight Sensor' -DEPENDENCIES = ['pilight'] + PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_VARIABLE): cv.string, diff --git a/homeassistant/components/pilight/switch.py b/homeassistant/components/pilight/switch.py index d645d8e3013ce7..b993f644ecc527 100644 --- a/homeassistant/components/pilight/switch.py +++ b/homeassistant/components/pilight/switch.py @@ -21,7 +21,7 @@ CONF_UNITCODE = 'unitcode' CONF_ECHO = 'echo' -DEPENDENCIES = ['pilight'] + COMMAND_SCHEMA = vol.Schema({ vol.Optional(CONF_PROTOCOL): cv.string, diff --git a/homeassistant/components/pjlink/media_player.py b/homeassistant/components/pjlink/media_player.py index ad7bdc9e77cb20..4aaf8b5f506c05 100644 --- a/homeassistant/components/pjlink/media_player.py +++ b/homeassistant/components/pjlink/media_player.py @@ -12,7 +12,7 @@ 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__) diff --git a/homeassistant/components/plant/__init__.py b/homeassistant/components/plant/__init__.py index 27324ad57a39a4..f0755bede4436f 100644 --- a/homeassistant/components/plant/__init__.py +++ b/homeassistant/components/plant/__init__.py @@ -89,7 +89,7 @@ }) 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 f2af6836e3be4c..bd44819e4b8171 100644 --- a/homeassistant/components/plex/media_player.py +++ b/homeassistant/components/plex/media_player.py @@ -20,7 +20,7 @@ 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 a3df6fdb41e8fd..d2263c0d221020 100644 --- a/homeassistant/components/plex/sensor.py +++ b/homeassistant/components/plex/sensor.py @@ -11,7 +11,7 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['plexapi==3.0.6'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/plum_lightpad/__init__.py b/homeassistant/components/plum_lightpad/__init__.py index 5b99223d25aed7..1aab1a1344bbea 100644 --- a/homeassistant/components/plum_lightpad/__init__.py +++ b/homeassistant/components/plum_lightpad/__init__.py @@ -10,7 +10,7 @@ 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__) diff --git a/homeassistant/components/plum_lightpad/light.py b/homeassistant/components/plum_lightpad/light.py index 233539560f4b8a..57dc8dedecc66c 100644 --- a/homeassistant/components/plum_lightpad/light.py +++ b/homeassistant/components/plum_lightpad/light.py @@ -5,7 +5,7 @@ from . import PLUM_DATA -DEPENDENCIES = ['plum_lightpad'] + async def async_setup_platform( diff --git a/homeassistant/components/pocketcasts/sensor.py b/homeassistant/components/pocketcasts/sensor.py index f09e90120049d9..85ecfb176f7c05 100644 --- a/homeassistant/components/pocketcasts/sensor.py +++ b/homeassistant/components/pocketcasts/sensor.py @@ -10,7 +10,7 @@ from homeassistant.const import (CONF_USERNAME, CONF_PASSWORD) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pocketcasts==0.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/point/__init__.py b/homeassistant/components/point/__init__.py index dc839756469dd3..b00be14ef54a36 100644 --- a/homeassistant/components/point/__init__.py +++ b/homeassistant/components/point/__init__.py @@ -20,11 +20,11 @@ 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 3fc4d1fce3dd54..57d740371f244c 100644 --- a/homeassistant/components/pollen/sensor.py +++ b/homeassistant/components/pollen/sensor.py @@ -13,7 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['numpy==1.16.2', 'pypollencom==2.2.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/postnl/sensor.py b/homeassistant/components/postnl/sensor.py index f9c8019cd31a00..2aa6d3bf828dc1 100644 --- a/homeassistant/components/postnl/sensor.py +++ b/homeassistant/components/postnl/sensor.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['postnl_api==1.0.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/prezzibenzina/sensor.py b/homeassistant/components/prezzibenzina/sensor.py index 525de7dad2f837..e5b113a538da28 100644 --- a/homeassistant/components/prezzibenzina/sensor.py +++ b/homeassistant/components/prezzibenzina/sensor.py @@ -10,7 +10,7 @@ from homeassistant.helpers.config_validation import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['prezzibenzina-py==1.1.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/proliphix/climate.py b/homeassistant/components/proliphix/climate.py index c165334201da2f..0f0a9795d19f99 100644 --- a/homeassistant/components/proliphix/climate.py +++ b/homeassistant/components/proliphix/climate.py @@ -9,7 +9,7 @@ ATTR_TEMPERATURE) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['proliphix==0.4.1'] + ATTR_FAN = 'fan' diff --git a/homeassistant/components/prometheus/__init__.py b/homeassistant/components/prometheus/__init__.py index de0de8ae16241f..40e0e96d5400ec 100644 --- a/homeassistant/components/prometheus/__init__.py +++ b/homeassistant/components/prometheus/__init__.py @@ -14,14 +14,14 @@ 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 0a617bcec90116..275094189a8e6a 100644 --- a/homeassistant/components/proximity/__init__.py +++ b/homeassistant/components/proximity/__init__.py @@ -25,7 +25,7 @@ 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 fda2cdea60ef8e..8cecbe996e041a 100644 --- a/homeassistant/components/proxy/camera.py +++ b/homeassistant/components/proxy/camera.py @@ -12,7 +12,7 @@ from homeassistant.util.async_ import run_coroutine_threadsafe import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pillow==5.4.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ps4/__init__.py b/homeassistant/components/ps4/__init__.py index 191eb223707d99..51915134a7b1bd 100644 --- a/homeassistant/components/ps4/__init__.py +++ b/homeassistant/components/ps4/__init__.py @@ -9,7 +9,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pyps4-homeassistant==0.5.2'] + async def async_setup(hass, config): diff --git a/homeassistant/components/ps4/media_player.py b/homeassistant/components/ps4/media_player.py index 4dc4fa0a317089..5619190651d0e2 100644 --- a/homeassistant/components/ps4/media_player.py +++ b/homeassistant/components/ps4/media_player.py @@ -17,7 +17,7 @@ from .const import DOMAIN as PS4_DOMAIN, REGIONS as deprecated_regions -DEPENDENCIES = ['ps4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/push/camera.py b/homeassistant/components/push/camera.py index c0424f15898e58..341ee10b0be0bb 100644 --- a/homeassistant/components/push/camera.py +++ b/homeassistant/components/push/camera.py @@ -17,7 +17,7 @@ from homeassistant.helpers.event import async_track_point_in_utc_time import homeassistant.util.dt as dt_util -DEPENDENCIES = ['webhook'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pushbullet/notify.py b/homeassistant/components/pushbullet/notify.py index 3fc90161ae0cd9..4a50435b607557 100644 --- a/homeassistant/components/pushbullet/notify.py +++ b/homeassistant/components/pushbullet/notify.py @@ -11,7 +11,7 @@ ATTR_DATA, ATTR_TARGET, ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['pushbullet.py==0.11.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pushbullet/sensor.py b/homeassistant/components/pushbullet/sensor.py index c90f952e7de0d3..efd949ace69018 100644 --- a/homeassistant/components/pushbullet/sensor.py +++ b/homeassistant/components/pushbullet/sensor.py @@ -8,7 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pushbullet.py==0.11.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pushetta/notify.py b/homeassistant/components/pushetta/notify.py index 028b0cfd49212a..e896eba9a5aca2 100644 --- a/homeassistant/components/pushetta/notify.py +++ b/homeassistant/components/pushetta/notify.py @@ -10,7 +10,7 @@ ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pushetta==1.0.15'] + CONF_CHANNEL_NAME = 'channel_name' diff --git a/homeassistant/components/pushover/notify.py b/homeassistant/components/pushover/notify.py index 39a1ce5d2f7fdb..7b9b46d07bd0d4 100644 --- a/homeassistant/components/pushover/notify.py +++ b/homeassistant/components/pushover/notify.py @@ -10,7 +10,7 @@ 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 56a82b3912054f..3dd7d0ffa9d84f 100644 --- a/homeassistant/components/python_script/__init__.py +++ b/homeassistant/components/python_script/__init__.py @@ -13,7 +13,7 @@ from homeassistant.util import sanitize_filename import homeassistant.util.dt as dt_util -REQUIREMENTS = ['restrictedpython==4.0b8'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/qbittorrent/sensor.py b/homeassistant/components/qbittorrent/sensor.py index 7e91c0ab276ccd..5dd5ecc8320d7d 100644 --- a/homeassistant/components/qbittorrent/sensor.py +++ b/homeassistant/components/qbittorrent/sensor.py @@ -12,7 +12,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['python-qbittorrent==0.3.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/qnap/sensor.py b/homeassistant/components/qnap/sensor.py index e12f20c25b1903..7aa067825d006f 100644 --- a/homeassistant/components/qnap/sensor.py +++ b/homeassistant/components/qnap/sensor.py @@ -13,7 +13,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['qnapstats==0.2.7'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/qrcode/image_processing.py b/homeassistant/components/qrcode/image_processing.py index 46fa78cca7f94f..0c3840302060c3 100644 --- a/homeassistant/components/qrcode/image_processing.py +++ b/homeassistant/components/qrcode/image_processing.py @@ -3,7 +3,7 @@ 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): diff --git a/homeassistant/components/quantum_gateway/device_tracker.py b/homeassistant/components/quantum_gateway/device_tracker.py index 3472a4dbb97677..163203dc01d651 100644 --- a/homeassistant/components/quantum_gateway/device_tracker.py +++ b/homeassistant/components/quantum_gateway/device_tracker.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/qwikswitch/__init__.py b/homeassistant/components/qwikswitch/__init__.py index a64685956221fa..92f0ca4cc66006 100644 --- a/homeassistant/components/qwikswitch/__init__.py +++ b/homeassistant/components/qwikswitch/__init__.py @@ -14,7 +14,7 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyqwikswitch==0.93'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/qwikswitch/binary_sensor.py b/homeassistant/components/qwikswitch/binary_sensor.py index a92c4d0b435e19..d22af49ffcae64 100644 --- a/homeassistant/components/qwikswitch/binary_sensor.py +++ b/homeassistant/components/qwikswitch/binary_sensor.py @@ -6,7 +6,7 @@ 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 cb4df24f9781df..007de993a348df 100644 --- a/homeassistant/components/qwikswitch/light.py +++ b/homeassistant/components/qwikswitch/light.py @@ -3,7 +3,7 @@ from . import DOMAIN as QWIKSWITCH, QSToggleEntity -DEPENDENCIES = [QWIKSWITCH] + async def async_setup_platform(hass, _, add_entities, discovery_info=None): diff --git a/homeassistant/components/qwikswitch/sensor.py b/homeassistant/components/qwikswitch/sensor.py index 8befce4f7e2a3f..3780890629584e 100644 --- a/homeassistant/components/qwikswitch/sensor.py +++ b/homeassistant/components/qwikswitch/sensor.py @@ -5,7 +5,7 @@ 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 4ee5396ae0ce3c..78603352817696 100644 --- a/homeassistant/components/qwikswitch/switch.py +++ b/homeassistant/components/qwikswitch/switch.py @@ -3,7 +3,7 @@ from . import DOMAIN as QWIKSWITCH, QSToggleEntity -DEPENDENCIES = [QWIKSWITCH] + async def async_setup_platform(hass, _, add_entities, discovery_info=None): diff --git a/homeassistant/components/rachio/__init__.py b/homeassistant/components/rachio/__init__.py index 64a7a5af4d7412..634e27c7d68ea6 100644 --- a/homeassistant/components/rachio/__init__.py +++ b/homeassistant/components/rachio/__init__.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/rachio/binary_sensor.py b/homeassistant/components/rachio/binary_sensor.py index ffcaeccacff455..da90e998778c7e 100644 --- a/homeassistant/components/rachio/binary_sensor.py +++ b/homeassistant/components/rachio/binary_sensor.py @@ -10,7 +10,7 @@ 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 483e07e96f4ef3..7222cbc353ed8a 100644 --- a/homeassistant/components/rachio/switch.py +++ b/homeassistant/components/rachio/switch.py @@ -13,7 +13,7 @@ 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__) diff --git a/homeassistant/components/radiotherm/climate.py b/homeassistant/components/radiotherm/climate.py index 66dfc4cc385529..c8972457dd6879 100644 --- a/homeassistant/components/radiotherm/climate.py +++ b/homeassistant/components/radiotherm/climate.py @@ -14,7 +14,7 @@ STATE_OFF) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['radiotherm==2.0.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainbird/__init__.py b/homeassistant/components/rainbird/__init__.py index de0f42fda4a6b8..60ed1d08b3c677 100644 --- a/homeassistant/components/rainbird/__init__.py +++ b/homeassistant/components/rainbird/__init__.py @@ -6,7 +6,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.const import (CONF_HOST, CONF_PASSWORD) -REQUIREMENTS = ['pyrainbird==0.1.6'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainbird/sensor.py b/homeassistant/components/rainbird/sensor.py index 0cee202ecb20c8..dc118c99b1b0f8 100644 --- a/homeassistant/components/rainbird/sensor.py +++ b/homeassistant/components/rainbird/sensor.py @@ -10,7 +10,7 @@ from . import DATA_RAINBIRD -DEPENDENCIES = ['rainbird'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainbird/switch.py b/homeassistant/components/rainbird/switch.py index 32c7c49ab99b7d..31dec0723b04a9 100644 --- a/homeassistant/components/rainbird/switch.py +++ b/homeassistant/components/rainbird/switch.py @@ -12,7 +12,7 @@ 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 c94315f673d9ec..4bb63971fe9645 100644 --- a/homeassistant/components/raincloud/__init__.py +++ b/homeassistant/components/raincloud/__init__.py @@ -13,7 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['raincloudy==0.0.7'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/raincloud/binary_sensor.py b/homeassistant/components/raincloud/binary_sensor.py index 6ebad7cc121819..89f4b1007afb16 100644 --- a/homeassistant/components/raincloud/binary_sensor.py +++ b/homeassistant/components/raincloud/binary_sensor.py @@ -10,7 +10,7 @@ from . import BINARY_SENSORS, DATA_RAINCLOUD, ICON_MAP, RainCloudEntity -DEPENDENCIES = ['raincloud'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/raincloud/sensor.py b/homeassistant/components/raincloud/sensor.py index 6774d48ae99860..5f441f099795ba 100644 --- a/homeassistant/components/raincloud/sensor.py +++ b/homeassistant/components/raincloud/sensor.py @@ -10,7 +10,7 @@ from . import DATA_RAINCLOUD, ICON_MAP, SENSORS, RainCloudEntity -DEPENDENCIES = ['raincloud'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/raincloud/switch.py b/homeassistant/components/raincloud/switch.py index 3901e1e0bd89ce..8b5ebd1724ca5f 100644 --- a/homeassistant/components/raincloud/switch.py +++ b/homeassistant/components/raincloud/switch.py @@ -11,7 +11,7 @@ ALLOWED_WATERING_TIME, ATTRIBUTION, CONF_WATERING_TIME, DATA_RAINCLOUD, DEFAULT_WATERING_TIME, SWITCHES, RainCloudEntity) -DEPENDENCIES = ['raincloud'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainmachine/__init__.py b/homeassistant/components/rainmachine/__init__.py index 2ff5ddcd4aa2ea..b1b0f407368397 100644 --- a/homeassistant/components/rainmachine/__init__.py +++ b/homeassistant/components/rainmachine/__init__.py @@ -22,7 +22,7 @@ from .const import ( DATA_CLIENT, DEFAULT_PORT, DEFAULT_SCAN_INTERVAL, DEFAULT_SSL, DOMAIN) -REQUIREMENTS = ['regenmaschine==1.4.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainmachine/binary_sensor.py b/homeassistant/components/rainmachine/binary_sensor.py index 4387e6b67bec05..198adb6b05291d 100644 --- a/homeassistant/components/rainmachine/binary_sensor.py +++ b/homeassistant/components/rainmachine/binary_sensor.py @@ -11,7 +11,7 @@ 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 1d438b8035f8e2..86ff7eb7f3df46 100644 --- a/homeassistant/components/rainmachine/sensor.py +++ b/homeassistant/components/rainmachine/sensor.py @@ -8,7 +8,7 @@ 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 adcbe5598199f0..270637c63a7265 100644 --- a/homeassistant/components/rainmachine/switch.py +++ b/homeassistant/components/rainmachine/switch.py @@ -12,7 +12,7 @@ DATA_CLIENT, DOMAIN as RAINMACHINE_DOMAIN, PROGRAM_UPDATE_TOPIC, ZONE_UPDATE_TOPIC, RainMachineEntity) -DEPENDENCIES = ['rainmachine'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/raspihats/__init__.py b/homeassistant/components/raspihats/__init__.py index 622b98223aad66..5ace719b83a71f 100644 --- a/homeassistant/components/raspihats/__init__.py +++ b/homeassistant/components/raspihats/__init__.py @@ -6,7 +6,7 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['raspihats==2.2.3', 'smbus-cffi==0.5.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/raspihats/binary_sensor.py b/homeassistant/components/raspihats/binary_sensor.py index 29fa474f781270..d619521cf2ab71 100644 --- a/homeassistant/components/raspihats/binary_sensor.py +++ b/homeassistant/components/raspihats/binary_sensor.py @@ -15,7 +15,7 @@ _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 93538682ad8341..2e9512c5947673 100644 --- a/homeassistant/components/raspihats/switch.py +++ b/homeassistant/components/raspihats/switch.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['raspihats'] + _CHANNELS_SCHEMA = vol.Schema([{ vol.Required(CONF_INDEX): cv.positive_int, diff --git a/homeassistant/components/raspyrfm/switch.py b/homeassistant/components/raspyrfm/switch.py index a141721f3e5299..864c6c274288cc 100644 --- a/homeassistant/components/raspyrfm/switch.py +++ b/homeassistant/components/raspyrfm/switch.py @@ -9,7 +9,7 @@ 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 1e3803ab866020..07874ab2990647 100644 --- a/homeassistant/components/recollect_waste/sensor.py +++ b/homeassistant/components/recollect_waste/sensor.py @@ -8,7 +8,7 @@ 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' diff --git a/homeassistant/components/recorder/__init__.py b/homeassistant/components/recorder/__init__.py index 0df1fa42ad4913..5b6ad17ce8ee7c 100644 --- a/homeassistant/components/recorder/__init__.py +++ b/homeassistant/components/recorder/__init__.py @@ -25,7 +25,7 @@ from .const import DATA_INSTANCE from .util import session_scope -REQUIREMENTS = ['sqlalchemy==1.3.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/recswitch/switch.py b/homeassistant/components/recswitch/switch.py index ed2da8022f8a1e..5fdb72606ef527 100644 --- a/homeassistant/components/recswitch/switch.py +++ b/homeassistant/components/recswitch/switch.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pyrecswitch==1.0.2'] + DEFAULT_NAME = 'RecSwitch {0}' diff --git a/homeassistant/components/reddit/sensor.py b/homeassistant/components/reddit/sensor.py index 3ba43196551028..92e4e299d1bd52 100644 --- a/homeassistant/components/reddit/sensor.py +++ b/homeassistant/components/reddit/sensor.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['praw==6.1.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rejseplanen/sensor.py b/homeassistant/components/rejseplanen/sensor.py index 7a8cddb6179096..e342c624bd8b6b 100755 --- a/homeassistant/components/rejseplanen/sensor.py +++ b/homeassistant/components/rejseplanen/sensor.py @@ -19,7 +19,7 @@ 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 82619e35a0ebc2..d85518cfb37b90 100644 --- a/homeassistant/components/remember_the_milk/__init__.py +++ b/homeassistant/components/remember_the_milk/__init__.py @@ -13,7 +13,7 @@ # 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__) diff --git a/homeassistant/components/remote/__init__.py b/homeassistant/components/remote/__init__.py index de79adc9f0e6b5..6ef417c1e41f0c 100644 --- a/homeassistant/components/remote/__init__.py +++ b/homeassistant/components/remote/__init__.py @@ -26,7 +26,7 @@ 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 98e80580fea604..71af79bb95f90a 100644 --- a/homeassistant/components/rflink/__init__.py +++ b/homeassistant/components/rflink/__init__.py @@ -18,7 +18,7 @@ async_dispatcher_send, async_dispatcher_connect) from homeassistant.helpers.restore_state import RestoreEntity -REQUIREMENTS = ['rflink==0.0.37'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rflink/binary_sensor.py b/homeassistant/components/rflink/binary_sensor.py index 4e487eb6e81577..5a25cebdbd9ac5 100644 --- a/homeassistant/components/rflink/binary_sensor.py +++ b/homeassistant/components/rflink/binary_sensor.py @@ -14,7 +14,7 @@ CONF_OFF_DELAY = 'off_delay' DEFAULT_FORCE_UPDATE = False -DEPENDENCIES = ['rflink'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rflink/cover.py b/homeassistant/components/rflink/cover.py index 409d27862f9c3f..821bd920b4ec15 100644 --- a/homeassistant/components/rflink/cover.py +++ b/homeassistant/components/rflink/cover.py @@ -13,7 +13,7 @@ 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 112ed4b4f51203..434fc6a05e3eac 100644 --- a/homeassistant/components/rflink/light.py +++ b/homeassistant/components/rflink/light.py @@ -15,7 +15,7 @@ CONF_SIGNAL_REPETITIONS, DATA_DEVICE_REGISTER, DEVICE_DEFAULTS_SCHEMA, EVENT_KEY_COMMAND, EVENT_KEY_ID, SwitchableRflinkDevice, remove_deprecated) -DEPENDENCIES = ['rflink'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rflink/sensor.py b/homeassistant/components/rflink/sensor.py index c7498ece2416d8..d11bf3415f5591 100644 --- a/homeassistant/components/rflink/sensor.py +++ b/homeassistant/components/rflink/sensor.py @@ -15,7 +15,7 @@ EVENT_KEY_UNIT, SIGNAL_AVAILABILITY, SIGNAL_HANDLE_EVENT, TMP_ENTITY, RflinkDevice, remove_deprecated) -DEPENDENCIES = ['rflink'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rflink/switch.py b/homeassistant/components/rflink/switch.py index d5889c797f0e59..4a367f35a16663 100644 --- a/homeassistant/components/rflink/switch.py +++ b/homeassistant/components/rflink/switch.py @@ -13,7 +13,7 @@ CONF_NOGROUP_ALIASES, CONF_NOGROUP_ALIASSES, CONF_SIGNAL_REPETITIONS, DEVICE_DEFAULTS_SCHEMA, SwitchableRflinkDevice, remove_deprecated) -DEPENDENCIES = ['rflink'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rfxtrx/__init__.py b/homeassistant/components/rfxtrx/__init__.py index 411f0538bde3db..527f96156dd41c 100644 --- a/homeassistant/components/rfxtrx/__init__.py +++ b/homeassistant/components/rfxtrx/__init__.py @@ -12,7 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import slugify -REQUIREMENTS = ['pyRFXtrx==0.23'] + DOMAIN = 'rfxtrx' diff --git a/homeassistant/components/rfxtrx/binary_sensor.py b/homeassistant/components/rfxtrx/binary_sensor.py index d548897fb80ce1..f010ce0b0af85d 100644 --- a/homeassistant/components/rfxtrx/binary_sensor.py +++ b/homeassistant/components/rfxtrx/binary_sensor.py @@ -17,7 +17,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['rfxtrx'] + PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_DEVICES, default={}): { diff --git a/homeassistant/components/rfxtrx/cover.py b/homeassistant/components/rfxtrx/cover.py index 7ac0e2aa43f912..f49516a0745d16 100644 --- a/homeassistant/components/rfxtrx/cover.py +++ b/homeassistant/components/rfxtrx/cover.py @@ -10,7 +10,7 @@ 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={}): { diff --git a/homeassistant/components/rfxtrx/light.py b/homeassistant/components/rfxtrx/light.py index 3320a67214e2bd..7c9ff6e972de4a 100644 --- a/homeassistant/components/rfxtrx/light.py +++ b/homeassistant/components/rfxtrx/light.py @@ -13,7 +13,7 @@ CONF_AUTOMATIC_ADD, CONF_DEVICES, CONF_FIRE_EVENT, CONF_SIGNAL_REPETITIONS, DEFAULT_SIGNAL_REPETITIONS) -DEPENDENCIES = ['rfxtrx'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rfxtrx/sensor.py b/homeassistant/components/rfxtrx/sensor.py index cc54320cb672eb..30de35133603d3 100644 --- a/homeassistant/components/rfxtrx/sensor.py +++ b/homeassistant/components/rfxtrx/sensor.py @@ -14,7 +14,7 @@ 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__) diff --git a/homeassistant/components/rfxtrx/switch.py b/homeassistant/components/rfxtrx/switch.py index 908c07ea745795..26756140235f61 100644 --- a/homeassistant/components/rfxtrx/switch.py +++ b/homeassistant/components/rfxtrx/switch.py @@ -12,7 +12,7 @@ CONF_AUTOMATIC_ADD, CONF_DEVICES, CONF_FIRE_EVENT, CONF_SIGNAL_REPETITIONS, DEFAULT_SIGNAL_REPETITIONS) -DEPENDENCIES = ['rfxtrx'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ring/__init__.py b/homeassistant/components/ring/__init__.py index 74da7a9d542909..50437a59fc454c 100644 --- a/homeassistant/components/ring/__init__.py +++ b/homeassistant/components/ring/__init__.py @@ -7,7 +7,7 @@ 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__) diff --git a/homeassistant/components/ring/binary_sensor.py b/homeassistant/components/ring/binary_sensor.py index 79de0424d85a85..26d3c838f96a33 100644 --- a/homeassistant/components/ring/binary_sensor.py +++ b/homeassistant/components/ring/binary_sensor.py @@ -12,7 +12,7 @@ from . import ATTRIBUTION, DATA_RING, DEFAULT_ENTITY_NAMESPACE -DEPENDENCIES = ['ring'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ring/camera.py b/homeassistant/components/ring/camera.py index 18427b9b6f9788..9c96717f1c7585 100644 --- a/homeassistant/components/ring/camera.py +++ b/homeassistant/components/ring/camera.py @@ -16,7 +16,7 @@ CONF_FFMPEG_ARGUMENTS = 'ffmpeg_arguments' -DEPENDENCIES = ['ring', 'ffmpeg'] + FORCE_REFRESH_INTERVAL = timedelta(minutes=45) diff --git a/homeassistant/components/ring/sensor.py b/homeassistant/components/ring/sensor.py index c9cb2f1159a67f..697338862a70c1 100644 --- a/homeassistant/components/ring/sensor.py +++ b/homeassistant/components/ring/sensor.py @@ -13,7 +13,7 @@ from . import ATTRIBUTION, DATA_RING, DEFAULT_ENTITY_NAMESPACE -DEPENDENCIES = ['ring'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ripple/sensor.py b/homeassistant/components/ripple/sensor.py index 54530571c3eab4..6e1937a0e98de8 100644 --- a/homeassistant/components/ripple/sensor.py +++ b/homeassistant/components/ripple/sensor.py @@ -8,7 +8,7 @@ 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" diff --git a/homeassistant/components/ritassist/device_tracker.py b/homeassistant/components/ritassist/device_tracker.py index 74bec1b871121f..887c4244e8172f 100644 --- a/homeassistant/components/ritassist/device_tracker.py +++ b/homeassistant/components/ritassist/device_tracker.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/rmvtransport/sensor.py b/homeassistant/components/rmvtransport/sensor.py index 7a3afb3f324bca..e53b92c410820b 100644 --- a/homeassistant/components/rmvtransport/sensor.py +++ b/homeassistant/components/rmvtransport/sensor.py @@ -13,7 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['PyRMVtransport==0.1.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rocketchat/notify.py b/homeassistant/components/rocketchat/notify.py index e404114736a103..e00e725321b1f6 100644 --- a/homeassistant/components/rocketchat/notify.py +++ b/homeassistant/components/rocketchat/notify.py @@ -10,7 +10,7 @@ from homeassistant.components.notify import (ATTR_DATA, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['rocketchat-API==0.6.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/roku/__init__.py b/homeassistant/components/roku/__init__.py index 89bb1a9acb8fbd..168dd01354c87b 100644 --- a/homeassistant/components/roku/__init__.py +++ b/homeassistant/components/roku/__init__.py @@ -8,7 +8,7 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-roku==3.1.5'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/roku/media_player.py b/homeassistant/components/roku/media_player.py index 3cf27af067433d..d88d60b69a240d 100644 --- a/homeassistant/components/roku/media_player.py +++ b/homeassistant/components/roku/media_player.py @@ -10,7 +10,7 @@ from homeassistant.const import (CONF_HOST, STATE_HOME, STATE_IDLE, STATE_PLAYING) -DEPENDENCIES = ['roku'] + DEFAULT_PORT = 8060 diff --git a/homeassistant/components/roku/remote.py b/homeassistant/components/roku/remote.py index 5529918010cf45..5cc1e4de0c68aa 100644 --- a/homeassistant/components/roku/remote.py +++ b/homeassistant/components/roku/remote.py @@ -4,7 +4,7 @@ from homeassistant.components import remote from homeassistant.const import (CONF_HOST) -DEPENDENCIES = ['roku'] + async def async_setup_platform( diff --git a/homeassistant/components/roomba/vacuum.py b/homeassistant/components/roomba/vacuum.py index fadbe2a82d5254..a345a007489e23 100644 --- a/homeassistant/components/roomba/vacuum.py +++ b/homeassistant/components/roomba/vacuum.py @@ -14,7 +14,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['roombapy==1.3.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/route53/__init__.py b/homeassistant/components/route53/__init__.py index 725dec8b8e54b2..c94dd727765dcc 100644 --- a/homeassistant/components/route53/__init__.py +++ b/homeassistant/components/route53/__init__.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/rova/sensor.py b/homeassistant/components/rova/sensor.py index 2c2c36b12457ad..28fc55ebcd770b 100644 --- a/homeassistant/components/rova/sensor.py +++ b/homeassistant/components/rova/sensor.py @@ -12,7 +12,7 @@ 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' diff --git a/homeassistant/components/rpi_gpio/__init__.py b/homeassistant/components/rpi_gpio/__init__.py index b5bd0796f160b8..2d79b1146836b8 100644 --- a/homeassistant/components/rpi_gpio/__init__.py +++ b/homeassistant/components/rpi_gpio/__init__.py @@ -4,7 +4,7 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['RPi.GPIO==0.6.5'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rpi_gpio/binary_sensor.py b/homeassistant/components/rpi_gpio/binary_sensor.py index 559ae9584049be..26e5e603eb42c0 100644 --- a/homeassistant/components/rpi_gpio/binary_sensor.py +++ b/homeassistant/components/rpi_gpio/binary_sensor.py @@ -20,7 +20,7 @@ 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 403f7ec6867afa..a577c9822877f6 100644 --- a/homeassistant/components/rpi_gpio/cover.py +++ b/homeassistant/components/rpi_gpio/cover.py @@ -23,7 +23,7 @@ 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 bdb79d03eec812..21b717f424354a 100644 --- a/homeassistant/components/rpi_gpio/switch.py +++ b/homeassistant/components/rpi_gpio/switch.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['rpi_gpio'] + CONF_PULL_MODE = 'pull_mode' CONF_PORTS = 'ports' diff --git a/homeassistant/components/rpi_gpio_pwm/light.py b/homeassistant/components/rpi_gpio_pwm/light.py index b0b9ef1b763509..06fac61401f791 100644 --- a/homeassistant/components/rpi_gpio_pwm/light.py +++ b/homeassistant/components/rpi_gpio_pwm/light.py @@ -11,7 +11,7 @@ import homeassistant.util.color as color_util from homeassistant.helpers.restore_state import RestoreEntity -REQUIREMENTS = ['pwmled==1.4.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rpi_pfio/__init__.py b/homeassistant/components/rpi_pfio/__init__.py index b096d9fe98ab7d..10d36372c090e5 100644 --- a/homeassistant/components/rpi_pfio/__init__.py +++ b/homeassistant/components/rpi_pfio/__init__.py @@ -4,7 +4,7 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['pifacecommon==4.2.2', 'pifacedigitalio==3.0.5'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rpi_pfio/binary_sensor.py b/homeassistant/components/rpi_pfio/binary_sensor.py index 677ec3bb16f121..5375e1d4f37024 100644 --- a/homeassistant/components/rpi_pfio/binary_sensor.py +++ b/homeassistant/components/rpi_pfio/binary_sensor.py @@ -18,7 +18,7 @@ DEFAULT_INVERT_LOGIC = False DEFAULT_SETTLE_TIME = 20 -DEPENDENCIES = ['rpi_pfio'] + PORT_SCHEMA = vol.Schema({ vol.Optional(CONF_NAME): cv.string, diff --git a/homeassistant/components/rpi_pfio/switch.py b/homeassistant/components/rpi_pfio/switch.py index fc158bd666f97d..90ef5cad7e765e 100644 --- a/homeassistant/components/rpi_pfio/switch.py +++ b/homeassistant/components/rpi_pfio/switch.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['rpi_pfio'] + ATTR_INVERT_LOGIC = 'invert_logic' diff --git a/homeassistant/components/rpi_rf/switch.py b/homeassistant/components/rpi_rf/switch.py index d0a2337280296d..d228c6c93bfaef 100644 --- a/homeassistant/components/rpi_rf/switch.py +++ b/homeassistant/components/rpi_rf/switch.py @@ -9,7 +9,7 @@ CONF_NAME, CONF_SWITCHES, EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['rpi-rf==0.9.7'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rss_feed_template/__init__.py b/homeassistant/components/rss_feed_template/__init__.py index 3c93fe2ac83593..d51a87f6ba591d 100644 --- a/homeassistant/components/rss_feed_template/__init__.py +++ b/homeassistant/components/rss_feed_template/__init__.py @@ -8,7 +8,7 @@ import homeassistant.helpers.config_validation as cv CONTENT_TYPE_XML = 'text/xml' -DEPENDENCIES = ['http'] + DOMAIN = 'rss_feed_template' diff --git a/homeassistant/components/russound_rio/media_player.py b/homeassistant/components/russound_rio/media_player.py index b8f9d29f5cae81..dba86dfa4af05d 100644 --- a/homeassistant/components/russound_rio/media_player.py +++ b/homeassistant/components/russound_rio/media_player.py @@ -14,7 +14,7 @@ from homeassistant.core import callback import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['russound_rio==0.1.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/russound_rnet/media_player.py b/homeassistant/components/russound_rnet/media_player.py index f489d48a9d53f4..1c6e5d33247e12 100644 --- a/homeassistant/components/russound_rnet/media_player.py +++ b/homeassistant/components/russound_rnet/media_player.py @@ -12,7 +12,7 @@ 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__) diff --git a/homeassistant/components/ruter/sensor.py b/homeassistant/components/ruter/sensor.py index f6fefc96198939..cc2b024dd703bb 100644 --- a/homeassistant/components/ruter/sensor.py +++ b/homeassistant/components/ruter/sensor.py @@ -9,7 +9,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['pyruter==1.1.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sabnzbd/__init__.py b/homeassistant/components/sabnzbd/__init__.py index d070872f85c442..003d12b5c15f0e 100644 --- a/homeassistant/components/sabnzbd/__init__.py +++ b/homeassistant/components/sabnzbd/__init__.py @@ -15,7 +15,7 @@ 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__) diff --git a/homeassistant/components/sabnzbd/sensor.py b/homeassistant/components/sabnzbd/sensor.py index 4968725a4befc7..a0ba5fd437309e 100644 --- a/homeassistant/components/sabnzbd/sensor.py +++ b/homeassistant/components/sabnzbd/sensor.py @@ -6,7 +6,7 @@ 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 1a2a24c3621040..eb6978495e9f99 100644 --- a/homeassistant/components/samsungtv/media_player.py +++ b/homeassistant/components/samsungtv/media_player.py @@ -18,7 +18,7 @@ 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__) diff --git a/homeassistant/components/satel_integra/__init__.py b/homeassistant/components/satel_integra/__init__.py index 5f5c43d961f552..b3a0bbda90bdea 100644 --- a/homeassistant/components/satel_integra/__init__.py +++ b/homeassistant/components/satel_integra/__init__.py @@ -9,7 +9,7 @@ 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 diff --git a/homeassistant/components/satel_integra/alarm_control_panel.py b/homeassistant/components/satel_integra/alarm_control_panel.py index d2d9f47305100d..f2733a613f461d 100644 --- a/homeassistant/components/satel_integra/alarm_control_panel.py +++ b/homeassistant/components/satel_integra/alarm_control_panel.py @@ -16,7 +16,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['satel_integra'] + async def async_setup_platform( diff --git a/homeassistant/components/satel_integra/binary_sensor.py b/homeassistant/components/satel_integra/binary_sensor.py index 0384ff37f14f01..97b0b339b8754f 100644 --- a/homeassistant/components/satel_integra/binary_sensor.py +++ b/homeassistant/components/satel_integra/binary_sensor.py @@ -9,7 +9,7 @@ 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 e576eca78e872e..002188f0bcf411 100644 --- a/homeassistant/components/scrape/sensor.py +++ b/homeassistant/components/scrape/sensor.py @@ -15,7 +15,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['beautifulsoup4==4.7.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/script/__init__.py b/homeassistant/components/script/__init__.py index 873a18120ac3ce..90e8353c8589e8 100644 --- a/homeassistant/components/script/__init__.py +++ b/homeassistant/components/script/__init__.py @@ -18,7 +18,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'script' -DEPENDENCIES = ['group'] + ATTR_CAN_CANCEL = 'can_cancel' ATTR_LAST_ACTION = 'last_action' diff --git a/homeassistant/components/scsgate/__init__.py b/homeassistant/components/scsgate/__init__.py index 67421e9a46ad44..52d99fd43f9f49 100644 --- a/homeassistant/components/scsgate/__init__.py +++ b/homeassistant/components/scsgate/__init__.py @@ -8,7 +8,7 @@ from homeassistant.core import EVENT_HOMEASSISTANT_STOP import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['scsgate==0.1.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/scsgate/cover.py b/homeassistant/components/scsgate/cover.py index fc1c16e1ff36d5..906d4cffc5a1a4 100644 --- a/homeassistant/components/scsgate/cover.py +++ b/homeassistant/components/scsgate/cover.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['scsgate'] + PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_DEVICES): diff --git a/homeassistant/components/scsgate/light.py b/homeassistant/components/scsgate/light.py index 87d7e02b383d1d..5608be96fee141 100644 --- a/homeassistant/components/scsgate/light.py +++ b/homeassistant/components/scsgate/light.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['scsgate'] + PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_DEVICES): diff --git a/homeassistant/components/scsgate/switch.py b/homeassistant/components/scsgate/switch.py index 2b2bf2de94fc5b..6a9d6fa623a77c 100644 --- a/homeassistant/components/scsgate/switch.py +++ b/homeassistant/components/scsgate/switch.py @@ -11,7 +11,7 @@ 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 7c7b1054961bf3..7d6685453cd015 100644 --- a/homeassistant/components/season/sensor.py +++ b/homeassistant/components/season/sensor.py @@ -9,7 +9,7 @@ from homeassistant.helpers.entity import Entity from homeassistant import util -REQUIREMENTS = ['ephem==3.7.6.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sendgrid/notify.py b/homeassistant/components/sendgrid/notify.py index a717c7f24edb0d..b56e2159d3a1ee 100644 --- a/homeassistant/components/sendgrid/notify.py +++ b/homeassistant/components/sendgrid/notify.py @@ -10,7 +10,7 @@ from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['sendgrid==5.6.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sense/__init__.py b/homeassistant/components/sense/__init__.py index be3ab75b5553cd..762c7ad672d788 100644 --- a/homeassistant/components/sense/__init__.py +++ b/homeassistant/components/sense/__init__.py @@ -7,7 +7,7 @@ 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__) diff --git a/homeassistant/components/sense/binary_sensor.py b/homeassistant/components/sense/binary_sensor.py index da9bae3cc84788..ce961aa4dac7fc 100644 --- a/homeassistant/components/sense/binary_sensor.py +++ b/homeassistant/components/sense/binary_sensor.py @@ -5,7 +5,7 @@ from . import SENSE_DATA -DEPENDENCIES = ['sense'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sense/sensor.py b/homeassistant/components/sense/sensor.py index 0224884e18a5cd..4f4fe5009602cd 100644 --- a/homeassistant/components/sense/sensor.py +++ b/homeassistant/components/sense/sensor.py @@ -15,7 +15,7 @@ CONSUMPTION_NAME = 'Usage' -DEPENDENCIES = ['sense'] + ICON = 'mdi:flash' diff --git a/homeassistant/components/sensehat/light.py b/homeassistant/components/sensehat/light.py index c68e77b40a4d8d..7a25c66e28239a 100644 --- a/homeassistant/components/sensehat/light.py +++ b/homeassistant/components/sensehat/light.py @@ -10,7 +10,7 @@ from homeassistant.const import CONF_NAME import homeassistant.util.color as color_util -REQUIREMENTS = ['sense-hat==2.2.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sensehat/sensor.py b/homeassistant/components/sensehat/sensor.py index 870150c1a987cd..82cd0c9bae1498 100644 --- a/homeassistant/components/sensehat/sensor.py +++ b/homeassistant/components/sensehat/sensor.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['sense-hat==2.2.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sensibo/climate.py b/homeassistant/components/sensibo/climate.py index bf06f232427a3f..9cf13c2fe7efa7 100644 --- a/homeassistant/components/sensibo/climate.py +++ b/homeassistant/components/sensibo/climate.py @@ -21,7 +21,7 @@ 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__) diff --git a/homeassistant/components/serial/sensor.py b/homeassistant/components/serial/sensor.py index c01981f90218a7..b2af5505601c84 100644 --- a/homeassistant/components/serial/sensor.py +++ b/homeassistant/components/serial/sensor.py @@ -10,7 +10,7 @@ CONF_NAME, CONF_VALUE_TEMPLATE, EVENT_HOMEASSISTANT_STOP) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyserial-asyncio==0.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/serial_pm/sensor.py b/homeassistant/components/serial_pm/sensor.py index 9ad65f7256fa25..1922dfff73af5a 100644 --- a/homeassistant/components/serial_pm/sensor.py +++ b/homeassistant/components/serial_pm/sensor.py @@ -8,7 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.sensor import PLATFORM_SCHEMA -REQUIREMENTS = ['pmsensor==0.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sesame/lock.py b/homeassistant/components/sesame/lock.py index 263914f389cced..385bdd1eeef0c8 100644 --- a/homeassistant/components/sesame/lock.py +++ b/homeassistant/components/sesame/lock.py @@ -9,7 +9,7 @@ STATE_LOCKED, STATE_UNLOCKED) from homeassistant.helpers.typing import ConfigType -REQUIREMENTS = ['pysesame==0.1.0'] + ATTR_DEVICE_ID = 'device_id' diff --git a/homeassistant/components/seventeentrack/sensor.py b/homeassistant/components/seventeentrack/sensor.py index ff17d1a4c546fc..3d7c8a94b41154 100644 --- a/homeassistant/components/seventeentrack/sensor.py +++ b/homeassistant/components/seventeentrack/sensor.py @@ -12,7 +12,7 @@ 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 438bc36b1bf2de..075aa602e8dbdc 100644 --- a/homeassistant/components/shiftr/__init__.py +++ b/homeassistant/components/shiftr/__init__.py @@ -9,7 +9,7 @@ EVENT_HOMEASSISTANT_STOP) from homeassistant.helpers import state as state_helper -REQUIREMENTS = ['paho-mqtt==1.4.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/shodan/sensor.py b/homeassistant/components/shodan/sensor.py index ee64eecf3fe02a..6bce0d252617d5 100644 --- a/homeassistant/components/shodan/sensor.py +++ b/homeassistant/components/shodan/sensor.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/shopping_list/__init__.py b/homeassistant/components/shopping_list/__init__.py index 1a036f3661aa38..7f24bba6db72a4 100644 --- a/homeassistant/components/shopping_list/__init__.py +++ b/homeassistant/components/shopping_list/__init__.py @@ -18,7 +18,7 @@ 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/simplepush/notify.py b/homeassistant/components/simplepush/notify.py index 081351238d9d0e..52e9d207f98905 100644 --- a/homeassistant/components/simplepush/notify.py +++ b/homeassistant/components/simplepush/notify.py @@ -9,7 +9,7 @@ from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['simplepush==1.1.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/simplisafe/__init__.py b/homeassistant/components/simplisafe/__init__.py index 359591856a7917..fbdada4e1bf2f2 100644 --- a/homeassistant/components/simplisafe/__init__.py +++ b/homeassistant/components/simplisafe/__init__.py @@ -19,7 +19,7 @@ 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__) diff --git a/homeassistant/components/sisyphus/__init__.py b/homeassistant/components/sisyphus/__init__.py index b1bec15d40e8ac..20523296ec3352 100644 --- a/homeassistant/components/sisyphus/__init__.py +++ b/homeassistant/components/sisyphus/__init__.py @@ -13,7 +13,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import async_load_platform -REQUIREMENTS = ['sisyphus-control==2.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sisyphus/light.py b/homeassistant/components/sisyphus/light.py index 182e5e78198dc1..b285824d7ce4e9 100644 --- a/homeassistant/components/sisyphus/light.py +++ b/homeassistant/components/sisyphus/light.py @@ -8,7 +8,7 @@ _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 11546c3fd43822..29a0f47784edb9 100644 --- a/homeassistant/components/sisyphus/media_player.py +++ b/homeassistant/components/sisyphus/media_player.py @@ -13,7 +13,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['sisyphus'] + MEDIA_TYPE_TRACK = 'sisyphus_track' diff --git a/homeassistant/components/skybeacon/sensor.py b/homeassistant/components/skybeacon/sensor.py index 9b8b4872cdce89..9e6f0a91472243 100644 --- a/homeassistant/components/skybeacon/sensor.py +++ b/homeassistant/components/skybeacon/sensor.py @@ -11,7 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pygatt[GATTTOOL]==3.2.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/skybell/__init__.py b/homeassistant/components/skybell/__init__.py index 31d1339fbcfc88..b404a43bf3ef93 100644 --- a/homeassistant/components/skybell/__init__.py +++ b/homeassistant/components/skybell/__init__.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['skybellpy==0.3.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/skybell/binary_sensor.py b/homeassistant/components/skybell/binary_sensor.py index 8c2b83552588c5..89878d0651b73b 100644 --- a/homeassistant/components/skybell/binary_sensor.py +++ b/homeassistant/components/skybell/binary_sensor.py @@ -12,7 +12,7 @@ from . import DEFAULT_ENTITY_NAMESPACE, DOMAIN as SKYBELL_DOMAIN, SkybellDevice -DEPENDENCIES = ['skybell'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/skybell/camera.py b/homeassistant/components/skybell/camera.py index 04b03f84bf751d..bad3d423a82d61 100644 --- a/homeassistant/components/skybell/camera.py +++ b/homeassistant/components/skybell/camera.py @@ -11,7 +11,7 @@ from . import DOMAIN as SKYBELL_DOMAIN, SkybellDevice -DEPENDENCIES = ['skybell'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/skybell/light.py b/homeassistant/components/skybell/light.py index d413f9df4127dc..491bfed953cdf6 100644 --- a/homeassistant/components/skybell/light.py +++ b/homeassistant/components/skybell/light.py @@ -7,7 +7,7 @@ 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 067e850dfcf1dc..e2bfcedf2987b6 100644 --- a/homeassistant/components/skybell/sensor.py +++ b/homeassistant/components/skybell/sensor.py @@ -11,7 +11,7 @@ from . import DEFAULT_ENTITY_NAMESPACE, DOMAIN as SKYBELL_DOMAIN, SkybellDevice -DEPENDENCIES = ['skybell'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/skybell/switch.py b/homeassistant/components/skybell/switch.py index 674bbf22a08600..e41b23052206e6 100644 --- a/homeassistant/components/skybell/switch.py +++ b/homeassistant/components/skybell/switch.py @@ -10,7 +10,7 @@ from . import DEFAULT_ENTITY_NAMESPACE, DOMAIN as SKYBELL_DOMAIN, SkybellDevice -DEPENDENCIES = ['skybell'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/slack/notify.py b/homeassistant/components/slack/notify.py index 026fed0a58ebb2..cf879478c0db51 100644 --- a/homeassistant/components/slack/notify.py +++ b/homeassistant/components/slack/notify.py @@ -12,7 +12,7 @@ ATTR_DATA, ATTR_TARGET, ATTR_TITLE, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['slacker==0.12.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sleepiq/__init__.py b/homeassistant/components/sleepiq/__init__.py index 7a23c6c46095f8..99c66d6e707435 100644 --- a/homeassistant/components/sleepiq/__init__.py +++ b/homeassistant/components/sleepiq/__init__.py @@ -13,7 +13,7 @@ DOMAIN = 'sleepiq' -REQUIREMENTS = ['sleepyq==0.6'] + MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=30) diff --git a/homeassistant/components/sleepiq/binary_sensor.py b/homeassistant/components/sleepiq/binary_sensor.py index 11f9e25d8c957e..e0843e67fd5a88 100644 --- a/homeassistant/components/sleepiq/binary_sensor.py +++ b/homeassistant/components/sleepiq/binary_sensor.py @@ -2,7 +2,7 @@ from homeassistant.components import sleepiq from homeassistant.components.binary_sensor import BinarySensorDevice -DEPENDENCIES = ['sleepiq'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/sleepiq/sensor.py b/homeassistant/components/sleepiq/sensor.py index 3de444c332452d..86b9fc7fef58cd 100644 --- a/homeassistant/components/sleepiq/sensor.py +++ b/homeassistant/components/sleepiq/sensor.py @@ -1,7 +1,7 @@ """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 a2ec7871f608e0..718a6c1ffdd45b 100644 --- a/homeassistant/components/sma/sensor.py +++ b/homeassistant/components/sma/sensor.py @@ -14,7 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import async_track_time_interval -REQUIREMENTS = ['pysma==0.3.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/smappee/__init__.py b/homeassistant/components/smappee/__init__.py index 7a495d7b89a375..8f01bd39217833 100644 --- a/homeassistant/components/smappee/__init__.py +++ b/homeassistant/components/smappee/__init__.py @@ -11,7 +11,7 @@ from homeassistant.helpers.discovery import load_platform import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['smappy==0.2.16'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/smappee/sensor.py b/homeassistant/components/smappee/sensor.py index 98527c769d9036..39a2d98fde2749 100644 --- a/homeassistant/components/smappee/sensor.py +++ b/homeassistant/components/smappee/sensor.py @@ -7,7 +7,7 @@ from . import DATA_SMAPPEE -DEPENDENCIES = ['smappee'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/smappee/switch.py b/homeassistant/components/smappee/switch.py index 963caf457fe8db..2f5737c9be5cf0 100644 --- a/homeassistant/components/smappee/switch.py +++ b/homeassistant/components/smappee/switch.py @@ -5,7 +5,7 @@ from . import DATA_SMAPPEE -DEPENDENCIES = ['smappee'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/smartthings/__init__.py b/homeassistant/components/smartthings/__init__.py index e5226076f465e9..15a9500150c4d2 100644 --- a/homeassistant/components/smartthings/__init__.py +++ b/homeassistant/components/smartthings/__init__.py @@ -28,8 +28,8 @@ 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 45101601d5ffb2..3f6064a30dd672 100644 --- a/homeassistant/components/smartthings/binary_sensor.py +++ b/homeassistant/components/smartthings/binary_sensor.py @@ -6,7 +6,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] + CAPABILITY_TO_ATTRIB = { 'accelerationSensor': 'acceleration', diff --git a/homeassistant/components/smartthings/climate.py b/homeassistant/components/smartthings/climate.py index bcf2dc02cb03a2..180008bcd3a3ad 100644 --- a/homeassistant/components/smartthings/climate.py +++ b/homeassistant/components/smartthings/climate.py @@ -17,7 +17,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] + ATTR_OPERATION_STATE = 'operation_state' MODE_TO_STATE = { diff --git a/homeassistant/components/smartthings/cover.py b/homeassistant/components/smartthings/cover.py index 53602c3643c2d4..5c740e4dfde821 100644 --- a/homeassistant/components/smartthings/cover.py +++ b/homeassistant/components/smartthings/cover.py @@ -11,7 +11,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] + VALUE_TO_STATE = { 'closed': STATE_CLOSED, diff --git a/homeassistant/components/smartthings/fan.py b/homeassistant/components/smartthings/fan.py index e722cd21d65a61..128ead6cbb8a5e 100644 --- a/homeassistant/components/smartthings/fan.py +++ b/homeassistant/components/smartthings/fan.py @@ -8,7 +8,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] + VALUE_TO_SPEED = { 0: SPEED_OFF, diff --git a/homeassistant/components/smartthings/light.py b/homeassistant/components/smartthings/light.py index 79a5eabc20a3cd..210f2caa86a993 100644 --- a/homeassistant/components/smartthings/light.py +++ b/homeassistant/components/smartthings/light.py @@ -11,7 +11,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] + async def async_setup_platform( diff --git a/homeassistant/components/smartthings/lock.py b/homeassistant/components/smartthings/lock.py index c7ab091454cad2..56085ffbe2c05c 100644 --- a/homeassistant/components/smartthings/lock.py +++ b/homeassistant/components/smartthings/lock.py @@ -6,7 +6,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] + ST_STATE_LOCKED = 'locked' ST_LOCK_ATTR_MAP = { diff --git a/homeassistant/components/smartthings/scene.py b/homeassistant/components/smartthings/scene.py index 9bf3211d8e36e2..bf05d0e98bab97 100644 --- a/homeassistant/components/smartthings/scene.py +++ b/homeassistant/components/smartthings/scene.py @@ -3,7 +3,7 @@ from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] + async def async_setup_platform( diff --git a/homeassistant/components/smartthings/sensor.py b/homeassistant/components/smartthings/sensor.py index 4f7ad1a1398ae4..ee951dc97860a3 100644 --- a/homeassistant/components/smartthings/sensor.py +++ b/homeassistant/components/smartthings/sensor.py @@ -10,7 +10,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] + Map = namedtuple("map", "attribute name default_unit device_class") diff --git a/homeassistant/components/smartthings/switch.py b/homeassistant/components/smartthings/switch.py index d30aa3a2303e9e..1707597e4b8804 100644 --- a/homeassistant/components/smartthings/switch.py +++ b/homeassistant/components/smartthings/switch.py @@ -6,7 +6,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] + async def async_setup_platform( diff --git a/homeassistant/components/smhi/__init__.py b/homeassistant/components/smhi/__init__.py index 608ee9b6a6d171..3d9f29b0b75022 100644 --- a/homeassistant/components/smhi/__init__.py +++ b/homeassistant/components/smhi/__init__.py @@ -6,7 +6,7 @@ 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 fc3399f755ccc5..9961f633779c8d 100644 --- a/homeassistant/components/smhi/weather.py +++ b/homeassistant/components/smhi/weather.py @@ -19,7 +19,7 @@ from .const import ATTR_SMHI_CLOUDINESS, ENTITY_ID_SENSOR_FORMAT -DEPENDENCIES = ['smhi'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/snapcast/media_player.py b/homeassistant/components/snapcast/media_player.py index b1589c4db51ab3..3f43857929cc6d 100644 --- a/homeassistant/components/snapcast/media_player.py +++ b/homeassistant/components/snapcast/media_player.py @@ -14,7 +14,7 @@ STATE_PLAYING, STATE_UNKNOWN) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['snapcast==2.0.9'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/snips/__init__.py b/homeassistant/components/snips/__init__.py index 0cc96d66b1a1aa..13b525ca140d1b 100644 --- a/homeassistant/components/snips/__init__.py +++ b/homeassistant/components/snips/__init__.py @@ -10,7 +10,7 @@ from homeassistant.components import mqtt DOMAIN = 'snips' -DEPENDENCIES = ['mqtt'] + CONF_INTENTS = 'intents' CONF_ACTION = 'action' diff --git a/homeassistant/components/snmp/device_tracker.py b/homeassistant/components/snmp/device_tracker.py index 8a0fe7c6101c98..5da930d1048231 100644 --- a/homeassistant/components/snmp/device_tracker.py +++ b/homeassistant/components/snmp/device_tracker.py @@ -9,7 +9,7 @@ DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST -REQUIREMENTS = ['pysnmp==4.4.8'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/snmp/sensor.py b/homeassistant/components/snmp/sensor.py index 83d311189885ef..cb2cab5cdb3a13 100644 --- a/homeassistant/components/snmp/sensor.py +++ b/homeassistant/components/snmp/sensor.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/snmp/switch.py b/homeassistant/components/snmp/switch.py index fdb3267a3c7c32..b709b7475664e3 100644 --- a/homeassistant/components/snmp/switch.py +++ b/homeassistant/components/snmp/switch.py @@ -9,7 +9,7 @@ CONF_USERNAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pysnmp==4.4.8'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sochain/sensor.py b/homeassistant/components/sochain/sensor.py index ef6a53b7091998..c827ac54ef242e 100644 --- a/homeassistant/components/sochain/sensor.py +++ b/homeassistant/components/sochain/sensor.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['python-sochain-api==0.0.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/socialblade/sensor.py b/homeassistant/components/socialblade/sensor.py index 77433ac6d57d4a..33bd84548beedb 100644 --- a/homeassistant/components/socialblade/sensor.py +++ b/homeassistant/components/socialblade/sensor.py @@ -12,7 +12,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['socialbladeclient==0.2'] + CHANNEL_ID = 'channel_id' diff --git a/homeassistant/components/solaredge/sensor.py b/homeassistant/components/solaredge/sensor.py index 6c6d7557282e2f..406e7ab217a11f 100644 --- a/homeassistant/components/solaredge/sensor.py +++ b/homeassistant/components/solaredge/sensor.py @@ -14,7 +14,7 @@ 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 c8a6314acaaa50..9a9728960c136d 100755 --- a/homeassistant/components/somfy_mylink/__init__.py +++ b/homeassistant/components/somfy_mylink/__init__.py @@ -8,7 +8,7 @@ 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 e0b9eae36ebe73..9f926315861776 100755 --- a/homeassistant/components/somfy_mylink/cover.py +++ b/homeassistant/components/somfy_mylink/cover.py @@ -7,7 +7,7 @@ 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 842360484cfd5b..2407a9b2030329 100644 --- a/homeassistant/components/songpal/media_player.py +++ b/homeassistant/components/songpal/media_player.py @@ -16,7 +16,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-songpal==0.0.9.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sonos/__init__.py b/homeassistant/components/sonos/__init__.py index d5f89cd074ed0d..a9cc4eeb2bcd47 100644 --- a/homeassistant/components/sonos/__init__.py +++ b/homeassistant/components/sonos/__init__.py @@ -4,7 +4,7 @@ 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 5b3ffeed75f30b..b3fca5c7226f40 100644 --- a/homeassistant/components/sony_projector/switch.py +++ b/homeassistant/components/sony_projector/switch.py @@ -8,7 +8,7 @@ STATE_ON, STATE_OFF, CONF_NAME, CONF_HOST) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pysdcp==1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/soundtouch/media_player.py b/homeassistant/components/soundtouch/media_player.py index 027fad43a4013b..2c7e08b9cbd9e3 100644 --- a/homeassistant/components/soundtouch/media_player.py +++ b/homeassistant/components/soundtouch/media_player.py @@ -15,7 +15,7 @@ STATE_UNAVAILABLE) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['libsoundtouch==0.7.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/spaceapi/__init__.py b/homeassistant/components/spaceapi/__init__.py index fb76718f2d5f06..3bbfdd2978958c 100644 --- a/homeassistant/components/spaceapi/__init__.py +++ b/homeassistant/components/spaceapi/__init__.py @@ -45,7 +45,7 @@ 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 8aafb6f12107bd..2f322a6f990b57 100644 --- a/homeassistant/components/spc/__init__.py +++ b/homeassistant/components/spc/__init__.py @@ -7,7 +7,7 @@ from homeassistant.helpers.dispatcher import async_dispatcher_send import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyspcwebgw==0.4.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/speedtestdotnet/__init__.py b/homeassistant/components/speedtestdotnet/__init__.py index 48953874e8c528..6a7f190a571d02 100644 --- a/homeassistant/components/speedtestdotnet/__init__.py +++ b/homeassistant/components/speedtestdotnet/__init__.py @@ -14,7 +14,7 @@ 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__) diff --git a/homeassistant/components/speedtestdotnet/sensor.py b/homeassistant/components/speedtestdotnet/sensor.py index fb92bb76ac848a..001089dfe018a7 100644 --- a/homeassistant/components/speedtestdotnet/sensor.py +++ b/homeassistant/components/speedtestdotnet/sensor.py @@ -9,7 +9,7 @@ from .const import ( DATA_UPDATED, DOMAIN as SPEEDTESTDOTNET_DOMAIN, SENSOR_TYPES) -DEPENDENCIES = ['speedtestdotnet'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/spider/__init__.py b/homeassistant/components/spider/__init__.py index b565f1834577fd..bbca33fc4f04e4 100644 --- a/homeassistant/components/spider/__init__.py +++ b/homeassistant/components/spider/__init__.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform -REQUIREMENTS = ['spiderpy==1.3.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/spider/climate.py b/homeassistant/components/spider/climate.py index 3b612441a88466..3062edd0d0778b 100644 --- a/homeassistant/components/spider/climate.py +++ b/homeassistant/components/spider/climate.py @@ -10,7 +10,7 @@ from . import DOMAIN as SPIDER_DOMAIN -DEPENDENCIES = ['spider'] + FAN_LIST = [ 'Auto', diff --git a/homeassistant/components/spider/switch.py b/homeassistant/components/spider/switch.py index e43762be460f1d..c420ece17b022c 100644 --- a/homeassistant/components/spider/switch.py +++ b/homeassistant/components/spider/switch.py @@ -5,7 +5,7 @@ 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 fa9cfa687ec3af..7c5375db7af2de 100644 --- a/homeassistant/components/spotcrime/sensor.py +++ b/homeassistant/components/spotcrime/sensor.py @@ -15,7 +15,7 @@ from homeassistant.util import slugify import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['spotcrime==1.0.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/spotify/media_player.py b/homeassistant/components/spotify/media_player.py index b9252d5035bd9f..c7b56fcd091284 100644 --- a/homeassistant/components/spotify/media_player.py +++ b/homeassistant/components/spotify/media_player.py @@ -16,7 +16,7 @@ from homeassistant.core import callback import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['spotipy-homeassistant==2.4.4.dev1'] + _LOGGER = logging.getLogger(__name__) @@ -35,7 +35,7 @@ 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 bc40d5efb4279f..1ee4b71fa21d88 100644 --- a/homeassistant/components/sql/sensor.py +++ b/homeassistant/components/sql/sensor.py @@ -15,7 +15,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['sqlalchemy==1.3.0'] + CONF_COLUMN_NAME = 'column' CONF_QUERIES = 'queries' diff --git a/homeassistant/components/srp_energy/sensor.py b/homeassistant/components/srp_energy/sensor.py index 0ebae427da138a..6da48df6c44d2f 100644 --- a/homeassistant/components/srp_energy/sensor.py +++ b/homeassistant/components/srp_energy/sensor.py @@ -14,7 +14,7 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['srpenergy==1.0.6'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/starlingbank/sensor.py b/homeassistant/components/starlingbank/sensor.py index 00640ea49632ca..7911604771290e 100644 --- a/homeassistant/components/starlingbank/sensor.py +++ b/homeassistant/components/starlingbank/sensor.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['starlingbank==3.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/startca/sensor.py b/homeassistant/components/startca/sensor.py index 1e57a4cf859eba..ea9b57862b7684 100644 --- a/homeassistant/components/startca/sensor.py +++ b/homeassistant/components/startca/sensor.py @@ -14,7 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['xmltodict==0.11.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/statsd/__init__.py b/homeassistant/components/statsd/__init__.py index a8c34d0a8433e1..aaf2ac9fccb371 100644 --- a/homeassistant/components/statsd/__init__.py +++ b/homeassistant/components/statsd/__init__.py @@ -8,7 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers import state as state_helper -REQUIREMENTS = ['statsd==3.2.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/steam_online/sensor.py b/homeassistant/components/steam_online/sensor.py index 4b4b73ad8cfd2f..7c09bde26854d1 100644 --- a/homeassistant/components/steam_online/sensor.py +++ b/homeassistant/components/steam_online/sensor.py @@ -8,7 +8,7 @@ from homeassistant.const import CONF_API_KEY import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['steamodd==4.21'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/stream/__init__.py b/homeassistant/components/stream/__init__.py index 43debc504e1a15..49a015dc31fe81 100644 --- a/homeassistant/components/stream/__init__.py +++ b/homeassistant/components/stream/__init__.py @@ -19,11 +19,11 @@ 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({}), diff --git a/homeassistant/components/stride/notify.py b/homeassistant/components/stride/notify.py index fa08697d798579..27ffdffca8e17b 100644 --- a/homeassistant/components/stride/notify.py +++ b/homeassistant/components/stride/notify.py @@ -10,7 +10,7 @@ PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['pystride==0.1.7'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/swiss_hydrological_data/sensor.py b/homeassistant/components/swiss_hydrological_data/sensor.py index 84964a94cbd141..0b2a52d5026675 100644 --- a/homeassistant/components/swiss_hydrological_data/sensor.py +++ b/homeassistant/components/swiss_hydrological_data/sensor.py @@ -10,7 +10,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['swisshydrodata==0.0.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/swiss_public_transport/sensor.py b/homeassistant/components/swiss_public_transport/sensor.py index 8d6b7fdee0ea85..b49aafca821e38 100644 --- a/homeassistant/components/swiss_public_transport/sensor.py +++ b/homeassistant/components/swiss_public_transport/sensor.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.util.dt as dt_util -REQUIREMENTS = ['python_opendata_transport==0.1.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/switch/__init__.py b/homeassistant/components/switch/__init__.py index 7e89a5369c8453..cea32fb2b0de80 100644 --- a/homeassistant/components/switch/__init__.py +++ b/homeassistant/components/switch/__init__.py @@ -16,7 +16,7 @@ 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 3db9b5fd2262bf..eea96b589253e4 100644 --- a/homeassistant/components/switchbot/switch.py +++ b/homeassistant/components/switchbot/switch.py @@ -8,7 +8,7 @@ from homeassistant.const import CONF_NAME, CONF_MAC from homeassistant.helpers.restore_state import RestoreEntity -REQUIREMENTS = ['PySwitchbot==0.5'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/switchmate/switch.py b/homeassistant/components/switchmate/switch.py index c14a6ca80879bd..0b9671c6015fb7 100644 --- a/homeassistant/components/switchmate/switch.py +++ b/homeassistant/components/switchmate/switch.py @@ -8,7 +8,7 @@ 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__) diff --git a/homeassistant/components/syncthru/sensor.py b/homeassistant/components/syncthru/sensor.py index 5596d4ab86adf9..9a170ad6fd821a 100644 --- a/homeassistant/components/syncthru/sensor.py +++ b/homeassistant/components/syncthru/sensor.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.sensor import PLATFORM_SCHEMA -REQUIREMENTS = ['pysyncthru==0.3.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/synology/camera.py b/homeassistant/components/synology/camera.py index c452f60cc2a1d2..ba5da5b747d6ac 100644 --- a/homeassistant/components/synology/camera.py +++ b/homeassistant/components/synology/camera.py @@ -14,7 +14,7 @@ async_get_clientsession) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['py-synology==0.2.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/synology_srm/device_tracker.py b/homeassistant/components/synology_srm/device_tracker.py index bf5653d681bbb8..7b214c96fa3a4b 100644 --- a/homeassistant/components/synology_srm/device_tracker.py +++ b/homeassistant/components/synology_srm/device_tracker.py @@ -13,7 +13,7 @@ CONF_HOST, CONF_USERNAME, CONF_PASSWORD, CONF_PORT, CONF_SSL, CONF_VERIFY_SSL) -REQUIREMENTS = ['synology-srm==0.0.6'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/synologydsm/sensor.py b/homeassistant/components/synologydsm/sensor.py index 0d5a253483f9ac..a00dc973beda18 100644 --- a/homeassistant/components/synologydsm/sensor.py +++ b/homeassistant/components/synologydsm/sensor.py @@ -13,7 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['python-synology==0.2.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/system_health/__init__.py b/homeassistant/components/system_health/__init__.py index 9a171296ce9578..26cfb4da613d68 100644 --- a/homeassistant/components/system_health/__init__.py +++ b/homeassistant/components/system_health/__init__.py @@ -14,7 +14,7 @@ _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 d6877c32f0deee..6c3e1cf60853c3 100644 --- a/homeassistant/components/system_log/__init__.py +++ b/homeassistant/components/system_log/__init__.py @@ -20,7 +20,7 @@ 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 cf65daa439509c..db465ff359c54f 100644 --- a/homeassistant/components/systemmonitor/sensor.py +++ b/homeassistant/components/systemmonitor/sensor.py @@ -12,7 +12,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['psutil==5.6.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sytadin/sensor.py b/homeassistant/components/sytadin/sensor.py index 517deda7ca2b71..139c643b14f1c5 100644 --- a/homeassistant/components/sytadin/sensor.py +++ b/homeassistant/components/sytadin/sensor.py @@ -13,7 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['beautifulsoup4==4.7.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tado/__init__.py b/homeassistant/components/tado/__init__.py index 8d3f541972e50c..835b2ba198b4b5 100644 --- a/homeassistant/components/tado/__init__.py +++ b/homeassistant/components/tado/__init__.py @@ -10,7 +10,7 @@ from homeassistant.const import CONF_USERNAME, CONF_PASSWORD from homeassistant.util import Throttle -REQUIREMENTS = ['python-tado==0.2.9'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tahoma/__init__.py b/homeassistant/components/tahoma/__init__.py index 1807667da87dc6..943b2809d8af65 100644 --- a/homeassistant/components/tahoma/__init__.py +++ b/homeassistant/components/tahoma/__init__.py @@ -9,7 +9,7 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['tahoma-api==0.0.14'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tahoma/binary_sensor.py b/homeassistant/components/tahoma/binary_sensor.py index 948c6f90a58895..74590eef9e0c4b 100644 --- a/homeassistant/components/tahoma/binary_sensor.py +++ b/homeassistant/components/tahoma/binary_sensor.py @@ -7,7 +7,7 @@ from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice -DEPENDENCIES = ['tahoma'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tahoma/cover.py b/homeassistant/components/tahoma/cover.py index 85e785f9ca3b44..8a3a4853a6adb1 100644 --- a/homeassistant/components/tahoma/cover.py +++ b/homeassistant/components/tahoma/cover.py @@ -7,7 +7,7 @@ from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice -DEPENDENCIES = ['tahoma'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tahoma/scene.py b/homeassistant/components/tahoma/scene.py index eedb95d1a772c9..28d773d3cb2cb2 100644 --- a/homeassistant/components/tahoma/scene.py +++ b/homeassistant/components/tahoma/scene.py @@ -5,7 +5,7 @@ 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 3c03911804ace1..d62d5a4cd01ab4 100644 --- a/homeassistant/components/tahoma/sensor.py +++ b/homeassistant/components/tahoma/sensor.py @@ -7,7 +7,7 @@ from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice -DEPENDENCIES = ['tahoma'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tahoma/switch.py b/homeassistant/components/tahoma/switch.py index 71f00ed8937c7d..4b3c179b96dc05 100644 --- a/homeassistant/components/tahoma/switch.py +++ b/homeassistant/components/tahoma/switch.py @@ -6,7 +6,7 @@ from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice -DEPENDENCIES = ['tahoma'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tapsaff/binary_sensor.py b/homeassistant/components/tapsaff/binary_sensor.py index 639e9574ed971e..ea3755c3eacd3a 100644 --- a/homeassistant/components/tapsaff/binary_sensor.py +++ b/homeassistant/components/tapsaff/binary_sensor.py @@ -9,7 +9,7 @@ from homeassistant.const import CONF_NAME import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['tapsaff==0.2.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tautulli/sensor.py b/homeassistant/components/tautulli/sensor.py index 44be10749bfa36..7c3f67910dabba 100644 --- a/homeassistant/components/tautulli/sensor.py +++ b/homeassistant/components/tautulli/sensor.py @@ -14,7 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pytautulli==0.5.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ted5000/sensor.py b/homeassistant/components/ted5000/sensor.py index fba9866302d984..eb3d0adcd8969a 100644 --- a/homeassistant/components/ted5000/sensor.py +++ b/homeassistant/components/ted5000/sensor.py @@ -12,7 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['xmltodict==0.11.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/telegram/notify.py b/homeassistant/components/telegram/notify.py index 3602bbd24419f7..eab83791fbeb4b 100644 --- a/homeassistant/components/telegram/notify.py +++ b/homeassistant/components/telegram/notify.py @@ -12,7 +12,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'telegram_bot' -DEPENDENCIES = [DOMAIN] + ATTR_KEYBOARD = 'keyboard' ATTR_INLINE_KEYBOARD = 'inline_keyboard' diff --git a/homeassistant/components/telegram_bot/__init__.py b/homeassistant/components/telegram_bot/__init__.py index 7d19e8212b6aca..76877dc2c277de 100644 --- a/homeassistant/components/telegram_bot/__init__.py +++ b/homeassistant/components/telegram_bot/__init__.py @@ -16,7 +16,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.exceptions import TemplateError -REQUIREMENTS = ['python-telegram-bot==11.1.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/telegram_bot/webhooks.py b/homeassistant/components/telegram_bot/webhooks.py index 424ece81549e2f..0595e5d40c7b61 100644 --- a/homeassistant/components/telegram_bot/webhooks.py +++ b/homeassistant/components/telegram_bot/webhooks.py @@ -15,7 +15,7 @@ CONF_ALLOWED_CHAT_IDS, PLATFORM_SCHEMA, BaseTelegramBotEntity, initialize_bot) -DEPENDENCIES = ['http'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tellduslive/__init__.py b/homeassistant/components/tellduslive/__init__.py index 64f4a0102a1572..51b9152abf83ec 100644 --- a/homeassistant/components/tellduslive/__init__.py +++ b/homeassistant/components/tellduslive/__init__.py @@ -19,7 +19,7 @@ APPLICATION_NAME = 'Home Assistant' -REQUIREMENTS = ['tellduslive==0.10.10'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tellstick/__init__.py b/homeassistant/components/tellstick/__init__.py index c35d2f790273a2..d0606f2b5078f4 100644 --- a/homeassistant/components/tellstick/__init__.py +++ b/homeassistant/components/tellstick/__init__.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/tellstick/sensor.py b/homeassistant/components/tellstick/sensor.py index 0438ad79abca19..31a21f8be99230 100644 --- a/homeassistant/components/tellstick/sensor.py +++ b/homeassistant/components/tellstick/sensor.py @@ -9,7 +9,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['tellstick'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/temper/sensor.py b/homeassistant/components/temper/sensor.py index 1c6cb9fdff4636..f5bf23d8a30ffe 100644 --- a/homeassistant/components/temper/sensor.py +++ b/homeassistant/components/temper/sensor.py @@ -8,7 +8,7 @@ _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 4e4a80a525e42e..feb5df7d4f4c13 100644 --- a/homeassistant/components/tensorflow/image_processing.py +++ b/homeassistant/components/tensorflow/image_processing.py @@ -12,7 +12,7 @@ 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__) diff --git a/homeassistant/components/tesla/__init__.py b/homeassistant/components/tesla/__init__.py index 244538f5f462ef..3304c344a833fa 100644 --- a/homeassistant/components/tesla/__init__.py +++ b/homeassistant/components/tesla/__init__.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import slugify -REQUIREMENTS = ['teslajsonpy==0.0.25'] + DOMAIN = 'tesla' diff --git a/homeassistant/components/tesla/binary_sensor.py b/homeassistant/components/tesla/binary_sensor.py index a87239d24308d9..18ef6288069c98 100644 --- a/homeassistant/components/tesla/binary_sensor.py +++ b/homeassistant/components/tesla/binary_sensor.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tesla'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/tesla/climate.py b/homeassistant/components/tesla/climate.py index 603ce1a4d61785..080515e34adbc1 100644 --- a/homeassistant/components/tesla/climate.py +++ b/homeassistant/components/tesla/climate.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tesla'] + OPERATION_LIST = [STATE_ON, STATE_OFF] diff --git a/homeassistant/components/tesla/device_tracker.py b/homeassistant/components/tesla/device_tracker.py index 5a7693d8370665..b52b0163a6c411 100644 --- a/homeassistant/components/tesla/device_tracker.py +++ b/homeassistant/components/tesla/device_tracker.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tesla'] + def setup_scanner(hass, config, see, discovery_info=None): diff --git a/homeassistant/components/tesla/lock.py b/homeassistant/components/tesla/lock.py index ade394496d6edb..aafd445b76d70d 100644 --- a/homeassistant/components/tesla/lock.py +++ b/homeassistant/components/tesla/lock.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tesla'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/tesla/sensor.py b/homeassistant/components/tesla/sensor.py index 99705d3f79336e..e8f419ce57b4a5 100644 --- a/homeassistant/components/tesla/sensor.py +++ b/homeassistant/components/tesla/sensor.py @@ -11,7 +11,7 @@ _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 e00164ff1a7d52..5c8982781b6ac5 100644 --- a/homeassistant/components/tesla/switch.py +++ b/homeassistant/components/tesla/switch.py @@ -7,7 +7,7 @@ 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 44fa19098236c8..fa69c217902641 100644 --- a/homeassistant/components/tfiac/climate.py +++ b/homeassistant/components/tfiac/climate.py @@ -13,7 +13,7 @@ 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) diff --git a/homeassistant/components/thermoworks_smoke/sensor.py b/homeassistant/components/thermoworks_smoke/sensor.py index 0c6cddd9fcd734..b3bdb145cf50b4 100644 --- a/homeassistant/components/thermoworks_smoke/sensor.py +++ b/homeassistant/components/thermoworks_smoke/sensor.py @@ -17,7 +17,7 @@ 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__) diff --git a/homeassistant/components/thethingsnetwork/sensor.py b/homeassistant/components/thethingsnetwork/sensor.py index d59b429721b562..c6611c2e3cb547 100644 --- a/homeassistant/components/thethingsnetwork/sensor.py +++ b/homeassistant/components/thethingsnetwork/sensor.py @@ -22,7 +22,7 @@ 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 0fa15e7efb4bf4..6e22e6158f318a 100644 --- a/homeassistant/components/thingspeak/__init__.py +++ b/homeassistant/components/thingspeak/__init__.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/thinkingcleaner/sensor.py b/homeassistant/components/thinkingcleaner/sensor.py index f8462435a451b6..0f4a90c32a99ca 100644 --- a/homeassistant/components/thinkingcleaner/sensor.py +++ b/homeassistant/components/thinkingcleaner/sensor.py @@ -7,7 +7,7 @@ _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 38a96eb029865e..006b5a7ad5bcca 100644 --- a/homeassistant/components/thinkingcleaner/switch.py +++ b/homeassistant/components/thinkingcleaner/switch.py @@ -9,7 +9,7 @@ _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 19cf6fe65258ea..822dfb7e49781b 100644 --- a/homeassistant/components/tibber/__init__.py +++ b/homeassistant/components/tibber/__init__.py @@ -11,7 +11,7 @@ from homeassistant.helpers import discovery from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['pyTibber==0.10.1'] + DOMAIN = 'tibber' diff --git a/homeassistant/components/tikteck/light.py b/homeassistant/components/tikteck/light.py index 4f5596c71be4d7..7aa2a1d11ba56e 100644 --- a/homeassistant/components/tikteck/light.py +++ b/homeassistant/components/tikteck/light.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['tikteck==0.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tile/device_tracker.py b/homeassistant/components/tile/device_tracker.py index c471c1e23b4d49..41e2330b436c89 100644 --- a/homeassistant/components/tile/device_tracker.py +++ b/homeassistant/components/tile/device_tracker.py @@ -13,7 +13,7 @@ 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 313935e1221fe8..8ad2f4371dfdde 100644 --- a/homeassistant/components/todoist/calendar.py +++ b/homeassistant/components/todoist/calendar.py @@ -12,7 +12,7 @@ from homeassistant.helpers.template import DATE_STR_FORMAT from homeassistant.util import Throttle, dt -REQUIREMENTS = ['todoist-python==7.0.17'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tof/sensor.py b/homeassistant/components/tof/sensor.py index a403db036825c8..16d9592dab3135 100644 --- a/homeassistant/components/tof/sensor.py +++ b/homeassistant/components/tof/sensor.py @@ -12,9 +12,9 @@ from homeassistant.const import CONF_NAME from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['VL53L1X2==0.1.5'] -DEPENDENCIES = ['rpi_gpio'] + + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/toon/__init__.py b/homeassistant/components/toon/__init__.py index d718b5895e4520..74851f095d440f 100644 --- a/homeassistant/components/toon/__init__.py +++ b/homeassistant/components/toon/__init__.py @@ -16,7 +16,7 @@ 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__) diff --git a/homeassistant/components/toon/binary_sensor.py b/homeassistant/components/toon/binary_sensor.py index 694b7d1d03383b..6e7a36a8c99052 100644 --- a/homeassistant/components/toon/binary_sensor.py +++ b/homeassistant/components/toon/binary_sensor.py @@ -12,7 +12,7 @@ ToonBoilerModuleDeviceEntity) from .const import DATA_TOON_CLIENT, DOMAIN -DEPENDENCIES = ['toon'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/toon/climate.py b/homeassistant/components/toon/climate.py index f09dc010c792ad..e027cd5869301a 100644 --- a/homeassistant/components/toon/climate.py +++ b/homeassistant/components/toon/climate.py @@ -15,7 +15,7 @@ from . import ToonDisplayDeviceEntity from .const import DATA_TOON_CLIENT, DEFAULT_MAX_TEMP, DEFAULT_MIN_TEMP, DOMAIN -DEPENDENCIES = ['toon'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/toon/sensor.py b/homeassistant/components/toon/sensor.py index f58c8ef4840d66..71bf72de0012ab 100644 --- a/homeassistant/components/toon/sensor.py +++ b/homeassistant/components/toon/sensor.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/torque/sensor.py b/homeassistant/components/torque/sensor.py index 2f947c178b89ca..00cb2948d5632d 100644 --- a/homeassistant/components/torque/sensor.py +++ b/homeassistant/components/torque/sensor.py @@ -16,7 +16,7 @@ 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 c56c4ed95a63fe..b55b3a447c5826 100644 --- a/homeassistant/components/totalconnect/alarm_control_panel.py +++ b/homeassistant/components/totalconnect/alarm_control_panel.py @@ -13,7 +13,7 @@ STATE_ALARM_ARMED_CUSTOM_BYPASS) -REQUIREMENTS = ['total_connect_client==0.25'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/touchline/climate.py b/homeassistant/components/touchline/climate.py index e003ea257d75a9..d30efaa01e4fea 100644 --- a/homeassistant/components/touchline/climate.py +++ b/homeassistant/components/touchline/climate.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/tplink/__init__.py b/homeassistant/components/tplink/__init__.py index 9fc12db0d63591..f1eb03dca7d6c4 100644 --- a/homeassistant/components/tplink/__init__.py +++ b/homeassistant/components/tplink/__init__.py @@ -33,7 +33,7 @@ }), }, extra=vol.ALLOW_EXTRA) -REQUIREMENTS = ['pyHS100==0.3.4'] + async def _async_has_devices(hass): diff --git a/homeassistant/components/tplink/device_tracker.py b/homeassistant/components/tplink/device_tracker.py index 7f5c4a37d2451c..2c7cae4d296032 100644 --- a/homeassistant/components/tplink/device_tracker.py +++ b/homeassistant/components/tplink/device_tracker.py @@ -17,7 +17,7 @@ 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__) diff --git a/homeassistant/components/tplink/light.py b/homeassistant/components/tplink/light.py index 9f13766c4eff9d..d4eae3e6dc793e 100644 --- a/homeassistant/components/tplink/light.py +++ b/homeassistant/components/tplink/light.py @@ -12,7 +12,7 @@ from . import CONF_LIGHT, DOMAIN as TPLINK_DOMAIN -DEPENDENCIES = ['tplink'] + PARALLEL_UPDATES = 0 diff --git a/homeassistant/components/tplink/switch.py b/homeassistant/components/tplink/switch.py index a4eeadd1c60a7e..95f8e811bba8c9 100644 --- a/homeassistant/components/tplink/switch.py +++ b/homeassistant/components/tplink/switch.py @@ -9,7 +9,7 @@ from . import CONF_SWITCH, DOMAIN as TPLINK_DOMAIN -DEPENDENCIES = ['tplink'] + PARALLEL_UPDATES = 0 diff --git a/homeassistant/components/tplink_lte/__init__.py b/homeassistant/components/tplink_lte/__init__.py index ae0b73d1c7c2bf..da50c7b425bcd0 100644 --- a/homeassistant/components/tplink_lte/__init__.py +++ b/homeassistant/components/tplink_lte/__init__.py @@ -14,7 +14,7 @@ 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__) diff --git a/homeassistant/components/tplink_lte/notify.py b/homeassistant/components/tplink_lte/notify.py index 519641ed34bf29..3fdbd2ccddfc49 100644 --- a/homeassistant/components/tplink_lte/notify.py +++ b/homeassistant/components/tplink_lte/notify.py @@ -9,7 +9,7 @@ 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 28d13dd4fe6fcc..0fbf9886f11cfe 100644 --- a/homeassistant/components/traccar/device_tracker.py +++ b/homeassistant/components/traccar/device_tracker.py @@ -16,7 +16,7 @@ from homeassistant.util import slugify -REQUIREMENTS = ['pytraccar==0.5.0', 'stringcase==1.2.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/trackr/device_tracker.py b/homeassistant/components/trackr/device_tracker.py index 1322fde7e1ae33..fc3828068d6595 100644 --- a/homeassistant/components/trackr/device_tracker.py +++ b/homeassistant/components/trackr/device_tracker.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pytrackr==0.0.5'] + PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_USERNAME): cv.string, diff --git a/homeassistant/components/tradfri/__init__.py b/homeassistant/components/tradfri/__init__.py index b14bc811754350..e334d4d4ddca4a 100644 --- a/homeassistant/components/tradfri/__init__.py +++ b/homeassistant/components/tradfri/__init__.py @@ -13,7 +13,7 @@ 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 07ab4806dfcc10..b05a71567bc0fc 100644 --- a/homeassistant/components/tradfri/light.py +++ b/homeassistant/components/tradfri/light.py @@ -17,7 +17,7 @@ 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 acc84a935904d3..636d0115295e0c 100644 --- a/homeassistant/components/tradfri/sensor.py +++ b/homeassistant/components/tradfri/sensor.py @@ -9,7 +9,7 @@ _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 ef9a9537cffe18..96c4602715050c 100644 --- a/homeassistant/components/tradfri/switch.py +++ b/homeassistant/components/tradfri/switch.py @@ -9,7 +9,7 @@ _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 bf8f4c803e0392..205d0fe7d9b508 100644 --- a/homeassistant/components/trafikverket_weatherstation/sensor.py +++ b/homeassistant/components/trafikverket_weatherstation/sensor.py @@ -16,7 +16,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pytrafikverket==0.1.5.9'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/transmission/__init__.py b/homeassistant/components/transmission/__init__.py index 25e21dc3d8a090..4c095b1256bc2a 100644 --- a/homeassistant/components/transmission/__init__.py +++ b/homeassistant/components/transmission/__init__.py @@ -11,7 +11,7 @@ from homeassistant.helpers.dispatcher import dispatcher_send from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['transmissionrpc==0.11'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/transmission/sensor.py b/homeassistant/components/transmission/sensor.py index dfd4c1950977b0..362ea122007ae1 100644 --- a/homeassistant/components/transmission/sensor.py +++ b/homeassistant/components/transmission/sensor.py @@ -9,7 +9,7 @@ from . import DATA_TRANSMISSION, DATA_UPDATED, SENSOR_TYPES -DEPENDENCIES = ['transmission'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/transmission/switch.py b/homeassistant/components/transmission/switch.py index 854a2e727b0b83..9c3b14cd5525a7 100644 --- a/homeassistant/components/transmission/switch.py +++ b/homeassistant/components/transmission/switch.py @@ -8,7 +8,7 @@ from . import DATA_TRANSMISSION, DATA_UPDATED -DEPENDENCIES = ['transmission'] + _LOGGING = logging.getLogger(__name__) diff --git a/homeassistant/components/transport_nsw/sensor.py b/homeassistant/components/transport_nsw/sensor.py index 3c40bf4f709e77..9ba5d95ab3d207 100644 --- a/homeassistant/components/transport_nsw/sensor.py +++ b/homeassistant/components/transport_nsw/sensor.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/travisci/sensor.py b/homeassistant/components/travisci/sensor.py index 99309f7e2b7533..0a69df9544d438 100644 --- a/homeassistant/components/travisci/sensor.py +++ b/homeassistant/components/travisci/sensor.py @@ -11,7 +11,7 @@ CONF_MONITORED_CONDITIONS) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['TravisPy==0.3.5'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/trend/binary_sensor.py b/homeassistant/components/trend/binary_sensor.py index 163703373d3303..c981bae9d29ed8 100644 --- a/homeassistant/components/trend/binary_sensor.py +++ b/homeassistant/components/trend/binary_sensor.py @@ -17,7 +17,7 @@ from homeassistant.helpers.event import async_track_state_change from homeassistant.util import utcnow -REQUIREMENTS = ['numpy==1.16.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tts/__init__.py b/homeassistant/components/tts/__init__.py index 763baa262bed81..e599a2590cca2c 100644 --- a/homeassistant/components/tts/__init__.py +++ b/homeassistant/components/tts/__init__.py @@ -24,7 +24,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.setup import async_prepare_setup_platform -REQUIREMENTS = ['mutagen==1.42.0'] + _LOGGER = logging.getLogger(__name__) @@ -43,7 +43,7 @@ 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 117424fd55e17e..409f9011304aff 100644 --- a/homeassistant/components/tuya/__init__.py +++ b/homeassistant/components/tuya/__init__.py @@ -12,7 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['tuyapy==0.1.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tuya/climate.py b/homeassistant/components/tuya/climate.py index b7a10dad8626c3..16e4d0686dc875 100644 --- a/homeassistant/components/tuya/climate.py +++ b/homeassistant/components/tuya/climate.py @@ -10,7 +10,7 @@ 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 274f4d9386936f..6ca29ce9610f24 100644 --- a/homeassistant/components/tuya/cover.py +++ b/homeassistant/components/tuya/cover.py @@ -4,7 +4,7 @@ from . import DATA_TUYA, TuyaDevice -DEPENDENCIES = ['tuya'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/tuya/fan.py b/homeassistant/components/tuya/fan.py index 259417869dc2dc..1c5d8251787206 100644 --- a/homeassistant/components/tuya/fan.py +++ b/homeassistant/components/tuya/fan.py @@ -5,7 +5,7 @@ from . import DATA_TUYA, TuyaDevice -DEPENDENCIES = ['tuya'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/tuya/light.py b/homeassistant/components/tuya/light.py index 17f9b43dcbebc6..f0431834a70d39 100644 --- a/homeassistant/components/tuya/light.py +++ b/homeassistant/components/tuya/light.py @@ -6,7 +6,7 @@ from . import DATA_TUYA, TuyaDevice -DEPENDENCIES = ['tuya'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/tuya/scene.py b/homeassistant/components/tuya/scene.py index 24383dca6e4c11..074867e6ffd605 100644 --- a/homeassistant/components/tuya/scene.py +++ b/homeassistant/components/tuya/scene.py @@ -3,7 +3,7 @@ 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 c2e32eedc59164..52a51e8b968607 100644 --- a/homeassistant/components/tuya/switch.py +++ b/homeassistant/components/tuya/switch.py @@ -3,7 +3,7 @@ from . import DATA_TUYA, TuyaDevice -DEPENDENCIES = ['tuya'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/twilio/__init__.py b/homeassistant/components/twilio/__init__.py index e7ba06a05f7d3b..f635514a754846 100644 --- a/homeassistant/components/twilio/__init__.py +++ b/homeassistant/components/twilio/__init__.py @@ -5,8 +5,8 @@ from homeassistant.const import CONF_WEBHOOK_ID from homeassistant.helpers import config_entry_flow -REQUIREMENTS = ['twilio==6.19.1'] -DEPENDENCIES = ['webhook'] + + DOMAIN = 'twilio' diff --git a/homeassistant/components/twilio_call/notify.py b/homeassistant/components/twilio_call/notify.py index ab57d7214656b1..52418a64cbec1a 100644 --- a/homeassistant/components/twilio_call/notify.py +++ b/homeassistant/components/twilio_call/notify.py @@ -12,7 +12,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['twilio'] + CONF_FROM_NUMBER = 'from_number' diff --git a/homeassistant/components/twilio_sms/notify.py b/homeassistant/components/twilio_sms/notify.py index a04e397a5688d2..7617401854c081 100644 --- a/homeassistant/components/twilio_sms/notify.py +++ b/homeassistant/components/twilio_sms/notify.py @@ -10,7 +10,7 @@ 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 123de752d51255..8919bbc397f92b 100644 --- a/homeassistant/components/twitch/sensor.py +++ b/homeassistant/components/twitch/sensor.py @@ -7,7 +7,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-twitch-client==0.6.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/twitter/notify.py b/homeassistant/components/twitter/notify.py index 54cd591f394575..2c6526d1bd5fd5 100644 --- a/homeassistant/components/twitter/notify.py +++ b/homeassistant/components/twitter/notify.py @@ -15,7 +15,7 @@ from homeassistant.components.notify import (ATTR_DATA, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['TwitterAPI==2.5.9'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ubee/device_tracker.py b/homeassistant/components/ubee/device_tracker.py index f73f58f3a1f258..85e3a710600302 100644 --- a/homeassistant/components/ubee/device_tracker.py +++ b/homeassistant/components/ubee/device_tracker.py @@ -9,7 +9,7 @@ CONF_HOST, CONF_PASSWORD, CONF_USERNAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyubee==0.5'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/uber/sensor.py b/homeassistant/components/uber/sensor.py index 87d87de66ee30e..4140d963f12dcb 100644 --- a/homeassistant/components/uber/sensor.py +++ b/homeassistant/components/uber/sensor.py @@ -9,7 +9,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['uber_rides==0.6.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/unifi/__init__.py b/homeassistant/components/unifi/__init__.py index 7e236789a5c58f..f89120830ebf0b 100644 --- a/homeassistant/components/unifi/__init__.py +++ b/homeassistant/components/unifi/__init__.py @@ -16,7 +16,7 @@ DEFAULT_SITE_ID = 'default' DEFAULT_VERIFY_SSL = False -REQUIREMENTS = ['aiounifi==4'] + async def async_setup(hass, config): diff --git a/homeassistant/components/unifi/device_tracker.py b/homeassistant/components/unifi/device_tracker.py index 49e28114b17098..d4814e45a0fe09 100644 --- a/homeassistant/components/unifi/device_tracker.py +++ b/homeassistant/components/unifi/device_tracker.py @@ -10,7 +10,7 @@ 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' diff --git a/homeassistant/components/unifi/switch.py b/homeassistant/components/unifi/switch.py index e90da2dbcd85fe..62129e5c06a5fe 100644 --- a/homeassistant/components/unifi/switch.py +++ b/homeassistant/components/unifi/switch.py @@ -13,7 +13,7 @@ from .const import CONF_CONTROLLER, CONF_SITE_ID, CONTROLLER_ID, DOMAIN -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 29a3c58fab95ef..56cfc0f8e26062 100644 --- a/homeassistant/components/unifi_direct/device_tracker.py +++ b/homeassistant/components/unifi_direct/device_tracker.py @@ -11,7 +11,7 @@ CONF_HOST, CONF_PASSWORD, CONF_USERNAME, CONF_PORT) -REQUIREMENTS = ['pexpect==4.6.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/upc_connect/device_tracker.py b/homeassistant/components/upc_connect/device_tracker.py index 4a583b8349ad15..fa6c59eb35c3b8 100644 --- a/homeassistant/components/upc_connect/device_tracker.py +++ b/homeassistant/components/upc_connect/device_tracker.py @@ -13,7 +13,7 @@ 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__) diff --git a/homeassistant/components/upcloud/__init__.py b/homeassistant/components/upcloud/__init__.py index 7981cf948bb9ec..29e52f6b41c53f 100644 --- a/homeassistant/components/upcloud/__init__.py +++ b/homeassistant/components/upcloud/__init__.py @@ -14,7 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['upcloud-api==0.4.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/upcloud/binary_sensor.py b/homeassistant/components/upcloud/binary_sensor.py index a0c3c9f34c6fdc..987870136de1ad 100644 --- a/homeassistant/components/upcloud/binary_sensor.py +++ b/homeassistant/components/upcloud/binary_sensor.py @@ -11,7 +11,7 @@ _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 7e84adccf5536e..2b2150f01667db 100644 --- a/homeassistant/components/upcloud/switch.py +++ b/homeassistant/components/upcloud/switch.py @@ -11,7 +11,7 @@ _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 cb2646ea942b56..a62a5a5f6fe5da 100644 --- a/homeassistant/components/updater/__init__.py +++ b/homeassistant/components/updater/__init__.py @@ -18,7 +18,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['distro==1.4.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/upnp/__init__.py b/homeassistant/components/upnp/__init__.py index 5f4abcb24c7918..5e77ebd9bf6816 100644 --- a/homeassistant/components/upnp/__init__.py +++ b/homeassistant/components/upnp/__init__.py @@ -23,7 +23,7 @@ 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 86bcee879b9dbd..cf5ad5ba124d35 100644 --- a/homeassistant/components/upnp/sensor.py +++ b/homeassistant/components/upnp/sensor.py @@ -12,7 +12,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['upnp'] + BYTES_RECEIVED = 'bytes_received' BYTES_SENT = 'bytes_sent' diff --git a/homeassistant/components/ups/sensor.py b/homeassistant/components/ups/sensor.py index 3ed82de41dbb95..e19fc80bda7efb 100644 --- a/homeassistant/components/ups/sensor.py +++ b/homeassistant/components/ups/sensor.py @@ -15,7 +15,7 @@ from homeassistant.util import Throttle, slugify from homeassistant.util.dt import now, parse_date -REQUIREMENTS = ['upsmychoice==1.0.6'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/uptimerobot/binary_sensor.py b/homeassistant/components/uptimerobot/binary_sensor.py index 8e11966b6809d4..ae0decbc88e14f 100644 --- a/homeassistant/components/uptimerobot/binary_sensor.py +++ b/homeassistant/components/uptimerobot/binary_sensor.py @@ -8,7 +8,7 @@ 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__) diff --git a/homeassistant/components/uscis/sensor.py b/homeassistant/components/uscis/sensor.py index 501c6c9665c909..d6b97d13f2ca65 100644 --- a/homeassistant/components/uscis/sensor.py +++ b/homeassistant/components/uscis/sensor.py @@ -13,7 +13,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['uscisstatus==0.1.1'] + DEFAULT_NAME = "USCIS" diff --git a/homeassistant/components/usgs_earthquakes_feed/geo_location.py b/homeassistant/components/usgs_earthquakes_feed/geo_location.py index 1d11b1971ccaaf..9ef5a9c60f281d 100644 --- a/homeassistant/components/usgs_earthquakes_feed/geo_location.py +++ b/homeassistant/components/usgs_earthquakes_feed/geo_location.py @@ -16,7 +16,7 @@ async_dispatcher_connect, dispatcher_send) from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['geojson_client==0.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/usps/__init__.py b/homeassistant/components/usps/__init__.py index 8a7d7d52255fd2..4e70b4d764e6f1 100644 --- a/homeassistant/components/usps/__init__.py +++ b/homeassistant/components/usps/__init__.py @@ -10,7 +10,7 @@ from homeassistant.util import Throttle from homeassistant.util.dt import now -REQUIREMENTS = ['myusps==1.3.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/usps/camera.py b/homeassistant/components/usps/camera.py index 5b5eaca4ce293a..aa35a804095f91 100644 --- a/homeassistant/components/usps/camera.py +++ b/homeassistant/components/usps/camera.py @@ -8,7 +8,7 @@ _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 3e5fea5c4ee7f0..b09d83001c561f 100644 --- a/homeassistant/components/usps/sensor.py +++ b/homeassistant/components/usps/sensor.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['usps'] + STATUS_DELIVERED = 'delivered' diff --git a/homeassistant/components/uvc/camera.py b/homeassistant/components/uvc/camera.py index 65251054060484..06a584a4bcb337 100644 --- a/homeassistant/components/uvc/camera.py +++ b/homeassistant/components/uvc/camera.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['uvcclient==0.11.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vacuum/__init__.py b/homeassistant/components/vacuum/__init__.py index 02266986ccfbef..d9ea63c40fd66b 100644 --- a/homeassistant/components/vacuum/__init__.py +++ b/homeassistant/components/vacuum/__init__.py @@ -20,7 +20,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'vacuum' -DEPENDENCIES = ['group'] + SCAN_INTERVAL = timedelta(seconds=20) diff --git a/homeassistant/components/vasttrafik/sensor.py b/homeassistant/components/vasttrafik/sensor.py index d8e9f1e7675262..2728cc0e4c9f34 100644 --- a/homeassistant/components/vasttrafik/sensor.py +++ b/homeassistant/components/vasttrafik/sensor.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['vtjp==0.1.14'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/velbus/__init__.py b/homeassistant/components/velbus/__init__.py index 4e808dc21ca5ce..8bb7fcd03a2489 100644 --- a/homeassistant/components/velbus/__init__.py +++ b/homeassistant/components/velbus/__init__.py @@ -7,7 +7,7 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['python-velbus==2.0.22'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/velbus/binary_sensor.py b/homeassistant/components/velbus/binary_sensor.py index cbe1350bd4f667..4448669add4858 100644 --- a/homeassistant/components/velbus/binary_sensor.py +++ b/homeassistant/components/velbus/binary_sensor.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['velbus'] + async def async_setup_platform( diff --git a/homeassistant/components/velbus/climate.py b/homeassistant/components/velbus/climate.py index 470524bb6f3dff..dea2dd18a5f819 100644 --- a/homeassistant/components/velbus/climate.py +++ b/homeassistant/components/velbus/climate.py @@ -10,7 +10,7 @@ _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 b176ab76c4b74f..d78f62a37d5003 100644 --- a/homeassistant/components/velbus/cover.py +++ b/homeassistant/components/velbus/cover.py @@ -24,7 +24,7 @@ vol.Required(CONF_COVERS): cv.schema_with_slug_keys(COVER_SCHEMA), }) -DEPENDENCIES = ['velbus'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/velbus/sensor.py b/homeassistant/components/velbus/sensor.py index ad78a795a30b56..76268a18dd4070 100644 --- a/homeassistant/components/velbus/sensor.py +++ b/homeassistant/components/velbus/sensor.py @@ -5,7 +5,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['velbus'] + async def async_setup_platform( diff --git a/homeassistant/components/velbus/switch.py b/homeassistant/components/velbus/switch.py index b5ef89ca48031d..14b12f5f2a653e 100644 --- a/homeassistant/components/velbus/switch.py +++ b/homeassistant/components/velbus/switch.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['velbus'] + async def async_setup_platform( diff --git a/homeassistant/components/velux/__init__.py b/homeassistant/components/velux/__init__.py index a46f62dbd5fcf8..70fadc685db6fd 100644 --- a/homeassistant/components/velux/__init__.py +++ b/homeassistant/components/velux/__init__.py @@ -12,7 +12,7 @@ SUPPORTED_DOMAINS = ['cover', 'scene'] _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pyvlx==0.2.10'] + CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({ diff --git a/homeassistant/components/velux/cover.py b/homeassistant/components/velux/cover.py index 1893909b70608c..4bdd888989e640 100644 --- a/homeassistant/components/velux/cover.py +++ b/homeassistant/components/velux/cover.py @@ -6,7 +6,7 @@ from . import DATA_VELUX -DEPENDENCIES = ['velux'] + async def async_setup_platform( diff --git a/homeassistant/components/velux/scene.py b/homeassistant/components/velux/scene.py index 614d3f349a2366..2866258f917a35 100644 --- a/homeassistant/components/velux/scene.py +++ b/homeassistant/components/velux/scene.py @@ -3,7 +3,7 @@ from . import _LOGGER, DATA_VELUX -DEPENDENCIES = ['velux'] + async def async_setup_platform( diff --git a/homeassistant/components/venstar/climate.py b/homeassistant/components/venstar/climate.py index f3e7542af5ce9f..5dea452c173c72 100644 --- a/homeassistant/components/venstar/climate.py +++ b/homeassistant/components/venstar/climate.py @@ -17,7 +17,7 @@ TEMP_FAHRENHEIT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['venstarcolortouch==0.6'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vera/__init__.py b/homeassistant/components/vera/__init__.py index 3f4c66d238a89b..fffe33c204946a 100644 --- a/homeassistant/components/vera/__init__.py +++ b/homeassistant/components/vera/__init__.py @@ -14,7 +14,7 @@ EVENT_HOMEASSISTANT_STOP, CONF_LIGHTS, CONF_EXCLUDE) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyvera==0.2.45'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vera/binary_sensor.py b/homeassistant/components/vera/binary_sensor.py index c81fa31938f554..94b52023383388 100644 --- a/homeassistant/components/vera/binary_sensor.py +++ b/homeassistant/components/vera/binary_sensor.py @@ -6,7 +6,7 @@ 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 f8ff9c21b89aae..545f1bc5dbedac 100644 --- a/homeassistant/components/vera/climate.py +++ b/homeassistant/components/vera/climate.py @@ -11,7 +11,7 @@ from . import VERA_CONTROLLER, VERA_DEVICES, VeraDevice -DEPENDENCIES = ['vera'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vera/cover.py b/homeassistant/components/vera/cover.py index 4cf2aac3bb4e3c..fd6bf5cef8d0c3 100644 --- a/homeassistant/components/vera/cover.py +++ b/homeassistant/components/vera/cover.py @@ -6,7 +6,7 @@ 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 e4e315bb52e87d..80af98b2614c65 100644 --- a/homeassistant/components/vera/light.py +++ b/homeassistant/components/vera/light.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['vera'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/vera/lock.py b/homeassistant/components/vera/lock.py index 5ace07b87d7087..e74a097b1792f5 100644 --- a/homeassistant/components/vera/lock.py +++ b/homeassistant/components/vera/lock.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['vera'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/vera/scene.py b/homeassistant/components/vera/scene.py index 5000f9bc50f9c8..e1eb540caf6cf1 100644 --- a/homeassistant/components/vera/scene.py +++ b/homeassistant/components/vera/scene.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['vera'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/vera/sensor.py b/homeassistant/components/vera/sensor.py index 3c026046b3eea0..961b15637729dd 100644 --- a/homeassistant/components/vera/sensor.py +++ b/homeassistant/components/vera/sensor.py @@ -11,7 +11,7 @@ _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 f422e49bf42f8e..212919a4610ab1 100644 --- a/homeassistant/components/vera/switch.py +++ b/homeassistant/components/vera/switch.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['vera'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/verisure/__init__.py b/homeassistant/components/verisure/__init__.py index 393a4066002dbf..3abc91a76ab787 100644 --- a/homeassistant/components/verisure/__init__.py +++ b/homeassistant/components/verisure/__init__.py @@ -11,7 +11,7 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['vsure==1.5.2', 'jsonpath==0.75'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/version/sensor.py b/homeassistant/components/version/sensor.py index 7c8f2b1662a151..1d4f417a008a40 100644 --- a/homeassistant/components/version/sensor.py +++ b/homeassistant/components/version/sensor.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pyhaversion==2.2.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vesync/switch.py b/homeassistant/components/vesync/switch.py index d37728624ef533..14ce30dcf98303 100644 --- a/homeassistant/components/vesync/switch.py +++ b/homeassistant/components/vesync/switch.py @@ -6,7 +6,7 @@ import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyvesync_v2==0.9.6'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vizio/media_player.py b/homeassistant/components/vizio/media_player.py index bab54c68a908fa..faf32b6dd0f939 100644 --- a/homeassistant/components/vizio/media_player.py +++ b/homeassistant/components/vizio/media_player.py @@ -15,7 +15,7 @@ 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__) diff --git a/homeassistant/components/vlc/media_player.py b/homeassistant/components/vlc/media_player.py index 41f9b5b16d4efa..5729671b67da93 100644 --- a/homeassistant/components/vlc/media_player.py +++ b/homeassistant/components/vlc/media_player.py @@ -13,7 +13,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['python-vlc==1.1.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/volkszaehler/sensor.py b/homeassistant/components/volkszaehler/sensor.py index 5b808ff3c38dcb..39c704c9a717aa 100644 --- a/homeassistant/components/volkszaehler/sensor.py +++ b/homeassistant/components/volkszaehler/sensor.py @@ -14,7 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['volkszaehler==0.1.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/volvooncall/__init__.py b/homeassistant/components/volvooncall/__init__.py index 36e3959338e746..36b0714ec02472 100644 --- a/homeassistant/components/volvooncall/__init__.py +++ b/homeassistant/components/volvooncall/__init__.py @@ -21,7 +21,7 @@ DATA_KEY = DOMAIN -REQUIREMENTS = ['volvooncall==0.8.7'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vultr/__init__.py b/homeassistant/components/vultr/__init__.py index 9f2efabd412b06..5cd6d1821ed719 100644 --- a/homeassistant/components/vultr/__init__.py +++ b/homeassistant/components/vultr/__init__.py @@ -8,7 +8,7 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['vultr==0.1.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vultr/binary_sensor.py b/homeassistant/components/vultr/binary_sensor.py index 87e8e93bda7b3c..ac93a81e661aea 100644 --- a/homeassistant/components/vultr/binary_sensor.py +++ b/homeassistant/components/vultr/binary_sensor.py @@ -18,7 +18,7 @@ DEFAULT_DEVICE_CLASS = 'power' DEFAULT_NAME = 'Vultr {}' -DEPENDENCIES = ['vultr'] + PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_SUBSCRIPTION): cv.string, diff --git a/homeassistant/components/vultr/sensor.py b/homeassistant/components/vultr/sensor.py index f7e03dddace4e9..5d067ec0acd41f 100644 --- a/homeassistant/components/vultr/sensor.py +++ b/homeassistant/components/vultr/sensor.py @@ -15,7 +15,7 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Vultr {} {}' -DEPENDENCIES = ['vultr'] + MONITORED_CONDITIONS = { ATTR_CURRENT_BANDWIDTH_USED: ['Current Bandwidth Used', 'GB', diff --git a/homeassistant/components/vultr/switch.py b/homeassistant/components/vultr/switch.py index 502aaf9daa8767..95a3877a55614c 100644 --- a/homeassistant/components/vultr/switch.py +++ b/homeassistant/components/vultr/switch.py @@ -16,7 +16,7 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Vultr {}' -DEPENDENCIES = ['vultr'] + PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_SUBSCRIPTION): cv.string, diff --git a/homeassistant/components/w800rf32/__init__.py b/homeassistant/components/w800rf32/__init__.py index d2c0cf6b968fbd..475e576956a3ef 100644 --- a/homeassistant/components/w800rf32/__init__.py +++ b/homeassistant/components/w800rf32/__init__.py @@ -10,7 +10,7 @@ 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 c942483495306d..0f3afa91f097ca 100644 --- a/homeassistant/components/w800rf32/binary_sensor.py +++ b/homeassistant/components/w800rf32/binary_sensor.py @@ -15,7 +15,7 @@ _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 e6e12ef0afe3d7..03061c034ab06d 100644 --- a/homeassistant/components/wake_on_lan/__init__.py +++ b/homeassistant/components/wake_on_lan/__init__.py @@ -7,7 +7,7 @@ from homeassistant.const import CONF_MAC import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['wakeonlan==1.1.6'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wake_on_lan/switch.py b/homeassistant/components/wake_on_lan/switch.py index c81a476f0f8b2b..3c1378c50dd95a 100644 --- a/homeassistant/components/wake_on_lan/switch.py +++ b/homeassistant/components/wake_on_lan/switch.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.script import Script -REQUIREMENTS = ['wakeonlan==1.1.6'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/waqi/sensor.py b/homeassistant/components/waqi/sensor.py index f3000890de6800..3b212319429be5 100644 --- a/homeassistant/components/waqi/sensor.py +++ b/homeassistant/components/waqi/sensor.py @@ -14,7 +14,7 @@ from homeassistant.helpers.config_validation import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['waqiasync==1.0.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/waterfurnace/__init__.py b/homeassistant/components/waterfurnace/__init__.py index 38fd44cd1c7d3b..d4a5a5b7b4e008 100644 --- a/homeassistant/components/waterfurnace/__init__.py +++ b/homeassistant/components/waterfurnace/__init__.py @@ -13,7 +13,7 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers import discovery -REQUIREMENTS = ['waterfurnace==1.1.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/watson_iot/__init__.py b/homeassistant/components/watson_iot/__init__.py index e9a907ee6d2e1d..004efd69cf9245 100644 --- a/homeassistant/components/watson_iot/__init__.py +++ b/homeassistant/components/watson_iot/__init__.py @@ -13,7 +13,7 @@ from homeassistant.helpers import state as state_helper import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['ibmiotf==0.3.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/waze_travel_time/sensor.py b/homeassistant/components/waze_travel_time/sensor.py index 984a5800898dd4..4960226a95afc8 100644 --- a/homeassistant/components/waze_travel_time/sensor.py +++ b/homeassistant/components/waze_travel_time/sensor.py @@ -13,7 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['WazeRouteCalculator==0.9'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/webhook/__init__.py b/homeassistant/components/webhook/__init__.py index 59be3ab1890662..41abe324c37d90 100644 --- a/homeassistant/components/webhook/__init__.py +++ b/homeassistant/components/webhook/__init__.py @@ -12,7 +12,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['http'] + DOMAIN = 'webhook' diff --git a/homeassistant/components/webostv/media_player.py b/homeassistant/components/webostv/media_player.py index 35c3c456680d27..20feb522c91adc 100644 --- a/homeassistant/components/webostv/media_player.py +++ b/homeassistant/components/webostv/media_player.py @@ -21,7 +21,7 @@ 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 5887586df65d41..88306795e51f86 100644 --- a/homeassistant/components/webostv/notify.py +++ b/homeassistant/components/webostv/notify.py @@ -8,7 +8,7 @@ ATTR_DATA, BaseNotificationService, PLATFORM_SCHEMA) from homeassistant.const import (CONF_FILENAME, CONF_HOST, CONF_ICON) -REQUIREMENTS = ['pylgtv==0.1.9'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wemo/__init__.py b/homeassistant/components/wemo/__init__.py index 709b3ec8672755..4c1f12be90eb5e 100644 --- a/homeassistant/components/wemo/__init__.py +++ b/homeassistant/components/wemo/__init__.py @@ -11,7 +11,7 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['pywemo==0.4.34'] + DOMAIN = 'wemo' diff --git a/homeassistant/components/wemo/binary_sensor.py b/homeassistant/components/wemo/binary_sensor.py index d6c1ad721b9abe..abf9eee568da18 100644 --- a/homeassistant/components/wemo/binary_sensor.py +++ b/homeassistant/components/wemo/binary_sensor.py @@ -8,7 +8,7 @@ from homeassistant.components.binary_sensor import BinarySensorDevice from homeassistant.exceptions import PlatformNotReady -DEPENDENCIES = ['wemo'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wemo/fan.py b/homeassistant/components/wemo/fan.py index 29a493bf5bc256..eca7d707634b1c 100644 --- a/homeassistant/components/wemo/fan.py +++ b/homeassistant/components/wemo/fan.py @@ -14,7 +14,7 @@ from homeassistant.exceptions import PlatformNotReady from homeassistant.const import ATTR_ENTITY_ID -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 e0f729fb165e8c..96492b72fe629c 100644 --- a/homeassistant/components/wemo/light.py +++ b/homeassistant/components/wemo/light.py @@ -13,7 +13,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.util.color as color_util -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 0a583e49e966a0..82a3d14964b9e6 100644 --- a/homeassistant/components/wemo/switch.py +++ b/homeassistant/components/wemo/switch.py @@ -12,7 +12,7 @@ from homeassistant.const import ( STATE_OFF, STATE_ON, STATE_STANDBY, STATE_UNKNOWN) -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 e36bdea08c3f63..cdeac403a6bf15 100644 --- a/homeassistant/components/whois/sensor.py +++ b/homeassistant/components/whois/sensor.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['python-whois==0.7.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wink/__init__.py b/homeassistant/components/wink/__init__.py index 2b03d7711acbd6..5fba703c677ef3 100644 --- a/homeassistant/components/wink/__init__.py +++ b/homeassistant/components/wink/__init__.py @@ -20,7 +20,7 @@ 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__) diff --git a/homeassistant/components/wink/alarm_control_panel.py b/homeassistant/components/wink/alarm_control_panel.py index 73ca9a3cac4ac0..741a3d5d9a35a0 100644 --- a/homeassistant/components/wink/alarm_control_panel.py +++ b/homeassistant/components/wink/alarm_control_panel.py @@ -9,7 +9,7 @@ _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 f3757d7bf39624..9fb0cc1ae8517b 100644 --- a/homeassistant/components/wink/binary_sensor.py +++ b/homeassistant/components/wink/binary_sensor.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['wink'] + # These are the available sensors mapped to binary_sensor class SENSOR_TYPES = { diff --git a/homeassistant/components/wink/climate.py b/homeassistant/components/wink/climate.py index f5e75c1fb8d591..b755f20585e017 100644 --- a/homeassistant/components/wink/climate.py +++ b/homeassistant/components/wink/climate.py @@ -26,7 +26,7 @@ ATTR_HEAT_ON = 'heat_on' ATTR_COOL_ON = 'cool_on' -DEPENDENCIES = ['wink'] + SPEED_LOW = 'low' SPEED_MEDIUM = 'medium' diff --git a/homeassistant/components/wink/cover.py b/homeassistant/components/wink/cover.py index f4c4841c2a2d0e..e34b4f7aec9f7f 100644 --- a/homeassistant/components/wink/cover.py +++ b/homeassistant/components/wink/cover.py @@ -3,7 +3,7 @@ from . import DOMAIN, WinkDevice -DEPENDENCIES = ['wink'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/wink/fan.py b/homeassistant/components/wink/fan.py index 52a27eb3c3df19..48a45defb84a07 100644 --- a/homeassistant/components/wink/fan.py +++ b/homeassistant/components/wink/fan.py @@ -9,7 +9,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['wink'] + SPEED_AUTO = 'auto' SPEED_LOWEST = 'lowest' diff --git a/homeassistant/components/wink/light.py b/homeassistant/components/wink/light.py index 95747bcc1b2c63..b48035481651ae 100644 --- a/homeassistant/components/wink/light.py +++ b/homeassistant/components/wink/light.py @@ -8,7 +8,7 @@ from . import DOMAIN, WinkDevice -DEPENDENCIES = ['wink'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/wink/lock.py b/homeassistant/components/wink/lock.py index 8e6fb9b280530e..9f3c996ca0406a 100644 --- a/homeassistant/components/wink/lock.py +++ b/homeassistant/components/wink/lock.py @@ -10,7 +10,7 @@ from . import DOMAIN, WinkDevice -DEPENDENCIES = ['wink'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wink/scene.py b/homeassistant/components/wink/scene.py index e77402c4d45880..01c95c2bba2072 100644 --- a/homeassistant/components/wink/scene.py +++ b/homeassistant/components/wink/scene.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['wink'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/wink/sensor.py b/homeassistant/components/wink/sensor.py index 3dfd704d564a36..52f6793e47e423 100644 --- a/homeassistant/components/wink/sensor.py +++ b/homeassistant/components/wink/sensor.py @@ -7,7 +7,7 @@ _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 6ee777dd1fcccd..2cd3a5eb211fc9 100644 --- a/homeassistant/components/wink/switch.py +++ b/homeassistant/components/wink/switch.py @@ -5,7 +5,7 @@ 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 28c8cb4d5156c2..09ca9feb67e406 100644 --- a/homeassistant/components/wirelesstag/__init__.py +++ b/homeassistant/components/wirelesstag/__init__.py @@ -11,7 +11,7 @@ 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 aefa5ed34a9dad..935951fd0e1044 100644 --- a/homeassistant/components/wirelesstag/binary_sensor.py +++ b/homeassistant/components/wirelesstag/binary_sensor.py @@ -14,7 +14,7 @@ DOMAIN as WIRELESSTAG_DOMAIN, SIGNAL_BINARY_EVENT_UPDATE, WirelessTagBaseSensor) -DEPENDENCIES = ['wirelesstag'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wirelesstag/sensor.py b/homeassistant/components/wirelesstag/sensor.py index ca26e07b985ae9..4ba44912699d17 100644 --- a/homeassistant/components/wirelesstag/sensor.py +++ b/homeassistant/components/wirelesstag/sensor.py @@ -12,7 +12,7 @@ from . import ( DOMAIN as WIRELESSTAG_DOMAIN, SIGNAL_TAG_UPDATE, WirelessTagBaseSensor) -DEPENDENCIES = ['wirelesstag'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wirelesstag/switch.py b/homeassistant/components/wirelesstag/switch.py index 4a2b64acda1d75..da49f6b1f4a170 100644 --- a/homeassistant/components/wirelesstag/switch.py +++ b/homeassistant/components/wirelesstag/switch.py @@ -9,7 +9,7 @@ from . import DOMAIN as WIRELESSTAG_DOMAIN, WirelessTagBaseSensor -DEPENDENCIES = ['wirelesstag'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/workday/binary_sensor.py b/homeassistant/components/workday/binary_sensor.py index b505e075018acc..2bdc066abcf3f8 100644 --- a/homeassistant/components/workday/binary_sensor.py +++ b/homeassistant/components/workday/binary_sensor.py @@ -9,7 +9,7 @@ from homeassistant.components.binary_sensor import BinarySensorDevice import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['holidays==0.9.10'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wunderlist/__init__.py b/homeassistant/components/wunderlist/__init__.py index d67cf089b5e752..23273f0df82124 100644 --- a/homeassistant/components/wunderlist/__init__.py +++ b/homeassistant/components/wunderlist/__init__.py @@ -7,7 +7,7 @@ from homeassistant.const import ( CONF_NAME, CONF_ACCESS_TOKEN) -REQUIREMENTS = ['wunderpy2==0.1.6'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xbox_live/sensor.py b/homeassistant/components/xbox_live/sensor.py index 9f8a02686accb6..43d638b0343689 100644 --- a/homeassistant/components/xbox_live/sensor.py +++ b/homeassistant/components/xbox_live/sensor.py @@ -8,7 +8,7 @@ from homeassistant.const import (CONF_API_KEY, STATE_UNKNOWN) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['xboxapi==0.1.1'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xeoma/camera.py b/homeassistant/components/xeoma/camera.py index dd0ee432707718..65339a8201dbc2 100644 --- a/homeassistant/components/xeoma/camera.py +++ b/homeassistant/components/xeoma/camera.py @@ -8,7 +8,7 @@ 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__) diff --git a/homeassistant/components/xfinity/device_tracker.py b/homeassistant/components/xfinity/device_tracker.py index 04702355de7634..9d3c5556fed744 100644 --- a/homeassistant/components/xfinity/device_tracker.py +++ b/homeassistant/components/xfinity/device_tracker.py @@ -9,7 +9,7 @@ DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST -REQUIREMENTS = ['xfinity-gateway==0.0.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xiaomi/camera.py b/homeassistant/components/xiaomi/camera.py index 98e54d2bc73515..c4f200bfe4a6c0 100644 --- a/homeassistant/components/xiaomi/camera.py +++ b/homeassistant/components/xiaomi/camera.py @@ -11,7 +11,7 @@ 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 9b113170f8a751..ea281f28ee0a11 100644 --- a/homeassistant/components/xiaomi_aqara/__init__.py +++ b/homeassistant/components/xiaomi_aqara/__init__.py @@ -16,7 +16,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/device_tracker.py b/homeassistant/components/xiaomi_miio/device_tracker.py index e7ea9fbbb408d9..d7bdbe5562e6c6 100644 --- a/homeassistant/components/xiaomi_miio/device_tracker.py +++ b/homeassistant/components/xiaomi_miio/device_tracker.py @@ -8,7 +8,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/fan.py b/homeassistant/components/xiaomi_miio/fan.py index 51d4780160dacf..8adf901ac84222 100644 --- a/homeassistant/components/xiaomi_miio/fan.py +++ b/homeassistant/components/xiaomi_miio/fan.py @@ -13,7 +13,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/light.py b/homeassistant/components/xiaomi_miio/light.py index ec07a557342cca..3ffc5e4072d003 100644 --- a/homeassistant/components/xiaomi_miio/light.py +++ b/homeassistant/components/xiaomi_miio/light.py @@ -17,7 +17,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/remote.py b/homeassistant/components/xiaomi_miio/remote.py index 450279c18253e2..f13f8d5124a2d5 100644 --- a/homeassistant/components/xiaomi_miio/remote.py +++ b/homeassistant/components/xiaomi_miio/remote.py @@ -17,7 +17,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/sensor.py b/homeassistant/components/xiaomi_miio/sensor.py index 41d3ce65b13d84..acc47acb98dd90 100644 --- a/homeassistant/components/xiaomi_miio/sensor.py +++ b/homeassistant/components/xiaomi_miio/sensor.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/switch.py b/homeassistant/components/xiaomi_miio/switch.py index d1acce02e47ca9..64cb8eef5e302c 100644 --- a/homeassistant/components/xiaomi_miio/switch.py +++ b/homeassistant/components/xiaomi_miio/switch.py @@ -12,7 +12,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/vacuum.py b/homeassistant/components/xiaomi_miio/vacuum.py index 2673a5b897ccab..bef335a8ee601a 100644 --- a/homeassistant/components/xiaomi_miio/vacuum.py +++ b/homeassistant/components/xiaomi_miio/vacuum.py @@ -16,7 +16,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_tv/media_player.py b/homeassistant/components/xiaomi_tv/media_player.py index 2c8a2e1ea83b70..a66743c1a091f8 100644 --- a/homeassistant/components/xiaomi_tv/media_player.py +++ b/homeassistant/components/xiaomi_tv/media_player.py @@ -10,7 +10,7 @@ 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" diff --git a/homeassistant/components/xmpp/notify.py b/homeassistant/components/xmpp/notify.py index d8036f5ee1e43a..1abeb7bbda8e27 100644 --- a/homeassistant/components/xmpp/notify.py +++ b/homeassistant/components/xmpp/notify.py @@ -17,7 +17,7 @@ from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['slixmpp==1.4.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xs1/__init__.py b/homeassistant/components/xs1/__init__.py index f67eb8fd15affc..80cfbf5c2cd060 100644 --- a/homeassistant/components/xs1/__init__.py +++ b/homeassistant/components/xs1/__init__.py @@ -11,7 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['xs1-api-client==2.3.5'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xs1/climate.py b/homeassistant/components/xs1/climate.py index 080b87c13469a2..6385934bbbd1e3 100644 --- a/homeassistant/components/xs1/climate.py +++ b/homeassistant/components/xs1/climate.py @@ -8,7 +8,7 @@ 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 f5fdcf1fb34503..cd5ae5b64c8e70 100644 --- a/homeassistant/components/xs1/sensor.py +++ b/homeassistant/components/xs1/sensor.py @@ -5,7 +5,7 @@ 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 d8b344fc716a39..0fc9dccf223dfd 100644 --- a/homeassistant/components/xs1/switch.py +++ b/homeassistant/components/xs1/switch.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['xs1'] + async def async_setup_platform( diff --git a/homeassistant/components/yale_smart_alarm/alarm_control_panel.py b/homeassistant/components/yale_smart_alarm/alarm_control_panel.py index 1a8e03a6363120..046eec0c789020 100755 --- a/homeassistant/components/yale_smart_alarm/alarm_control_panel.py +++ b/homeassistant/components/yale_smart_alarm/alarm_control_panel.py @@ -10,7 +10,7 @@ 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' diff --git a/homeassistant/components/yamaha/media_player.py b/homeassistant/components/yamaha/media_player.py index 53c6b466f6e3a3..87646e61f2ef6b 100644 --- a/homeassistant/components/yamaha/media_player.py +++ b/homeassistant/components/yamaha/media_player.py @@ -18,7 +18,7 @@ STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['rxv==0.6.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yamaha_musiccast/media_player.py b/homeassistant/components/yamaha_musiccast/media_player.py index 94002a4cc55b27..9755a3817cd279 100644 --- a/homeassistant/components/yamaha_musiccast/media_player.py +++ b/homeassistant/components/yamaha_musiccast/media_player.py @@ -15,7 +15,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pymusiccast==0.1.6'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yeelight/__init__.py b/homeassistant/components/yeelight/__init__.py index 9b9778fd5d28be..70b42356a23634 100644 --- a/homeassistant/components/yeelight/__init__.py +++ b/homeassistant/components/yeelight/__init__.py @@ -16,7 +16,7 @@ from homeassistant.helpers.dispatcher import dispatcher_send from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['yeelight==0.4.4'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yeelight/binary_sensor.py b/homeassistant/components/yeelight/binary_sensor.py index 0b44966f15c439..249271ecd0b978 100644 --- a/homeassistant/components/yeelight/binary_sensor.py +++ b/homeassistant/components/yeelight/binary_sensor.py @@ -6,7 +6,7 @@ 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 8aa5c3d7300c26..81747ea6452f17 100644 --- a/homeassistant/components/yeelight/light.py +++ b/homeassistant/components/yeelight/light.py @@ -22,7 +22,7 @@ YEELIGHT_FLOW_TRANSITION_SCHEMA, ACTION_RECOVER, CONF_FLOW_PARAMS, ATTR_ACTION, ATTR_COUNT) -DEPENDENCIES = ['yeelight'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yeelightsunflower/light.py b/homeassistant/components/yeelightsunflower/light.py index 9252143526bfa5..54a3b55c7739f1 100644 --- a/homeassistant/components/yeelightsunflower/light.py +++ b/homeassistant/components/yeelightsunflower/light.py @@ -10,7 +10,7 @@ from homeassistant.const import CONF_HOST import homeassistant.util.color as color_util -REQUIREMENTS = ['yeelightsunflower==0.0.10'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yessssms/notify.py b/homeassistant/components/yessssms/notify.py index c229c361e2884f..6958869d83a3b8 100644 --- a/homeassistant/components/yessssms/notify.py +++ b/homeassistant/components/yessssms/notify.py @@ -9,7 +9,7 @@ from homeassistant.components.notify import (PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['YesssSMS==0.2.3'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yi/camera.py b/homeassistant/components/yi/camera.py index 7ed36b97868db6..3ebb5ec8cd9903 100644 --- a/homeassistant/components/yi/camera.py +++ b/homeassistant/components/yi/camera.py @@ -12,8 +12,8 @@ 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 4c898a7c9fe64d..29f1d949576a3e 100644 --- a/homeassistant/components/yr/sensor.py +++ b/homeassistant/components/yr/sensor.py @@ -20,7 +20,7 @@ async_call_later) from homeassistant.util import dt as dt_util -REQUIREMENTS = ['xmltodict==0.11.0'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yweather/sensor.py b/homeassistant/components/yweather/sensor.py index 129532ceb57477..9a1bd37e09d018 100644 --- a/homeassistant/components/yweather/sensor.py +++ b/homeassistant/components/yweather/sensor.py @@ -12,7 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['yahooweather==0.10'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yweather/weather.py b/homeassistant/components/yweather/weather.py index e4eb34a039ac62..18b5620c05347e 100644 --- a/homeassistant/components/yweather/weather.py +++ b/homeassistant/components/yweather/weather.py @@ -10,7 +10,7 @@ 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__) diff --git a/homeassistant/components/zabbix/__init__.py b/homeassistant/components/zabbix/__init__.py index f33c60b1c3930b..3f204bfe4bd614 100644 --- a/homeassistant/components/zabbix/__init__.py +++ b/homeassistant/components/zabbix/__init__.py @@ -8,7 +8,7 @@ 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__) diff --git a/homeassistant/components/zabbix/sensor.py b/homeassistant/components/zabbix/sensor.py index ae2e70ede2c426..ab2e8f5746de98 100644 --- a/homeassistant/components/zabbix/sensor.py +++ b/homeassistant/components/zabbix/sensor.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zabbix'] + _CONF_TRIGGERS = 'triggers' _CONF_HOSTIDS = 'hostids' diff --git a/homeassistant/components/zengge/light.py b/homeassistant/components/zengge/light.py index 8bbd56a483ec12..c2f835073c42ad 100644 --- a/homeassistant/components/zengge/light.py +++ b/homeassistant/components/zengge/light.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['zengge==0.2'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/zeroconf/__init__.py b/homeassistant/components/zeroconf/__init__.py index 844246528a60db..1af9b4dd1acaa9 100644 --- a/homeassistant/components/zeroconf/__init__.py +++ b/homeassistant/components/zeroconf/__init__.py @@ -7,11 +7,11 @@ 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 f69e3b16ebe584..6e480e4e8152dd 100644 --- a/homeassistant/components/zestimate/sensor.py +++ b/homeassistant/components/zestimate/sensor.py @@ -12,7 +12,7 @@ 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/binary_sensor.py b/homeassistant/components/zha/binary_sensor.py index b4254eb83e7a49..36260fff9a3570 100644 --- a/homeassistant/components/zha/binary_sensor.py +++ b/homeassistant/components/zha/binary_sensor.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zha'] + # Zigbee Cluster Library Zone Type to Home Assistant device class CLASS_MAPPING = { diff --git a/homeassistant/components/zha/fan.py b/homeassistant/components/zha/fan.py index b80834af1d7d20..9fcda0f68f7a4b 100644 --- a/homeassistant/components/zha/fan.py +++ b/homeassistant/components/zha/fan.py @@ -12,7 +12,7 @@ ) from .entity import ZhaEntity -DEPENDENCIES = ['zha'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/zha/light.py b/homeassistant/components/zha/light.py index 12bc12c5f6edb1..8cbf8ea84a5185 100644 --- a/homeassistant/components/zha/light.py +++ b/homeassistant/components/zha/light.py @@ -17,7 +17,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zha'] + DEFAULT_DURATION = 5 diff --git a/homeassistant/components/zha/sensor.py b/homeassistant/components/zha/sensor.py index 13932d7dd7ab1b..383ea220fa70db 100644 --- a/homeassistant/components/zha/sensor.py +++ b/homeassistant/components/zha/sensor.py @@ -16,7 +16,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zha'] + # Formatter functions diff --git a/homeassistant/components/zha/switch.py b/homeassistant/components/zha/switch.py index 34c9ab2514d003..e0e3399a3f6aa7 100644 --- a/homeassistant/components/zha/switch.py +++ b/homeassistant/components/zha/switch.py @@ -13,7 +13,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zha'] + async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/zhong_hong/climate.py b/homeassistant/components/zhong_hong/climate.py index 7fd2b971009e17..17f513d3f42830 100644 --- a/homeassistant/components/zhong_hong/climate.py +++ b/homeassistant/components/zhong_hong/climate.py @@ -14,7 +14,7 @@ from homeassistant.helpers.dispatcher import (async_dispatcher_connect, async_dispatcher_send) -REQUIREMENTS = ['zhong_hong_hvac==1.0.9'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/zigbee/__init__.py b/homeassistant/components/zigbee/__init__.py index 0e2d3587829c92..9196b2bd99a88f 100644 --- a/homeassistant/components/zigbee/__init__.py +++ b/homeassistant/components/zigbee/__init__.py @@ -11,7 +11,7 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_connect, dispatcher_send) -REQUIREMENTS = ['xbee-helper==0.0.7'] + _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/zigbee/binary_sensor.py b/homeassistant/components/zigbee/binary_sensor.py index ccf4e70df34a18..458c12006794e6 100644 --- a/homeassistant/components/zigbee/binary_sensor.py +++ b/homeassistant/components/zigbee/binary_sensor.py @@ -8,7 +8,7 @@ CONF_ON_STATE = 'on_state' DEFAULT_ON_STATE = 'high' -DEPENDENCIES = ['zigbee'] + STATES = ['high', 'low'] diff --git a/homeassistant/components/zigbee/light.py b/homeassistant/components/zigbee/light.py index b9be0d893239d0..2b1052ee81c061 100644 --- a/homeassistant/components/zigbee/light.py +++ b/homeassistant/components/zigbee/light.py @@ -8,7 +8,7 @@ CONF_ON_STATE = 'on_state' DEFAULT_ON_STATE = 'high' -DEPENDENCIES = ['zigbee'] + STATES = ['high', 'low'] diff --git a/homeassistant/components/zigbee/sensor.py b/homeassistant/components/zigbee/sensor.py index 48301ac9728ee5..dc9a72b740dff6 100644 --- a/homeassistant/components/zigbee/sensor.py +++ b/homeassistant/components/zigbee/sensor.py @@ -16,7 +16,7 @@ CONF_MAX_VOLTS = 'max_volts' DEFAULT_VOLTS = 1.2 -DEPENDENCIES = ['zigbee'] + TYPES = ['analog', 'temperature'] diff --git a/homeassistant/components/zigbee/switch.py b/homeassistant/components/zigbee/switch.py index ddfd47a047e9c6..2f89f2155c4948 100644 --- a/homeassistant/components/zigbee/switch.py +++ b/homeassistant/components/zigbee/switch.py @@ -5,12 +5,12 @@ 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 574d08e97a4504..9872d0d8a44c8c 100644 --- a/homeassistant/components/ziggo_mediabox_xl/media_player.py +++ b/homeassistant/components/ziggo_mediabox_xl/media_player.py @@ -14,7 +14,7 @@ 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__) diff --git a/homeassistant/components/zoneminder/__init__.py b/homeassistant/components/zoneminder/__init__.py index a4d90d523aacca..b6ac6602a201f8 100644 --- a/homeassistant/components/zoneminder/__init__.py +++ b/homeassistant/components/zoneminder/__init__.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['zm-py==0.3.3'] + CONF_PATH_ZMS = 'path_zms' diff --git a/homeassistant/components/zoneminder/binary_sensor.py b/homeassistant/components/zoneminder/binary_sensor.py index ce59d4573bea1d..1ec8acc922267b 100644 --- a/homeassistant/components/zoneminder/binary_sensor.py +++ b/homeassistant/components/zoneminder/binary_sensor.py @@ -3,7 +3,7 @@ from . import DOMAIN as ZONEMINDER_DOMAIN -DEPENDENCIES = ['zoneminder'] + async def async_setup_platform( diff --git a/homeassistant/components/zoneminder/camera.py b/homeassistant/components/zoneminder/camera.py index fe3333fa3ed274..a20bf4edac9a2a 100644 --- a/homeassistant/components/zoneminder/camera.py +++ b/homeassistant/components/zoneminder/camera.py @@ -9,7 +9,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zoneminder'] + def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/zoneminder/sensor.py b/homeassistant/components/zoneminder/sensor.py index e205d921422be2..abc02c55a296be 100644 --- a/homeassistant/components/zoneminder/sensor.py +++ b/homeassistant/components/zoneminder/sensor.py @@ -12,7 +12,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zoneminder'] + CONF_INCLUDE_ARCHIVED = "include_archived" diff --git a/homeassistant/components/zoneminder/switch.py b/homeassistant/components/zoneminder/switch.py index 78e72c5fd4a88f..5e7a72f8ecc4be 100644 --- a/homeassistant/components/zoneminder/switch.py +++ b/homeassistant/components/zoneminder/switch.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zoneminder'] + PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_COMMAND_ON): cv.string, diff --git a/homeassistant/components/zwave/__init__.py b/homeassistant/components/zwave/__init__.py index 6028e5547c6c79..a94f0f02be3c84 100644 --- a/homeassistant/components/zwave/__init__.py +++ b/homeassistant/components/zwave/__init__.py @@ -37,7 +37,7 @@ 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__) From 085d655128a039c825b7e87c03c2449e72520412 Mon Sep 17 00:00:00 2001 From: Tobias Sauerwein Date: Fri, 12 Apr 2019 07:50:39 +0200 Subject: [PATCH 2/8] Revert "Remove dependencies and requirements" This reverts commit fe7171b4cd30889bad5adc9a4fd60059d05ba5a7. --- homeassistant/components/abode/__init__.py | 2 +- homeassistant/components/abode/alarm_control_panel.py | 2 +- homeassistant/components/abode/binary_sensor.py | 2 +- homeassistant/components/abode/camera.py | 2 +- homeassistant/components/abode/cover.py | 2 +- homeassistant/components/abode/light.py | 2 +- homeassistant/components/abode/lock.py | 2 +- homeassistant/components/abode/sensor.py | 2 +- homeassistant/components/abode/switch.py | 2 +- homeassistant/components/acer_projector/switch.py | 2 +- homeassistant/components/ads/__init__.py | 2 +- homeassistant/components/ads/binary_sensor.py | 2 +- homeassistant/components/ads/light.py | 2 +- homeassistant/components/ads/sensor.py | 2 +- homeassistant/components/ads/switch.py | 2 +- homeassistant/components/aftership/sensor.py | 2 +- homeassistant/components/airvisual/sensor.py | 2 +- homeassistant/components/aladdin_connect/cover.py | 2 +- homeassistant/components/alarmdecoder/__init__.py | 2 +- homeassistant/components/alarmdecoder/alarm_control_panel.py | 2 +- homeassistant/components/alarmdecoder/binary_sensor.py | 2 +- homeassistant/components/alarmdecoder/sensor.py | 2 +- homeassistant/components/alarmdotcom/alarm_control_panel.py | 2 +- homeassistant/components/alexa/__init__.py | 2 +- homeassistant/components/alpha_vantage/sensor.py | 2 +- homeassistant/components/amazon_polly/tts.py | 2 +- homeassistant/components/ambient_station/__init__.py | 2 +- homeassistant/components/ambient_station/binary_sensor.py | 2 +- homeassistant/components/ambient_station/sensor.py | 2 +- homeassistant/components/amcrest/__init__.py | 4 ++-- homeassistant/components/amcrest/binary_sensor.py | 2 +- homeassistant/components/amcrest/camera.py | 2 +- homeassistant/components/amcrest/sensor.py | 2 +- homeassistant/components/amcrest/switch.py | 2 +- homeassistant/components/ampio/air_quality.py | 2 +- homeassistant/components/android_ip_webcam/__init__.py | 2 +- homeassistant/components/android_ip_webcam/binary_sensor.py | 2 +- homeassistant/components/android_ip_webcam/sensor.py | 2 +- homeassistant/components/android_ip_webcam/switch.py | 2 +- homeassistant/components/androidtv/media_player.py | 2 +- homeassistant/components/anel_pwrctrl/switch.py | 2 +- homeassistant/components/anthemav/media_player.py | 2 +- homeassistant/components/apcupsd/__init__.py | 2 +- homeassistant/components/apcupsd/binary_sensor.py | 2 +- homeassistant/components/apcupsd/sensor.py | 2 +- homeassistant/components/api/__init__.py | 2 +- homeassistant/components/apns/notify.py | 2 +- homeassistant/components/apple_tv/__init__.py | 2 +- homeassistant/components/apple_tv/media_player.py | 2 +- homeassistant/components/apple_tv/remote.py | 2 +- homeassistant/components/aqualogic/__init__.py | 2 +- homeassistant/components/aqualogic/sensor.py | 2 +- homeassistant/components/aqualogic/switch.py | 2 +- homeassistant/components/aquostv/media_player.py | 2 +- homeassistant/components/arduino/__init__.py | 2 +- homeassistant/components/arduino/sensor.py | 2 +- homeassistant/components/arduino/switch.py | 2 +- homeassistant/components/arlo/__init__.py | 2 +- homeassistant/components/arlo/alarm_control_panel.py | 2 +- homeassistant/components/arlo/camera.py | 2 +- homeassistant/components/arlo/sensor.py | 2 +- homeassistant/components/aruba/device_tracker.py | 2 +- homeassistant/components/arwn/sensor.py | 2 +- homeassistant/components/asterisk_cdr/mailbox.py | 2 +- homeassistant/components/asterisk_mbox/__init__.py | 2 +- homeassistant/components/asterisk_mbox/mailbox.py | 2 +- homeassistant/components/asuswrt/__init__.py | 2 +- homeassistant/components/asuswrt/device_tracker.py | 2 +- homeassistant/components/asuswrt/sensor.py | 2 +- homeassistant/components/august/__init__.py | 2 +- homeassistant/components/august/binary_sensor.py | 2 +- homeassistant/components/august/camera.py | 2 +- homeassistant/components/august/lock.py | 2 +- homeassistant/components/auth/__init__.py | 2 +- homeassistant/components/automatic/device_tracker.py | 4 ++-- homeassistant/components/automation/__init__.py | 2 +- homeassistant/components/automation/litejet.py | 2 +- homeassistant/components/automation/mqtt.py | 2 +- homeassistant/components/avion/light.py | 2 +- homeassistant/components/awair/sensor.py | 2 +- homeassistant/components/aws/__init__.py | 2 +- homeassistant/components/aws/notify.py | 2 +- homeassistant/components/axis/__init__.py | 2 +- homeassistant/components/axis/binary_sensor.py | 2 +- homeassistant/components/axis/camera.py | 2 +- homeassistant/components/baidu/tts.py | 2 +- homeassistant/components/bbb_gpio/__init__.py | 2 +- homeassistant/components/bbb_gpio/binary_sensor.py | 2 +- homeassistant/components/bbb_gpio/switch.py | 2 +- homeassistant/components/bbox/device_tracker.py | 2 +- homeassistant/components/bbox/sensor.py | 2 +- homeassistant/components/bitcoin/sensor.py | 2 +- homeassistant/components/blackbird/media_player.py | 2 +- homeassistant/components/blink/__init__.py | 2 +- homeassistant/components/blink/alarm_control_panel.py | 2 +- homeassistant/components/blink/binary_sensor.py | 2 +- homeassistant/components/blink/camera.py | 2 +- homeassistant/components/blink/sensor.py | 2 +- homeassistant/components/blinksticklight/light.py | 2 +- homeassistant/components/blinkt/light.py | 2 +- homeassistant/components/blockchain/sensor.py | 2 +- homeassistant/components/bloomsky/binary_sensor.py | 2 +- homeassistant/components/bloomsky/camera.py | 2 +- homeassistant/components/bloomsky/sensor.py | 2 +- homeassistant/components/bluesound/media_player.py | 2 +- .../components/bluetooth_le_tracker/device_tracker.py | 2 +- homeassistant/components/bluetooth_tracker/device_tracker.py | 2 +- homeassistant/components/bmw_connected_drive/__init__.py | 2 +- homeassistant/components/bmw_connected_drive/binary_sensor.py | 2 +- .../components/bmw_connected_drive/device_tracker.py | 2 +- homeassistant/components/bmw_connected_drive/lock.py | 2 +- homeassistant/components/bmw_connected_drive/sensor.py | 2 +- homeassistant/components/bom/camera.py | 2 +- homeassistant/components/braviatv/media_player.py | 2 +- homeassistant/components/broadlink/sensor.py | 2 +- homeassistant/components/broadlink/switch.py | 2 +- homeassistant/components/brottsplatskartan/sensor.py | 2 +- homeassistant/components/brunt/cover.py | 2 +- homeassistant/components/bt_home_hub_5/device_tracker.py | 2 +- homeassistant/components/bt_smarthub/device_tracker.py | 2 +- homeassistant/components/buienradar/sensor.py | 2 +- homeassistant/components/buienradar/weather.py | 2 +- homeassistant/components/caldav/calendar.py | 2 +- homeassistant/components/calendar/__init__.py | 2 +- homeassistant/components/camera/__init__.py | 2 +- homeassistant/components/canary/__init__.py | 2 +- homeassistant/components/canary/alarm_control_panel.py | 2 +- homeassistant/components/canary/camera.py | 2 +- homeassistant/components/canary/sensor.py | 2 +- homeassistant/components/cast/__init__.py | 2 +- homeassistant/components/channels/media_player.py | 2 +- homeassistant/components/cisco_ios/device_tracker.py | 2 +- .../components/cisco_mobility_express/device_tracker.py | 2 +- homeassistant/components/cisco_webex_teams/notify.py | 2 +- homeassistant/components/ciscospark/notify.py | 2 +- homeassistant/components/clementine/media_player.py | 2 +- homeassistant/components/cloud/__init__.py | 4 ++-- homeassistant/components/cloud/binary_sensor.py | 2 +- homeassistant/components/cloudflare/__init__.py | 2 +- homeassistant/components/cmus/media_player.py | 2 +- homeassistant/components/co2signal/sensor.py | 2 +- homeassistant/components/coinbase/__init__.py | 2 +- homeassistant/components/coinbase/sensor.py | 2 +- homeassistant/components/coinmarketcap/sensor.py | 2 +- homeassistant/components/comfoconnect/__init__.py | 2 +- homeassistant/components/comfoconnect/fan.py | 2 +- homeassistant/components/comfoconnect/sensor.py | 2 +- homeassistant/components/concord232/alarm_control_panel.py | 2 +- homeassistant/components/concord232/binary_sensor.py | 2 +- homeassistant/components/config/__init__.py | 2 +- homeassistant/components/conversation/__init__.py | 2 +- homeassistant/components/coolmaster/climate.py | 2 +- homeassistant/components/cover/__init__.py | 2 +- homeassistant/components/cppm_tracker/device_tracker.py | 2 +- homeassistant/components/cpuspeed/sensor.py | 2 +- homeassistant/components/crimereports/sensor.py | 2 +- homeassistant/components/cups/sensor.py | 2 +- homeassistant/components/daikin/__init__.py | 2 +- homeassistant/components/danfoss_air/__init__.py | 2 +- homeassistant/components/darksky/sensor.py | 2 +- homeassistant/components/darksky/weather.py | 2 +- homeassistant/components/datadog/__init__.py | 2 +- homeassistant/components/deconz/__init__.py | 2 +- homeassistant/components/deconz/binary_sensor.py | 2 +- homeassistant/components/deconz/climate.py | 2 +- homeassistant/components/deconz/cover.py | 2 +- homeassistant/components/deconz/light.py | 2 +- homeassistant/components/deconz/scene.py | 2 +- homeassistant/components/deconz/sensor.py | 2 +- homeassistant/components/deconz/switch.py | 2 +- homeassistant/components/decora/light.py | 2 +- homeassistant/components/decora_wifi/light.py | 2 +- homeassistant/components/deluge/sensor.py | 2 +- homeassistant/components/deluge/switch.py | 2 +- homeassistant/components/demo/__init__.py | 2 +- homeassistant/components/denonavr/media_player.py | 2 +- homeassistant/components/deutsche_bahn/sensor.py | 2 +- homeassistant/components/device_sun_light_trigger/__init__.py | 2 +- homeassistant/components/device_tracker/__init__.py | 2 +- homeassistant/components/dht/sensor.py | 2 +- homeassistant/components/dialogflow/__init__.py | 2 +- homeassistant/components/digital_ocean/__init__.py | 2 +- homeassistant/components/digital_ocean/binary_sensor.py | 2 +- homeassistant/components/digital_ocean/switch.py | 2 +- homeassistant/components/digitalloggers/switch.py | 2 +- homeassistant/components/directv/media_player.py | 2 +- homeassistant/components/discogs/sensor.py | 2 +- homeassistant/components/discord/notify.py | 2 +- homeassistant/components/discovery/__init__.py | 2 +- homeassistant/components/dlib_face_detect/image_processing.py | 2 +- .../components/dlib_face_identify/image_processing.py | 2 +- homeassistant/components/dlink/switch.py | 2 +- homeassistant/components/dlna_dmr/media_player.py | 2 +- homeassistant/components/dnsip/sensor.py | 2 +- homeassistant/components/dominos/__init__.py | 4 ++-- homeassistant/components/doorbird/__init__.py | 2 +- homeassistant/components/doorbird/camera.py | 2 +- homeassistant/components/doorbird/switch.py | 2 +- homeassistant/components/dovado/__init__.py | 2 +- homeassistant/components/dovado/notify.py | 2 +- homeassistant/components/dovado/sensor.py | 2 +- homeassistant/components/dsmr/sensor.py | 2 +- homeassistant/components/duke_energy/sensor.py | 2 +- homeassistant/components/dunehd/media_player.py | 2 +- homeassistant/components/dweet/__init__.py | 2 +- homeassistant/components/dweet/sensor.py | 2 +- homeassistant/components/dyson/__init__.py | 2 +- homeassistant/components/dyson/fan.py | 2 +- homeassistant/components/dyson/sensor.py | 2 +- homeassistant/components/dyson/vacuum.py | 2 +- homeassistant/components/ebox/sensor.py | 2 +- homeassistant/components/ebusd/__init__.py | 2 +- homeassistant/components/ebusd/sensor.py | 2 +- homeassistant/components/ecoal_boiler/__init__.py | 2 +- homeassistant/components/ecoal_boiler/sensor.py | 2 +- homeassistant/components/ecoal_boiler/switch.py | 2 +- homeassistant/components/ecobee/__init__.py | 2 +- homeassistant/components/ecobee/binary_sensor.py | 2 +- homeassistant/components/ecobee/climate.py | 2 +- homeassistant/components/ecobee/notify.py | 2 +- homeassistant/components/ecobee/sensor.py | 2 +- homeassistant/components/ecobee/weather.py | 2 +- homeassistant/components/econet/water_heater.py | 2 +- homeassistant/components/ecovacs/__init__.py | 2 +- homeassistant/components/ecovacs/vacuum.py | 2 +- homeassistant/components/eddystone_temperature/sensor.py | 2 +- homeassistant/components/edimax/switch.py | 2 +- homeassistant/components/edp_redy/__init__.py | 2 +- homeassistant/components/edp_redy/sensor.py | 2 +- homeassistant/components/edp_redy/switch.py | 2 +- homeassistant/components/ee_brightbox/device_tracker.py | 2 +- homeassistant/components/egardia/__init__.py | 2 +- homeassistant/components/egardia/alarm_control_panel.py | 2 +- homeassistant/components/egardia/binary_sensor.py | 2 +- homeassistant/components/eight_sleep/__init__.py | 2 +- homeassistant/components/eight_sleep/binary_sensor.py | 2 +- homeassistant/components/eight_sleep/sensor.py | 2 +- homeassistant/components/eliqonline/sensor.py | 2 +- homeassistant/components/elkm1/__init__.py | 2 +- homeassistant/components/elkm1/alarm_control_panel.py | 2 +- homeassistant/components/elkm1/climate.py | 2 +- homeassistant/components/elkm1/light.py | 2 +- homeassistant/components/elkm1/scene.py | 2 +- homeassistant/components/elkm1/sensor.py | 2 +- homeassistant/components/elkm1/switch.py | 2 +- homeassistant/components/emby/media_player.py | 2 +- homeassistant/components/emulated_roku/__init__.py | 2 +- homeassistant/components/enigma2/media_player.py | 2 +- homeassistant/components/enocean/__init__.py | 2 +- homeassistant/components/enocean/binary_sensor.py | 2 +- homeassistant/components/enocean/light.py | 2 +- homeassistant/components/enocean/sensor.py | 2 +- homeassistant/components/enocean/switch.py | 2 +- homeassistant/components/enphase_envoy/sensor.py | 2 +- homeassistant/components/entur_public_transport/sensor.py | 2 +- homeassistant/components/envisalink/__init__.py | 2 +- homeassistant/components/envisalink/alarm_control_panel.py | 2 +- homeassistant/components/envisalink/binary_sensor.py | 2 +- homeassistant/components/envisalink/sensor.py | 2 +- homeassistant/components/ephember/climate.py | 2 +- homeassistant/components/epson/media_player.py | 2 +- homeassistant/components/eq3btsmart/climate.py | 2 +- homeassistant/components/esphome/__init__.py | 2 +- homeassistant/components/esphome/binary_sensor.py | 2 +- homeassistant/components/esphome/camera.py | 2 +- homeassistant/components/esphome/climate.py | 2 +- homeassistant/components/esphome/cover.py | 2 +- homeassistant/components/esphome/fan.py | 2 +- homeassistant/components/esphome/light.py | 2 +- homeassistant/components/esphome/sensor.py | 2 +- homeassistant/components/esphome/switch.py | 2 +- homeassistant/components/etherscan/sensor.py | 2 +- homeassistant/components/eufy/__init__.py | 2 +- homeassistant/components/eufy/light.py | 2 +- homeassistant/components/eufy/switch.py | 2 +- homeassistant/components/everlights/light.py | 2 +- homeassistant/components/evohome/__init__.py | 2 +- homeassistant/components/familyhub/camera.py | 2 +- homeassistant/components/fan/__init__.py | 2 +- homeassistant/components/fastdotcom/__init__.py | 2 +- homeassistant/components/fastdotcom/sensor.py | 2 +- homeassistant/components/fedex/sensor.py | 2 +- homeassistant/components/feedreader/__init__.py | 2 +- homeassistant/components/ffmpeg/__init__.py | 2 +- homeassistant/components/ffmpeg/camera.py | 2 +- homeassistant/components/ffmpeg_motion/binary_sensor.py | 2 +- homeassistant/components/ffmpeg_noise/binary_sensor.py | 2 +- homeassistant/components/fibaro/__init__.py | 2 +- homeassistant/components/fibaro/binary_sensor.py | 2 +- homeassistant/components/fibaro/climate.py | 2 +- homeassistant/components/fibaro/cover.py | 2 +- homeassistant/components/fibaro/light.py | 2 +- homeassistant/components/fibaro/scene.py | 2 +- homeassistant/components/fibaro/sensor.py | 2 +- homeassistant/components/fibaro/switch.py | 2 +- homeassistant/components/fido/sensor.py | 2 +- homeassistant/components/fints/sensor.py | 2 +- homeassistant/components/fitbit/sensor.py | 4 ++-- homeassistant/components/fixer/sensor.py | 2 +- homeassistant/components/flexit/climate.py | 4 ++-- homeassistant/components/flic/binary_sensor.py | 2 +- homeassistant/components/flunearyou/sensor.py | 2 +- homeassistant/components/flux/switch.py | 2 +- homeassistant/components/flux_led/light.py | 2 +- homeassistant/components/folder_watcher/__init__.py | 2 +- homeassistant/components/foobot/sensor.py | 2 +- homeassistant/components/foscam/camera.py | 2 +- homeassistant/components/foursquare/__init__.py | 2 +- homeassistant/components/free_mobile/notify.py | 2 +- homeassistant/components/freebox/__init__.py | 2 +- homeassistant/components/freebox/device_tracker.py | 2 +- homeassistant/components/freebox/sensor.py | 2 +- homeassistant/components/freebox/switch.py | 2 +- homeassistant/components/fritz/device_tracker.py | 2 +- homeassistant/components/fritzbox/__init__.py | 2 +- homeassistant/components/fritzbox/binary_sensor.py | 2 +- homeassistant/components/fritzbox/climate.py | 2 +- homeassistant/components/fritzbox/sensor.py | 2 +- homeassistant/components/fritzbox/switch.py | 2 +- homeassistant/components/fritzbox_callmonitor/sensor.py | 2 +- homeassistant/components/fritzbox_netmonitor/sensor.py | 2 +- homeassistant/components/fritzdect/switch.py | 2 +- homeassistant/components/frontend/__init__.py | 2 +- homeassistant/components/frontier_silicon/media_player.py | 2 +- homeassistant/components/futurenow/light.py | 2 +- homeassistant/components/gc100/__init__.py | 2 +- homeassistant/components/gc100/binary_sensor.py | 2 +- homeassistant/components/gc100/switch.py | 2 +- homeassistant/components/gearbest/sensor.py | 2 +- homeassistant/components/geizhals/sensor.py | 2 +- homeassistant/components/generic_thermostat/climate.py | 2 +- homeassistant/components/geo_json_events/geo_location.py | 2 +- homeassistant/components/geo_rss_events/sensor.py | 2 +- homeassistant/components/geofency/__init__.py | 2 +- homeassistant/components/geofency/device_tracker.py | 2 +- homeassistant/components/github/sensor.py | 2 +- homeassistant/components/gitlab_ci/sensor.py | 2 +- homeassistant/components/gitter/sensor.py | 2 +- homeassistant/components/glances/sensor.py | 2 +- homeassistant/components/gntp/notify.py | 2 +- homeassistant/components/goalfeed/__init__.py | 2 +- homeassistant/components/gogogate2/cover.py | 2 +- homeassistant/components/google/tts.py | 2 +- homeassistant/components/google_assistant/__init__.py | 2 +- homeassistant/components/google_maps/device_tracker.py | 2 +- homeassistant/components/google_pubsub/__init__.py | 2 +- homeassistant/components/google_travel_time/sensor.py | 2 +- homeassistant/components/googlehome/__init__.py | 2 +- homeassistant/components/googlehome/device_tracker.py | 2 +- homeassistant/components/googlehome/sensor.py | 2 +- homeassistant/components/gpmdp/media_player.py | 2 +- homeassistant/components/gpsd/sensor.py | 2 +- homeassistant/components/gpslogger/__init__.py | 2 +- homeassistant/components/gpslogger/device_tracker.py | 2 +- homeassistant/components/greeneye_monitor/__init__.py | 2 +- homeassistant/components/greeneye_monitor/sensor.py | 2 +- homeassistant/components/greenwave/light.py | 2 +- homeassistant/components/gstreamer/media_player.py | 2 +- homeassistant/components/gtfs/sensor.py | 2 +- homeassistant/components/gtt/sensor.py | 2 +- homeassistant/components/habitica/__init__.py | 2 +- homeassistant/components/hangouts/__init__.py | 2 +- homeassistant/components/hangouts/notify.py | 2 +- homeassistant/components/harman_kardon_avr/media_player.py | 2 +- homeassistant/components/harmony/remote.py | 2 +- homeassistant/components/hassio/__init__.py | 2 +- homeassistant/components/hdmi_cec/__init__.py | 2 +- homeassistant/components/hdmi_cec/media_player.py | 2 +- homeassistant/components/hdmi_cec/switch.py | 2 +- homeassistant/components/heatmiser/climate.py | 2 +- homeassistant/components/heos/__init__.py | 2 +- homeassistant/components/heos/media_player.py | 2 +- homeassistant/components/hikvision/binary_sensor.py | 2 +- homeassistant/components/hikvisioncam/switch.py | 2 +- homeassistant/components/hipchat/notify.py | 2 +- homeassistant/components/history/__init__.py | 2 +- homeassistant/components/history_graph/__init__.py | 2 +- homeassistant/components/history_stats/sensor.py | 2 +- homeassistant/components/hive/__init__.py | 2 +- homeassistant/components/hive/binary_sensor.py | 2 +- homeassistant/components/hive/climate.py | 2 +- homeassistant/components/hive/light.py | 2 +- homeassistant/components/hive/sensor.py | 2 +- homeassistant/components/hive/switch.py | 2 +- homeassistant/components/hlk_sw16/__init__.py | 2 +- homeassistant/components/hlk_sw16/switch.py | 2 +- homeassistant/components/homekit/__init__.py | 2 +- homeassistant/components/homekit_controller/__init__.py | 2 +- .../components/homekit_controller/alarm_control_panel.py | 2 +- homeassistant/components/homekit_controller/binary_sensor.py | 2 +- homeassistant/components/homekit_controller/climate.py | 2 +- homeassistant/components/homekit_controller/cover.py | 2 +- homeassistant/components/homekit_controller/light.py | 2 +- homeassistant/components/homekit_controller/lock.py | 2 +- homeassistant/components/homekit_controller/sensor.py | 2 +- homeassistant/components/homekit_controller/switch.py | 2 +- homeassistant/components/homematic/__init__.py | 2 +- homeassistant/components/homematic/binary_sensor.py | 2 +- homeassistant/components/homematic/climate.py | 2 +- homeassistant/components/homematic/cover.py | 2 +- homeassistant/components/homematic/light.py | 2 +- homeassistant/components/homematic/lock.py | 2 +- homeassistant/components/homematic/notify.py | 2 +- homeassistant/components/homematic/sensor.py | 2 +- homeassistant/components/homematic/switch.py | 2 +- homeassistant/components/homematicip_cloud/__init__.py | 2 +- .../components/homematicip_cloud/alarm_control_panel.py | 2 +- homeassistant/components/homematicip_cloud/binary_sensor.py | 2 +- homeassistant/components/homematicip_cloud/cover.py | 2 +- homeassistant/components/homematicip_cloud/light.py | 2 +- homeassistant/components/homematicip_cloud/sensor.py | 2 +- homeassistant/components/homematicip_cloud/switch.py | 2 +- homeassistant/components/homematicip_cloud/weather.py | 2 +- homeassistant/components/homeworks/__init__.py | 2 +- homeassistant/components/homeworks/light.py | 2 +- homeassistant/components/honeywell/climate.py | 2 +- homeassistant/components/horizon/media_player.py | 2 +- homeassistant/components/hp_ilo/sensor.py | 2 +- homeassistant/components/html5/notify.py | 4 ++-- homeassistant/components/http/__init__.py | 2 +- homeassistant/components/huawei_lte/__init__.py | 2 +- homeassistant/components/huawei_lte/device_tracker.py | 2 +- homeassistant/components/huawei_lte/notify.py | 2 +- homeassistant/components/huawei_lte/sensor.py | 2 +- homeassistant/components/hue/__init__.py | 2 +- homeassistant/components/hue/light.py | 2 +- homeassistant/components/hunterdouglas_powerview/scene.py | 2 +- homeassistant/components/hydrawise/__init__.py | 2 +- homeassistant/components/hydrawise/binary_sensor.py | 2 +- homeassistant/components/hydrawise/sensor.py | 2 +- homeassistant/components/hydrawise/switch.py | 2 +- homeassistant/components/hydroquebec/sensor.py | 2 +- homeassistant/components/ialarm/alarm_control_panel.py | 2 +- homeassistant/components/icloud/device_tracker.py | 2 +- homeassistant/components/idteck_prox/__init__.py | 2 +- homeassistant/components/ifttt/__init__.py | 4 ++-- homeassistant/components/ifttt/alarm_control_panel.py | 2 +- homeassistant/components/iglo/light.py | 2 +- homeassistant/components/ihc/__init__.py | 2 +- homeassistant/components/ihc/binary_sensor.py | 2 +- homeassistant/components/ihc/light.py | 2 +- homeassistant/components/ihc/sensor.py | 2 +- homeassistant/components/ihc/switch.py | 2 +- homeassistant/components/image_processing/__init__.py | 2 +- homeassistant/components/imap/sensor.py | 2 +- homeassistant/components/influxdb/__init__.py | 2 +- homeassistant/components/influxdb/sensor.py | 2 +- homeassistant/components/insteon/__init__.py | 2 +- homeassistant/components/insteon/binary_sensor.py | 2 +- homeassistant/components/insteon/cover.py | 2 +- homeassistant/components/insteon/fan.py | 2 +- homeassistant/components/insteon/light.py | 2 +- homeassistant/components/insteon/sensor.py | 2 +- homeassistant/components/insteon/switch.py | 2 +- homeassistant/components/ios/__init__.py | 2 +- homeassistant/components/ios/notify.py | 2 +- homeassistant/components/ios/sensor.py | 2 +- homeassistant/components/iota/__init__.py | 2 +- homeassistant/components/iota/sensor.py | 2 +- homeassistant/components/iperf3/__init__.py | 2 +- homeassistant/components/iperf3/sensor.py | 2 +- homeassistant/components/ipma/weather.py | 2 +- homeassistant/components/irish_rail_transport/sensor.py | 2 +- homeassistant/components/islamic_prayer_times/sensor.py | 2 +- homeassistant/components/iss/binary_sensor.py | 2 +- homeassistant/components/isy994/__init__.py | 2 +- homeassistant/components/itach/remote.py | 2 +- homeassistant/components/jewish_calendar/sensor.py | 2 +- homeassistant/components/joaoapps_join/__init__.py | 2 +- homeassistant/components/joaoapps_join/notify.py | 2 +- homeassistant/components/juicenet/__init__.py | 2 +- homeassistant/components/juicenet/sensor.py | 2 +- homeassistant/components/keenetic_ndms2/device_tracker.py | 2 +- homeassistant/components/keyboard/__init__.py | 2 +- homeassistant/components/keyboard_remote/__init__.py | 2 +- homeassistant/components/kira/__init__.py | 2 +- homeassistant/components/kiwi/lock.py | 2 +- homeassistant/components/knx/__init__.py | 2 +- homeassistant/components/knx/binary_sensor.py | 2 +- homeassistant/components/knx/climate.py | 2 +- homeassistant/components/knx/cover.py | 2 +- homeassistant/components/knx/light.py | 2 +- homeassistant/components/knx/notify.py | 2 +- homeassistant/components/knx/scene.py | 2 +- homeassistant/components/knx/sensor.py | 2 +- homeassistant/components/knx/switch.py | 2 +- homeassistant/components/kodi/media_player.py | 2 +- homeassistant/components/kodi/notify.py | 2 +- homeassistant/components/konnected/__init__.py | 4 ++-- homeassistant/components/konnected/binary_sensor.py | 2 +- homeassistant/components/konnected/sensor.py | 2 +- homeassistant/components/konnected/switch.py | 2 +- homeassistant/components/kwb/sensor.py | 2 +- homeassistant/components/lacrosse/sensor.py | 2 +- homeassistant/components/lametric/__init__.py | 2 +- homeassistant/components/lametric/notify.py | 4 ++-- homeassistant/components/lastfm/sensor.py | 2 +- homeassistant/components/launch_library/sensor.py | 2 +- homeassistant/components/lcn/__init__.py | 2 +- homeassistant/components/lcn/binary_sensor.py | 2 +- homeassistant/components/lcn/cover.py | 2 +- homeassistant/components/lcn/light.py | 2 +- homeassistant/components/lcn/sensor.py | 2 +- homeassistant/components/lcn/switch.py | 2 +- homeassistant/components/lg_netcast/media_player.py | 2 +- homeassistant/components/lg_soundbar/media_player.py | 2 +- homeassistant/components/lifx/__init__.py | 2 +- homeassistant/components/lifx/light.py | 4 ++-- homeassistant/components/lifx_legacy/light.py | 2 +- homeassistant/components/light/__init__.py | 2 +- homeassistant/components/lightwave/__init__.py | 2 +- homeassistant/components/lightwave/light.py | 2 +- homeassistant/components/lightwave/switch.py | 2 +- homeassistant/components/limitlessled/light.py | 2 +- homeassistant/components/linksys_ap/device_tracker.py | 2 +- homeassistant/components/linky/sensor.py | 2 +- homeassistant/components/linode/__init__.py | 2 +- homeassistant/components/linode/binary_sensor.py | 2 +- homeassistant/components/linode/switch.py | 2 +- homeassistant/components/linux_battery/sensor.py | 2 +- homeassistant/components/lirc/__init__.py | 2 +- homeassistant/components/litejet/__init__.py | 2 +- homeassistant/components/litejet/light.py | 2 +- homeassistant/components/litejet/scene.py | 2 +- homeassistant/components/litejet/switch.py | 2 +- homeassistant/components/liveboxplaytv/media_player.py | 2 +- homeassistant/components/locative/__init__.py | 2 +- homeassistant/components/locative/device_tracker.py | 2 +- homeassistant/components/lock/__init__.py | 2 +- homeassistant/components/logbook/__init__.py | 2 +- homeassistant/components/logi_circle/__init__.py | 2 +- homeassistant/components/logi_circle/camera.py | 2 +- homeassistant/components/logi_circle/sensor.py | 2 +- homeassistant/components/london_underground/sensor.py | 2 +- homeassistant/components/loopenergy/sensor.py | 2 +- homeassistant/components/luci/device_tracker.py | 2 +- homeassistant/components/luftdaten/__init__.py | 2 +- homeassistant/components/luftdaten/sensor.py | 2 +- homeassistant/components/lupusec/__init__.py | 2 +- homeassistant/components/lupusec/alarm_control_panel.py | 2 +- homeassistant/components/lupusec/binary_sensor.py | 2 +- homeassistant/components/lupusec/switch.py | 2 +- homeassistant/components/lutron/__init__.py | 2 +- homeassistant/components/lutron/cover.py | 2 +- homeassistant/components/lutron/light.py | 2 +- homeassistant/components/lutron/scene.py | 2 +- homeassistant/components/lutron/switch.py | 2 +- homeassistant/components/lutron_caseta/__init__.py | 2 +- homeassistant/components/lutron_caseta/cover.py | 2 +- homeassistant/components/lutron_caseta/light.py | 2 +- homeassistant/components/lutron_caseta/scene.py | 2 +- homeassistant/components/lutron_caseta/switch.py | 2 +- homeassistant/components/lw12wifi/light.py | 2 +- homeassistant/components/lyft/sensor.py | 2 +- homeassistant/components/magicseaweed/sensor.py | 2 +- homeassistant/components/mailbox/__init__.py | 2 +- homeassistant/components/mailgun/__init__.py | 2 +- homeassistant/components/mailgun/notify.py | 4 ++-- homeassistant/components/manual_mqtt/alarm_control_panel.py | 2 +- homeassistant/components/mastodon/notify.py | 2 +- homeassistant/components/matrix/__init__.py | 2 +- homeassistant/components/matrix/notify.py | 2 +- homeassistant/components/maxcube/__init__.py | 2 +- homeassistant/components/media_extractor/__init__.py | 4 ++-- homeassistant/components/media_player/__init__.py | 2 +- homeassistant/components/mediaroom/media_player.py | 2 +- homeassistant/components/melissa/__init__.py | 2 +- homeassistant/components/melissa/climate.py | 2 +- homeassistant/components/meraki/device_tracker.py | 2 +- homeassistant/components/message_bird/notify.py | 2 +- homeassistant/components/met/weather.py | 2 +- homeassistant/components/meteo_france/__init__.py | 2 +- homeassistant/components/metoffice/sensor.py | 2 +- homeassistant/components/metoffice/weather.py | 2 +- homeassistant/components/mfi/sensor.py | 2 +- homeassistant/components/mfi/switch.py | 2 +- homeassistant/components/mhz19/sensor.py | 2 +- homeassistant/components/microsoft/tts.py | 2 +- homeassistant/components/microsoft_face/__init__.py | 2 +- .../components/microsoft_face_detect/image_processing.py | 2 +- .../components/microsoft_face_identify/image_processing.py | 2 +- homeassistant/components/miflora/sensor.py | 2 +- homeassistant/components/mikrotik/device_tracker.py | 2 +- homeassistant/components/mill/climate.py | 2 +- homeassistant/components/mitemp_bt/sensor.py | 2 +- homeassistant/components/mobile_app/__init__.py | 4 ++-- homeassistant/components/mobile_app/binary_sensor.py | 2 +- homeassistant/components/mobile_app/notify.py | 2 +- homeassistant/components/mobile_app/sensor.py | 2 +- homeassistant/components/mochad/__init__.py | 2 +- homeassistant/components/mochad/light.py | 2 +- homeassistant/components/mochad/switch.py | 2 +- homeassistant/components/modbus/__init__.py | 2 +- homeassistant/components/modbus/binary_sensor.py | 2 +- homeassistant/components/modbus/climate.py | 2 +- homeassistant/components/modbus/sensor.py | 2 +- homeassistant/components/modbus/switch.py | 2 +- homeassistant/components/modem_callerid/sensor.py | 2 +- homeassistant/components/monoprice/media_player.py | 2 +- homeassistant/components/mopar/__init__.py | 2 +- homeassistant/components/mopar/lock.py | 2 +- homeassistant/components/mopar/sensor.py | 2 +- homeassistant/components/mopar/switch.py | 2 +- homeassistant/components/mpd/media_player.py | 2 +- homeassistant/components/mqtt/__init__.py | 2 +- homeassistant/components/mqtt/alarm_control_panel.py | 2 +- homeassistant/components/mqtt/binary_sensor.py | 2 +- homeassistant/components/mqtt/camera.py | 2 +- homeassistant/components/mqtt/climate.py | 2 +- homeassistant/components/mqtt/cover.py | 2 +- homeassistant/components/mqtt/device_tracker.py | 2 +- homeassistant/components/mqtt/fan.py | 2 +- homeassistant/components/mqtt/light/__init__.py | 2 +- homeassistant/components/mqtt/light/schema_basic.py | 2 +- homeassistant/components/mqtt/light/schema_json.py | 2 +- homeassistant/components/mqtt/light/schema_template.py | 2 +- homeassistant/components/mqtt/lock.py | 2 +- homeassistant/components/mqtt/sensor.py | 2 +- homeassistant/components/mqtt/server.py | 4 ++-- homeassistant/components/mqtt/switch.py | 2 +- homeassistant/components/mqtt/vacuum.py | 2 +- homeassistant/components/mqtt_eventstream/__init__.py | 2 +- homeassistant/components/mqtt_json/device_tracker.py | 2 +- homeassistant/components/mqtt_room/sensor.py | 2 +- homeassistant/components/mqtt_statestream/__init__.py | 2 +- homeassistant/components/mvglive/sensor.py | 2 +- homeassistant/components/mychevy/__init__.py | 2 +- homeassistant/components/mycroft/__init__.py | 2 +- homeassistant/components/mycroft/notify.py | 2 +- homeassistant/components/myq/cover.py | 2 +- homeassistant/components/mysensors/__init__.py | 2 +- homeassistant/components/mystrom/binary_sensor.py | 2 +- homeassistant/components/mystrom/light.py | 2 +- homeassistant/components/mystrom/switch.py | 2 +- homeassistant/components/mythicbeastsdns/__init__.py | 2 +- homeassistant/components/n26/__init__.py | 2 +- homeassistant/components/n26/sensor.py | 2 +- homeassistant/components/n26/switch.py | 2 +- homeassistant/components/nad/media_player.py | 2 +- homeassistant/components/namecheapdns/__init__.py | 2 +- homeassistant/components/nanoleaf/light.py | 2 +- homeassistant/components/neato/__init__.py | 2 +- homeassistant/components/neato/camera.py | 2 +- homeassistant/components/neato/switch.py | 2 +- homeassistant/components/neato/vacuum.py | 2 +- homeassistant/components/nederlandse_spoorwegen/sensor.py | 2 +- homeassistant/components/nello/lock.py | 2 +- homeassistant/components/ness_alarm/__init__.py | 2 +- homeassistant/components/ness_alarm/alarm_control_panel.py | 2 +- homeassistant/components/ness_alarm/binary_sensor.py | 2 +- homeassistant/components/nest/__init__.py | 2 +- homeassistant/components/nest/binary_sensor.py | 2 +- homeassistant/components/nest/camera.py | 2 +- homeassistant/components/nest/climate.py | 2 +- homeassistant/components/nest/sensor.py | 2 +- homeassistant/components/netatmo/__init__.py | 4 ++-- homeassistant/components/netatmo/binary_sensor.py | 2 +- homeassistant/components/netatmo/camera.py | 2 +- homeassistant/components/netatmo/climate.py | 2 +- homeassistant/components/netatmo/sensor.py | 2 +- homeassistant/components/netatmo_public/sensor.py | 2 +- homeassistant/components/netdata/sensor.py | 2 +- homeassistant/components/netgear/device_tracker.py | 2 +- homeassistant/components/netgear_lte/__init__.py | 2 +- homeassistant/components/netgear_lte/binary_sensor.py | 2 +- homeassistant/components/netgear_lte/notify.py | 2 +- homeassistant/components/netgear_lte/sensor.py | 2 +- homeassistant/components/netio/switch.py | 4 ++-- homeassistant/components/neurio_energy/sensor.py | 2 +- homeassistant/components/niko_home_control/light.py | 2 +- homeassistant/components/nilu/air_quality.py | 2 +- homeassistant/components/nissan_leaf/__init__.py | 2 +- homeassistant/components/nissan_leaf/binary_sensor.py | 2 +- homeassistant/components/nissan_leaf/device_tracker.py | 2 +- homeassistant/components/nissan_leaf/sensor.py | 2 +- homeassistant/components/nissan_leaf/switch.py | 2 +- homeassistant/components/nmap_tracker/device_tracker.py | 2 +- homeassistant/components/nmbs/sensor.py | 2 +- homeassistant/components/noaa_tides/sensor.py | 2 +- homeassistant/components/norway_air/air_quality.py | 2 +- homeassistant/components/nsw_fuel_station/sensor.py | 2 +- .../components/nsw_rural_fire_service_feed/geo_location.py | 2 +- homeassistant/components/nuheat/__init__.py | 2 +- homeassistant/components/nuheat/climate.py | 2 +- homeassistant/components/nuki/lock.py | 2 +- homeassistant/components/nut/sensor.py | 2 +- homeassistant/components/nx584/alarm_control_panel.py | 2 +- homeassistant/components/nx584/binary_sensor.py | 2 +- homeassistant/components/oasa_telematics/sensor.py | 2 +- homeassistant/components/octoprint/binary_sensor.py | 2 +- homeassistant/components/octoprint/sensor.py | 2 +- homeassistant/components/oem/climate.py | 2 +- homeassistant/components/ohmconnect/sensor.py | 2 +- homeassistant/components/onboarding/__init__.py | 2 +- homeassistant/components/onkyo/media_player.py | 2 +- homeassistant/components/onvif/camera.py | 2 +- homeassistant/components/opencv/image_processing.py | 2 +- homeassistant/components/openevse/sensor.py | 2 +- homeassistant/components/openhome/media_player.py | 2 +- homeassistant/components/opensensemap/air_quality.py | 2 +- homeassistant/components/opentherm_gw/__init__.py | 2 +- homeassistant/components/opentherm_gw/binary_sensor.py | 2 +- homeassistant/components/opentherm_gw/climate.py | 2 +- homeassistant/components/opentherm_gw/sensor.py | 2 +- homeassistant/components/openuv/__init__.py | 2 +- homeassistant/components/openuv/binary_sensor.py | 2 +- homeassistant/components/openuv/sensor.py | 2 +- homeassistant/components/openweathermap/sensor.py | 2 +- homeassistant/components/openweathermap/weather.py | 2 +- homeassistant/components/opple/light.py | 2 +- homeassistant/components/orvibo/switch.py | 2 +- homeassistant/components/osramlightify/light.py | 2 +- homeassistant/components/otp/sensor.py | 2 +- homeassistant/components/owlet/__init__.py | 2 +- homeassistant/components/owntracks/__init__.py | 4 ++-- homeassistant/components/owntracks/device_tracker.py | 2 +- homeassistant/components/panasonic_bluray/media_player.py | 2 +- homeassistant/components/panasonic_viera/media_player.py | 2 +- homeassistant/components/pandora/media_player.py | 2 +- homeassistant/components/panel_custom/__init__.py | 2 +- homeassistant/components/panel_iframe/__init__.py | 2 +- homeassistant/components/pencom/switch.py | 2 +- homeassistant/components/philips_js/media_player.py | 2 +- homeassistant/components/pi_hole/sensor.py | 2 +- homeassistant/components/piglow/light.py | 2 +- homeassistant/components/pilight/__init__.py | 2 +- homeassistant/components/pilight/binary_sensor.py | 2 +- homeassistant/components/pilight/sensor.py | 2 +- homeassistant/components/pilight/switch.py | 2 +- homeassistant/components/pjlink/media_player.py | 2 +- homeassistant/components/plant/__init__.py | 2 +- homeassistant/components/plex/media_player.py | 2 +- homeassistant/components/plex/sensor.py | 2 +- homeassistant/components/plum_lightpad/__init__.py | 2 +- homeassistant/components/plum_lightpad/light.py | 2 +- homeassistant/components/pocketcasts/sensor.py | 2 +- homeassistant/components/point/__init__.py | 4 ++-- homeassistant/components/pollen/sensor.py | 2 +- homeassistant/components/postnl/sensor.py | 2 +- homeassistant/components/prezzibenzina/sensor.py | 2 +- homeassistant/components/proliphix/climate.py | 2 +- homeassistant/components/prometheus/__init__.py | 4 ++-- homeassistant/components/proximity/__init__.py | 2 +- homeassistant/components/proxy/camera.py | 2 +- homeassistant/components/ps4/__init__.py | 2 +- homeassistant/components/ps4/media_player.py | 2 +- homeassistant/components/push/camera.py | 2 +- homeassistant/components/pushbullet/notify.py | 2 +- homeassistant/components/pushbullet/sensor.py | 2 +- homeassistant/components/pushetta/notify.py | 2 +- homeassistant/components/pushover/notify.py | 2 +- homeassistant/components/python_script/__init__.py | 2 +- homeassistant/components/qbittorrent/sensor.py | 2 +- homeassistant/components/qnap/sensor.py | 2 +- homeassistant/components/qrcode/image_processing.py | 2 +- homeassistant/components/quantum_gateway/device_tracker.py | 2 +- homeassistant/components/qwikswitch/__init__.py | 2 +- homeassistant/components/qwikswitch/binary_sensor.py | 2 +- homeassistant/components/qwikswitch/light.py | 2 +- homeassistant/components/qwikswitch/sensor.py | 2 +- homeassistant/components/qwikswitch/switch.py | 2 +- homeassistant/components/rachio/__init__.py | 2 +- homeassistant/components/rachio/binary_sensor.py | 2 +- homeassistant/components/rachio/switch.py | 2 +- homeassistant/components/radiotherm/climate.py | 2 +- homeassistant/components/rainbird/__init__.py | 2 +- homeassistant/components/rainbird/sensor.py | 2 +- homeassistant/components/rainbird/switch.py | 2 +- homeassistant/components/raincloud/__init__.py | 2 +- homeassistant/components/raincloud/binary_sensor.py | 2 +- homeassistant/components/raincloud/sensor.py | 2 +- homeassistant/components/raincloud/switch.py | 2 +- homeassistant/components/rainmachine/__init__.py | 2 +- homeassistant/components/rainmachine/binary_sensor.py | 2 +- homeassistant/components/rainmachine/sensor.py | 2 +- homeassistant/components/rainmachine/switch.py | 2 +- homeassistant/components/raspihats/__init__.py | 2 +- homeassistant/components/raspihats/binary_sensor.py | 2 +- homeassistant/components/raspihats/switch.py | 2 +- homeassistant/components/raspyrfm/switch.py | 2 +- homeassistant/components/recollect_waste/sensor.py | 2 +- homeassistant/components/recorder/__init__.py | 2 +- homeassistant/components/recswitch/switch.py | 2 +- homeassistant/components/reddit/sensor.py | 2 +- homeassistant/components/rejseplanen/sensor.py | 2 +- homeassistant/components/remember_the_milk/__init__.py | 2 +- homeassistant/components/remote/__init__.py | 2 +- homeassistant/components/rflink/__init__.py | 2 +- homeassistant/components/rflink/binary_sensor.py | 2 +- homeassistant/components/rflink/cover.py | 2 +- homeassistant/components/rflink/light.py | 2 +- homeassistant/components/rflink/sensor.py | 2 +- homeassistant/components/rflink/switch.py | 2 +- homeassistant/components/rfxtrx/__init__.py | 2 +- homeassistant/components/rfxtrx/binary_sensor.py | 2 +- homeassistant/components/rfxtrx/cover.py | 2 +- homeassistant/components/rfxtrx/light.py | 2 +- homeassistant/components/rfxtrx/sensor.py | 2 +- homeassistant/components/rfxtrx/switch.py | 2 +- homeassistant/components/ring/__init__.py | 2 +- homeassistant/components/ring/binary_sensor.py | 2 +- homeassistant/components/ring/camera.py | 2 +- homeassistant/components/ring/sensor.py | 2 +- homeassistant/components/ripple/sensor.py | 2 +- homeassistant/components/ritassist/device_tracker.py | 2 +- homeassistant/components/rmvtransport/sensor.py | 2 +- homeassistant/components/rocketchat/notify.py | 2 +- homeassistant/components/roku/__init__.py | 2 +- homeassistant/components/roku/media_player.py | 2 +- homeassistant/components/roku/remote.py | 2 +- homeassistant/components/roomba/vacuum.py | 2 +- homeassistant/components/route53/__init__.py | 2 +- homeassistant/components/rova/sensor.py | 2 +- homeassistant/components/rpi_gpio/__init__.py | 2 +- homeassistant/components/rpi_gpio/binary_sensor.py | 2 +- homeassistant/components/rpi_gpio/cover.py | 2 +- homeassistant/components/rpi_gpio/switch.py | 2 +- homeassistant/components/rpi_gpio_pwm/light.py | 2 +- homeassistant/components/rpi_pfio/__init__.py | 2 +- homeassistant/components/rpi_pfio/binary_sensor.py | 2 +- homeassistant/components/rpi_pfio/switch.py | 2 +- homeassistant/components/rpi_rf/switch.py | 2 +- homeassistant/components/rss_feed_template/__init__.py | 2 +- homeassistant/components/russound_rio/media_player.py | 2 +- homeassistant/components/russound_rnet/media_player.py | 2 +- homeassistant/components/ruter/sensor.py | 2 +- homeassistant/components/sabnzbd/__init__.py | 2 +- homeassistant/components/sabnzbd/sensor.py | 2 +- homeassistant/components/samsungtv/media_player.py | 2 +- homeassistant/components/satel_integra/__init__.py | 2 +- homeassistant/components/satel_integra/alarm_control_panel.py | 2 +- homeassistant/components/satel_integra/binary_sensor.py | 2 +- homeassistant/components/scrape/sensor.py | 2 +- homeassistant/components/script/__init__.py | 2 +- homeassistant/components/scsgate/__init__.py | 2 +- homeassistant/components/scsgate/cover.py | 2 +- homeassistant/components/scsgate/light.py | 2 +- homeassistant/components/scsgate/switch.py | 2 +- homeassistant/components/season/sensor.py | 2 +- homeassistant/components/sendgrid/notify.py | 2 +- homeassistant/components/sense/__init__.py | 2 +- homeassistant/components/sense/binary_sensor.py | 2 +- homeassistant/components/sense/sensor.py | 2 +- homeassistant/components/sensehat/light.py | 2 +- homeassistant/components/sensehat/sensor.py | 2 +- homeassistant/components/sensibo/climate.py | 2 +- homeassistant/components/serial/sensor.py | 2 +- homeassistant/components/serial_pm/sensor.py | 2 +- homeassistant/components/sesame/lock.py | 2 +- homeassistant/components/seventeentrack/sensor.py | 2 +- homeassistant/components/shiftr/__init__.py | 2 +- homeassistant/components/shodan/sensor.py | 2 +- homeassistant/components/shopping_list/__init__.py | 2 +- homeassistant/components/simplepush/notify.py | 2 +- homeassistant/components/simplisafe/__init__.py | 2 +- homeassistant/components/sisyphus/__init__.py | 2 +- homeassistant/components/sisyphus/light.py | 2 +- homeassistant/components/sisyphus/media_player.py | 2 +- homeassistant/components/skybeacon/sensor.py | 2 +- homeassistant/components/skybell/__init__.py | 2 +- homeassistant/components/skybell/binary_sensor.py | 2 +- homeassistant/components/skybell/camera.py | 2 +- homeassistant/components/skybell/light.py | 2 +- homeassistant/components/skybell/sensor.py | 2 +- homeassistant/components/skybell/switch.py | 2 +- homeassistant/components/slack/notify.py | 2 +- homeassistant/components/sleepiq/__init__.py | 2 +- homeassistant/components/sleepiq/binary_sensor.py | 2 +- homeassistant/components/sleepiq/sensor.py | 2 +- homeassistant/components/sma/sensor.py | 2 +- homeassistant/components/smappee/__init__.py | 2 +- homeassistant/components/smappee/sensor.py | 2 +- homeassistant/components/smappee/switch.py | 2 +- homeassistant/components/smartthings/__init__.py | 4 ++-- homeassistant/components/smartthings/binary_sensor.py | 2 +- homeassistant/components/smartthings/climate.py | 2 +- homeassistant/components/smartthings/cover.py | 2 +- homeassistant/components/smartthings/fan.py | 2 +- homeassistant/components/smartthings/light.py | 2 +- homeassistant/components/smartthings/lock.py | 2 +- homeassistant/components/smartthings/scene.py | 2 +- homeassistant/components/smartthings/sensor.py | 2 +- homeassistant/components/smartthings/switch.py | 2 +- homeassistant/components/smhi/__init__.py | 2 +- homeassistant/components/smhi/weather.py | 2 +- homeassistant/components/snapcast/media_player.py | 2 +- homeassistant/components/snips/__init__.py | 2 +- homeassistant/components/snmp/device_tracker.py | 2 +- homeassistant/components/snmp/sensor.py | 2 +- homeassistant/components/snmp/switch.py | 2 +- homeassistant/components/sochain/sensor.py | 2 +- homeassistant/components/socialblade/sensor.py | 2 +- homeassistant/components/solaredge/sensor.py | 2 +- homeassistant/components/somfy_mylink/__init__.py | 2 +- homeassistant/components/somfy_mylink/cover.py | 2 +- homeassistant/components/songpal/media_player.py | 2 +- homeassistant/components/sonos/__init__.py | 2 +- homeassistant/components/sony_projector/switch.py | 2 +- homeassistant/components/soundtouch/media_player.py | 2 +- homeassistant/components/spaceapi/__init__.py | 2 +- homeassistant/components/spc/__init__.py | 2 +- homeassistant/components/speedtestdotnet/__init__.py | 2 +- homeassistant/components/speedtestdotnet/sensor.py | 2 +- homeassistant/components/spider/__init__.py | 2 +- homeassistant/components/spider/climate.py | 2 +- homeassistant/components/spider/switch.py | 2 +- homeassistant/components/spotcrime/sensor.py | 2 +- homeassistant/components/spotify/media_player.py | 4 ++-- homeassistant/components/sql/sensor.py | 2 +- homeassistant/components/srp_energy/sensor.py | 2 +- homeassistant/components/starlingbank/sensor.py | 2 +- homeassistant/components/startca/sensor.py | 2 +- homeassistant/components/statsd/__init__.py | 2 +- homeassistant/components/steam_online/sensor.py | 2 +- homeassistant/components/stream/__init__.py | 4 ++-- homeassistant/components/stride/notify.py | 2 +- homeassistant/components/swiss_hydrological_data/sensor.py | 2 +- homeassistant/components/swiss_public_transport/sensor.py | 2 +- homeassistant/components/switch/__init__.py | 2 +- homeassistant/components/switchbot/switch.py | 2 +- homeassistant/components/switchmate/switch.py | 2 +- homeassistant/components/syncthru/sensor.py | 2 +- homeassistant/components/synology/camera.py | 2 +- homeassistant/components/synology_srm/device_tracker.py | 2 +- homeassistant/components/synologydsm/sensor.py | 2 +- homeassistant/components/system_health/__init__.py | 2 +- homeassistant/components/system_log/__init__.py | 2 +- homeassistant/components/systemmonitor/sensor.py | 2 +- homeassistant/components/sytadin/sensor.py | 2 +- homeassistant/components/tado/__init__.py | 2 +- homeassistant/components/tahoma/__init__.py | 2 +- homeassistant/components/tahoma/binary_sensor.py | 2 +- homeassistant/components/tahoma/cover.py | 2 +- homeassistant/components/tahoma/scene.py | 2 +- homeassistant/components/tahoma/sensor.py | 2 +- homeassistant/components/tahoma/switch.py | 2 +- homeassistant/components/tapsaff/binary_sensor.py | 2 +- homeassistant/components/tautulli/sensor.py | 2 +- homeassistant/components/ted5000/sensor.py | 2 +- homeassistant/components/telegram/notify.py | 2 +- homeassistant/components/telegram_bot/__init__.py | 2 +- homeassistant/components/telegram_bot/webhooks.py | 2 +- homeassistant/components/tellduslive/__init__.py | 2 +- homeassistant/components/tellstick/__init__.py | 2 +- homeassistant/components/tellstick/sensor.py | 2 +- homeassistant/components/temper/sensor.py | 2 +- homeassistant/components/tensorflow/image_processing.py | 2 +- homeassistant/components/tesla/__init__.py | 2 +- homeassistant/components/tesla/binary_sensor.py | 2 +- homeassistant/components/tesla/climate.py | 2 +- homeassistant/components/tesla/device_tracker.py | 2 +- homeassistant/components/tesla/lock.py | 2 +- homeassistant/components/tesla/sensor.py | 2 +- homeassistant/components/tesla/switch.py | 2 +- homeassistant/components/tfiac/climate.py | 2 +- homeassistant/components/thermoworks_smoke/sensor.py | 2 +- homeassistant/components/thethingsnetwork/sensor.py | 2 +- homeassistant/components/thingspeak/__init__.py | 2 +- homeassistant/components/thinkingcleaner/sensor.py | 2 +- homeassistant/components/thinkingcleaner/switch.py | 2 +- homeassistant/components/tibber/__init__.py | 2 +- homeassistant/components/tikteck/light.py | 2 +- homeassistant/components/tile/device_tracker.py | 2 +- homeassistant/components/todoist/calendar.py | 2 +- homeassistant/components/tof/sensor.py | 4 ++-- homeassistant/components/toon/__init__.py | 2 +- homeassistant/components/toon/binary_sensor.py | 2 +- homeassistant/components/toon/climate.py | 2 +- homeassistant/components/toon/sensor.py | 2 +- homeassistant/components/torque/sensor.py | 2 +- homeassistant/components/totalconnect/alarm_control_panel.py | 2 +- homeassistant/components/touchline/climate.py | 2 +- homeassistant/components/tplink/__init__.py | 2 +- homeassistant/components/tplink/device_tracker.py | 2 +- homeassistant/components/tplink/light.py | 2 +- homeassistant/components/tplink/switch.py | 2 +- homeassistant/components/tplink_lte/__init__.py | 2 +- homeassistant/components/tplink_lte/notify.py | 2 +- homeassistant/components/traccar/device_tracker.py | 2 +- homeassistant/components/trackr/device_tracker.py | 2 +- homeassistant/components/tradfri/__init__.py | 2 +- homeassistant/components/tradfri/light.py | 2 +- homeassistant/components/tradfri/sensor.py | 2 +- homeassistant/components/tradfri/switch.py | 2 +- .../components/trafikverket_weatherstation/sensor.py | 2 +- homeassistant/components/transmission/__init__.py | 2 +- homeassistant/components/transmission/sensor.py | 2 +- homeassistant/components/transmission/switch.py | 2 +- homeassistant/components/transport_nsw/sensor.py | 2 +- homeassistant/components/travisci/sensor.py | 2 +- homeassistant/components/trend/binary_sensor.py | 2 +- homeassistant/components/tts/__init__.py | 4 ++-- homeassistant/components/tuya/__init__.py | 2 +- homeassistant/components/tuya/climate.py | 2 +- homeassistant/components/tuya/cover.py | 2 +- homeassistant/components/tuya/fan.py | 2 +- homeassistant/components/tuya/light.py | 2 +- homeassistant/components/tuya/scene.py | 2 +- homeassistant/components/tuya/switch.py | 2 +- homeassistant/components/twilio/__init__.py | 4 ++-- homeassistant/components/twilio_call/notify.py | 2 +- homeassistant/components/twilio_sms/notify.py | 2 +- homeassistant/components/twitch/sensor.py | 2 +- homeassistant/components/twitter/notify.py | 2 +- homeassistant/components/ubee/device_tracker.py | 2 +- homeassistant/components/uber/sensor.py | 2 +- homeassistant/components/unifi/__init__.py | 2 +- homeassistant/components/unifi/device_tracker.py | 2 +- homeassistant/components/unifi/switch.py | 2 +- homeassistant/components/unifi_direct/device_tracker.py | 2 +- homeassistant/components/upc_connect/device_tracker.py | 2 +- homeassistant/components/upcloud/__init__.py | 2 +- homeassistant/components/upcloud/binary_sensor.py | 2 +- homeassistant/components/upcloud/switch.py | 2 +- homeassistant/components/updater/__init__.py | 2 +- homeassistant/components/upnp/__init__.py | 2 +- homeassistant/components/upnp/sensor.py | 2 +- homeassistant/components/ups/sensor.py | 2 +- homeassistant/components/uptimerobot/binary_sensor.py | 2 +- homeassistant/components/uscis/sensor.py | 2 +- .../components/usgs_earthquakes_feed/geo_location.py | 2 +- homeassistant/components/usps/__init__.py | 2 +- homeassistant/components/usps/camera.py | 2 +- homeassistant/components/usps/sensor.py | 2 +- homeassistant/components/uvc/camera.py | 2 +- homeassistant/components/vacuum/__init__.py | 2 +- homeassistant/components/vasttrafik/sensor.py | 2 +- homeassistant/components/velbus/__init__.py | 2 +- homeassistant/components/velbus/binary_sensor.py | 2 +- homeassistant/components/velbus/climate.py | 2 +- homeassistant/components/velbus/cover.py | 2 +- homeassistant/components/velbus/sensor.py | 2 +- homeassistant/components/velbus/switch.py | 2 +- homeassistant/components/velux/__init__.py | 2 +- homeassistant/components/velux/cover.py | 2 +- homeassistant/components/velux/scene.py | 2 +- homeassistant/components/venstar/climate.py | 2 +- homeassistant/components/vera/__init__.py | 2 +- homeassistant/components/vera/binary_sensor.py | 2 +- homeassistant/components/vera/climate.py | 2 +- homeassistant/components/vera/cover.py | 2 +- homeassistant/components/vera/light.py | 2 +- homeassistant/components/vera/lock.py | 2 +- homeassistant/components/vera/scene.py | 2 +- homeassistant/components/vera/sensor.py | 2 +- homeassistant/components/vera/switch.py | 2 +- homeassistant/components/verisure/__init__.py | 2 +- homeassistant/components/version/sensor.py | 2 +- homeassistant/components/vesync/switch.py | 2 +- homeassistant/components/vizio/media_player.py | 2 +- homeassistant/components/vlc/media_player.py | 2 +- homeassistant/components/volkszaehler/sensor.py | 2 +- homeassistant/components/volvooncall/__init__.py | 2 +- homeassistant/components/vultr/__init__.py | 2 +- homeassistant/components/vultr/binary_sensor.py | 2 +- homeassistant/components/vultr/sensor.py | 2 +- homeassistant/components/vultr/switch.py | 2 +- homeassistant/components/w800rf32/__init__.py | 2 +- homeassistant/components/w800rf32/binary_sensor.py | 2 +- homeassistant/components/wake_on_lan/__init__.py | 2 +- homeassistant/components/wake_on_lan/switch.py | 2 +- homeassistant/components/waqi/sensor.py | 2 +- homeassistant/components/waterfurnace/__init__.py | 2 +- homeassistant/components/watson_iot/__init__.py | 2 +- homeassistant/components/waze_travel_time/sensor.py | 2 +- homeassistant/components/webhook/__init__.py | 2 +- homeassistant/components/webostv/media_player.py | 2 +- homeassistant/components/webostv/notify.py | 2 +- homeassistant/components/wemo/__init__.py | 2 +- homeassistant/components/wemo/binary_sensor.py | 2 +- homeassistant/components/wemo/fan.py | 2 +- homeassistant/components/wemo/light.py | 2 +- homeassistant/components/wemo/switch.py | 2 +- homeassistant/components/whois/sensor.py | 2 +- homeassistant/components/wink/__init__.py | 2 +- homeassistant/components/wink/alarm_control_panel.py | 2 +- homeassistant/components/wink/binary_sensor.py | 2 +- homeassistant/components/wink/climate.py | 2 +- homeassistant/components/wink/cover.py | 2 +- homeassistant/components/wink/fan.py | 2 +- homeassistant/components/wink/light.py | 2 +- homeassistant/components/wink/lock.py | 2 +- homeassistant/components/wink/scene.py | 2 +- homeassistant/components/wink/sensor.py | 2 +- homeassistant/components/wink/switch.py | 2 +- homeassistant/components/wirelesstag/__init__.py | 2 +- homeassistant/components/wirelesstag/binary_sensor.py | 2 +- homeassistant/components/wirelesstag/sensor.py | 2 +- homeassistant/components/wirelesstag/switch.py | 2 +- homeassistant/components/workday/binary_sensor.py | 2 +- homeassistant/components/wunderlist/__init__.py | 2 +- homeassistant/components/xbox_live/sensor.py | 2 +- homeassistant/components/xeoma/camera.py | 2 +- homeassistant/components/xfinity/device_tracker.py | 2 +- homeassistant/components/xiaomi/camera.py | 2 +- homeassistant/components/xiaomi_aqara/__init__.py | 2 +- homeassistant/components/xiaomi_miio/device_tracker.py | 2 +- homeassistant/components/xiaomi_miio/fan.py | 2 +- homeassistant/components/xiaomi_miio/light.py | 2 +- homeassistant/components/xiaomi_miio/remote.py | 2 +- homeassistant/components/xiaomi_miio/sensor.py | 2 +- homeassistant/components/xiaomi_miio/switch.py | 2 +- homeassistant/components/xiaomi_miio/vacuum.py | 2 +- homeassistant/components/xiaomi_tv/media_player.py | 2 +- homeassistant/components/xmpp/notify.py | 2 +- homeassistant/components/xs1/__init__.py | 2 +- homeassistant/components/xs1/climate.py | 2 +- homeassistant/components/xs1/sensor.py | 2 +- homeassistant/components/xs1/switch.py | 2 +- .../components/yale_smart_alarm/alarm_control_panel.py | 2 +- homeassistant/components/yamaha/media_player.py | 2 +- homeassistant/components/yamaha_musiccast/media_player.py | 2 +- homeassistant/components/yeelight/__init__.py | 2 +- homeassistant/components/yeelight/binary_sensor.py | 2 +- homeassistant/components/yeelight/light.py | 2 +- homeassistant/components/yeelightsunflower/light.py | 2 +- homeassistant/components/yessssms/notify.py | 2 +- homeassistant/components/yi/camera.py | 4 ++-- homeassistant/components/yr/sensor.py | 2 +- homeassistant/components/yweather/sensor.py | 2 +- homeassistant/components/yweather/weather.py | 2 +- homeassistant/components/zabbix/__init__.py | 2 +- homeassistant/components/zabbix/sensor.py | 2 +- homeassistant/components/zengge/light.py | 2 +- homeassistant/components/zeroconf/__init__.py | 4 ++-- homeassistant/components/zestimate/sensor.py | 2 +- homeassistant/components/zha/binary_sensor.py | 2 +- homeassistant/components/zha/fan.py | 2 +- homeassistant/components/zha/light.py | 2 +- homeassistant/components/zha/sensor.py | 2 +- homeassistant/components/zha/switch.py | 2 +- homeassistant/components/zhong_hong/climate.py | 2 +- homeassistant/components/zigbee/__init__.py | 2 +- homeassistant/components/zigbee/binary_sensor.py | 2 +- homeassistant/components/zigbee/light.py | 2 +- homeassistant/components/zigbee/sensor.py | 2 +- homeassistant/components/zigbee/switch.py | 4 ++-- homeassistant/components/ziggo_mediabox_xl/media_player.py | 2 +- homeassistant/components/zoneminder/__init__.py | 2 +- homeassistant/components/zoneminder/binary_sensor.py | 2 +- homeassistant/components/zoneminder/camera.py | 2 +- homeassistant/components/zoneminder/sensor.py | 2 +- homeassistant/components/zoneminder/switch.py | 2 +- homeassistant/components/zwave/__init__.py | 2 +- 1144 files changed, 1173 insertions(+), 1173 deletions(-) diff --git a/homeassistant/components/abode/__init__.py b/homeassistant/components/abode/__init__.py index 957b2510d517e0..591bae1a9cf665 100644 --- a/homeassistant/components/abode/__init__.py +++ b/homeassistant/components/abode/__init__.py @@ -13,7 +13,7 @@ from homeassistant.helpers import discovery from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['abodepy==0.15.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/abode/alarm_control_panel.py b/homeassistant/components/abode/alarm_control_panel.py index 4c5aa15aa13e41..d7426e04166dc5 100644 --- a/homeassistant/components/abode/alarm_control_panel.py +++ b/homeassistant/components/abode/alarm_control_panel.py @@ -8,7 +8,7 @@ from . import ATTRIBUTION, DOMAIN as ABODE_DOMAIN, AbodeDevice - +DEPENDENCIES = ['abode'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/abode/binary_sensor.py b/homeassistant/components/abode/binary_sensor.py index bb3ada245030d0..874723420ed811 100644 --- a/homeassistant/components/abode/binary_sensor.py +++ b/homeassistant/components/abode/binary_sensor.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['abode'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/abode/camera.py b/homeassistant/components/abode/camera.py index 51d795f09ed60e..d37644eccc397e 100644 --- a/homeassistant/components/abode/camera.py +++ b/homeassistant/components/abode/camera.py @@ -9,7 +9,7 @@ from . import DOMAIN as ABODE_DOMAIN, AbodeDevice - +DEPENDENCIES = ['abode'] MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=90) diff --git a/homeassistant/components/abode/cover.py b/homeassistant/components/abode/cover.py index b979bd3b2eb4c3..c40159164dc4db 100644 --- a/homeassistant/components/abode/cover.py +++ b/homeassistant/components/abode/cover.py @@ -5,7 +5,7 @@ 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 728ec6c64bcd64..9e88acce41f053 100644 --- a/homeassistant/components/abode/light.py +++ b/homeassistant/components/abode/light.py @@ -10,7 +10,7 @@ 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 eec1c6f009185e..0f568a4ace2492 100644 --- a/homeassistant/components/abode/lock.py +++ b/homeassistant/components/abode/lock.py @@ -5,7 +5,7 @@ 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 40d83676333ad6..ef6941c76d8b5f 100644 --- a/homeassistant/components/abode/sensor.py +++ b/homeassistant/components/abode/sensor.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['abode'] # Sensor types: Name, icon SENSOR_TYPES = { diff --git a/homeassistant/components/abode/switch.py b/homeassistant/components/abode/switch.py index 9a0e4c5c12309a..3e3ce031855fd0 100644 --- a/homeassistant/components/abode/switch.py +++ b/homeassistant/components/abode/switch.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['abode'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/acer_projector/switch.py b/homeassistant/components/acer_projector/switch.py index a9e4ef46b6f1f1..df6fb8816aae47 100644 --- a/homeassistant/components/acer_projector/switch.py +++ b/homeassistant/components/acer_projector/switch.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/ads/__init__.py b/homeassistant/components/ads/__init__.py index 4930e315ac5632..92c6ecb3335147 100644 --- a/homeassistant/components/ads/__init__.py +++ b/homeassistant/components/ads/__init__.py @@ -14,7 +14,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['pyads==3.0.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ads/binary_sensor.py b/homeassistant/components/ads/binary_sensor.py index 0a50ba6b20fa1f..baa44cb498fe04 100644 --- a/homeassistant/components/ads/binary_sensor.py +++ b/homeassistant/components/ads/binary_sensor.py @@ -13,7 +13,7 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'ADS binary sensor' - +DEPENDENCIES = ['ads'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADS_VAR): cv.string, diff --git a/homeassistant/components/ads/light.py b/homeassistant/components/ads/light.py index c808b54ca8ad13..49961565dced77 100644 --- a/homeassistant/components/ads/light.py +++ b/homeassistant/components/ads/light.py @@ -12,7 +12,7 @@ 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 5a313e6ba97060..e74b8753d4b042 100644 --- a/homeassistant/components/ads/sensor.py +++ b/homeassistant/components/ads/sensor.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = "ADS sensor" - +DEPENDENCIES = ['ads'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADS_VAR): cv.string, diff --git a/homeassistant/components/ads/switch.py b/homeassistant/components/ads/switch.py index 6b86f208a4cb35..0dfbeb811a068b 100644 --- a/homeassistant/components/ads/switch.py +++ b/homeassistant/components/ads/switch.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['ads'] DEFAULT_NAME = 'ADS Switch' diff --git a/homeassistant/components/aftership/sensor.py b/homeassistant/components/aftership/sensor.py index 9e367d316f74e6..18bc3cb34304bc 100644 --- a/homeassistant/components/aftership/sensor.py +++ b/homeassistant/components/aftership/sensor.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['pyaftership==0.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/airvisual/sensor.py b/homeassistant/components/airvisual/sensor.py index 563784e634e5df..7fad7bb35be0ec 100644 --- a/homeassistant/components/airvisual/sensor.py +++ b/homeassistant/components/airvisual/sensor.py @@ -13,7 +13,7 @@ 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 8156565a59f071..01146fecbb667c 100644 --- a/homeassistant/components/aladdin_connect/cover.py +++ b/homeassistant/components/aladdin_connect/cover.py @@ -9,7 +9,7 @@ STATE_OPENING, STATE_CLOSING, STATE_OPEN) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['aladdin_connect==0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/alarmdecoder/__init__.py b/homeassistant/components/alarmdecoder/__init__.py index 366a6f48b7955b..5b1296b39de2c3 100644 --- a/homeassistant/components/alarmdecoder/__init__.py +++ b/homeassistant/components/alarmdecoder/__init__.py @@ -10,7 +10,7 @@ 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__) diff --git a/homeassistant/components/alarmdecoder/alarm_control_panel.py b/homeassistant/components/alarmdecoder/alarm_control_panel.py index 3ab1f72981324e..d7eced933ddbd1 100644 --- a/homeassistant/components/alarmdecoder/alarm_control_panel.py +++ b/homeassistant/components/alarmdecoder/alarm_control_panel.py @@ -13,7 +13,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['alarmdecoder'] SERVICE_ALARM_TOGGLE_CHIME = 'alarmdecoder_alarm_toggle_chime' ALARM_TOGGLE_CHIME_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/alarmdecoder/binary_sensor.py b/homeassistant/components/alarmdecoder/binary_sensor.py index 727dd976cef7c2..09e63b4d664348 100644 --- a/homeassistant/components/alarmdecoder/binary_sensor.py +++ b/homeassistant/components/alarmdecoder/binary_sensor.py @@ -8,7 +8,7 @@ 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__) diff --git a/homeassistant/components/alarmdecoder/sensor.py b/homeassistant/components/alarmdecoder/sensor.py index 5b92b15d9557dd..88371dad17a345 100644 --- a/homeassistant/components/alarmdecoder/sensor.py +++ b/homeassistant/components/alarmdecoder/sensor.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['alarmdecoder'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/alarmdotcom/alarm_control_panel.py b/homeassistant/components/alarmdotcom/alarm_control_panel.py index 88f38ed0ebcf0b..ea581aca747fc8 100644 --- a/homeassistant/components/alarmdotcom/alarm_control_panel.py +++ b/homeassistant/components/alarmdotcom/alarm_control_panel.py @@ -12,7 +12,7 @@ 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__) diff --git a/homeassistant/components/alexa/__init__.py b/homeassistant/components/alexa/__init__.py index 9422d08e062dde..062d698d5122a8 100644 --- a/homeassistant/components/alexa/__init__.py +++ b/homeassistant/components/alexa/__init__.py @@ -17,7 +17,7 @@ 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, diff --git a/homeassistant/components/alpha_vantage/sensor.py b/homeassistant/components/alpha_vantage/sensor.py index f28cbb8f4f134b..0eb57e5b27aeee 100644 --- a/homeassistant/components/alpha_vantage/sensor.py +++ b/homeassistant/components/alpha_vantage/sensor.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['alpha_vantage==2.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/amazon_polly/tts.py b/homeassistant/components/amazon_polly/tts.py index 606135ef0b6b95..d29ae32fb5723f 100644 --- a/homeassistant/components/amazon_polly/tts.py +++ b/homeassistant/components/amazon_polly/tts.py @@ -6,7 +6,7 @@ from homeassistant.components.tts import PLATFORM_SCHEMA, Provider import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['boto3==1.9.16'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ambient_station/__init__.py b/homeassistant/components/ambient_station/__init__.py index 1287911f357889..944d4e14e7d26d 100644 --- a/homeassistant/components/ambient_station/__init__.py +++ b/homeassistant/components/ambient_station/__init__.py @@ -20,7 +20,7 @@ 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__) diff --git a/homeassistant/components/ambient_station/binary_sensor.py b/homeassistant/components/ambient_station/binary_sensor.py index 4ea3abf47b2d67..04a38901683d94 100644 --- a/homeassistant/components/ambient_station/binary_sensor.py +++ b/homeassistant/components/ambient_station/binary_sensor.py @@ -12,7 +12,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['ambient_station'] async def async_setup_platform( diff --git a/homeassistant/components/ambient_station/sensor.py b/homeassistant/components/ambient_station/sensor.py index 416088c02a6382..b394dc558e63c6 100644 --- a/homeassistant/components/ambient_station/sensor.py +++ b/homeassistant/components/ambient_station/sensor.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['ambient_station'] async def async_setup_platform( diff --git a/homeassistant/components/amcrest/__init__.py b/homeassistant/components/amcrest/__init__.py index c69b404b011cf2..a4c020efcdfa13 100644 --- a/homeassistant/components/amcrest/__init__.py +++ b/homeassistant/components/amcrest/__init__.py @@ -12,8 +12,8 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv - - +REQUIREMENTS = ['amcrest==1.3.0'] +DEPENDENCIES = ['ffmpeg'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/amcrest/binary_sensor.py b/homeassistant/components/amcrest/binary_sensor.py index d339c4dac83760..113918ed041c3e 100644 --- a/homeassistant/components/amcrest/binary_sensor.py +++ b/homeassistant/components/amcrest/binary_sensor.py @@ -7,7 +7,7 @@ from homeassistant.const import CONF_NAME, CONF_BINARY_SENSORS from . import DATA_AMCREST, BINARY_SENSORS - +DEPENDENCIES = ['amcrest'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/amcrest/camera.py b/homeassistant/components/amcrest/camera.py index 98ef9fa15acb00..f361c4e0183e6b 100644 --- a/homeassistant/components/amcrest/camera.py +++ b/homeassistant/components/amcrest/camera.py @@ -12,7 +12,7 @@ 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 2ca1c45767b2a8..119520e6a03b5e 100644 --- a/homeassistant/components/amcrest/sensor.py +++ b/homeassistant/components/amcrest/sensor.py @@ -7,7 +7,7 @@ from . import DATA_AMCREST, SENSORS - +DEPENDENCIES = ['amcrest'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/amcrest/switch.py b/homeassistant/components/amcrest/switch.py index 5fe89b37ef652e..0bbd290b3ac253 100644 --- a/homeassistant/components/amcrest/switch.py +++ b/homeassistant/components/amcrest/switch.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['amcrest'] async def async_setup_platform( diff --git a/homeassistant/components/ampio/air_quality.py b/homeassistant/components/ampio/air_quality.py index 9ba9652607cdfa..f7aa98aec7c27c 100644 --- a/homeassistant/components/ampio/air_quality.py +++ b/homeassistant/components/ampio/air_quality.py @@ -11,7 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle - +REQUIREMENTS = ['asmog==0.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/android_ip_webcam/__init__.py b/homeassistant/components/android_ip_webcam/__init__.py index d78b1a7f1ceb90..600efd55a16a1d 100644 --- a/homeassistant/components/android_ip_webcam/__init__.py +++ b/homeassistant/components/android_ip_webcam/__init__.py @@ -21,7 +21,7 @@ from homeassistant.components.mjpeg.camera import ( CONF_MJPEG_URL, CONF_STILL_IMAGE_URL) - +REQUIREMENTS = ['pydroid-ipcam==0.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/android_ip_webcam/binary_sensor.py b/homeassistant/components/android_ip_webcam/binary_sensor.py index 8832b62be44d00..c058c44c5034e1 100644 --- a/homeassistant/components/android_ip_webcam/binary_sensor.py +++ b/homeassistant/components/android_ip_webcam/binary_sensor.py @@ -3,7 +3,7 @@ from . import CONF_HOST, CONF_NAME, DATA_IP_WEBCAM, KEY_MAP, AndroidIPCamEntity - +DEPENDENCIES = ['android_ip_webcam'] async def async_setup_platform( diff --git a/homeassistant/components/android_ip_webcam/sensor.py b/homeassistant/components/android_ip_webcam/sensor.py index 72475962cec771..4d29493d64fba7 100644 --- a/homeassistant/components/android_ip_webcam/sensor.py +++ b/homeassistant/components/android_ip_webcam/sensor.py @@ -5,7 +5,7 @@ CONF_HOST, CONF_NAME, CONF_SENSORS, DATA_IP_WEBCAM, ICON_MAP, KEY_MAP, AndroidIPCamEntity) - +DEPENDENCIES = ['android_ip_webcam'] async def async_setup_platform( diff --git a/homeassistant/components/android_ip_webcam/switch.py b/homeassistant/components/android_ip_webcam/switch.py index 3c0792688bedcd..0304c5747f71ae 100644 --- a/homeassistant/components/android_ip_webcam/switch.py +++ b/homeassistant/components/android_ip_webcam/switch.py @@ -5,7 +5,7 @@ CONF_HOST, CONF_NAME, CONF_SWITCHES, DATA_IP_WEBCAM, ICON_MAP, KEY_MAP, AndroidIPCamEntity) - +DEPENDENCIES = ['android_ip_webcam'] async def async_setup_platform( diff --git a/homeassistant/components/androidtv/media_player.py b/homeassistant/components/androidtv/media_player.py index e3f7538da1c7cd..706ef6f8402430 100644 --- a/homeassistant/components/androidtv/media_player.py +++ b/homeassistant/components/androidtv/media_player.py @@ -18,7 +18,7 @@ ANDROIDTV_DOMAIN = 'androidtv' - +REQUIREMENTS = ['androidtv==0.0.15'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/anel_pwrctrl/switch.py b/homeassistant/components/anel_pwrctrl/switch.py index 244b6394fa2f8e..b9b3070b97e737 100644 --- a/homeassistant/components/anel_pwrctrl/switch.py +++ b/homeassistant/components/anel_pwrctrl/switch.py @@ -10,7 +10,7 @@ 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__) diff --git a/homeassistant/components/anthemav/media_player.py b/homeassistant/components/anthemav/media_player.py index 03a51ac85175c1..c7ee579bc17cb0 100644 --- a/homeassistant/components/anthemav/media_player.py +++ b/homeassistant/components/anthemav/media_player.py @@ -13,7 +13,7 @@ STATE_ON) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['anthemav==1.1.10'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/apcupsd/__init__.py b/homeassistant/components/apcupsd/__init__.py index bc73918b3343bf..aab6f6dda018c6 100644 --- a/homeassistant/components/apcupsd/__init__.py +++ b/homeassistant/components/apcupsd/__init__.py @@ -8,7 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle - +REQUIREMENTS = ['apcaccess==0.0.13'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/apcupsd/binary_sensor.py b/homeassistant/components/apcupsd/binary_sensor.py index 08bcd9918ad532..445dab9b0744a0 100644 --- a/homeassistant/components/apcupsd/binary_sensor.py +++ b/homeassistant/components/apcupsd/binary_sensor.py @@ -8,7 +8,7 @@ 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 594003414d12a1..09f9b324bdd863 100644 --- a/homeassistant/components/apcupsd/sensor.py +++ b/homeassistant/components/apcupsd/sensor.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = [apcupsd.DOMAIN] SENSOR_PREFIX = 'UPS ' SENSOR_TYPES = { diff --git a/homeassistant/components/api/__init__.py b/homeassistant/components/api/__init__.py index 61a5cd70c45f1d..beba17ee2ea03b 100644 --- a/homeassistant/components/api/__init__.py +++ b/homeassistant/components/api/__init__.py @@ -33,7 +33,7 @@ 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 8e4d7d1f8b1516..d7f6559fe7eaad 100644 --- a/homeassistant/components/apns/notify.py +++ b/homeassistant/components/apns/notify.py @@ -13,7 +13,7 @@ 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' diff --git a/homeassistant/components/apple_tv/__init__.py b/homeassistant/components/apple_tv/__init__.py index 12b9203729c43d..b265dc533eb85c 100644 --- a/homeassistant/components/apple_tv/__init__.py +++ b/homeassistant/components/apple_tv/__init__.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/apple_tv/media_player.py b/homeassistant/components/apple_tv/media_player.py index b285ca86c61188..e00ce6ed13bcd2 100644 --- a/homeassistant/components/apple_tv/media_player.py +++ b/homeassistant/components/apple_tv/media_player.py @@ -14,7 +14,7 @@ from . import ATTR_ATV, ATTR_POWER, DATA_APPLE_TV, DATA_ENTITIES - +DEPENDENCIES = ['apple_tv'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/apple_tv/remote.py b/homeassistant/components/apple_tv/remote.py index 439d7def3715da..25b500ac09d6ea 100644 --- a/homeassistant/components/apple_tv/remote.py +++ b/homeassistant/components/apple_tv/remote.py @@ -4,7 +4,7 @@ from . import ATTR_ATV, ATTR_POWER, DATA_APPLE_TV - +DEPENDENCIES = ['apple_tv'] async def async_setup_platform( diff --git a/homeassistant/components/aqualogic/__init__.py b/homeassistant/components/aqualogic/__init__.py index 91f985c4a0eb21..a4f83b573f73b7 100644 --- a/homeassistant/components/aqualogic/__init__.py +++ b/homeassistant/components/aqualogic/__init__.py @@ -11,7 +11,7 @@ EVENT_HOMEASSISTANT_STOP) from homeassistant.helpers import config_validation as cv - +REQUIREMENTS = ["aqualogic==1.0"] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/aqualogic/sensor.py b/homeassistant/components/aqualogic/sensor.py index 422db6bb02d5d7..dc06a2127e941d 100644 --- a/homeassistant/components/aqualogic/sensor.py +++ b/homeassistant/components/aqualogic/sensor.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['aqualogic'] TEMP_UNITS = [TEMP_CELSIUS, TEMP_FAHRENHEIT] PERCENT_UNITS = ['%', '%'] diff --git a/homeassistant/components/aqualogic/switch.py b/homeassistant/components/aqualogic/switch.py index 1fffadab3b87c1..21e573f944b6d2 100644 --- a/homeassistant/components/aqualogic/switch.py +++ b/homeassistant/components/aqualogic/switch.py @@ -10,7 +10,7 @@ from . import DOMAIN, UPDATE_TOPIC - +DEPENDENCIES = ['aqualogic'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/aquostv/media_player.py b/homeassistant/components/aquostv/media_player.py index c90f798180edb1..0ffe48d21ec61f 100644 --- a/homeassistant/components/aquostv/media_player.py +++ b/homeassistant/components/aquostv/media_player.py @@ -15,7 +15,7 @@ CONF_USERNAME, STATE_OFF, STATE_ON) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['sharp_aquos_rc==0.3.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/arduino/__init__.py b/homeassistant/components/arduino/__init__.py index dc59cb652e6fb6..351122e74f0e0f 100644 --- a/homeassistant/components/arduino/__init__.py +++ b/homeassistant/components/arduino/__init__.py @@ -8,7 +8,7 @@ from homeassistant.const import CONF_PORT import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['PyMata==2.14'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/arduino/sensor.py b/homeassistant/components/arduino/sensor.py index 9013edfa641bd3..ff758ea58470b5 100644 --- a/homeassistant/components/arduino/sensor.py +++ b/homeassistant/components/arduino/sensor.py @@ -14,7 +14,7 @@ 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 eae61f0ee91258..947c5188766cd1 100644 --- a/homeassistant/components/arduino/switch.py +++ b/homeassistant/components/arduino/switch.py @@ -8,7 +8,7 @@ from homeassistant.const import CONF_NAME import homeassistant.helpers.config_validation as cv - +DEPENDENCIES = ['arduino'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/arlo/__init__.py b/homeassistant/components/arlo/__init__.py index c370600e9ca1b9..cbb720778e5e7e 100644 --- a/homeassistant/components/arlo/__init__.py +++ b/homeassistant/components/arlo/__init__.py @@ -11,7 +11,7 @@ from homeassistant.helpers.event import track_time_interval from homeassistant.helpers.dispatcher import dispatcher_send - +REQUIREMENTS = ['pyarlo==0.2.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/arlo/alarm_control_panel.py b/homeassistant/components/arlo/alarm_control_panel.py index aeebd46a9f1693..3557ed125c6cda 100644 --- a/homeassistant/components/arlo/alarm_control_panel.py +++ b/homeassistant/components/arlo/alarm_control_panel.py @@ -22,7 +22,7 @@ CONF_AWAY_MODE_NAME = 'away_mode_name' CONF_NIGHT_MODE_NAME = 'night_mode_name' - +DEPENDENCIES = ['arlo'] DISARMED = 'disarmed' diff --git a/homeassistant/components/arlo/camera.py b/homeassistant/components/arlo/camera.py index 918c2e0a71de5a..d4b00f0062503a 100644 --- a/homeassistant/components/arlo/camera.py +++ b/homeassistant/components/arlo/camera.py @@ -13,7 +13,7 @@ from . import DATA_ARLO, DEFAULT_BRAND, SIGNAL_UPDATE_ARLO - +DEPENDENCIES = ['arlo', 'ffmpeg'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/arlo/sensor.py b/homeassistant/components/arlo/sensor.py index 5b6f33eb89dc6a..e08669eb80b60e 100644 --- a/homeassistant/components/arlo/sensor.py +++ b/homeassistant/components/arlo/sensor.py @@ -17,7 +17,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['arlo'] # sensor_type [ description, unit, icon ] SENSOR_TYPES = { diff --git a/homeassistant/components/aruba/device_tracker.py b/homeassistant/components/aruba/device_tracker.py index c4b03f4de8e0e7..ed1fee25a6c837 100644 --- a/homeassistant/components/aruba/device_tracker.py +++ b/homeassistant/components/aruba/device_tracker.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['pexpect==4.6.0'] _DEVICES_REGEX = re.compile( r'(?P([^\s]+)?)\s+' + diff --git a/homeassistant/components/arwn/sensor.py b/homeassistant/components/arwn/sensor.py index 602d106ff4d839..aef43c4b401556 100644 --- a/homeassistant/components/arwn/sensor.py +++ b/homeassistant/components/arwn/sensor.py @@ -10,7 +10,7 @@ _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 d2a04c3d9a3c27..db5d4e8d6eef12 100644 --- a/homeassistant/components/asterisk_cdr/mailbox.py +++ b/homeassistant/components/asterisk_cdr/mailbox.py @@ -11,7 +11,7 @@ _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 9d0f79ef278caf..d8d3b194cd7f16 100644 --- a/homeassistant/components/asterisk_mbox/__init__.py +++ b/homeassistant/components/asterisk_mbox/__init__.py @@ -10,7 +10,7 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_send, dispatcher_connect) - +REQUIREMENTS = ['asterisk_mbox==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/asterisk_mbox/mailbox.py b/homeassistant/components/asterisk_mbox/mailbox.py index f5e82f55f89ff1..a3e7c3f4d61c13 100644 --- a/homeassistant/components/asterisk_mbox/mailbox.py +++ b/homeassistant/components/asterisk_mbox/mailbox.py @@ -10,7 +10,7 @@ _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 a862383e94515c..9b004b5bc04fc4 100644 --- a/homeassistant/components/asuswrt/__init__.py +++ b/homeassistant/components/asuswrt/__init__.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/asuswrt/device_tracker.py b/homeassistant/components/asuswrt/device_tracker.py index 837c5a02b068cf..d115e640ffa863 100644 --- a/homeassistant/components/asuswrt/device_tracker.py +++ b/homeassistant/components/asuswrt/device_tracker.py @@ -5,7 +5,7 @@ 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 650b1eb27ca41d..ac80a447e28716 100644 --- a/homeassistant/components/asuswrt/sensor.py +++ b/homeassistant/components/asuswrt/sensor.py @@ -5,7 +5,7 @@ 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 cbdf6be583da86..8e749dca46e5f7 100644 --- a/homeassistant/components/august/__init__.py +++ b/homeassistant/components/august/__init__.py @@ -15,7 +15,7 @@ _CONFIGURING = {} - +REQUIREMENTS = ['py-august==0.7.0'] DEFAULT_TIMEOUT = 10 ACTIVITY_FETCH_LIMIT = 10 diff --git a/homeassistant/components/august/binary_sensor.py b/homeassistant/components/august/binary_sensor.py index c223d8ecaac8cf..3a69d41177d6c5 100644 --- a/homeassistant/components/august/binary_sensor.py +++ b/homeassistant/components/august/binary_sensor.py @@ -8,7 +8,7 @@ _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 251dbc95604328..53a9d78bc60419 100644 --- a/homeassistant/components/august/camera.py +++ b/homeassistant/components/august/camera.py @@ -7,7 +7,7 @@ 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 243cb49706ba0f..e112eaa2592c31 100644 --- a/homeassistant/components/august/lock.py +++ b/homeassistant/components/august/lock.py @@ -9,7 +9,7 @@ _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 3d5a9b9256488c..d0157158aca6b2 100644 --- a/homeassistant/components/auth/__init__.py +++ b/homeassistant/components/auth/__init__.py @@ -138,7 +138,7 @@ 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({ diff --git a/homeassistant/components/automatic/device_tracker.py b/homeassistant/components/automatic/device_tracker.py index afb4a5e74fcda4..8abd81e63bea6d 100644 --- a/homeassistant/components/automatic/device_tracker.py +++ b/homeassistant/components/automatic/device_tracker.py @@ -18,7 +18,7 @@ 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__) @@ -34,7 +34,7 @@ DATA_REFRESH_TOKEN = 'refresh_token' DEFAULT_SCOPE = ['location', 'trip', 'vehicle:events', 'vehicle:profile'] DEFAULT_TIMEOUT = 5 - +DEPENDENCIES = ['http'] EVENT_AUTOMATIC_UPDATE = 'automatic_update' diff --git a/homeassistant/components/automation/__init__.py b/homeassistant/components/automation/__init__.py index 26aa65f2128067..b1470582d59232 100644 --- a/homeassistant/components/automation/__init__.py +++ b/homeassistant/components/automation/__init__.py @@ -21,7 +21,7 @@ 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 d5788db2d1a79a..20c689d74cf438 100644 --- a/homeassistant/components/automation/litejet.py +++ b/homeassistant/components/automation/litejet.py @@ -9,7 +9,7 @@ import homeassistant.util.dt as dt_util from homeassistant.helpers.event import track_point_in_utc_time - +DEPENDENCIES = ['litejet'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/automation/mqtt.py b/homeassistant/components/automation/mqtt.py index c5e8ce33e3c67c..ff89cd47024c16 100644 --- a/homeassistant/components/automation/mqtt.py +++ b/homeassistant/components/automation/mqtt.py @@ -8,7 +8,7 @@ from homeassistant.const import (CONF_PLATFORM, CONF_PAYLOAD) import homeassistant.helpers.config_validation as cv - +DEPENDENCIES = ['mqtt'] CONF_ENCODING = 'encoding' CONF_TOPIC = 'topic' diff --git a/homeassistant/components/avion/light.py b/homeassistant/components/avion/light.py index 0953258744391b..65172025b56b51 100644 --- a/homeassistant/components/avion/light.py +++ b/homeassistant/components/avion/light.py @@ -12,7 +12,7 @@ CONF_USERNAME) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['avion==0.10'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/awair/sensor.py b/homeassistant/components/awair/sensor.py index 627e65006af4d8..7fdcc6735495c1 100644 --- a/homeassistant/components/awair/sensor.py +++ b/homeassistant/components/awair/sensor.py @@ -15,7 +15,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle, dt - +REQUIREMENTS = ['python_awair==0.0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/aws/__init__.py b/homeassistant/components/aws/__init__.py index 0f8f82f3d2788a..a15e56e9de89cd 100644 --- a/homeassistant/components/aws/__init__.py +++ b/homeassistant/components/aws/__init__.py @@ -26,7 +26,7 @@ DOMAIN, ) - +REQUIREMENTS = ["aiobotocore==0.10.2"] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/aws/notify.py b/homeassistant/components/aws/notify.py index 8a02cd2375a085..48b80b64ce2ee6 100644 --- a/homeassistant/components/aws/notify.py +++ b/homeassistant/components/aws/notify.py @@ -21,7 +21,7 @@ DATA_SESSIONS, ) - +DEPENDENCIES = ["aws"] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/axis/__init__.py b/homeassistant/components/axis/__init__.py index c65a2b66fce690..e9ed37477a5a02 100644 --- a/homeassistant/components/axis/__init__.py +++ b/homeassistant/components/axis/__init__.py @@ -11,7 +11,7 @@ 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), diff --git a/homeassistant/components/axis/binary_sensor.py b/homeassistant/components/axis/binary_sensor.py index e734abbf5be5df..30e0e759a2cda3 100644 --- a/homeassistant/components/axis/binary_sensor.py +++ b/homeassistant/components/axis/binary_sensor.py @@ -11,7 +11,7 @@ from .const import DOMAIN as AXIS_DOMAIN, LOGGER - +DEPENDENCIES = [AXIS_DOMAIN] async def async_setup_entry(hass, config_entry, async_add_entities): diff --git a/homeassistant/components/axis/camera.py b/homeassistant/components/axis/camera.py index 7873cff301af09..62b694a99bb971 100644 --- a/homeassistant/components/axis/camera.py +++ b/homeassistant/components/axis/camera.py @@ -11,7 +11,7 @@ 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' diff --git a/homeassistant/components/baidu/tts.py b/homeassistant/components/baidu/tts.py index 7cc3080fac0cda..fbe27591ef535c 100644 --- a/homeassistant/components/baidu/tts.py +++ b/homeassistant/components/baidu/tts.py @@ -7,7 +7,7 @@ from homeassistant.const import CONF_API_KEY import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ["baidu-aip==1.6.6"] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bbb_gpio/__init__.py b/homeassistant/components/bbb_gpio/__init__.py index ed6cbba54f17a9..7749af8f335c48 100644 --- a/homeassistant/components/bbb_gpio/__init__.py +++ b/homeassistant/components/bbb_gpio/__init__.py @@ -4,7 +4,7 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) - +REQUIREMENTS = ['Adafruit_BBIO==1.0.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bbb_gpio/binary_sensor.py b/homeassistant/components/bbb_gpio/binary_sensor.py index af131306c40a54..1ee371dcc2a6ac 100644 --- a/homeassistant/components/bbb_gpio/binary_sensor.py +++ b/homeassistant/components/bbb_gpio/binary_sensor.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['bbb_gpio'] CONF_PINS = 'pins' CONF_BOUNCETIME = 'bouncetime' diff --git a/homeassistant/components/bbb_gpio/switch.py b/homeassistant/components/bbb_gpio/switch.py index 3bd6908b556c86..3ad46fd61aedfd 100644 --- a/homeassistant/components/bbb_gpio/switch.py +++ b/homeassistant/components/bbb_gpio/switch.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['bbb_gpio'] CONF_PINS = 'pins' CONF_INITIAL = 'initial' diff --git a/homeassistant/components/bbox/device_tracker.py b/homeassistant/components/bbox/device_tracker.py index d10e113a402d5c..badbcdc8a0bf56 100644 --- a/homeassistant/components/bbox/device_tracker.py +++ b/homeassistant/components/bbox/device_tracker.py @@ -12,7 +12,7 @@ from homeassistant.util import Throttle import homeassistant.util.dt as dt_util - +REQUIREMENTS = ['pybbox==0.0.5-alpha'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bbox/sensor.py b/homeassistant/components/bbox/sensor.py index b1880ac3a9431b..5b3c31d1ddf241 100644 --- a/homeassistant/components/bbox/sensor.py +++ b/homeassistant/components/bbox/sensor.py @@ -12,7 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['pybbox==0.0.5-alpha'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bitcoin/sensor.py b/homeassistant/components/bitcoin/sensor.py index d8e95582325ed5..3bc14637a87631 100644 --- a/homeassistant/components/bitcoin/sensor.py +++ b/homeassistant/components/bitcoin/sensor.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['blockchain==1.4.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/blackbird/media_player.py b/homeassistant/components/blackbird/media_player.py index c1f2d2660ed48c..c66bc412160f0e 100644 --- a/homeassistant/components/blackbird/media_player.py +++ b/homeassistant/components/blackbird/media_player.py @@ -14,7 +14,7 @@ STATE_ON) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pyblackbird==0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/blink/__init__.py b/homeassistant/components/blink/__init__.py index 9d779883fb0065..488209e3689fc3 100644 --- a/homeassistant/components/blink/__init__.py +++ b/homeassistant/components/blink/__init__.py @@ -10,7 +10,7 @@ CONF_BINARY_SENSORS, CONF_SENSORS, CONF_FILENAME, CONF_MONITORED_CONDITIONS, TEMP_FAHRENHEIT) - +REQUIREMENTS = ['blinkpy==0.13.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/blink/alarm_control_panel.py b/homeassistant/components/blink/alarm_control_panel.py index e5b49772dd550a..75e645dff5f3f9 100644 --- a/homeassistant/components/blink/alarm_control_panel.py +++ b/homeassistant/components/blink/alarm_control_panel.py @@ -9,7 +9,7 @@ _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 c058bb40ed3126..466b73caf5fd5a 100644 --- a/homeassistant/components/blink/binary_sensor.py +++ b/homeassistant/components/blink/binary_sensor.py @@ -4,7 +4,7 @@ from . import BINARY_SENSORS, BLINK_DATA - +DEPENDENCIES = ['blink'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/blink/camera.py b/homeassistant/components/blink/camera.py index 6fe3e81a319358..1da3080e3ff074 100644 --- a/homeassistant/components/blink/camera.py +++ b/homeassistant/components/blink/camera.py @@ -7,7 +7,7 @@ _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 bd9541112379da..0e97db9d7d410d 100644 --- a/homeassistant/components/blink/sensor.py +++ b/homeassistant/components/blink/sensor.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['blink'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/blinksticklight/light.py b/homeassistant/components/blinksticklight/light.py index 067ef122419351..0d4c7b736f3d3d 100644 --- a/homeassistant/components/blinksticklight/light.py +++ b/homeassistant/components/blinksticklight/light.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util - +REQUIREMENTS = ['blinkstick==1.1.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/blinkt/light.py b/homeassistant/components/blinkt/light.py index 86b5997141988d..57d19172614c9f 100644 --- a/homeassistant/components/blinkt/light.py +++ b/homeassistant/components/blinkt/light.py @@ -11,7 +11,7 @@ from homeassistant.const import CONF_NAME import homeassistant.util.color as color_util - +REQUIREMENTS = ['blinkt==0.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/blockchain/sensor.py b/homeassistant/components/blockchain/sensor.py index 3069265060a30a..def1dc3309f9a9 100644 --- a/homeassistant/components/blockchain/sensor.py +++ b/homeassistant/components/blockchain/sensor.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/bloomsky/binary_sensor.py b/homeassistant/components/bloomsky/binary_sensor.py index aa64179c6da984..c8763524de7631 100644 --- a/homeassistant/components/bloomsky/binary_sensor.py +++ b/homeassistant/components/bloomsky/binary_sensor.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['bloomsky'] SENSOR_TYPES = { 'Rain': 'moisture', diff --git a/homeassistant/components/bloomsky/camera.py b/homeassistant/components/bloomsky/camera.py index 350d9ed91f93a4..5cb2e1adfe16ba 100644 --- a/homeassistant/components/bloomsky/camera.py +++ b/homeassistant/components/bloomsky/camera.py @@ -5,7 +5,7 @@ from homeassistant.components.camera import Camera - +DEPENDENCIES = ['bloomsky'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/bloomsky/sensor.py b/homeassistant/components/bloomsky/sensor.py index 51645bb82ef6be..7e6847f0e7ec2e 100644 --- a/homeassistant/components/bloomsky/sensor.py +++ b/homeassistant/components/bloomsky/sensor.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['bloomsky'] # These are the available sensors SENSOR_TYPES = ['Temperature', diff --git a/homeassistant/components/bluesound/media_player.py b/homeassistant/components/bluesound/media_player.py index 16e4ea5775db21..c4cd3572e75c3b 100644 --- a/homeassistant/components/bluesound/media_player.py +++ b/homeassistant/components/bluesound/media_player.py @@ -29,7 +29,7 @@ from homeassistant.util import Throttle import homeassistant.util.dt as dt_util - +REQUIREMENTS = ['xmltodict==0.11.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bluetooth_le_tracker/device_tracker.py b/homeassistant/components/bluetooth_le_tracker/device_tracker.py index c8627ed91f38a8..dfb5fa073b93de 100644 --- a/homeassistant/components/bluetooth_le_tracker/device_tracker.py +++ b/homeassistant/components/bluetooth_le_tracker/device_tracker.py @@ -10,7 +10,7 @@ _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 5a92434b45a612..3a4aa8880012d1 100644 --- a/homeassistant/components/bluetooth_tracker/device_tracker.py +++ b/homeassistant/components/bluetooth_tracker/device_tracker.py @@ -13,7 +13,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['pybluez==0.22', 'bt_proximity==0.1.2'] BT_PREFIX = 'BT_' diff --git a/homeassistant/components/bmw_connected_drive/__init__.py b/homeassistant/components/bmw_connected_drive/__init__.py index f5c771b1e2582c..e1ac30120d2115 100644 --- a/homeassistant/components/bmw_connected_drive/__init__.py +++ b/homeassistant/components/bmw_connected_drive/__init__.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/bmw_connected_drive/binary_sensor.py b/homeassistant/components/bmw_connected_drive/binary_sensor.py index 4c65ef9ac892a6..deab157292d2f3 100644 --- a/homeassistant/components/bmw_connected_drive/binary_sensor.py +++ b/homeassistant/components/bmw_connected_drive/binary_sensor.py @@ -6,7 +6,7 @@ from . import DOMAIN as BMW_DOMAIN - +DEPENDENCIES = ['bmw_connected_drive'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bmw_connected_drive/device_tracker.py b/homeassistant/components/bmw_connected_drive/device_tracker.py index 7362daf090d78d..20e84e33e29bd3 100644 --- a/homeassistant/components/bmw_connected_drive/device_tracker.py +++ b/homeassistant/components/bmw_connected_drive/device_tracker.py @@ -5,7 +5,7 @@ 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 9b30eb0a888f3e..fe646dcd1c9c10 100644 --- a/homeassistant/components/bmw_connected_drive/lock.py +++ b/homeassistant/components/bmw_connected_drive/lock.py @@ -6,7 +6,7 @@ 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 20e24c623e4706..03c03f01b4a148 100644 --- a/homeassistant/components/bmw_connected_drive/sensor.py +++ b/homeassistant/components/bmw_connected_drive/sensor.py @@ -9,7 +9,7 @@ from . import DOMAIN as BMW_DOMAIN - +DEPENDENCIES = ['bmw_connected_drive'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bom/camera.py b/homeassistant/components/bom/camera.py index c6751330e41f81..d3e78034015bc1 100644 --- a/homeassistant/components/bom/camera.py +++ b/homeassistant/components/bom/camera.py @@ -5,7 +5,7 @@ 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' diff --git a/homeassistant/components/braviatv/media_player.py b/homeassistant/components/braviatv/media_player.py index 4b2bbe22c42f8d..45fdb63a4a9b45 100644 --- a/homeassistant/components/braviatv/media_player.py +++ b/homeassistant/components/braviatv/media_player.py @@ -15,7 +15,7 @@ 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' diff --git a/homeassistant/components/broadlink/sensor.py b/homeassistant/components/broadlink/sensor.py index a4f0d5d1c53e82..b3ce245a979ae7 100644 --- a/homeassistant/components/broadlink/sensor.py +++ b/homeassistant/components/broadlink/sensor.py @@ -14,7 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['broadlink==0.9.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/broadlink/switch.py b/homeassistant/components/broadlink/switch.py index 95eeccbf10131d..8695f70786c6f2 100644 --- a/homeassistant/components/broadlink/switch.py +++ b/homeassistant/components/broadlink/switch.py @@ -17,7 +17,7 @@ from homeassistant.util import Throttle, slugify from homeassistant.util.dt import utcnow - +REQUIREMENTS = ['broadlink==0.9.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/brottsplatskartan/sensor.py b/homeassistant/components/brottsplatskartan/sensor.py index d895b48da29b9e..f990dd1aba1630 100644 --- a/homeassistant/components/brottsplatskartan/sensor.py +++ b/homeassistant/components/brottsplatskartan/sensor.py @@ -12,7 +12,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['brottsplatskartan==0.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/brunt/cover.py b/homeassistant/components/brunt/cover.py index 73c30e344b848b..dc17cebcec2fd6 100644 --- a/homeassistant/components/brunt/cover.py +++ b/homeassistant/components/brunt/cover.py @@ -13,7 +13,7 @@ ) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['brunt==0.1.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bt_home_hub_5/device_tracker.py b/homeassistant/components/bt_home_hub_5/device_tracker.py index 5e1ae73f4bb6f4..61853c0af89f0b 100644 --- a/homeassistant/components/bt_home_hub_5/device_tracker.py +++ b/homeassistant/components/bt_home_hub_5/device_tracker.py @@ -8,7 +8,7 @@ DeviceScanner) from homeassistant.const import CONF_HOST - +REQUIREMENTS = ['bthomehub5-devicelist==0.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bt_smarthub/device_tracker.py b/homeassistant/components/bt_smarthub/device_tracker.py index ce253e054f261e..5820feda567903 100644 --- a/homeassistant/components/bt_smarthub/device_tracker.py +++ b/homeassistant/components/bt_smarthub/device_tracker.py @@ -8,7 +8,7 @@ DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST - +REQUIREMENTS = ['btsmarthub_devicelist==0.1.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/buienradar/sensor.py b/homeassistant/components/buienradar/sensor.py index 0d14c0007300b3..754873fa2c914f 100644 --- a/homeassistant/components/buienradar/sensor.py +++ b/homeassistant/components/buienradar/sensor.py @@ -17,7 +17,7 @@ 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__) diff --git a/homeassistant/components/buienradar/weather.py b/homeassistant/components/buienradar/weather.py index af586b33f9b063..86dcb229a78bbd 100644 --- a/homeassistant/components/buienradar/weather.py +++ b/homeassistant/components/buienradar/weather.py @@ -13,7 +13,7 @@ # Reuse data and API logic from the sensor implementation from .sensor import BrData - +REQUIREMENTS = ['buienradar==0.91'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/caldav/calendar.py b/homeassistant/components/caldav/calendar.py index 1c420fef3e1721..65cb20811b880b 100644 --- a/homeassistant/components/caldav/calendar.py +++ b/homeassistant/components/caldav/calendar.py @@ -12,7 +12,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle, dt - +REQUIREMENTS = ['caldav==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/calendar/__init__.py b/homeassistant/components/calendar/__init__.py index cbe7740420bc9c..aa9e3153fe5bbd 100644 --- a/homeassistant/components/calendar/__init__.py +++ b/homeassistant/components/calendar/__init__.py @@ -22,7 +22,7 @@ DOMAIN = 'calendar' - +DEPENDENCIES = ['http'] ENTITY_ID_FORMAT = DOMAIN + '.{}' diff --git a/homeassistant/components/camera/__init__.py b/homeassistant/components/camera/__init__.py index 25b4e5cd7099df..2ddab537acc09e 100644 --- a/homeassistant/components/camera/__init__.py +++ b/homeassistant/components/camera/__init__.py @@ -36,7 +36,7 @@ from .const import DOMAIN, DATA_CAMERA_PREFS from .prefs import CameraPreferences - +DEPENDENCIES = ['http'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/canary/__init__.py b/homeassistant/components/canary/__init__.py index 7ff09863bda461..e53c7e22d2d6dd 100644 --- a/homeassistant/components/canary/__init__.py +++ b/homeassistant/components/canary/__init__.py @@ -10,7 +10,7 @@ from homeassistant.helpers import discovery from homeassistant.util import Throttle - +REQUIREMENTS = ['py-canary==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/canary/alarm_control_panel.py b/homeassistant/components/canary/alarm_control_panel.py index 511ee54f50dba5..faa7d819a2e91f 100644 --- a/homeassistant/components/canary/alarm_control_panel.py +++ b/homeassistant/components/canary/alarm_control_panel.py @@ -8,7 +8,7 @@ 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 cf5edb0f3f1a81..fc740a46f628d9 100644 --- a/homeassistant/components/canary/camera.py +++ b/homeassistant/components/canary/camera.py @@ -13,7 +13,7 @@ from . import DATA_CANARY, DEFAULT_TIMEOUT - +DEPENDENCIES = ['canary', 'ffmpeg'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/canary/sensor.py b/homeassistant/components/canary/sensor.py index 73054e610b6d59..fb3aaf78b0a487 100644 --- a/homeassistant/components/canary/sensor.py +++ b/homeassistant/components/canary/sensor.py @@ -6,7 +6,7 @@ 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 140563a4337dcb..0ec3ac150d7501 100644 --- a/homeassistant/components/cast/__init__.py +++ b/homeassistant/components/cast/__init__.py @@ -2,7 +2,7 @@ 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 12959fe6729a42..afe29ae079f9ac 100644 --- a/homeassistant/components/channels/media_player.py +++ b/homeassistant/components/channels/media_player.py @@ -15,7 +15,7 @@ STATE_PLAYING) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pychannels==1.0.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cisco_ios/device_tracker.py b/homeassistant/components/cisco_ios/device_tracker.py index 1941e3cd9b4481..d5a64626e89924 100644 --- a/homeassistant/components/cisco_ios/device_tracker.py +++ b/homeassistant/components/cisco_ios/device_tracker.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['pexpect==4.6.0'] PLATFORM_SCHEMA = vol.All( PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/cisco_mobility_express/device_tracker.py b/homeassistant/components/cisco_mobility_express/device_tracker.py index e4d6a741f51c4a..a722a994350041 100644 --- a/homeassistant/components/cisco_mobility_express/device_tracker.py +++ b/homeassistant/components/cisco_mobility_express/device_tracker.py @@ -10,7 +10,7 @@ CONF_HOST, CONF_USERNAME, CONF_PASSWORD, CONF_SSL, CONF_VERIFY_SSL) - +REQUIREMENTS = ['ciscomobilityexpress==0.1.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cisco_webex_teams/notify.py b/homeassistant/components/cisco_webex_teams/notify.py index f0e290ca7294d0..f893d4071b0e6e 100644 --- a/homeassistant/components/cisco_webex_teams/notify.py +++ b/homeassistant/components/cisco_webex_teams/notify.py @@ -8,7 +8,7 @@ from homeassistant.const import (CONF_TOKEN) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['webexteamssdk==1.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ciscospark/notify.py b/homeassistant/components/ciscospark/notify.py index 58fb4c75013a16..2eccb233a3cdd6 100644 --- a/homeassistant/components/ciscospark/notify.py +++ b/homeassistant/components/ciscospark/notify.py @@ -9,7 +9,7 @@ from homeassistant.components.notify import (ATTR_TITLE, PLATFORM_SCHEMA, BaseNotificationService) - +REQUIREMENTS = ['ciscosparkapi==0.4.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/clementine/media_player.py b/homeassistant/components/clementine/media_player.py index faffb51c81a2f0..65c6be19845faa 100644 --- a/homeassistant/components/clementine/media_player.py +++ b/homeassistant/components/clementine/media_player.py @@ -16,7 +16,7 @@ STATE_PAUSED, STATE_PLAYING) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['python-clementine-remote==1.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cloud/__init__.py b/homeassistant/components/cloud/__init__.py index f4efea2df7fe96..41045ba1f91265 100644 --- a/homeassistant/components/cloud/__init__.py +++ b/homeassistant/components/cloud/__init__.py @@ -24,8 +24,8 @@ CONF_USER_POOL_ID, DOMAIN, MODE_DEV, MODE_PROD) from .prefs import CloudPreferences - - +REQUIREMENTS = ['hass-nabucasa==0.11'] +DEPENDENCIES = ['http'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cloud/binary_sensor.py b/homeassistant/components/cloud/binary_sensor.py index b24a057860a069..19a6528e3218f5 100644 --- a/homeassistant/components/cloud/binary_sensor.py +++ b/homeassistant/components/cloud/binary_sensor.py @@ -6,7 +6,7 @@ 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 87fec8e9ff0ae8..363e7c5eeb11dd 100644 --- a/homeassistant/components/cloudflare/__init__.py +++ b/homeassistant/components/cloudflare/__init__.py @@ -8,7 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.event import track_time_interval - +REQUIREMENTS = ['pycfdns==0.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cmus/media_player.py b/homeassistant/components/cmus/media_player.py index b5d25d234e3c88..e5134508feaaaa 100644 --- a/homeassistant/components/cmus/media_player.py +++ b/homeassistant/components/cmus/media_player.py @@ -14,7 +14,7 @@ STATE_PLAYING) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pycmus==0.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/co2signal/sensor.py b/homeassistant/components/co2signal/sensor.py index 0b816356ba2fb9..b9ae5e26ebef20 100644 --- a/homeassistant/components/co2signal/sensor.py +++ b/homeassistant/components/co2signal/sensor.py @@ -11,7 +11,7 @@ CONF_COUNTRY_CODE = "country_code" - +REQUIREMENTS = ['co2signal==0.4.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/coinbase/__init__.py b/homeassistant/components/coinbase/__init__.py index 75dd7a4ef72bc5..40d04eadb3a79e 100644 --- a/homeassistant/components/coinbase/__init__.py +++ b/homeassistant/components/coinbase/__init__.py @@ -9,7 +9,7 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.util import Throttle - +REQUIREMENTS = ['coinbase==2.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/coinbase/sensor.py b/homeassistant/components/coinbase/sensor.py index 88f6620b2f83b6..2483d46b38a095 100644 --- a/homeassistant/components/coinbase/sensor.py +++ b/homeassistant/components/coinbase/sensor.py @@ -17,7 +17,7 @@ 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 c6102833af5501..a39f11b5352a0a 100644 --- a/homeassistant/components/coinmarketcap/sensor.py +++ b/homeassistant/components/coinmarketcap/sensor.py @@ -11,7 +11,7 @@ ATTR_ATTRIBUTION, CONF_DISPLAY_CURRENCY) from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['coinmarketcap==5.0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/comfoconnect/__init__.py b/homeassistant/components/comfoconnect/__init__.py index c159b28200d17a..64ebec18545903 100644 --- a/homeassistant/components/comfoconnect/__init__.py +++ b/homeassistant/components/comfoconnect/__init__.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.dispatcher import dispatcher_send - +REQUIREMENTS = ['pycomfoconnect==0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/comfoconnect/fan.py b/homeassistant/components/comfoconnect/fan.py index 2187afb49df9a6..88dcffcfd21485 100644 --- a/homeassistant/components/comfoconnect/fan.py +++ b/homeassistant/components/comfoconnect/fan.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['comfoconnect'] SPEED_MAPPING = { 0: SPEED_OFF, diff --git a/homeassistant/components/comfoconnect/sensor.py b/homeassistant/components/comfoconnect/sensor.py index 65f7c2025e2f95..edb96b8d279d3d 100644 --- a/homeassistant/components/comfoconnect/sensor.py +++ b/homeassistant/components/comfoconnect/sensor.py @@ -12,7 +12,7 @@ _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 99e3fbdfd0bc7f..a209fba93edfb3 100644 --- a/homeassistant/components/concord232/alarm_control_panel.py +++ b/homeassistant/components/concord232/alarm_control_panel.py @@ -12,7 +12,7 @@ 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__) diff --git a/homeassistant/components/concord232/binary_sensor.py b/homeassistant/components/concord232/binary_sensor.py index a3d96c2e7bf93b..c1a31eb9ead989 100644 --- a/homeassistant/components/concord232/binary_sensor.py +++ b/homeassistant/components/concord232/binary_sensor.py @@ -10,7 +10,7 @@ from homeassistant.const import (CONF_HOST, CONF_PORT) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['concord232==0.15'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/config/__init__.py b/homeassistant/components/config/__init__.py index 6373226399cfb5..7807c52737091e 100644 --- a/homeassistant/components/config/__init__.py +++ b/homeassistant/components/config/__init__.py @@ -12,7 +12,7 @@ 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 f16ff2f291dfd7..bb2d692f2490b3 100644 --- a/homeassistant/components/conversation/__init__.py +++ b/homeassistant/components/conversation/__init__.py @@ -21,7 +21,7 @@ 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 9fb197152aecaf..77bb9a6b213d29 100644 --- a/homeassistant/components/coolmaster/climate.py +++ b/homeassistant/components/coolmaster/climate.py @@ -13,7 +13,7 @@ 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 7fcd47381b8a35..9bb1aacfaf13ea 100644 --- a/homeassistant/components/cover/__init__.py +++ b/homeassistant/components/cover/__init__.py @@ -22,7 +22,7 @@ _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 167ea76574a418..31d8122692a39e 100755 --- a/homeassistant/components/cppm_tracker/device_tracker.py +++ b/homeassistant/components/cppm_tracker/device_tracker.py @@ -11,7 +11,7 @@ CONF_HOST, CONF_API_KEY ) - +REQUIREMENTS = ['clearpasspy==1.0.2'] SCAN_INTERVAL = timedelta(seconds=120) diff --git a/homeassistant/components/cpuspeed/sensor.py b/homeassistant/components/cpuspeed/sensor.py index 30ac7e34ca846e..98d22c20d153b6 100644 --- a/homeassistant/components/cpuspeed/sensor.py +++ b/homeassistant/components/cpuspeed/sensor.py @@ -8,7 +8,7 @@ from homeassistant.const import CONF_NAME from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['py-cpuinfo==5.0.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/crimereports/sensor.py b/homeassistant/components/crimereports/sensor.py index 7895578b2e7f1d..139346755178e9 100644 --- a/homeassistant/components/crimereports/sensor.py +++ b/homeassistant/components/crimereports/sensor.py @@ -16,7 +16,7 @@ from homeassistant.util.dt import now import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['crimereports==1.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cups/sensor.py b/homeassistant/components/cups/sensor.py index 2b1371d093a4e1..97f894aed86981 100644 --- a/homeassistant/components/cups/sensor.py +++ b/homeassistant/components/cups/sensor.py @@ -10,7 +10,7 @@ from homeassistant.const import CONF_HOST, CONF_PORT from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['pycups==1.9.73'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/daikin/__init__.py b/homeassistant/components/daikin/__init__.py index 6e21fd919c2dd0..8e96ccb87388a9 100644 --- a/homeassistant/components/daikin/__init__.py +++ b/homeassistant/components/daikin/__init__.py @@ -17,7 +17,7 @@ from . import config_flow # noqa pylint_disable=unused-import - +REQUIREMENTS = ['pydaikin==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/danfoss_air/__init__.py b/homeassistant/components/danfoss_air/__init__.py index 8b25b134a261b4..f4a7b92c17cbb9 100644 --- a/homeassistant/components/danfoss_air/__init__.py +++ b/homeassistant/components/danfoss_air/__init__.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle - +REQUIREMENTS = ['pydanfossair==0.0.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/darksky/sensor.py b/homeassistant/components/darksky/sensor.py index 86b93ea27439a6..6aee3457acb381 100644 --- a/homeassistant/components/darksky/sensor.py +++ b/homeassistant/components/darksky/sensor.py @@ -14,7 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['python-forecastio==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/darksky/weather.py b/homeassistant/components/darksky/weather.py index 4a549750d7be70..5b3db4312bfb10 100644 --- a/homeassistant/components/darksky/weather.py +++ b/homeassistant/components/darksky/weather.py @@ -16,7 +16,7 @@ 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__) diff --git a/homeassistant/components/datadog/__init__.py b/homeassistant/components/datadog/__init__.py index b9800c77a385cc..3b519514d17b44 100644 --- a/homeassistant/components/datadog/__init__.py +++ b/homeassistant/components/datadog/__init__.py @@ -9,7 +9,7 @@ from homeassistant.helpers import state as state_helper import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['datadog==0.15.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/deconz/__init__.py b/homeassistant/components/deconz/__init__.py index 47aa00a47ac4fb..807f82821fb293 100644 --- a/homeassistant/components/deconz/__init__.py +++ b/homeassistant/components/deconz/__init__.py @@ -13,7 +13,7 @@ CONF_MASTER_GATEWAY, DEFAULT_PORT, DOMAIN, _LOGGER) from .gateway import DeconzGateway - +REQUIREMENTS = ['pydeconz==54'] CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({ diff --git a/homeassistant/components/deconz/binary_sensor.py b/homeassistant/components/deconz/binary_sensor.py index f8941d05838857..70de1fd7cf44ba 100644 --- a/homeassistant/components/deconz/binary_sensor.py +++ b/homeassistant/components/deconz/binary_sensor.py @@ -8,7 +8,7 @@ from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry - +DEPENDENCIES = ['deconz'] ATTR_ORIENTATION = 'orientation' ATTR_TILTANGLE = 'tiltangle' diff --git a/homeassistant/components/deconz/climate.py b/homeassistant/components/deconz/climate.py index 4bf1459d75fc0d..c4327d3c497fec 100644 --- a/homeassistant/components/deconz/climate.py +++ b/homeassistant/components/deconz/climate.py @@ -11,7 +11,7 @@ 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): diff --git a/homeassistant/components/deconz/cover.py b/homeassistant/components/deconz/cover.py index cfad5028076a61..903c1160eb8226 100644 --- a/homeassistant/components/deconz/cover.py +++ b/homeassistant/components/deconz/cover.py @@ -9,7 +9,7 @@ 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 135f7cf3867cd9..b5a2b075f75bdf 100644 --- a/homeassistant/components/deconz/light.py +++ b/homeassistant/components/deconz/light.py @@ -12,7 +12,7 @@ from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry - +DEPENDENCIES = ['deconz'] async def async_setup_platform( diff --git a/homeassistant/components/deconz/scene.py b/homeassistant/components/deconz/scene.py index 5035f5b369354b..1ae1e079daa065 100644 --- a/homeassistant/components/deconz/scene.py +++ b/homeassistant/components/deconz/scene.py @@ -6,7 +6,7 @@ from .const import NEW_SCENE from .gateway import get_gateway_from_config_entry - +DEPENDENCIES = ['deconz'] async def async_setup_platform( diff --git a/homeassistant/components/deconz/sensor.py b/homeassistant/components/deconz/sensor.py index 63d23a7913d5ae..7c3109e1f5961f 100644 --- a/homeassistant/components/deconz/sensor.py +++ b/homeassistant/components/deconz/sensor.py @@ -9,7 +9,7 @@ from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry - +DEPENDENCIES = ['deconz'] ATTR_CURRENT = 'current' ATTR_DAYLIGHT = 'daylight' diff --git a/homeassistant/components/deconz/switch.py b/homeassistant/components/deconz/switch.py index 40826635d677cc..b9f959766fc2c2 100644 --- a/homeassistant/components/deconz/switch.py +++ b/homeassistant/components/deconz/switch.py @@ -7,7 +7,7 @@ from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry - +DEPENDENCIES = ['deconz'] async def async_setup_platform( diff --git a/homeassistant/components/decora/light.py b/homeassistant/components/decora/light.py index 090d58fcb1a5ab..fc8b2859c0712d 100644 --- a/homeassistant/components/decora/light.py +++ b/homeassistant/components/decora/light.py @@ -12,7 +12,7 @@ PLATFORM_SCHEMA) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['decora==0.6', 'bluepy==1.1.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/decora_wifi/light.py b/homeassistant/components/decora_wifi/light.py index 5d2592b019a198..b7be6bffb0151a 100644 --- a/homeassistant/components/decora_wifi/light.py +++ b/homeassistant/components/decora_wifi/light.py @@ -12,7 +12,7 @@ EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['decora_wifi==1.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/deluge/sensor.py b/homeassistant/components/deluge/sensor.py index 5665a409d8c0bd..32b1c16a47c783 100644 --- a/homeassistant/components/deluge/sensor.py +++ b/homeassistant/components/deluge/sensor.py @@ -11,7 +11,7 @@ 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 52db97dd7085a3..d7c60bd96e2932 100644 --- a/homeassistant/components/deluge/switch.py +++ b/homeassistant/components/deluge/switch.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import ToggleEntity import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['deluge-client==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/demo/__init__.py b/homeassistant/components/demo/__init__.py index 698ca1aba1a49e..354f0c0e37541a 100644 --- a/homeassistant/components/demo/__init__.py +++ b/homeassistant/components/demo/__init__.py @@ -7,7 +7,7 @@ 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 c94c812b0a17bd..0adafe4f472e2e 100644 --- a/homeassistant/components/denonavr/media_player.py +++ b/homeassistant/components/denonavr/media_player.py @@ -18,7 +18,7 @@ STATE_PAUSED, STATE_PLAYING) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['denonavr==0.7.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/deutsche_bahn/sensor.py b/homeassistant/components/deutsche_bahn/sensor.py index e308e935ad1b15..41584b2561fb9d 100644 --- a/homeassistant/components/deutsche_bahn/sensor.py +++ b/homeassistant/components/deutsche_bahn/sensor.py @@ -9,7 +9,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.util.dt as dt_util - +REQUIREMENTS = ['schiene==0.23'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/device_sun_light_trigger/__init__.py b/homeassistant/components/device_sun_light_trigger/__init__.py index 696584275e7ced..00adefc6b5c31f 100644 --- a/homeassistant/components/device_sun_light_trigger/__init__.py +++ b/homeassistant/components/device_sun_light_trigger/__init__.py @@ -17,7 +17,7 @@ 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' diff --git a/homeassistant/components/device_tracker/__init__.py b/homeassistant/components/device_tracker/__init__.py index a85113f0832bd4..42d301721dad47 100644 --- a/homeassistant/components/device_tracker/__init__.py +++ b/homeassistant/components/device_tracker/__init__.py @@ -35,7 +35,7 @@ _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 1c9478a3fd3709..719c2525f0a985 100644 --- a/homeassistant/components/dht/sensor.py +++ b/homeassistant/components/dht/sensor.py @@ -12,7 +12,7 @@ from homeassistant.util import Throttle from homeassistant.util.temperature import celsius_to_fahrenheit - +REQUIREMENTS = ['Adafruit-DHT==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dialogflow/__init__.py b/homeassistant/components/dialogflow/__init__.py index 00a9dd5242b3e3..1536fe3d2362ca 100644 --- a/homeassistant/components/dialogflow/__init__.py +++ b/homeassistant/components/dialogflow/__init__.py @@ -10,7 +10,7 @@ _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 2a024ba69e3482..7975a6eea0d69c 100644 --- a/homeassistant/components/digital_ocean/__init__.py +++ b/homeassistant/components/digital_ocean/__init__.py @@ -8,7 +8,7 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['python-digitalocean==1.13.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/digital_ocean/binary_sensor.py b/homeassistant/components/digital_ocean/binary_sensor.py index 69b4432f441e0e..d496a09161b91d 100644 --- a/homeassistant/components/digital_ocean/binary_sensor.py +++ b/homeassistant/components/digital_ocean/binary_sensor.py @@ -17,7 +17,7 @@ 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 4285e4081265b7..bc4a6a29b42064 100644 --- a/homeassistant/components/digital_ocean/switch.py +++ b/homeassistant/components/digital_ocean/switch.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['digital_ocean'] DEFAULT_NAME = 'Droplet' diff --git a/homeassistant/components/digitalloggers/switch.py b/homeassistant/components/digitalloggers/switch.py index 7f6b3bf185ef4b..89973cfad0c828 100644 --- a/homeassistant/components/digitalloggers/switch.py +++ b/homeassistant/components/digitalloggers/switch.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle - +REQUIREMENTS = ['dlipower==0.7.165'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/directv/media_player.py b/homeassistant/components/directv/media_player.py index 59a4bd18d236e2..3a30282bdf49be 100644 --- a/homeassistant/components/directv/media_player.py +++ b/homeassistant/components/directv/media_player.py @@ -15,7 +15,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util - +REQUIREMENTS = ['directpy==0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/discogs/sensor.py b/homeassistant/components/discogs/sensor.py index da40d2d3b72bed..f8d66688b4ff65 100644 --- a/homeassistant/components/discogs/sensor.py +++ b/homeassistant/components/discogs/sensor.py @@ -12,7 +12,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['discogs_client==2.2.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/discord/notify.py b/homeassistant/components/discord/notify.py index ebe676d3317533..cb6fc8329c66b5 100644 --- a/homeassistant/components/discord/notify.py +++ b/homeassistant/components/discord/notify.py @@ -12,7 +12,7 @@ _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 a5212a6f107efa..8e3a350c5ca1b0 100644 --- a/homeassistant/components/discovery/__init__.py +++ b/homeassistant/components/discovery/__init__.py @@ -20,7 +20,7 @@ from homeassistant.helpers.discovery import async_load_platform, async_discover import homeassistant.util.dt as dt_util - +REQUIREMENTS = ['netdisco==2.6.0'] DOMAIN = 'discovery' diff --git a/homeassistant/components/dlib_face_detect/image_processing.py b/homeassistant/components/dlib_face_detect/image_processing.py index 0d4b37b4a15965..49fbfadff7e779 100644 --- a/homeassistant/components/dlib_face_detect/image_processing.py +++ b/homeassistant/components/dlib_face_detect/image_processing.py @@ -8,7 +8,7 @@ from homeassistant.components.image_processing import ( ImageProcessingFaceEntity, CONF_SOURCE, CONF_ENTITY_ID, CONF_NAME) - +REQUIREMENTS = ['face_recognition==1.2.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dlib_face_identify/image_processing.py b/homeassistant/components/dlib_face_identify/image_processing.py index 6ad90893723c4c..a3b91235125e43 100644 --- a/homeassistant/components/dlib_face_identify/image_processing.py +++ b/homeassistant/components/dlib_face_identify/image_processing.py @@ -10,7 +10,7 @@ CONF_NAME) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['face_recognition==1.2.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dlink/switch.py b/homeassistant/components/dlink/switch.py index 8c0a0ad0b8ff5d..812fd3882b311b 100644 --- a/homeassistant/components/dlink/switch.py +++ b/homeassistant/components/dlink/switch.py @@ -12,7 +12,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import dt as dt_util - +REQUIREMENTS = ['pyW215==0.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dlna_dmr/media_player.py b/homeassistant/components/dlna_dmr/media_player.py index 8b68eaa372397e..54c19f70ef324d 100644 --- a/homeassistant/components/dlna_dmr/media_player.py +++ b/homeassistant/components/dlna_dmr/media_player.py @@ -27,7 +27,7 @@ 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__) diff --git a/homeassistant/components/dnsip/sensor.py b/homeassistant/components/dnsip/sensor.py index 04391d0aeface5..13c9be7bb14fb5 100644 --- a/homeassistant/components/dnsip/sensor.py +++ b/homeassistant/components/dnsip/sensor.py @@ -8,7 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['aiodns==1.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dominos/__init__.py b/homeassistant/components/dominos/__init__.py index 9a3aa02afdf048..1c8966f3b4b5d9 100644 --- a/homeassistant/components/dominos/__init__.py +++ b/homeassistant/components/dominos/__init__.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity_component import EntityComponent from homeassistant.util import Throttle - +REQUIREMENTS = ['pizzapi==0.0.3'] _LOGGER = logging.getLogger(__name__) @@ -34,7 +34,7 @@ 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, diff --git a/homeassistant/components/doorbird/__init__.py b/homeassistant/components/doorbird/__init__.py index 15bf0bbaead0ae..25a2c5caff91d9 100644 --- a/homeassistant/components/doorbird/__init__.py +++ b/homeassistant/components/doorbird/__init__.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/doorbird/camera.py b/homeassistant/components/doorbird/camera.py index 89cc5211f045a1..a93b0fbf1948cb 100644 --- a/homeassistant/components/doorbird/camera.py +++ b/homeassistant/components/doorbird/camera.py @@ -11,7 +11,7 @@ from . import DOMAIN as DOORBIRD_DOMAIN - +DEPENDENCIES = ['doorbird'] _CAMERA_LAST_VISITOR = "{} Last Ring" _CAMERA_LAST_MOTION = "{} Last Motion" diff --git a/homeassistant/components/doorbird/switch.py b/homeassistant/components/doorbird/switch.py index be1de1cc8530d5..ba6f96660d1b2d 100644 --- a/homeassistant/components/doorbird/switch.py +++ b/homeassistant/components/doorbird/switch.py @@ -6,7 +6,7 @@ from . import DOMAIN as DOORBIRD_DOMAIN - +DEPENDENCIES = ['doorbird'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dovado/__init__.py b/homeassistant/components/dovado/__init__.py index 496e0ef676dc24..df2eed3011a873 100644 --- a/homeassistant/components/dovado/__init__.py +++ b/homeassistant/components/dovado/__init__.py @@ -12,7 +12,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['dovado==0.4.1'] DOMAIN = 'dovado' diff --git a/homeassistant/components/dovado/notify.py b/homeassistant/components/dovado/notify.py index df1269e3b97df9..59827529ed3ad5 100644 --- a/homeassistant/components/dovado/notify.py +++ b/homeassistant/components/dovado/notify.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['dovado'] def get_service(hass, config, discovery_info=None): diff --git a/homeassistant/components/dovado/sensor.py b/homeassistant/components/dovado/sensor.py index 558e9cc32165e1..56c4ee03a3ada9 100644 --- a/homeassistant/components/dovado/sensor.py +++ b/homeassistant/components/dovado/sensor.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['dovado'] MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=30) diff --git a/homeassistant/components/dsmr/sensor.py b/homeassistant/components/dsmr/sensor.py index c93b83c4ec3992..74f6cb37fc2ebc 100644 --- a/homeassistant/components/dsmr/sensor.py +++ b/homeassistant/components/dsmr/sensor.py @@ -15,7 +15,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['dsmr_parser==0.12'] CONF_DSMR_VERSION = 'dsmr_version' CONF_RECONNECT_INTERVAL = 'reconnect_interval' diff --git a/homeassistant/components/duke_energy/sensor.py b/homeassistant/components/duke_energy/sensor.py index 5b8b51a6955fe4..9aada34841880a 100644 --- a/homeassistant/components/duke_energy/sensor.py +++ b/homeassistant/components/duke_energy/sensor.py @@ -8,7 +8,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pydukeenergy==0.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dunehd/media_player.py b/homeassistant/components/dunehd/media_player.py index 62a4326707174d..70d96424ced97e 100644 --- a/homeassistant/components/dunehd/media_player.py +++ b/homeassistant/components/dunehd/media_player.py @@ -11,7 +11,7 @@ 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' diff --git a/homeassistant/components/dweet/__init__.py b/homeassistant/components/dweet/__init__.py index 4b3716020dc708..f8e5b1811632e4 100644 --- a/homeassistant/components/dweet/__init__.py +++ b/homeassistant/components/dweet/__init__.py @@ -10,7 +10,7 @@ from homeassistant.helpers import state as state_helper from homeassistant.util import Throttle - +REQUIREMENTS = ['dweepy==0.3.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dweet/sensor.py b/homeassistant/components/dweet/sensor.py index 73273a0200fd7d..d1a64201e6dc48 100644 --- a/homeassistant/components/dweet/sensor.py +++ b/homeassistant/components/dweet/sensor.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/dyson/__init__.py b/homeassistant/components/dyson/__init__.py index 04dbcbc4bb7eee..eccf8aac364c04 100644 --- a/homeassistant/components/dyson/__init__.py +++ b/homeassistant/components/dyson/__init__.py @@ -8,7 +8,7 @@ CONF_DEVICES, CONF_PASSWORD, CONF_TIMEOUT, CONF_USERNAME) from homeassistant.helpers import discovery - +REQUIREMENTS = ['libpurecool==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dyson/fan.py b/homeassistant/components/dyson/fan.py index dd49ca4522d1ac..0140378968b60b 100644 --- a/homeassistant/components/dyson/fan.py +++ b/homeassistant/components/dyson/fan.py @@ -27,7 +27,7 @@ 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 09a2fd4478c8d4..2c7a71f5724847 100644 --- a/homeassistant/components/dyson/sensor.py +++ b/homeassistant/components/dyson/sensor.py @@ -6,7 +6,7 @@ from . import DYSON_DEVICES - +DEPENDENCIES = ['dyson'] SENSOR_UNITS = { 'air_quality': None, diff --git a/homeassistant/components/dyson/vacuum.py b/homeassistant/components/dyson/vacuum.py index 7f800a0d8fe6de..f1822b4043b461 100644 --- a/homeassistant/components/dyson/vacuum.py +++ b/homeassistant/components/dyson/vacuum.py @@ -15,7 +15,7 @@ ATTR_FULL_CLEAN_TYPE = 'full_clean_type' ATTR_POSITION = 'position' - +DEPENDENCIES = ['dyson'] DYSON_360_EYE_DEVICES = "dyson_360_eye_devices" diff --git a/homeassistant/components/ebox/sensor.py b/homeassistant/components/ebox/sensor.py index 9ce475c64f118e..24458e444dc7a9 100644 --- a/homeassistant/components/ebox/sensor.py +++ b/homeassistant/components/ebox/sensor.py @@ -21,7 +21,7 @@ from homeassistant.exceptions import PlatformNotReady - +REQUIREMENTS = ['pyebox==1.1.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ebusd/__init__.py b/homeassistant/components/ebusd/__init__.py index 797a8a5cb20f04..bc1b3aa9595f9b 100644 --- a/homeassistant/components/ebusd/__init__.py +++ b/homeassistant/components/ebusd/__init__.py @@ -13,7 +13,7 @@ from .const import (DOMAIN, SENSOR_TYPES) - +REQUIREMENTS = ['ebusdpy==0.0.16'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ebusd/sensor.py b/homeassistant/components/ebusd/sensor.py index 75e7237f09bf73..942ba107509a94 100644 --- a/homeassistant/components/ebusd/sensor.py +++ b/homeassistant/components/ebusd/sensor.py @@ -6,7 +6,7 @@ from .const import DOMAIN - +DEPENDENCIES = ['ebusd'] TIME_FRAME1_BEGIN = 'time_frame1_begin' TIME_FRAME1_END = 'time_frame1_end' diff --git a/homeassistant/components/ecoal_boiler/__init__.py b/homeassistant/components/ecoal_boiler/__init__.py index 18bb8171debd62..6ab9fc3181cb9c 100644 --- a/homeassistant/components/ecoal_boiler/__init__.py +++ b/homeassistant/components/ecoal_boiler/__init__.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform - +REQUIREMENTS = ['ecoaliface==0.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ecoal_boiler/sensor.py b/homeassistant/components/ecoal_boiler/sensor.py index deb9248569f448..ef8b39842d9a0f 100644 --- a/homeassistant/components/ecoal_boiler/sensor.py +++ b/homeassistant/components/ecoal_boiler/sensor.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['ecoal_boiler'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/ecoal_boiler/switch.py b/homeassistant/components/ecoal_boiler/switch.py index 0221cc65f201f5..db8759a032acc9 100644 --- a/homeassistant/components/ecoal_boiler/switch.py +++ b/homeassistant/components/ecoal_boiler/switch.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['ecoal_boiler'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/ecobee/__init__.py b/homeassistant/components/ecobee/__init__.py index ef032b3cb3eb7c..167132a5f41f16 100644 --- a/homeassistant/components/ecobee/__init__.py +++ b/homeassistant/components/ecobee/__init__.py @@ -11,7 +11,7 @@ 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 db69197f16e938..ca8e551bf5e6f2 100644 --- a/homeassistant/components/ecobee/binary_sensor.py +++ b/homeassistant/components/ecobee/binary_sensor.py @@ -2,7 +2,7 @@ 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 e49879f3baec71..44a3800afa958f 100644 --- a/homeassistant/components/ecobee/climate.py +++ b/homeassistant/components/ecobee/climate.py @@ -27,7 +27,7 @@ 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 c2d4f753cc7aa8..9824d20b85e98e 100644 --- a/homeassistant/components/ecobee/notify.py +++ b/homeassistant/components/ecobee/notify.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['ecobee'] CONF_INDEX = 'index' diff --git a/homeassistant/components/ecobee/sensor.py b/homeassistant/components/ecobee/sensor.py index bac1e6a441da43..1f9fd5cbde8548 100644 --- a/homeassistant/components/ecobee/sensor.py +++ b/homeassistant/components/ecobee/sensor.py @@ -4,7 +4,7 @@ DEVICE_CLASS_HUMIDITY, DEVICE_CLASS_TEMPERATURE, TEMP_FAHRENHEIT) from homeassistant.helpers.entity import Entity - +DEPENDENCIES = ['ecobee'] ECOBEE_CONFIG_FILE = 'ecobee.conf' diff --git a/homeassistant/components/ecobee/weather.py b/homeassistant/components/ecobee/weather.py index 9eda034e6501a6..2ba5f362b7d829 100644 --- a/homeassistant/components/ecobee/weather.py +++ b/homeassistant/components/ecobee/weather.py @@ -7,7 +7,7 @@ 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' diff --git a/homeassistant/components/econet/water_heater.py b/homeassistant/components/econet/water_heater.py index bdb63beca21d54..90176842bf1175 100644 --- a/homeassistant/components/econet/water_heater.py +++ b/homeassistant/components/econet/water_heater.py @@ -13,7 +13,7 @@ TEMP_FAHRENHEIT) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pyeconet==0.0.10'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ecovacs/__init__.py b/homeassistant/components/ecovacs/__init__.py index 8f438ca5df5478..124cae3ca47191 100644 --- a/homeassistant/components/ecovacs/__init__.py +++ b/homeassistant/components/ecovacs/__init__.py @@ -10,7 +10,7 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['sucks==0.9.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ecovacs/vacuum.py b/homeassistant/components/ecovacs/vacuum.py index 97f9ad79e038d8..b9fe94f2bed0cb 100644 --- a/homeassistant/components/ecovacs/vacuum.py +++ b/homeassistant/components/ecovacs/vacuum.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['ecovacs'] SUPPORT_ECOVACS = ( SUPPORT_BATTERY | SUPPORT_RETURN_HOME | SUPPORT_CLEAN_SPOT | diff --git a/homeassistant/components/eddystone_temperature/sensor.py b/homeassistant/components/eddystone_temperature/sensor.py index 605e8b4cf1cf3e..ae3d498d30c0d9 100644 --- a/homeassistant/components/eddystone_temperature/sensor.py +++ b/homeassistant/components/eddystone_temperature/sensor.py @@ -18,7 +18,7 @@ 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__) diff --git a/homeassistant/components/edimax/switch.py b/homeassistant/components/edimax/switch.py index f1a81a3a04f999..338e6ac932cc4b 100644 --- a/homeassistant/components/edimax/switch.py +++ b/homeassistant/components/edimax/switch.py @@ -8,7 +8,7 @@ CONF_HOST, CONF_NAME, CONF_PASSWORD, CONF_USERNAME) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pyedimax==0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/edp_redy/__init__.py b/homeassistant/components/edp_redy/__init__.py index b6de302c7afb94..9b8bfaa437a12d 100644 --- a/homeassistant/components/edp_redy/__init__.py +++ b/homeassistant/components/edp_redy/__init__.py @@ -20,7 +20,7 @@ DATA_UPDATE_TOPIC = '{0}_data_update'.format(DOMAIN) UPDATE_INTERVAL = 60 - +REQUIREMENTS = ['edp_redy==0.0.3'] CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({ diff --git a/homeassistant/components/edp_redy/sensor.py b/homeassistant/components/edp_redy/sensor.py index 83de7a5ce8dea2..b8f9c031c298c9 100644 --- a/homeassistant/components/edp_redy/sensor.py +++ b/homeassistant/components/edp_redy/sensor.py @@ -8,7 +8,7 @@ _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 67b5dbeb4d5561..0c92f80ccf6366 100644 --- a/homeassistant/components/edp_redy/switch.py +++ b/homeassistant/components/edp_redy/switch.py @@ -7,7 +7,7 @@ _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 b39d07085532cb..46e4a3c3c24307 100644 --- a/homeassistant/components/ee_brightbox/device_tracker.py +++ b/homeassistant/components/ee_brightbox/device_tracker.py @@ -8,7 +8,7 @@ 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__) diff --git a/homeassistant/components/egardia/__init__.py b/homeassistant/components/egardia/__init__.py index 20ac192a8431ae..fe613824c9512d 100644 --- a/homeassistant/components/egardia/__init__.py +++ b/homeassistant/components/egardia/__init__.py @@ -10,7 +10,7 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pythonegardia==1.0.39'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/egardia/alarm_control_panel.py b/homeassistant/components/egardia/alarm_control_panel.py index 9db8fa2e5f896b..7fc60d5fb5db6e 100644 --- a/homeassistant/components/egardia/alarm_control_panel.py +++ b/homeassistant/components/egardia/alarm_control_panel.py @@ -13,7 +13,7 @@ CONF_REPORT_SERVER_PORT, EGARDIA_DEVICE, EGARDIA_SERVER, REPORT_SERVER_CODES_IGNORE) - +DEPENDENCIES = ['egardia'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/egardia/binary_sensor.py b/homeassistant/components/egardia/binary_sensor.py index e1b0d42626bb26..d11894ae675666 100644 --- a/homeassistant/components/egardia/binary_sensor.py +++ b/homeassistant/components/egardia/binary_sensor.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['egardia'] EGARDIA_TYPE_TO_DEVICE_CLASS = { 'IR Sensor': 'motion', diff --git a/homeassistant/components/eight_sleep/__init__.py b/homeassistant/components/eight_sleep/__init__.py index f19338d9c2f401..ca6c8a5a5c6070 100644 --- a/homeassistant/components/eight_sleep/__init__.py +++ b/homeassistant/components/eight_sleep/__init__.py @@ -16,7 +16,7 @@ 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__) diff --git a/homeassistant/components/eight_sleep/binary_sensor.py b/homeassistant/components/eight_sleep/binary_sensor.py index 97d658bb6d79a8..a3ca27b570de0c 100644 --- a/homeassistant/components/eight_sleep/binary_sensor.py +++ b/homeassistant/components/eight_sleep/binary_sensor.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['eight_sleep'] async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/eight_sleep/sensor.py b/homeassistant/components/eight_sleep/sensor.py index c41dde3caf1f60..a1ad93ec54a3f3 100644 --- a/homeassistant/components/eight_sleep/sensor.py +++ b/homeassistant/components/eight_sleep/sensor.py @@ -5,7 +5,7 @@ CONF_SENSORS, DATA_EIGHT, NAME_MAP, EightSleepHeatEntity, EightSleepUserEntity) - +DEPENDENCIES = ['eight_sleep'] ATTR_ROOM_TEMP = 'Room Temperature' ATTR_AVG_ROOM_TEMP = 'Average Room Temperature' diff --git a/homeassistant/components/eliqonline/sensor.py b/homeassistant/components/eliqonline/sensor.py index a1aa5d56bdc10b..198ca327997808 100644 --- a/homeassistant/components/eliqonline/sensor.py +++ b/homeassistant/components/eliqonline/sensor.py @@ -10,7 +10,7 @@ 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__) diff --git a/homeassistant/components/elkm1/__init__.py b/homeassistant/components/elkm1/__init__.py index 12c6dfcf6aa8f0..a0c08bf54299f5 100644 --- a/homeassistant/components/elkm1/__init__.py +++ b/homeassistant/components/elkm1/__init__.py @@ -12,7 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.typing import ConfigType # noqa - +REQUIREMENTS = ['elkm1-lib==0.7.13'] DOMAIN = 'elkm1' diff --git a/homeassistant/components/elkm1/alarm_control_panel.py b/homeassistant/components/elkm1/alarm_control_panel.py index a2f45aa2c2e369..e9155dd17b5bf7 100644 --- a/homeassistant/components/elkm1/alarm_control_panel.py +++ b/homeassistant/components/elkm1/alarm_control_panel.py @@ -12,7 +12,7 @@ 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 7ad5c72b1d58e9..93e4aa66b23494 100644 --- a/homeassistant/components/elkm1/climate.py +++ b/homeassistant/components/elkm1/climate.py @@ -9,7 +9,7 @@ from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities - +DEPENDENCIES = [ELK_DOMAIN] async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/elkm1/light.py b/homeassistant/components/elkm1/light.py index 1c908672aa9973..fe84ab3f251895 100644 --- a/homeassistant/components/elkm1/light.py +++ b/homeassistant/components/elkm1/light.py @@ -4,7 +4,7 @@ from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities - +DEPENDENCIES = [ELK_DOMAIN] async def async_setup_platform( diff --git a/homeassistant/components/elkm1/scene.py b/homeassistant/components/elkm1/scene.py index 671c0056d69cf4..1d08f4cf96d5f1 100644 --- a/homeassistant/components/elkm1/scene.py +++ b/homeassistant/components/elkm1/scene.py @@ -3,7 +3,7 @@ from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities - +DEPENDENCIES = [ELK_DOMAIN] async def async_setup_platform( diff --git a/homeassistant/components/elkm1/sensor.py b/homeassistant/components/elkm1/sensor.py index 4ce93ab1295d0f..da27a3ac4b105d 100644 --- a/homeassistant/components/elkm1/sensor.py +++ b/homeassistant/components/elkm1/sensor.py @@ -1,7 +1,7 @@ """Support for control of ElkM1 sensors.""" from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities - +DEPENDENCIES = [ELK_DOMAIN] async def async_setup_platform( diff --git a/homeassistant/components/elkm1/switch.py b/homeassistant/components/elkm1/switch.py index 050999fa9733c5..740a296586502f 100644 --- a/homeassistant/components/elkm1/switch.py +++ b/homeassistant/components/elkm1/switch.py @@ -3,7 +3,7 @@ from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities - +DEPENDENCIES = [ELK_DOMAIN] async def async_setup_platform( diff --git a/homeassistant/components/emby/media_player.py b/homeassistant/components/emby/media_player.py index f84b1013e7b449..8a94664f352cbe 100644 --- a/homeassistant/components/emby/media_player.py +++ b/homeassistant/components/emby/media_player.py @@ -17,7 +17,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util - +REQUIREMENTS = ['pyemby==1.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/emulated_roku/__init__.py b/homeassistant/components/emulated_roku/__init__.py index 19550de7f6802d..ef87e14ec434bf 100644 --- a/homeassistant/components/emulated_roku/__init__.py +++ b/homeassistant/components/emulated_roku/__init__.py @@ -11,7 +11,7 @@ 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, diff --git a/homeassistant/components/enigma2/media_player.py b/homeassistant/components/enigma2/media_player.py index 2fb3c270f4c0fe..11c3e0fe3ceab4 100644 --- a/homeassistant/components/enigma2/media_player.py +++ b/homeassistant/components/enigma2/media_player.py @@ -14,7 +14,7 @@ STATE_OFF, STATE_ON, STATE_PLAYING, CONF_PORT) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['openwebifpy==3.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/enocean/__init__.py b/homeassistant/components/enocean/__init__.py index 818a9ac14dfee2..8b3c27025cd26e 100644 --- a/homeassistant/components/enocean/__init__.py +++ b/homeassistant/components/enocean/__init__.py @@ -6,7 +6,7 @@ from homeassistant.const import CONF_DEVICE import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['enocean==0.40'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/enocean/binary_sensor.py b/homeassistant/components/enocean/binary_sensor.py index e87433101cda97..1fde8c79e401dd 100644 --- a/homeassistant/components/enocean/binary_sensor.py +++ b/homeassistant/components/enocean/binary_sensor.py @@ -12,7 +12,7 @@ _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 5dfac6f98b08dc..f574f89f951f77 100644 --- a/homeassistant/components/enocean/light.py +++ b/homeassistant/components/enocean/light.py @@ -15,7 +15,7 @@ CONF_SENDER_ID = 'sender_id' DEFAULT_NAME = 'EnOcean Light' - +DEPENDENCIES = ['enocean'] SUPPORT_ENOCEAN = SUPPORT_BRIGHTNESS diff --git a/homeassistant/components/enocean/sensor.py b/homeassistant/components/enocean/sensor.py index 3b9b250f944c59..8d79de2c50d700 100644 --- a/homeassistant/components/enocean/sensor.py +++ b/homeassistant/components/enocean/sensor.py @@ -12,7 +12,7 @@ _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)]), diff --git a/homeassistant/components/enocean/switch.py b/homeassistant/components/enocean/switch.py index a86bd6af22086f..4dfbafd36b16f6 100644 --- a/homeassistant/components/enocean/switch.py +++ b/homeassistant/components/enocean/switch.py @@ -12,7 +12,7 @@ _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 2c478fd4135033..2b62732dc9106f 100644 --- a/homeassistant/components/enphase_envoy/sensor.py +++ b/homeassistant/components/enphase_envoy/sensor.py @@ -10,7 +10,7 @@ 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 8386afd07cc13a..b2e228676902f3 100644 --- a/homeassistant/components/entur_public_transport/sensor.py +++ b/homeassistant/components/entur_public_transport/sensor.py @@ -14,7 +14,7 @@ from homeassistant.util import Throttle import homeassistant.util.dt as dt_util - +REQUIREMENTS = ['enturclient==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/envisalink/__init__.py b/homeassistant/components/envisalink/__init__.py index 9bd1f971a46462..c46a26c6f857f3 100644 --- a/homeassistant/components/envisalink/__init__.py +++ b/homeassistant/components/envisalink/__init__.py @@ -12,7 +12,7 @@ from homeassistant.helpers.discovery import async_load_platform from homeassistant.helpers.dispatcher import async_dispatcher_send - +REQUIREMENTS = ['pyenvisalink==3.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/envisalink/alarm_control_panel.py b/homeassistant/components/envisalink/alarm_control_panel.py index 2d191f5958a647..44874c6d5e8445 100644 --- a/homeassistant/components/envisalink/alarm_control_panel.py +++ b/homeassistant/components/envisalink/alarm_control_panel.py @@ -18,7 +18,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['envisalink'] SERVICE_ALARM_KEYPRESS = 'envisalink_alarm_keypress' ATTR_KEYPRESS = 'keypress' diff --git a/homeassistant/components/envisalink/binary_sensor.py b/homeassistant/components/envisalink/binary_sensor.py index fbd2b1093a54ba..267bba8cd288ee 100644 --- a/homeassistant/components/envisalink/binary_sensor.py +++ b/homeassistant/components/envisalink/binary_sensor.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['envisalink'] async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/envisalink/sensor.py b/homeassistant/components/envisalink/sensor.py index a1806d02ffc146..67a601b02a2ff5 100644 --- a/homeassistant/components/envisalink/sensor.py +++ b/homeassistant/components/envisalink/sensor.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['envisalink'] async def async_setup_platform( diff --git a/homeassistant/components/ephember/climate.py b/homeassistant/components/ephember/climate.py index f2a37460fa1356..3052dd911ee5de 100644 --- a/homeassistant/components/ephember/climate.py +++ b/homeassistant/components/ephember/climate.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/epson/media_player.py b/homeassistant/components/epson/media_player.py index b25a4b8d1b924e..57bd18e0ee0e50 100644 --- a/homeassistant/components/epson/media_player.py +++ b/homeassistant/components/epson/media_player.py @@ -15,7 +15,7 @@ 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__) diff --git a/homeassistant/components/eq3btsmart/climate.py b/homeassistant/components/eq3btsmart/climate.py index c081bdf4456165..f02bd2bc9a55e2 100644 --- a/homeassistant/components/eq3btsmart/climate.py +++ b/homeassistant/components/eq3btsmart/climate.py @@ -13,7 +13,7 @@ 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__) diff --git a/homeassistant/components/esphome/__init__.py b/homeassistant/components/esphome/__init__.py index 98fdd41a38807d..9e6f6367cda4fd 100644 --- a/homeassistant/components/esphome/__init__.py +++ b/homeassistant/components/esphome/__init__.py @@ -32,7 +32,7 @@ ServiceCall, UserService DOMAIN = 'esphome' - +REQUIREMENTS = ['aioesphomeapi==2.0.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/esphome/binary_sensor.py b/homeassistant/components/esphome/binary_sensor.py index 013ffb71ccb832..2db2f209fa5ac9 100644 --- a/homeassistant/components/esphome/binary_sensor.py +++ b/homeassistant/components/esphome/binary_sensor.py @@ -10,7 +10,7 @@ # 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 5ea25f7615a709..319a2c2a4d9150 100644 --- a/homeassistant/components/esphome/camera.py +++ b/homeassistant/components/esphome/camera.py @@ -13,7 +13,7 @@ # 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 d25957c0154dc8..e3cd9e488bf60d 100644 --- a/homeassistant/components/esphome/climate.py +++ b/homeassistant/components/esphome/climate.py @@ -19,7 +19,7 @@ # 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 7e3844ee42b6de..68eb4221a931c9 100644 --- a/homeassistant/components/esphome/cover.py +++ b/homeassistant/components/esphome/cover.py @@ -15,7 +15,7 @@ # 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 64e40c656fc9fb..973fa85774c0a9 100644 --- a/homeassistant/components/esphome/fan.py +++ b/homeassistant/components/esphome/fan.py @@ -14,7 +14,7 @@ # 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 35ba121f27d44d..c84c50010d9482 100644 --- a/homeassistant/components/esphome/light.py +++ b/homeassistant/components/esphome/light.py @@ -17,7 +17,7 @@ # 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 af54c52a29a010..e4fb7ef82baf85 100644 --- a/homeassistant/components/esphome/sensor.py +++ b/homeassistant/components/esphome/sensor.py @@ -13,7 +13,7 @@ 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 11ad0cde157a4a..e736c1df2097f1 100644 --- a/homeassistant/components/esphome/switch.py +++ b/homeassistant/components/esphome/switch.py @@ -12,7 +12,7 @@ # 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 a442314eb2d191..082295bfea5479 100644 --- a/homeassistant/components/etherscan/sensor.py +++ b/homeassistant/components/etherscan/sensor.py @@ -9,7 +9,7 @@ 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" diff --git a/homeassistant/components/eufy/__init__.py b/homeassistant/components/eufy/__init__.py index d38431444631d0..b0bd9109363e39 100644 --- a/homeassistant/components/eufy/__init__.py +++ b/homeassistant/components/eufy/__init__.py @@ -9,7 +9,7 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['lakeside==0.12'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/eufy/light.py b/homeassistant/components/eufy/light.py index 5b596611cfd214..62bc058f1555a8 100644 --- a/homeassistant/components/eufy/light.py +++ b/homeassistant/components/eufy/light.py @@ -11,7 +11,7 @@ color_temperature_mired_to_kelvin as mired_to_kelvin, color_temperature_kelvin_to_mired as kelvin_to_mired) - +DEPENDENCIES = ['eufy'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/eufy/switch.py b/homeassistant/components/eufy/switch.py index 722ceaeac5b362..96d68194107217 100644 --- a/homeassistant/components/eufy/switch.py +++ b/homeassistant/components/eufy/switch.py @@ -3,7 +3,7 @@ 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 9e411912600b31..a628f25ea288f0 100644 --- a/homeassistant/components/everlights/light.py +++ b/homeassistant/components/everlights/light.py @@ -15,7 +15,7 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.exceptions import PlatformNotReady - +REQUIREMENTS = ['pyeverlights==0.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/evohome/__init__.py b/homeassistant/components/evohome/__init__.py index 74b16757452f80..87a563ecd6d07f 100644 --- a/homeassistant/components/evohome/__init__.py +++ b/homeassistant/components/evohome/__init__.py @@ -19,7 +19,7 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.dispatcher import async_dispatcher_send - +REQUIREMENTS = ['evohomeclient==0.3.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/familyhub/camera.py b/homeassistant/components/familyhub/camera.py index 1fdc5c6ff3af46..18aa969132da79 100644 --- a/homeassistant/components/familyhub/camera.py +++ b/homeassistant/components/familyhub/camera.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['python-family-hub-local==0.0.2'] DEFAULT_NAME = 'FamilyHub Camera' diff --git a/homeassistant/components/fan/__init__.py b/homeassistant/components/fan/__init__.py index e4d2c1eb504ef1..e67ba390a98e53 100644 --- a/homeassistant/components/fan/__init__.py +++ b/homeassistant/components/fan/__init__.py @@ -18,7 +18,7 @@ _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 ec8c359963b083..973cc8e36597f1 100644 --- a/homeassistant/components/fastdotcom/__init__.py +++ b/homeassistant/components/fastdotcom/__init__.py @@ -10,7 +10,7 @@ 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 54923cd7f092c4..37fc0815ddcd93 100644 --- a/homeassistant/components/fastdotcom/sensor.py +++ b/homeassistant/components/fastdotcom/sensor.py @@ -7,7 +7,7 @@ from . import DATA_UPDATED, DOMAIN as FASTDOTCOM_DOMAIN - +DEPENDENCIES = ['fastdotcom'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fedex/sensor.py b/homeassistant/components/fedex/sensor.py index 09f474be7cad97..74ad4f7d0e53c4 100644 --- a/homeassistant/components/fedex/sensor.py +++ b/homeassistant/components/fedex/sensor.py @@ -14,7 +14,7 @@ from homeassistant.util import slugify from homeassistant.util.dt import now, parse_date - +REQUIREMENTS = ['fedexdeliverymanager==1.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/feedreader/__init__.py b/homeassistant/components/feedreader/__init__.py index 9396d88b2d5035..86744bfd39c771 100644 --- a/homeassistant/components/feedreader/__init__.py +++ b/homeassistant/components/feedreader/__init__.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/ffmpeg/__init__.py b/homeassistant/components/ffmpeg/__init__.py index e657fcb7f179b5..05bc1d991678d0 100644 --- a/homeassistant/components/ffmpeg/__init__.py +++ b/homeassistant/components/ffmpeg/__init__.py @@ -12,7 +12,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['ha-ffmpeg==2.0'] DOMAIN = 'ffmpeg' diff --git a/homeassistant/components/ffmpeg/camera.py b/homeassistant/components/ffmpeg/camera.py index f0aee43bd63255..8bca13cfbb7c94 100644 --- a/homeassistant/components/ffmpeg/camera.py +++ b/homeassistant/components/ffmpeg/camera.py @@ -14,7 +14,7 @@ _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 902d658042ab43..c274d84329e62d 100644 --- a/homeassistant/components/ffmpeg_motion/binary_sensor.py +++ b/homeassistant/components/ffmpeg_motion/binary_sensor.py @@ -12,7 +12,7 @@ CONF_INITIAL_STATE) from homeassistant.const import CONF_NAME - +DEPENDENCIES = ['ffmpeg'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ffmpeg_noise/binary_sensor.py b/homeassistant/components/ffmpeg_noise/binary_sensor.py index 46160fac50974b..7efcc3deda2637 100644 --- a/homeassistant/components/ffmpeg_noise/binary_sensor.py +++ b/homeassistant/components/ffmpeg_noise/binary_sensor.py @@ -12,7 +12,7 @@ CONF_INITIAL_STATE) from homeassistant.const import CONF_NAME - +DEPENDENCIES = ['ffmpeg'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fibaro/__init__.py b/homeassistant/components/fibaro/__init__.py index a4f6dd4f471ec5..6b37b178a595bb 100644 --- a/homeassistant/components/fibaro/__init__.py +++ b/homeassistant/components/fibaro/__init__.py @@ -13,7 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import convert, slugify - +REQUIREMENTS = ['fiblary3==0.1.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fibaro/binary_sensor.py b/homeassistant/components/fibaro/binary_sensor.py index c944098c6058b0..f71a5f3662e8e2 100644 --- a/homeassistant/components/fibaro/binary_sensor.py +++ b/homeassistant/components/fibaro/binary_sensor.py @@ -7,7 +7,7 @@ from . import FIBARO_DEVICES, FibaroDevice - +DEPENDENCIES = ['fibaro'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fibaro/climate.py b/homeassistant/components/fibaro/climate.py index 11f1b15d2ea640..0d1ecc3a77f9cf 100644 --- a/homeassistant/components/fibaro/climate.py +++ b/homeassistant/components/fibaro/climate.py @@ -44,7 +44,7 @@ FAN_UP_DOWN = 'up_down' FAN_QUIET = 'quiet' - +DEPENDENCIES = ['fibaro'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fibaro/cover.py b/homeassistant/components/fibaro/cover.py index 219fdcb4d84bca..0f5cc32bc9695b 100644 --- a/homeassistant/components/fibaro/cover.py +++ b/homeassistant/components/fibaro/cover.py @@ -6,7 +6,7 @@ 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 aa3c2fc87b5d53..600b566b36b23c 100644 --- a/homeassistant/components/fibaro/light.py +++ b/homeassistant/components/fibaro/light.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['fibaro'] def scaleto255(value): diff --git a/homeassistant/components/fibaro/scene.py b/homeassistant/components/fibaro/scene.py index 3bdb68427b5aab..93f0cd5b63afd0 100644 --- a/homeassistant/components/fibaro/scene.py +++ b/homeassistant/components/fibaro/scene.py @@ -5,7 +5,7 @@ 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 9761b36113672a..20a37fd3c23756 100644 --- a/homeassistant/components/fibaro/sensor.py +++ b/homeassistant/components/fibaro/sensor.py @@ -22,7 +22,7 @@ ['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 6ab06f4312233e..024531f62c70e8 100644 --- a/homeassistant/components/fibaro/switch.py +++ b/homeassistant/components/fibaro/switch.py @@ -6,7 +6,7 @@ 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 9e016bcf4c544d..00754c5ba68c12 100644 --- a/homeassistant/components/fido/sensor.py +++ b/homeassistant/components/fido/sensor.py @@ -20,7 +20,7 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pyfido==2.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fints/sensor.py b/homeassistant/components/fints/sensor.py index fb0a89ff430bb5..dce52785fbf269 100644 --- a/homeassistant/components/fints/sensor.py +++ b/homeassistant/components/fints/sensor.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['fints==1.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fitbit/sensor.py b/homeassistant/components/fitbit/sensor.py index 84888c48788f9c..abbe69c3e1d7db 100644 --- a/homeassistant/components/fitbit/sensor.py +++ b/homeassistant/components/fitbit/sensor.py @@ -17,7 +17,7 @@ from homeassistant.util.json import load_json, save_json - +REQUIREMENTS = ['fitbit==0.3.0'] _CONFIGURING = {} _LOGGER = logging.getLogger(__name__) @@ -32,7 +32,7 @@ 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' diff --git a/homeassistant/components/fixer/sensor.py b/homeassistant/components/fixer/sensor.py index 3b2ce5fc1f5106..f746d2008e10f3 100644 --- a/homeassistant/components/fixer/sensor.py +++ b/homeassistant/components/fixer/sensor.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['fixerio==1.0.0a0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/flexit/climate.py b/homeassistant/components/flexit/climate.py index 62cde4e35a4f49..fe7b5ff8e7cd2f 100644 --- a/homeassistant/components/flexit/climate.py +++ b/homeassistant/components/flexit/climate.py @@ -25,8 +25,8 @@ 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, diff --git a/homeassistant/components/flic/binary_sensor.py b/homeassistant/components/flic/binary_sensor.py index 96acc3a8794373..083ac01ab4a2d9 100644 --- a/homeassistant/components/flic/binary_sensor.py +++ b/homeassistant/components/flic/binary_sensor.py @@ -11,7 +11,7 @@ from homeassistant.components.binary_sensor import ( BinarySensorDevice, PLATFORM_SCHEMA) - +REQUIREMENTS = ['pyflic-homeassistant==0.4.dev0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/flunearyou/sensor.py b/homeassistant/components/flunearyou/sensor.py index 973bcb4cd9db1d..65de2c6ae43e0d 100644 --- a/homeassistant/components/flunearyou/sensor.py +++ b/homeassistant/components/flunearyou/sensor.py @@ -13,7 +13,7 @@ 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 be0708989b8d08..fdd0c09b9d7a60 100644 --- a/homeassistant/components/flux/switch.py +++ b/homeassistant/components/flux/switch.py @@ -42,7 +42,7 @@ MODE_MIRED = 'mired' MODE_RGB = 'rgb' DEFAULT_MODE = MODE_XY - +DEPENDENCIES = ['light'] PLATFORM_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/flux_led/light.py b/homeassistant/components/flux_led/light.py index b7f92b104cb78d..0ed14c49ec851c 100644 --- a/homeassistant/components/flux_led/light.py +++ b/homeassistant/components/flux_led/light.py @@ -15,7 +15,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util - +REQUIREMENTS = ['flux_led==0.22'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/folder_watcher/__init__.py b/homeassistant/components/folder_watcher/__init__.py index 0dab42138b0a17..babfbd9e9aa61c 100644 --- a/homeassistant/components/folder_watcher/__init__.py +++ b/homeassistant/components/folder_watcher/__init__.py @@ -8,7 +8,7 @@ EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['watchdog==0.8.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/foobot/sensor.py b/homeassistant/components/foobot/sensor.py index 74ebefd4a07333..2eeca5243a66f5 100644 --- a/homeassistant/components/foobot/sensor.py +++ b/homeassistant/components/foobot/sensor.py @@ -16,7 +16,7 @@ from homeassistant.util import Throttle - +REQUIREMENTS = ['foobot_async==0.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/foscam/camera.py b/homeassistant/components/foscam/camera.py index a090a88bfc9ff2..6ce8f1865fcf77 100644 --- a/homeassistant/components/foscam/camera.py +++ b/homeassistant/components/foscam/camera.py @@ -11,7 +11,7 @@ _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 86686b89d6fd25..0c5a48049ecc9e 100644 --- a/homeassistant/components/foursquare/__init__.py +++ b/homeassistant/components/foursquare/__init__.py @@ -12,7 +12,7 @@ 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 665ee9d5e510f6..03beef52357af6 100644 --- a/homeassistant/components/free_mobile/notify.py +++ b/homeassistant/components/free_mobile/notify.py @@ -9,7 +9,7 @@ from homeassistant.components.notify import (PLATFORM_SCHEMA, BaseNotificationService) - +REQUIREMENTS = ['freesms==0.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/freebox/__init__.py b/homeassistant/components/freebox/__init__.py index 703c067f98f04c..7accf7820f4d14 100644 --- a/homeassistant/components/freebox/__init__.py +++ b/homeassistant/components/freebox/__init__.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/freebox/device_tracker.py b/homeassistant/components/freebox/device_tracker.py index 4290920a01c76a..5418c1c61a7322 100644 --- a/homeassistant/components/freebox/device_tracker.py +++ b/homeassistant/components/freebox/device_tracker.py @@ -6,7 +6,7 @@ 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 7004e01dbef6ed..328665ab51cd9b 100644 --- a/homeassistant/components/freebox/sensor.py +++ b/homeassistant/components/freebox/sensor.py @@ -5,7 +5,7 @@ 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 7a6a14d837587f..4de194fc9023fd 100644 --- a/homeassistant/components/freebox/switch.py +++ b/homeassistant/components/freebox/switch.py @@ -5,7 +5,7 @@ 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 adb6a4ef122fcb..3e3e04f44475fb 100644 --- a/homeassistant/components/fritz/device_tracker.py +++ b/homeassistant/components/fritz/device_tracker.py @@ -8,7 +8,7 @@ DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_USERNAME - +REQUIREMENTS = ['fritzconnection==0.6.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fritzbox/__init__.py b/homeassistant/components/fritzbox/__init__.py index 17d874c2f64aec..81ba019acbc0b0 100644 --- a/homeassistant/components/fritzbox/__init__.py +++ b/homeassistant/components/fritzbox/__init__.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['pyfritzhome==0.4.0'] SUPPORTED_DOMAINS = ['binary_sensor', 'climate', 'switch', 'sensor'] diff --git a/homeassistant/components/fritzbox/binary_sensor.py b/homeassistant/components/fritzbox/binary_sensor.py index d98704423b3645..65578c571805e9 100644 --- a/homeassistant/components/fritzbox/binary_sensor.py +++ b/homeassistant/components/fritzbox/binary_sensor.py @@ -7,7 +7,7 @@ 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 4bb4816d0deb5e..e2c9be833ac4d3 100644 --- a/homeassistant/components/fritzbox/climate.py +++ b/homeassistant/components/fritzbox/climate.py @@ -16,7 +16,7 @@ ATTR_STATE_LOCKED, ATTR_STATE_SUMMER_MODE, ATTR_STATE_WINDOW_OPEN, DOMAIN as FRITZBOX_DOMAIN) - +DEPENDENCIES = ['fritzbox'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fritzbox/sensor.py b/homeassistant/components/fritzbox/sensor.py index 0ad5a2f5309585..7309f8cc6180a6 100644 --- a/homeassistant/components/fritzbox/sensor.py +++ b/homeassistant/components/fritzbox/sensor.py @@ -9,7 +9,7 @@ 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 e164895881b593..e227cdaef8a00a 100644 --- a/homeassistant/components/fritzbox/switch.py +++ b/homeassistant/components/fritzbox/switch.py @@ -10,7 +10,7 @@ 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_callmonitor/sensor.py b/homeassistant/components/fritzbox_callmonitor/sensor.py index c0bd88d8bbc514..a6641bc14ad5b5 100644 --- a/homeassistant/components/fritzbox_callmonitor/sensor.py +++ b/homeassistant/components/fritzbox_callmonitor/sensor.py @@ -16,7 +16,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle - +REQUIREMENTS = ['fritzconnection==0.6.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fritzbox_netmonitor/sensor.py b/homeassistant/components/fritzbox_netmonitor/sensor.py index cd76fb05e3905b..93f834a894d3b7 100644 --- a/homeassistant/components/fritzbox_netmonitor/sensor.py +++ b/homeassistant/components/fritzbox_netmonitor/sensor.py @@ -11,7 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle - +REQUIREMENTS = ['fritzconnection==0.6.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fritzdect/switch.py b/homeassistant/components/fritzdect/switch.py index cc4bb75327423f..449ae5a76f13ae 100644 --- a/homeassistant/components/fritzdect/switch.py +++ b/homeassistant/components/fritzdect/switch.py @@ -11,7 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.const import TEMP_CELSIUS, ATTR_TEMPERATURE - +REQUIREMENTS = ['fritzhome==1.0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/frontend/__init__.py b/homeassistant/components/frontend/__init__.py index d531f46654f93d..cfee41dc6ae806 100644 --- a/homeassistant/components/frontend/__init__.py +++ b/homeassistant/components/frontend/__init__.py @@ -21,7 +21,7 @@ from .storage import async_setup_frontend_storage - +REQUIREMENTS = ['home-assistant-frontend==20190410.0'] DOMAIN = 'frontend' DEPENDENCIES = ['api', 'websocket_api', 'http', 'system_log', diff --git a/homeassistant/components/frontier_silicon/media_player.py b/homeassistant/components/frontier_silicon/media_player.py index 4eba49db47ab0c..4f28d83e6cfe36 100644 --- a/homeassistant/components/frontier_silicon/media_player.py +++ b/homeassistant/components/frontier_silicon/media_player.py @@ -15,7 +15,7 @@ STATE_PLAYING, STATE_UNKNOWN) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['afsapi==0.0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/futurenow/light.py b/homeassistant/components/futurenow/light.py index d2d5f04fd9f9f9..4b570fd0a4dcdb 100644 --- a/homeassistant/components/futurenow/light.py +++ b/homeassistant/components/futurenow/light.py @@ -11,7 +11,7 @@ PLATFORM_SCHEMA) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pyfnip==0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gc100/__init__.py b/homeassistant/components/gc100/__init__.py index 061ae0fbc8cd31..36e9c61b1ba1e1 100644 --- a/homeassistant/components/gc100/__init__.py +++ b/homeassistant/components/gc100/__init__.py @@ -7,7 +7,7 @@ EVENT_HOMEASSISTANT_STOP, CONF_HOST, CONF_PORT) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['python-gc100==1.0.3a'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gc100/binary_sensor.py b/homeassistant/components/gc100/binary_sensor.py index a0b583f7d21365..9588506af77666 100644 --- a/homeassistant/components/gc100/binary_sensor.py +++ b/homeassistant/components/gc100/binary_sensor.py @@ -8,7 +8,7 @@ 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 77bf21b8594d92..1ffb2726495ffc 100644 --- a/homeassistant/components/gc100/switch.py +++ b/homeassistant/components/gc100/switch.py @@ -8,7 +8,7 @@ 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 6fdfc6c3dbb2ff..e4f85a1892dfc7 100644 --- a/homeassistant/components/gearbest/sensor.py +++ b/homeassistant/components/gearbest/sensor.py @@ -11,7 +11,7 @@ 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 68d7fa851b5774..d619d768c234e3 100644 --- a/homeassistant/components/geizhals/sensor.py +++ b/homeassistant/components/geizhals/sensor.py @@ -10,7 +10,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.const import CONF_NAME - +REQUIREMENTS = ['geizhals==0.0.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/generic_thermostat/climate.py b/homeassistant/components/generic_thermostat/climate.py index 25d33f8307130c..35efa82c8a3c1f 100644 --- a/homeassistant/components/generic_thermostat/climate.py +++ b/homeassistant/components/generic_thermostat/climate.py @@ -23,7 +23,7 @@ _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 5f7a347cee1462..e89616126d5f24 100644 --- a/homeassistant/components/geo_json_events/geo_location.py +++ b/homeassistant/components/geo_json_events/geo_location.py @@ -16,7 +16,7 @@ async_dispatcher_connect, dispatcher_send) from homeassistant.helpers.event import track_time_interval - +REQUIREMENTS = ['geojson_client==0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/geo_rss_events/sensor.py b/homeassistant/components/geo_rss_events/sensor.py index c251b92506aeda..f71a60c2e83e89 100644 --- a/homeassistant/components/geo_rss_events/sensor.py +++ b/homeassistant/components/geo_rss_events/sensor.py @@ -20,7 +20,7 @@ CONF_LATITUDE, CONF_LONGITUDE, CONF_RADIUS, CONF_URL) from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['georss_generic_client==0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/geofency/__init__.py b/homeassistant/components/geofency/__init__.py index 61860855ea45d8..88b72f02cc2e9f 100644 --- a/homeassistant/components/geofency/__init__.py +++ b/homeassistant/components/geofency/__init__.py @@ -16,7 +16,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'geofency' - +DEPENDENCIES = ['webhook'] CONF_MOBILE_BEACONS = 'mobile_beacons' diff --git a/homeassistant/components/geofency/device_tracker.py b/homeassistant/components/geofency/device_tracker.py index b5caaecad42678..0a1a9d5f32edc6 100644 --- a/homeassistant/components/geofency/device_tracker.py +++ b/homeassistant/components/geofency/device_tracker.py @@ -9,7 +9,7 @@ _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 bd7f2228fae745..5a86233d561ff7 100644 --- a/homeassistant/components/github/sensor.py +++ b/homeassistant/components/github/sensor.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['PyGithub==1.43.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gitlab_ci/sensor.py b/homeassistant/components/gitlab_ci/sensor.py index 3ea5e2a02eadeb..dd574b348d8239 100644 --- a/homeassistant/components/gitlab_ci/sensor.py +++ b/homeassistant/components/gitlab_ci/sensor.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['python-gitlab==1.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gitter/sensor.py b/homeassistant/components/gitter/sensor.py index 3fc37fe3cb6a30..2af9c20fb29094 100644 --- a/homeassistant/components/gitter/sensor.py +++ b/homeassistant/components/gitter/sensor.py @@ -8,7 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['gitterpy==0.1.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/glances/sensor.py b/homeassistant/components/glances/sensor.py index 0eacf4005331dd..db8f0397887e89 100644 --- a/homeassistant/components/glances/sensor.py +++ b/homeassistant/components/glances/sensor.py @@ -14,7 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['glances_api==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gntp/notify.py b/homeassistant/components/gntp/notify.py index e521ddbaa8a20e..fb3e96e83ab827 100644 --- a/homeassistant/components/gntp/notify.py +++ b/homeassistant/components/gntp/notify.py @@ -10,7 +10,7 @@ from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) - +REQUIREMENTS = ['gntp==1.0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/goalfeed/__init__.py b/homeassistant/components/goalfeed/__init__.py index 6e276785c5b837..6f0149f657a908 100644 --- a/homeassistant/components/goalfeed/__init__.py +++ b/homeassistant/components/goalfeed/__init__.py @@ -9,7 +9,7 @@ # 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 fb45526af73c60..4d40ddd2c72ee9 100644 --- a/homeassistant/components/gogogate2/cover.py +++ b/homeassistant/components/gogogate2/cover.py @@ -10,7 +10,7 @@ CONF_IP_ADDRESS, CONF_NAME) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pygogogate2==0.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/google/tts.py b/homeassistant/components/google/tts.py index d516ad9f43bfda..49a945cbbfd241 100644 --- a/homeassistant/components/google/tts.py +++ b/homeassistant/components/google/tts.py @@ -12,7 +12,7 @@ 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__) diff --git a/homeassistant/components/google_assistant/__init__.py b/homeassistant/components/google_assistant/__init__.py index 1222d97a7599cc..0fd167c2729436 100644 --- a/homeassistant/components/google_assistant/__init__.py +++ b/homeassistant/components/google_assistant/__init__.py @@ -28,7 +28,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['http'] ENTITY_SCHEMA = vol.Schema({ vol.Optional(CONF_NAME): cv.string, diff --git a/homeassistant/components/google_maps/device_tracker.py b/homeassistant/components/google_maps/device_tracker.py index 9ce40711fc3a1a..7bc9be00b8cc66 100644 --- a/homeassistant/components/google_maps/device_tracker.py +++ b/homeassistant/components/google_maps/device_tracker.py @@ -14,7 +14,7 @@ from homeassistant.helpers.typing import ConfigType from homeassistant.util import slugify, dt as dt_util - +REQUIREMENTS = ['locationsharinglib==3.0.11'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/google_pubsub/__init__.py b/homeassistant/components/google_pubsub/__init__.py index 61c44d1e29e9d6..18c068ea454bcc 100644 --- a/homeassistant/components/google_pubsub/__init__.py +++ b/homeassistant/components/google_pubsub/__init__.py @@ -15,7 +15,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['google-cloud-pubsub==0.39.1'] DOMAIN = 'google_pubsub' diff --git a/homeassistant/components/google_travel_time/sensor.py b/homeassistant/components/google_travel_time/sensor.py index 6f7971ef03df0f..b448830ab02aa6 100644 --- a/homeassistant/components/google_travel_time/sensor.py +++ b/homeassistant/components/google_travel_time/sensor.py @@ -15,7 +15,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['googlemaps==2.5.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/googlehome/__init__.py b/homeassistant/components/googlehome/__init__.py index f039cc0232a5cc..6ebc2f512b1fef 100644 --- a/homeassistant/components/googlehome/__init__.py +++ b/homeassistant/components/googlehome/__init__.py @@ -10,7 +10,7 @@ _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 19af4247254d06..c024cde0c6ce66 100644 --- a/homeassistant/components/googlehome/device_tracker.py +++ b/homeassistant/components/googlehome/device_tracker.py @@ -10,7 +10,7 @@ _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 239fd11782abbc..4f37740da85ed2 100644 --- a/homeassistant/components/googlehome/sensor.py +++ b/homeassistant/components/googlehome/sensor.py @@ -8,7 +8,7 @@ from . import CLIENT, DOMAIN as GOOGLEHOME_DOMAIN, NAME - +DEPENDENCIES = ['googlehome'] SCAN_INTERVAL = timedelta(seconds=10) diff --git a/homeassistant/components/gpmdp/media_player.py b/homeassistant/components/gpmdp/media_player.py index 970e85a270d106..788126b957f9fc 100644 --- a/homeassistant/components/gpmdp/media_player.py +++ b/homeassistant/components/gpmdp/media_player.py @@ -16,7 +16,7 @@ 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 fd13bbe8e67858..62307cb1011631 100644 --- a/homeassistant/components/gpsd/sensor.py +++ b/homeassistant/components/gpsd/sensor.py @@ -10,7 +10,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['gps3==0.33.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gpslogger/__init__.py b/homeassistant/components/gpslogger/__init__.py index 77e3990bad0b01..6bc9d11a68e088 100644 --- a/homeassistant/components/gpslogger/__init__.py +++ b/homeassistant/components/gpslogger/__init__.py @@ -15,7 +15,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'gpslogger' - +DEPENDENCIES = ['webhook'] TRACKER_UPDATE = '{}_tracker_update'.format(DOMAIN) diff --git a/homeassistant/components/gpslogger/device_tracker.py b/homeassistant/components/gpslogger/device_tracker.py index 72ab2336656eb6..c9496975272811 100644 --- a/homeassistant/components/gpslogger/device_tracker.py +++ b/homeassistant/components/gpslogger/device_tracker.py @@ -10,7 +10,7 @@ _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 9d335fc0df9860..aedc98aac314e6 100644 --- a/homeassistant/components/greeneye_monitor/__init__.py +++ b/homeassistant/components/greeneye_monitor/__init__.py @@ -11,7 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import async_load_platform - +REQUIREMENTS = ['greeneye_monitor==1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/greeneye_monitor/sensor.py b/homeassistant/components/greeneye_monitor/sensor.py index 6ce6815e33bd2a..8321bb768cabf0 100644 --- a/homeassistant/components/greeneye_monitor/sensor.py +++ b/homeassistant/components/greeneye_monitor/sensor.py @@ -23,7 +23,7 @@ _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 3e07f2613fd9df..b8efe8ae17dcba 100644 --- a/homeassistant/components/greenwave/light.py +++ b/homeassistant/components/greenwave/light.py @@ -10,7 +10,7 @@ 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 903a50c908e775..094a561d310ea5 100644 --- a/homeassistant/components/gstreamer/media_player.py +++ b/homeassistant/components/gstreamer/media_player.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/gtfs/sensor.py b/homeassistant/components/gtfs/sensor.py index 85db95eb2d3a57..9e89a8ad844de3 100644 --- a/homeassistant/components/gtfs/sensor.py +++ b/homeassistant/components/gtfs/sensor.py @@ -17,7 +17,7 @@ from homeassistant.util import slugify import homeassistant.util.dt as dt_util - +REQUIREMENTS = ['pygtfs==0.1.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gtt/sensor.py b/homeassistant/components/gtt/sensor.py index 9638e431e6dfdb..659984fadea8f9 100644 --- a/homeassistant/components/gtt/sensor.py +++ b/homeassistant/components/gtt/sensor.py @@ -9,7 +9,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pygtt==1.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/habitica/__init__.py b/homeassistant/components/habitica/__init__.py index 54600825073a5d..23113a1388b4f7 100644 --- a/homeassistant/components/habitica/__init__.py +++ b/homeassistant/components/habitica/__init__.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/hangouts/__init__.py b/homeassistant/components/hangouts/__init__.py index 8bec2827b92014..29cdc29e5ada6c 100644 --- a/homeassistant/components/hangouts/__init__.py +++ b/homeassistant/components/hangouts/__init__.py @@ -19,7 +19,7 @@ MESSAGE_SCHEMA, SERVICE_RECONNECT, SERVICE_SEND_MESSAGE, SERVICE_UPDATE, TARGETS_SCHEMA) - +REQUIREMENTS = ['hangups==0.4.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hangouts/notify.py b/homeassistant/components/hangouts/notify.py index dbf884af85fc4d..de9af2e077512b 100644 --- a/homeassistant/components/hangouts/notify.py +++ b/homeassistant/components/hangouts/notify.py @@ -12,7 +12,7 @@ _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 3917b043b0207c..cec0ac4f5c8653 100644 --- a/homeassistant/components/harman_kardon_avr/media_player.py +++ b/homeassistant/components/harman_kardon_avr/media_player.py @@ -12,7 +12,7 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_PORT, STATE_OFF, STATE_ON) - +REQUIREMENTS = ['hkavr==0.0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/harmony/remote.py b/homeassistant/components/harmony/remote.py index 6dbf325c76a64a..12b3a91e12b675 100644 --- a/homeassistant/components/harmony/remote.py +++ b/homeassistant/components/harmony/remote.py @@ -16,7 +16,7 @@ from homeassistant.exceptions import PlatformNotReady from homeassistant.util import slugify - +REQUIREMENTS = ['aioharmony==0.1.11'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hassio/__init__.py b/homeassistant/components/hassio/__init__.py index 6529521c39d3cb..e8d04b1596d980 100644 --- a/homeassistant/components/hassio/__init__.py +++ b/homeassistant/components/hassio/__init__.py @@ -25,7 +25,7 @@ _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 9166e080be4826..8eb13c5ab213ae 100644 --- a/homeassistant/components/hdmi_cec/__init__.py +++ b/homeassistant/components/hdmi_cec/__init__.py @@ -17,7 +17,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['pyCEC==0.4.13'] DOMAIN = 'hdmi_cec' diff --git a/homeassistant/components/hdmi_cec/media_player.py b/homeassistant/components/hdmi_cec/media_player.py index 772c722718f613..b2d2910e145bbe 100644 --- a/homeassistant/components/hdmi_cec/media_player.py +++ b/homeassistant/components/hdmi_cec/media_player.py @@ -11,7 +11,7 @@ from . import ATTR_NEW, CecDevice - +DEPENDENCIES = ['hdmi_cec'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hdmi_cec/switch.py b/homeassistant/components/hdmi_cec/switch.py index 87df6d74300258..639f545707ee2b 100644 --- a/homeassistant/components/hdmi_cec/switch.py +++ b/homeassistant/components/hdmi_cec/switch.py @@ -6,7 +6,7 @@ from . import ATTR_NEW, CecDevice - +DEPENDENCIES = ['hdmi_cec'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/heatmiser/climate.py b/homeassistant/components/heatmiser/climate.py index db568a81cc524d..fc9057bc905699 100644 --- a/homeassistant/components/heatmiser/climate.py +++ b/homeassistant/components/heatmiser/climate.py @@ -10,7 +10,7 @@ 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__) diff --git a/homeassistant/components/heos/__init__.py b/homeassistant/components/heos/__init__.py index c9d5a6883dd2da..084444be4ea87f 100644 --- a/homeassistant/components/heos/__init__.py +++ b/homeassistant/components/heos/__init__.py @@ -19,7 +19,7 @@ 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({ diff --git a/homeassistant/components/heos/media_player.py b/homeassistant/components/heos/media_player.py index bc7b0831993128..72d42f8f66f6bb 100644 --- a/homeassistant/components/heos/media_player.py +++ b/homeassistant/components/heos/media_player.py @@ -17,7 +17,7 @@ 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 | \ diff --git a/homeassistant/components/hikvision/binary_sensor.py b/homeassistant/components/hikvision/binary_sensor.py index dbdc98b145cf48..a6a82c9ee1b814 100644 --- a/homeassistant/components/hikvision/binary_sensor.py +++ b/homeassistant/components/hikvision/binary_sensor.py @@ -13,7 +13,7 @@ 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 6920a4fbfe65ad..6e5dcdac9aae6b 100644 --- a/homeassistant/components/hikvisioncam/switch.py +++ b/homeassistant/components/hikvisioncam/switch.py @@ -10,7 +10,7 @@ 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 925e205ace69a4..5128b8beea341c 100644 --- a/homeassistant/components/hipchat/notify.py +++ b/homeassistant/components/hipchat/notify.py @@ -10,7 +10,7 @@ PLATFORM_SCHEMA, BaseNotificationService) - +REQUIREMENTS = ['hipnotify==1.0.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/history/__init__.py b/homeassistant/components/history/__init__.py index cc44526cdbd798..7b07fac19a692d 100644 --- a/homeassistant/components/history/__init__.py +++ b/homeassistant/components/history/__init__.py @@ -19,7 +19,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'history' - +DEPENDENCIES = ['recorder', 'http'] CONF_ORDER = 'use_include_order' diff --git a/homeassistant/components/history_graph/__init__.py b/homeassistant/components/history_graph/__init__.py index 4a20a4b9685167..893f3514d77f93 100644 --- a/homeassistant/components/history_graph/__init__.py +++ b/homeassistant/components/history_graph/__init__.py @@ -8,7 +8,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.entity_component import EntityComponent - +DEPENDENCIES = ['history'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/history_stats/sensor.py b/homeassistant/components/history_stats/sensor.py index 7ae29d94dea4cb..f1eea4dd693086 100644 --- a/homeassistant/components/history_stats/sensor.py +++ b/homeassistant/components/history_stats/sensor.py @@ -20,7 +20,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'history_stats' - +DEPENDENCIES = ['history'] CONF_START = 'start' CONF_END = 'end' diff --git a/homeassistant/components/hive/__init__.py b/homeassistant/components/hive/__init__.py index 9931d03f23c759..934c44028ac27b 100644 --- a/homeassistant/components/hive/__init__.py +++ b/homeassistant/components/hive/__init__.py @@ -8,7 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform - +REQUIREMENTS = ['pyhiveapi==0.2.17'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hive/binary_sensor.py b/homeassistant/components/hive/binary_sensor.py index ecbf56df59250f..a0973f4d8e93a7 100644 --- a/homeassistant/components/hive/binary_sensor.py +++ b/homeassistant/components/hive/binary_sensor.py @@ -3,7 +3,7 @@ from . import DATA_HIVE, DOMAIN - +DEPENDENCIES = ['hive'] DEVICETYPE_DEVICE_CLASS = { 'motionsensor': 'motion', diff --git a/homeassistant/components/hive/climate.py b/homeassistant/components/hive/climate.py index 3dfb33646613c4..dac7feb2927fe6 100644 --- a/homeassistant/components/hive/climate.py +++ b/homeassistant/components/hive/climate.py @@ -8,7 +8,7 @@ from . import DATA_HIVE, DOMAIN - +DEPENDENCIES = ['hive'] HIVE_TO_HASS_STATE = { 'SCHEDULE': STATE_AUTO, diff --git a/homeassistant/components/hive/light.py b/homeassistant/components/hive/light.py index 80734adcc4b6db..3a2176c3eedab7 100644 --- a/homeassistant/components/hive/light.py +++ b/homeassistant/components/hive/light.py @@ -6,7 +6,7 @@ from . import DATA_HIVE, DOMAIN - +DEPENDENCIES = ['hive'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/hive/sensor.py b/homeassistant/components/hive/sensor.py index 25df56dbfa42cf..e7b7d6b45977aa 100644 --- a/homeassistant/components/hive/sensor.py +++ b/homeassistant/components/hive/sensor.py @@ -4,7 +4,7 @@ from . import DATA_HIVE, DOMAIN - +DEPENDENCIES = ['hive'] FRIENDLY_NAMES = { 'Hub_OnlineStatus': 'Hive Hub Status', diff --git a/homeassistant/components/hive/switch.py b/homeassistant/components/hive/switch.py index 01638080df0ec2..fd4d3d69b50a06 100644 --- a/homeassistant/components/hive/switch.py +++ b/homeassistant/components/hive/switch.py @@ -3,7 +3,7 @@ from . import DATA_HIVE, DOMAIN - +DEPENDENCIES = ['hive'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/hlk_sw16/__init__.py b/homeassistant/components/hlk_sw16/__init__.py index 5ba6c0d3e9f72f..acb604bc0103b3 100644 --- a/homeassistant/components/hlk_sw16/__init__.py +++ b/homeassistant/components/hlk_sw16/__init__.py @@ -13,7 +13,7 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_send, async_dispatcher_connect) - +REQUIREMENTS = ['hlk-sw16==0.0.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hlk_sw16/switch.py b/homeassistant/components/hlk_sw16/switch.py index 0be8678755ee3c..164a504fa34406 100644 --- a/homeassistant/components/hlk_sw16/switch.py +++ b/homeassistant/components/hlk_sw16/switch.py @@ -6,7 +6,7 @@ from . import DATA_DEVICE_REGISTER, DOMAIN as HLK_SW16, SW16Device - +DEPENDENCIES = [HLK_SW16] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit/__init__.py b/homeassistant/components/homekit/__init__.py index f575b6d7f4141d..01979f03b9a5f1 100644 --- a/homeassistant/components/homekit/__init__.py +++ b/homeassistant/components/homekit/__init__.py @@ -26,7 +26,7 @@ from .util import ( show_setup_message, validate_entity_config, validate_media_player_features) - +REQUIREMENTS = ['HAP-python==2.4.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit_controller/__init__.py b/homeassistant/components/homekit_controller/__init__.py index cc7535da85f190..2a43d0ac9ce5c4 100644 --- a/homeassistant/components/homekit_controller/__init__.py +++ b/homeassistant/components/homekit_controller/__init__.py @@ -12,7 +12,7 @@ ) from .const import DOMAIN # noqa: pylint: disable=unused-import - +REQUIREMENTS = ['homekit[IP]==0.13.0'] HOMEKIT_IGNORE = [ 'BSB002', diff --git a/homeassistant/components/homekit_controller/alarm_control_panel.py b/homeassistant/components/homekit_controller/alarm_control_panel.py index bf3a875e7d3e0e..f9bc25f4237e0c 100644 --- a/homeassistant/components/homekit_controller/alarm_control_panel.py +++ b/homeassistant/components/homekit_controller/alarm_control_panel.py @@ -8,7 +8,7 @@ from . import KNOWN_DEVICES, HomeKitEntity - +DEPENDENCIES = ['homekit_controller'] ICON = 'mdi:security' diff --git a/homeassistant/components/homekit_controller/binary_sensor.py b/homeassistant/components/homekit_controller/binary_sensor.py index 81af48f902ec89..2bd03b18932146 100644 --- a/homeassistant/components/homekit_controller/binary_sensor.py +++ b/homeassistant/components/homekit_controller/binary_sensor.py @@ -5,7 +5,7 @@ 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 c895d31874b356..67f1fb72bcfbb5 100644 --- a/homeassistant/components/homekit_controller/climate.py +++ b/homeassistant/components/homekit_controller/climate.py @@ -9,7 +9,7 @@ from . import KNOWN_DEVICES, HomeKitEntity - +DEPENDENCIES = ['homekit_controller'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit_controller/cover.py b/homeassistant/components/homekit_controller/cover.py index a07a94e6cbbbd4..26b7613ed2b6d5 100644 --- a/homeassistant/components/homekit_controller/cover.py +++ b/homeassistant/components/homekit_controller/cover.py @@ -12,7 +12,7 @@ STATE_STOPPED = 'stopped' - +DEPENDENCIES = ['homekit_controller'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit_controller/light.py b/homeassistant/components/homekit_controller/light.py index 820299438b9d8c..cb9259df4a992d 100644 --- a/homeassistant/components/homekit_controller/light.py +++ b/homeassistant/components/homekit_controller/light.py @@ -7,7 +7,7 @@ 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 9716e3d45846f9..0d0275fda164e7 100644 --- a/homeassistant/components/homekit_controller/lock.py +++ b/homeassistant/components/homekit_controller/lock.py @@ -7,7 +7,7 @@ from . import KNOWN_DEVICES, HomeKitEntity - +DEPENDENCIES = ['homekit_controller'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit_controller/sensor.py b/homeassistant/components/homekit_controller/sensor.py index 7a7c9e730708f9..8cbc8f248bafe0 100644 --- a/homeassistant/components/homekit_controller/sensor.py +++ b/homeassistant/components/homekit_controller/sensor.py @@ -3,7 +3,7 @@ from . import KNOWN_DEVICES, HomeKitEntity - +DEPENDENCIES = ['homekit_controller'] HUMIDITY_ICON = 'mdi-water-percent' TEMP_C_ICON = "mdi-temperature-celsius" diff --git a/homeassistant/components/homekit_controller/switch.py b/homeassistant/components/homekit_controller/switch.py index 22cb9abd55e468..34e83c06526758 100644 --- a/homeassistant/components/homekit_controller/switch.py +++ b/homeassistant/components/homekit_controller/switch.py @@ -5,7 +5,7 @@ from . import KNOWN_DEVICES, HomeKitEntity - +DEPENDENCIES = ['homekit_controller'] OUTLET_IN_USE = "outlet_in_use" diff --git a/homeassistant/components/homematic/__init__.py b/homeassistant/components/homematic/__init__.py index 78ff2b1051e053..a8109af5ed8f84 100644 --- a/homeassistant/components/homematic/__init__.py +++ b/homeassistant/components/homematic/__init__.py @@ -14,7 +14,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['pyhomematic==0.1.58'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematic/binary_sensor.py b/homeassistant/components/homematic/binary_sensor.py index 5aee2b112cfaf3..7bf260a9bdc385 100644 --- a/homeassistant/components/homematic/binary_sensor.py +++ b/homeassistant/components/homematic/binary_sensor.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['homematic'] SENSOR_TYPES_CLASS = { 'IPShutterContact': 'opening', diff --git a/homeassistant/components/homematic/climate.py b/homeassistant/components/homematic/climate.py index 202c4b9d2f3776..146cad1bc4ca75 100644 --- a/homeassistant/components/homematic/climate.py +++ b/homeassistant/components/homematic/climate.py @@ -9,7 +9,7 @@ from . import ATTR_DISCOVER_DEVICES, HM_ATTRIBUTE_SUPPORT, HMDevice - +DEPENDENCIES = ['homematic'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematic/cover.py b/homeassistant/components/homematic/cover.py index 4f617a08241c9c..33b764dc31fa21 100644 --- a/homeassistant/components/homematic/cover.py +++ b/homeassistant/components/homematic/cover.py @@ -9,7 +9,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['homematic'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/homematic/light.py b/homeassistant/components/homematic/light.py index 6592959c270cb8..c3601461173783 100644 --- a/homeassistant/components/homematic/light.py +++ b/homeassistant/components/homematic/light.py @@ -9,7 +9,7 @@ _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 de2dfbab31ccbb..3c0ca040c5f522 100644 --- a/homeassistant/components/homematic/lock.py +++ b/homeassistant/components/homematic/lock.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['homematic'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/homematic/notify.py b/homeassistant/components/homematic/notify.py index 894e2c799b8b49..9054c1fa0ad6ca 100644 --- a/homeassistant/components/homematic/notify.py +++ b/homeassistant/components/homematic/notify.py @@ -13,7 +13,7 @@ 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), diff --git a/homeassistant/components/homematic/sensor.py b/homeassistant/components/homematic/sensor.py index a8ab6c849343a2..401d11f70c849b 100644 --- a/homeassistant/components/homematic/sensor.py +++ b/homeassistant/components/homematic/sensor.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['homematic'] HM_STATE_HA_CAST = { 'RotaryHandleSensor': {0: 'closed', 1: 'tilted', 2: 'open'}, diff --git a/homeassistant/components/homematic/switch.py b/homeassistant/components/homematic/switch.py index 44d8599ae39964..393ad09b3104ef 100644 --- a/homeassistant/components/homematic/switch.py +++ b/homeassistant/components/homematic/switch.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['homematic'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/homematicip_cloud/__init__.py b/homeassistant/components/homematicip_cloud/__init__.py index b257cbfc412caa..1330a2750ae6db 100644 --- a/homeassistant/components/homematicip_cloud/__init__.py +++ b/homeassistant/components/homematicip_cloud/__init__.py @@ -15,7 +15,7 @@ from .device import HomematicipGenericDevice # noqa: F401 from .hap import HomematicipAuth, HomematicipHAP # noqa: F401 - +REQUIREMENTS = ['homematicip==0.10.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematicip_cloud/alarm_control_panel.py b/homeassistant/components/homematicip_cloud/alarm_control_panel.py index 6c190455be7bd2..df0201340ed127 100644 --- a/homeassistant/components/homematicip_cloud/alarm_control_panel.py +++ b/homeassistant/components/homematicip_cloud/alarm_control_panel.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['homematicip_cloud'] async def async_setup_platform( diff --git a/homeassistant/components/homematicip_cloud/binary_sensor.py b/homeassistant/components/homematicip_cloud/binary_sensor.py index d461781c721cf0..44c17282dda03d 100644 --- a/homeassistant/components/homematicip_cloud/binary_sensor.py +++ b/homeassistant/components/homematicip_cloud/binary_sensor.py @@ -6,7 +6,7 @@ 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/cover.py b/homeassistant/components/homematicip_cloud/cover.py index 2faf8163166cf1..735e8789670452 100644 --- a/homeassistant/components/homematicip_cloud/cover.py +++ b/homeassistant/components/homematicip_cloud/cover.py @@ -5,7 +5,7 @@ from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice - +DEPENDENCIES = ['homematicip_cloud'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematicip_cloud/light.py b/homeassistant/components/homematicip_cloud/light.py index f71ad07cbfea33..f5bac66388c6d5 100644 --- a/homeassistant/components/homematicip_cloud/light.py +++ b/homeassistant/components/homematicip_cloud/light.py @@ -7,7 +7,7 @@ from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice - +DEPENDENCIES = ['homematicip_cloud'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematicip_cloud/sensor.py b/homeassistant/components/homematicip_cloud/sensor.py index 6c9136813aba67..5f345f419fac09 100644 --- a/homeassistant/components/homematicip_cloud/sensor.py +++ b/homeassistant/components/homematicip_cloud/sensor.py @@ -9,7 +9,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['homematicip_cloud'] ATTR_TEMPERATURE_OFFSET = 'temperature_offset' ATTR_WIND_DIRECTION = 'wind_direction' diff --git a/homeassistant/components/homematicip_cloud/switch.py b/homeassistant/components/homematicip_cloud/switch.py index 23956a7097df78..f9713cd8c006cc 100644 --- a/homeassistant/components/homematicip_cloud/switch.py +++ b/homeassistant/components/homematicip_cloud/switch.py @@ -6,7 +6,7 @@ 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 ef5aebd2320a11..ba3157471f9c80 100644 --- a/homeassistant/components/homematicip_cloud/weather.py +++ b/homeassistant/components/homematicip_cloud/weather.py @@ -7,7 +7,7 @@ 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 752d8908078791..d0769ed25e6193 100644 --- a/homeassistant/components/homeworks/__init__.py +++ b/homeassistant/components/homeworks/__init__.py @@ -12,7 +12,7 @@ async_dispatcher_connect, dispatcher_send) from homeassistant.util import slugify - +REQUIREMENTS = ['pyhomeworks==0.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homeworks/light.py b/homeassistant/components/homeworks/light.py index 0e9e02a6cb162f..ca41dff9834b44 100644 --- a/homeassistant/components/homeworks/light.py +++ b/homeassistant/components/homeworks/light.py @@ -11,7 +11,7 @@ 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 f8b44d400b547f..7460ed6e9d0a8c 100644 --- a/homeassistant/components/honeywell/climate.py +++ b/homeassistant/components/honeywell/climate.py @@ -15,7 +15,7 @@ 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__) diff --git a/homeassistant/components/horizon/media_player.py b/homeassistant/components/horizon/media_player.py index 7813aac785f1ab..51168e4ef2e1a7 100644 --- a/homeassistant/components/horizon/media_player.py +++ b/homeassistant/components/horizon/media_player.py @@ -16,7 +16,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['horimote==0.4.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hp_ilo/sensor.py b/homeassistant/components/hp_ilo/sensor.py index e2157b6b07f5f6..a017f0ee3e8c08 100644 --- a/homeassistant/components/hp_ilo/sensor.py +++ b/homeassistant/components/hp_ilo/sensor.py @@ -13,7 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['python-hpilo==3.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/html5/notify.py b/homeassistant/components/html5/notify.py index 7a4ce9ad723720..fa7bf660b79f59 100644 --- a/homeassistant/components/html5/notify.py +++ b/homeassistant/components/html5/notify.py @@ -24,9 +24,9 @@ ATTR_DATA, ATTR_TARGET, ATTR_TITLE, ATTR_TITLE_DEFAULT, DOMAIN, PLATFORM_SCHEMA, BaseNotificationService) +REQUIREMENTS = ['pywebpush==1.9.2'] - - +DEPENDENCIES = ['frontend'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/http/__init__.py b/homeassistant/components/http/__init__.py index 710c309b321fba..0bcf3f85ff7932 100644 --- a/homeassistant/components/http/__init__.py +++ b/homeassistant/components/http/__init__.py @@ -29,7 +29,7 @@ from .static import CACHE_HEADERS, CachingStaticResource from .view import HomeAssistantView # noqa - +REQUIREMENTS = ['aiohttp_cors==0.7.0'] DOMAIN = 'http' diff --git a/homeassistant/components/huawei_lte/__init__.py b/homeassistant/components/huawei_lte/__init__.py index af4d78b35cc2e9..a462b1b3072f18 100644 --- a/homeassistant/components/huawei_lte/__init__.py +++ b/homeassistant/components/huawei_lte/__init__.py @@ -19,7 +19,7 @@ # 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) diff --git a/homeassistant/components/huawei_lte/device_tracker.py b/homeassistant/components/huawei_lte/device_tracker.py index 5f14f7059b181a..69bf42fb3fe5a5 100644 --- a/homeassistant/components/huawei_lte/device_tracker.py +++ b/homeassistant/components/huawei_lte/device_tracker.py @@ -11,7 +11,7 @@ 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 ca13bc9e6e08fd..5e20a774c25d2a 100644 --- a/homeassistant/components/huawei_lte/notify.py +++ b/homeassistant/components/huawei_lte/notify.py @@ -11,7 +11,7 @@ from ..huawei_lte import DATA_KEY - +DEPENDENCIES = ['huawei_lte'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/huawei_lte/sensor.py b/homeassistant/components/huawei_lte/sensor.py index ba58348299b4d3..42ad4b52f8d815 100644 --- a/homeassistant/components/huawei_lte/sensor.py +++ b/homeassistant/components/huawei_lte/sensor.py @@ -16,7 +16,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['huawei_lte'] DEFAULT_NAME_TEMPLATE = 'Huawei {} {}' diff --git a/homeassistant/components/hue/__init__.py b/homeassistant/components/hue/__init__.py index ab5b5a9ef8c241..8f5c27f6516e8d 100644 --- a/homeassistant/components/hue/__init__.py +++ b/homeassistant/components/hue/__init__.py @@ -14,7 +14,7 @@ # Loading the config flow file will register the flow from .config_flow import configured_hosts - +REQUIREMENTS = ['aiohue==1.9.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hue/light.py b/homeassistant/components/hue/light.py index 038901be181619..0725c86bd954e0 100644 --- a/homeassistant/components/hue/light.py +++ b/homeassistant/components/hue/light.py @@ -16,7 +16,7 @@ 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 e1ee269383a7f7..7f0709aa6c1cd6 100644 --- a/homeassistant/components/hunterdouglas_powerview/scene.py +++ b/homeassistant/components/hunterdouglas_powerview/scene.py @@ -10,7 +10,7 @@ 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 8320dc6a4627bb..9c7baf6db2e2dd 100644 --- a/homeassistant/components/hydrawise/__init__.py +++ b/homeassistant/components/hydrawise/__init__.py @@ -14,7 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval - +REQUIREMENTS = ['hydrawiser==0.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hydrawise/binary_sensor.py b/homeassistant/components/hydrawise/binary_sensor.py index 3aedcac16c1e31..85a51d3649eb55 100644 --- a/homeassistant/components/hydrawise/binary_sensor.py +++ b/homeassistant/components/hydrawise/binary_sensor.py @@ -12,7 +12,7 @@ BINARY_SENSORS, DATA_HYDRAWISE, DEVICE_MAP, DEVICE_MAP_INDEX, HydrawiseEntity) - +DEPENDENCIES = ['hydrawise'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hydrawise/sensor.py b/homeassistant/components/hydrawise/sensor.py index 60cac1047b9242..fc15a54ed60963 100644 --- a/homeassistant/components/hydrawise/sensor.py +++ b/homeassistant/components/hydrawise/sensor.py @@ -10,7 +10,7 @@ from . import ( DATA_HYDRAWISE, DEVICE_MAP, DEVICE_MAP_INDEX, SENSORS, HydrawiseEntity) - +DEPENDENCIES = ['hydrawise'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hydrawise/switch.py b/homeassistant/components/hydrawise/switch.py index e51c719e7f182e..dcbd5274a6237d 100644 --- a/homeassistant/components/hydrawise/switch.py +++ b/homeassistant/components/hydrawise/switch.py @@ -12,7 +12,7 @@ DEFAULT_WATERING_TIME, DEVICE_MAP, DEVICE_MAP_INDEX, SWITCHES, HydrawiseEntity) - +DEPENDENCIES = ['hydrawise'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hydroquebec/sensor.py b/homeassistant/components/hydroquebec/sensor.py index 843fc2a96b3ea7..5f0fd9e01aded9 100644 --- a/homeassistant/components/hydroquebec/sensor.py +++ b/homeassistant/components/hydroquebec/sensor.py @@ -20,7 +20,7 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pyhydroquebec==2.2.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ialarm/alarm_control_panel.py b/homeassistant/components/ialarm/alarm_control_panel.py index 9d8cd76528a31b..8152c2496e603c 100644 --- a/homeassistant/components/ialarm/alarm_control_panel.py +++ b/homeassistant/components/ialarm/alarm_control_panel.py @@ -12,7 +12,7 @@ STATE_ALARM_TRIGGERED) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pyialarm==0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/icloud/device_tracker.py b/homeassistant/components/icloud/device_tracker.py index 4fe6ed6a5051f2..1d0e0d2fafb0f6 100644 --- a/homeassistant/components/icloud/device_tracker.py +++ b/homeassistant/components/icloud/device_tracker.py @@ -17,7 +17,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['pyicloud==0.9.1'] CONF_ACCOUNTNAME = 'account_name' CONF_MAX_INTERVAL = 'max_interval' diff --git a/homeassistant/components/idteck_prox/__init__.py b/homeassistant/components/idteck_prox/__init__.py index 56814a1ea559db..3de7aa7cc8c5fa 100644 --- a/homeassistant/components/idteck_prox/__init__.py +++ b/homeassistant/components/idteck_prox/__init__.py @@ -7,7 +7,7 @@ from homeassistant.const import ( CONF_HOST, CONF_PORT, CONF_NAME, EVENT_HOMEASSISTANT_STOP) - +REQUIREMENTS = ['rfk101py==0.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ifttt/__init__.py b/homeassistant/components/ifttt/__init__.py index 47439fd394fad1..bad3984ea5bd20 100644 --- a/homeassistant/components/ifttt/__init__.py +++ b/homeassistant/components/ifttt/__init__.py @@ -9,8 +9,8 @@ from homeassistant.helpers import config_entry_flow import homeassistant.helpers.config_validation as cv - - +REQUIREMENTS = ['pyfttt==0.3'] +DEPENDENCIES = ['webhook'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ifttt/alarm_control_panel.py b/homeassistant/components/ifttt/alarm_control_panel.py index 332beb7a081b98..3f806173196897 100644 --- a/homeassistant/components/ifttt/alarm_control_panel.py +++ b/homeassistant/components/ifttt/alarm_control_panel.py @@ -15,7 +15,7 @@ from . import ATTR_EVENT, DOMAIN as IFTTT_DOMAIN, SERVICE_TRIGGER - +DEPENDENCIES = ['ifttt'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/iglo/light.py b/homeassistant/components/iglo/light.py index 44b951e39a899a..6851141efb46be 100644 --- a/homeassistant/components/iglo/light.py +++ b/homeassistant/components/iglo/light.py @@ -12,7 +12,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util - +REQUIREMENTS = ['iglo==1.2.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ihc/__init__.py b/homeassistant/components/ihc/__init__.py index 2160c1d5255cf1..102acd82551c4f 100644 --- a/homeassistant/components/ihc/__init__.py +++ b/homeassistant/components/ihc/__init__.py @@ -21,7 +21,7 @@ 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__) diff --git a/homeassistant/components/ihc/binary_sensor.py b/homeassistant/components/ihc/binary_sensor.py index aafd54fe695538..69e3e1685af8c8 100644 --- a/homeassistant/components/ihc/binary_sensor.py +++ b/homeassistant/components/ihc/binary_sensor.py @@ -6,7 +6,7 @@ from .const import CONF_INVERTING from .ihcdevice import IHCDevice - +DEPENDENCIES = ['ihc'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/ihc/light.py b/homeassistant/components/ihc/light.py index 94057a07c240de..ad6d0fb6511859 100644 --- a/homeassistant/components/ihc/light.py +++ b/homeassistant/components/ihc/light.py @@ -9,7 +9,7 @@ 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 5b6d6f536b7c03..fd1f2cee53a846 100644 --- a/homeassistant/components/ihc/sensor.py +++ b/homeassistant/components/ihc/sensor.py @@ -5,7 +5,7 @@ from . import IHC_CONTROLLER, IHC_DATA, IHC_INFO from .ihcdevice import IHCDevice - +DEPENDENCIES = ['ihc'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/ihc/switch.py b/homeassistant/components/ihc/switch.py index d3885f32dd2232..e2189492b8f435 100644 --- a/homeassistant/components/ihc/switch.py +++ b/homeassistant/components/ihc/switch.py @@ -6,7 +6,7 @@ from .ihcdevice import IHCDevice from .util import async_pulse, async_set_bool - +DEPENDENCIES = ['ihc'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/image_processing/__init__.py b/homeassistant/components/image_processing/__init__.py index cfa087a2c305c6..e5193985629629 100644 --- a/homeassistant/components/image_processing/__init__.py +++ b/homeassistant/components/image_processing/__init__.py @@ -17,7 +17,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'image_processing' - +DEPENDENCIES = ['camera'] SCAN_INTERVAL = timedelta(seconds=10) diff --git a/homeassistant/components/imap/sensor.py b/homeassistant/components/imap/sensor.py index 3dfcc8dae10d42..5ff23eb8e5d5c4 100644 --- a/homeassistant/components/imap/sensor.py +++ b/homeassistant/components/imap/sensor.py @@ -15,7 +15,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['aioimaplib==0.7.15'] CONF_SERVER = 'server' CONF_FOLDER = 'folder' diff --git a/homeassistant/components/influxdb/__init__.py b/homeassistant/components/influxdb/__init__.py index 58ea445ebc8190..551996983c8004 100644 --- a/homeassistant/components/influxdb/__init__.py +++ b/homeassistant/components/influxdb/__init__.py @@ -18,7 +18,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity_values import EntityValues - +REQUIREMENTS = ['influxdb==5.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/influxdb/sensor.py b/homeassistant/components/influxdb/sensor.py index 671faa18c0a2bf..3bec7e3c657780 100644 --- a/homeassistant/components/influxdb/sensor.py +++ b/homeassistant/components/influxdb/sensor.py @@ -18,7 +18,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['influxdb==5.2.0'] DEFAULT_HOST = 'localhost' DEFAULT_PORT = 8086 diff --git a/homeassistant/components/insteon/__init__.py b/homeassistant/components/insteon/__init__.py index 83b45b4ee54410..a462ac0f63efe3 100644 --- a/homeassistant/components/insteon/__init__.py +++ b/homeassistant/components/insteon/__init__.py @@ -13,7 +13,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['insteonplm==0.15.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/insteon/binary_sensor.py b/homeassistant/components/insteon/binary_sensor.py index 1d6591fd8fa549..6f1e56756394f0 100644 --- a/homeassistant/components/insteon/binary_sensor.py +++ b/homeassistant/components/insteon/binary_sensor.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['insteon'] SENSOR_TYPES = { 'openClosedSensor': 'opening', diff --git a/homeassistant/components/insteon/cover.py b/homeassistant/components/insteon/cover.py index 75dda4929e3054..1bb316152a9db9 100644 --- a/homeassistant/components/insteon/cover.py +++ b/homeassistant/components/insteon/cover.py @@ -10,7 +10,7 @@ _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 29171b2ac6e3a8..26a56d6df98b3b 100644 --- a/homeassistant/components/insteon/fan.py +++ b/homeassistant/components/insteon/fan.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['insteon'] SPEED_TO_HEX = { SPEED_OFF: 0x00, diff --git a/homeassistant/components/insteon/light.py b/homeassistant/components/insteon/light.py index 30bb494a28f046..676c053325c65f 100644 --- a/homeassistant/components/insteon/light.py +++ b/homeassistant/components/insteon/light.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['insteon'] MAX_BRIGHTNESS = 255 diff --git a/homeassistant/components/insteon/sensor.py b/homeassistant/components/insteon/sensor.py index 765d9a78334251..edea87e1f738aa 100644 --- a/homeassistant/components/insteon/sensor.py +++ b/homeassistant/components/insteon/sensor.py @@ -5,7 +5,7 @@ from . import InsteonEntity - +DEPENDENCIES = ['insteon'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/insteon/switch.py b/homeassistant/components/insteon/switch.py index d02bb060a21c5d..4fdcdb20bb2847 100644 --- a/homeassistant/components/insteon/switch.py +++ b/homeassistant/components/insteon/switch.py @@ -5,7 +5,7 @@ from . import InsteonEntity - +DEPENDENCIES = ['insteon'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ios/__init__.py b/homeassistant/components/ios/__init__.py index 20e203f1f82046..cc8bd62293a18b 100644 --- a/homeassistant/components/ios/__init__.py +++ b/homeassistant/components/ios/__init__.py @@ -17,7 +17,7 @@ DOMAIN = 'ios' - +DEPENDENCIES = ['device_tracker', 'http', 'zeroconf'] CONF_PUSH = 'push' CONF_PUSH_CATEGORIES = 'categories' diff --git a/homeassistant/components/ios/notify.py b/homeassistant/components/ios/notify.py index 9264ebae9645fd..1f8aade4ec17a8 100644 --- a/homeassistant/components/ios/notify.py +++ b/homeassistant/components/ios/notify.py @@ -14,7 +14,7 @@ PUSH_URL = "https://ios-push.home-assistant.io/push" - +DEPENDENCIES = ["ios"] # pylint: disable=invalid-name diff --git a/homeassistant/components/ios/sensor.py b/homeassistant/components/ios/sensor.py index 4003cb18cbded2..404b313368cebe 100644 --- a/homeassistant/components/ios/sensor.py +++ b/homeassistant/components/ios/sensor.py @@ -3,7 +3,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.icon import icon_for_battery_level - +DEPENDENCIES = ['ios'] SENSOR_TYPES = { 'level': ['Battery Level', '%'], diff --git a/homeassistant/components/iota/__init__.py b/homeassistant/components/iota/__init__.py index a7141d23d938ba..e28de61aad0174 100644 --- a/homeassistant/components/iota/__init__.py +++ b/homeassistant/components/iota/__init__.py @@ -8,7 +8,7 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['pyota==2.0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/iota/sensor.py b/homeassistant/components/iota/sensor.py index 22dcded99210ed..2955828aff5a77 100644 --- a/homeassistant/components/iota/sensor.py +++ b/homeassistant/components/iota/sensor.py @@ -15,7 +15,7 @@ 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 ba5af03f8cecf0..01ac2194f355e7 100644 --- a/homeassistant/components/iperf3/__init__.py +++ b/homeassistant/components/iperf3/__init__.py @@ -12,7 +12,7 @@ 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 85916e0e54c978..db9aafcdf4bb19 100644 --- a/homeassistant/components/iperf3/sensor.py +++ b/homeassistant/components/iperf3/sensor.py @@ -6,7 +6,7 @@ from . import ATTR_VERSION, DATA_UPDATED, DOMAIN as IPERF3_DOMAIN, SENSOR_TYPES - +DEPENDENCIES = ['iperf3'] ATTRIBUTION = 'Data retrieved using Iperf3' diff --git a/homeassistant/components/ipma/weather.py b/homeassistant/components/ipma/weather.py index 0e46199d815043..7122957ad12d95 100644 --- a/homeassistant/components/ipma/weather.py +++ b/homeassistant/components/ipma/weather.py @@ -15,7 +15,7 @@ from homeassistant.helpers import config_validation as cv from homeassistant.util import Throttle - +REQUIREMENTS = ['pyipma==1.2.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/irish_rail_transport/sensor.py b/homeassistant/components/irish_rail_transport/sensor.py index 8a4db9a2ea23dd..e17ecfde59da5b 100644 --- a/homeassistant/components/irish_rail_transport/sensor.py +++ b/homeassistant/components/irish_rail_transport/sensor.py @@ -9,7 +9,7 @@ from homeassistant.const import CONF_NAME, ATTR_ATTRIBUTION from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['pyirishrail==0.0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/islamic_prayer_times/sensor.py b/homeassistant/components/islamic_prayer_times/sensor.py index 15595bd8517c9f..9efbc237e30a5e 100644 --- a/homeassistant/components/islamic_prayer_times/sensor.py +++ b/homeassistant/components/islamic_prayer_times/sensor.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/iss/binary_sensor.py b/homeassistant/components/iss/binary_sensor.py index 1761f595f59a19..381bc16791826e 100644 --- a/homeassistant/components/iss/binary_sensor.py +++ b/homeassistant/components/iss/binary_sensor.py @@ -12,7 +12,7 @@ CONF_NAME, ATTR_LONGITUDE, ATTR_LATITUDE, CONF_SHOW_ON_MAP) from homeassistant.util import Throttle - +REQUIREMENTS = ['pyiss==1.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/isy994/__init__.py b/homeassistant/components/isy994/__init__.py index 321b231783691b..4eaa71deececa5 100644 --- a/homeassistant/components/isy994/__init__.py +++ b/homeassistant/components/isy994/__init__.py @@ -12,7 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.typing import ConfigType, Dict - +REQUIREMENTS = ['PyISY==1.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/itach/remote.py b/homeassistant/components/itach/remote.py index a0794edcdd1e6b..beb773838fb17d 100644 --- a/homeassistant/components/itach/remote.py +++ b/homeassistant/components/itach/remote.py @@ -10,7 +10,7 @@ CONF_DEVICES) from homeassistant.components.remote import PLATFORM_SCHEMA - +REQUIREMENTS = ['pyitachip2ir==0.0.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/jewish_calendar/sensor.py b/homeassistant/components/jewish_calendar/sensor.py index 37c625bf1ab1b2..478bbed98fa6c7 100644 --- a/homeassistant/components/jewish_calendar/sensor.py +++ b/homeassistant/components/jewish_calendar/sensor.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/joaoapps_join/__init__.py b/homeassistant/components/joaoapps_join/__init__.py index 8d438b4919a9e1..f1371deed2bdf5 100644 --- a/homeassistant/components/joaoapps_join/__init__.py +++ b/homeassistant/components/joaoapps_join/__init__.py @@ -6,7 +6,7 @@ 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__) diff --git a/homeassistant/components/joaoapps_join/notify.py b/homeassistant/components/joaoapps_join/notify.py index ca73d46bd0479d..0137520049d423 100644 --- a/homeassistant/components/joaoapps_join/notify.py +++ b/homeassistant/components/joaoapps_join/notify.py @@ -7,7 +7,7 @@ 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__) diff --git a/homeassistant/components/juicenet/__init__.py b/homeassistant/components/juicenet/__init__.py index 056b202d3468e1..f62331d1502ea0 100644 --- a/homeassistant/components/juicenet/__init__.py +++ b/homeassistant/components/juicenet/__init__.py @@ -8,7 +8,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['python-juicenet==0.0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/juicenet/sensor.py b/homeassistant/components/juicenet/sensor.py index d480501fb99c42..6b55e539547d24 100644 --- a/homeassistant/components/juicenet/sensor.py +++ b/homeassistant/components/juicenet/sensor.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['juicenet'] SENSOR_TYPES = { 'status': ['Charging Status', None], diff --git a/homeassistant/components/keenetic_ndms2/device_tracker.py b/homeassistant/components/keenetic_ndms2/device_tracker.py index 22549b0f68d7c8..f873507112dc62 100644 --- a/homeassistant/components/keenetic_ndms2/device_tracker.py +++ b/homeassistant/components/keenetic_ndms2/device_tracker.py @@ -10,7 +10,7 @@ CONF_HOST, CONF_PORT, CONF_PASSWORD, CONF_USERNAME ) - +REQUIREMENTS = ['ndms2_client==0.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/keyboard/__init__.py b/homeassistant/components/keyboard/__init__.py index 54db68578c979a..44accca2f56a7e 100644 --- a/homeassistant/components/keyboard/__init__.py +++ b/homeassistant/components/keyboard/__init__.py @@ -6,7 +6,7 @@ SERVICE_MEDIA_PREVIOUS_TRACK, SERVICE_VOLUME_DOWN, SERVICE_VOLUME_MUTE, SERVICE_VOLUME_UP) - +REQUIREMENTS = ['pyuserinput==0.1.11'] DOMAIN = 'keyboard' diff --git a/homeassistant/components/keyboard_remote/__init__.py b/homeassistant/components/keyboard_remote/__init__.py index 7abaeccf4929f6..e786fe458a8460 100644 --- a/homeassistant/components/keyboard_remote/__init__.py +++ b/homeassistant/components/keyboard_remote/__init__.py @@ -11,7 +11,7 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) - +REQUIREMENTS = ['evdev==0.6.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/kira/__init__.py b/homeassistant/components/kira/__init__.py index 422c5ca2dca2e1..d60d8e0cfeb10a 100644 --- a/homeassistant/components/kira/__init__.py +++ b/homeassistant/components/kira/__init__.py @@ -12,7 +12,7 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pykira==0.1.1'] DOMAIN = 'kira' diff --git a/homeassistant/components/kiwi/lock.py b/homeassistant/components/kiwi/lock.py index 303b35fe8d1477..0b5806425d95a7 100644 --- a/homeassistant/components/kiwi/lock.py +++ b/homeassistant/components/kiwi/lock.py @@ -11,7 +11,7 @@ from homeassistant.helpers.event import async_call_later from homeassistant.core import callback - +REQUIREMENTS = ['kiwiki-client==0.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/knx/__init__.py b/homeassistant/components/knx/__init__.py index b39cce0f393fe3..ea5b18b7ede91a 100644 --- a/homeassistant/components/knx/__init__.py +++ b/homeassistant/components/knx/__init__.py @@ -11,7 +11,7 @@ from homeassistant.helpers.event import async_track_state_change from homeassistant.helpers.script import Script - +REQUIREMENTS = ['xknx==0.10.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/knx/binary_sensor.py b/homeassistant/components/knx/binary_sensor.py index b636894fcf41d4..8ee21e24c5e978 100644 --- a/homeassistant/components/knx/binary_sensor.py +++ b/homeassistant/components/knx/binary_sensor.py @@ -22,7 +22,7 @@ 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, diff --git a/homeassistant/components/knx/climate.py b/homeassistant/components/knx/climate.py index 6b75c6ab713d50..e11e5449326bf5 100644 --- a/homeassistant/components/knx/climate.py +++ b/homeassistant/components/knx/climate.py @@ -39,7 +39,7 @@ 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 = { diff --git a/homeassistant/components/knx/cover.py b/homeassistant/components/knx/cover.py index 4a33af163651b7..b2b287d1e87d23 100644 --- a/homeassistant/components/knx/cover.py +++ b/homeassistant/components/knx/cover.py @@ -25,7 +25,7 @@ DEFAULT_TRAVEL_TIME = 25 DEFAULT_NAME = 'KNX Cover' - +DEPENDENCIES = ['knx'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, diff --git a/homeassistant/components/knx/light.py b/homeassistant/components/knx/light.py index 24b5d02d3cab4d..cf59f1fc135b3b 100644 --- a/homeassistant/components/knx/light.py +++ b/homeassistant/components/knx/light.py @@ -30,7 +30,7 @@ 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 8342fc10632733..742252d187426f 100644 --- a/homeassistant/components/knx/notify.py +++ b/homeassistant/components/knx/notify.py @@ -11,7 +11,7 @@ DEFAULT_NAME = 'KNX Notify' - +DEPENDENCIES = ['knx'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADDRESS): cv.string, diff --git a/homeassistant/components/knx/scene.py b/homeassistant/components/knx/scene.py index 271e9efb22c7a9..4bf186c28ff7d4 100644 --- a/homeassistant/components/knx/scene.py +++ b/homeassistant/components/knx/scene.py @@ -11,7 +11,7 @@ CONF_SCENE_NUMBER = 'scene_number' DEFAULT_NAME = 'KNX SCENE' - +DEPENDENCIES = ['knx'] PLATFORM_SCHEMA = vol.Schema({ vol.Required(CONF_PLATFORM): 'knx', diff --git a/homeassistant/components/knx/sensor.py b/homeassistant/components/knx/sensor.py index cfaf8bd91f8875..7ddafe53be44b0 100644 --- a/homeassistant/components/knx/sensor.py +++ b/homeassistant/components/knx/sensor.py @@ -10,7 +10,7 @@ from . import ATTR_DISCOVER_DEVICES, DATA_KNX DEFAULT_NAME = 'KNX Sensor' - +DEPENDENCIES = ['knx'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADDRESS): cv.string, diff --git a/homeassistant/components/knx/switch.py b/homeassistant/components/knx/switch.py index 29a98d28807fab..e3beff39677954 100644 --- a/homeassistant/components/knx/switch.py +++ b/homeassistant/components/knx/switch.py @@ -11,7 +11,7 @@ CONF_STATE_ADDRESS = 'state_address' DEFAULT_NAME = 'KNX Switch' - +DEPENDENCIES = ['knx'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADDRESS): cv.string, diff --git a/homeassistant/components/kodi/media_player.py b/homeassistant/components/kodi/media_player.py index 3f2974281fe5d7..81c93dba2ac417 100644 --- a/homeassistant/components/kodi/media_player.py +++ b/homeassistant/components/kodi/media_player.py @@ -31,7 +31,7 @@ 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__) diff --git a/homeassistant/components/kodi/notify.py b/homeassistant/components/kodi/notify.py index 8d9bfbe8fbec2f..f6ee2c47b96b7c 100644 --- a/homeassistant/components/kodi/notify.py +++ b/homeassistant/components/kodi/notify.py @@ -14,7 +14,7 @@ ATTR_DATA, ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) - +REQUIREMENTS = ['jsonrpc-async==0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/konnected/__init__.py b/homeassistant/components/konnected/__init__.py index 50c107b12ee4b0..276e395817c0d5 100644 --- a/homeassistant/components/konnected/__init__.py +++ b/homeassistant/components/konnected/__init__.py @@ -32,7 +32,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['konnected==0.1.5'] _BINARY_SENSOR_SCHEMA = vol.All( vol.Schema({ @@ -96,7 +96,7 @@ extra=vol.ALLOW_EXTRA, ) - +DEPENDENCIES = ['http'] async def async_setup(hass, config): diff --git a/homeassistant/components/konnected/binary_sensor.py b/homeassistant/components/konnected/binary_sensor.py index 7c884f90f5ee2a..1fbfbea1861c25 100644 --- a/homeassistant/components/konnected/binary_sensor.py +++ b/homeassistant/components/konnected/binary_sensor.py @@ -12,7 +12,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['konnected'] async def async_setup_platform( diff --git a/homeassistant/components/konnected/sensor.py b/homeassistant/components/konnected/sensor.py index 43d9de96214ca3..a48d1a58619600 100644 --- a/homeassistant/components/konnected/sensor.py +++ b/homeassistant/components/konnected/sensor.py @@ -13,7 +13,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['konnected'] SENSOR_TYPES = { DEVICE_CLASS_TEMPERATURE: ['Temperature', TEMP_CELSIUS], diff --git a/homeassistant/components/konnected/switch.py b/homeassistant/components/konnected/switch.py index 3d8d2a88067b96..3db602215b968d 100644 --- a/homeassistant/components/konnected/switch.py +++ b/homeassistant/components/konnected/switch.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['konnected'] async def async_setup_platform( diff --git a/homeassistant/components/kwb/sensor.py b/homeassistant/components/kwb/sensor.py index 08292377a60a48..bad0ea3cdede51 100644 --- a/homeassistant/components/kwb/sensor.py +++ b/homeassistant/components/kwb/sensor.py @@ -9,7 +9,7 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pykwb==0.0.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lacrosse/sensor.py b/homeassistant/components/lacrosse/sensor.py index 4b5e000708f7bc..9240343a5e3e69 100644 --- a/homeassistant/components/lacrosse/sensor.py +++ b/homeassistant/components/lacrosse/sensor.py @@ -14,7 +14,7 @@ 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__) diff --git a/homeassistant/components/lametric/__init__.py b/homeassistant/components/lametric/__init__.py index bcd8aec4b90b8a..0c3c8b08dd732e 100644 --- a/homeassistant/components/lametric/__init__.py +++ b/homeassistant/components/lametric/__init__.py @@ -5,7 +5,7 @@ import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['lmnotify==0.0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lametric/notify.py b/homeassistant/components/lametric/notify.py index 7c7ab711e70d13..358bb056b00e33 100644 --- a/homeassistant/components/lametric/notify.py +++ b/homeassistant/components/lametric/notify.py @@ -11,7 +11,7 @@ from . import DOMAIN as LAMETRIC_DOMAIN - +REQUIREMENTS = ['lmnotify==0.0.4'] _LOGGER = logging.getLogger(__name__) @@ -21,7 +21,7 @@ CONF_LIFETIME = 'lifetime' CONF_PRIORITY = 'priority' - +DEPENDENCIES = ['lametric'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_ICON, default='a7956'): cv.string, diff --git a/homeassistant/components/lastfm/sensor.py b/homeassistant/components/lastfm/sensor.py index 0dad1ac7c6c52a..e4e28eff4f1819 100644 --- a/homeassistant/components/lastfm/sensor.py +++ b/homeassistant/components/lastfm/sensor.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['pylast==3.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/launch_library/sensor.py b/homeassistant/components/launch_library/sensor.py index 0d5bc2b764a999..4b42ddba268b0b 100644 --- a/homeassistant/components/launch_library/sensor.py +++ b/homeassistant/components/launch_library/sensor.py @@ -10,7 +10,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.aiohttp_client import async_get_clientsession - +REQUIREMENTS = ['pylaunches==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lcn/__init__.py b/homeassistant/components/lcn/__init__.py index 018a84f7156232..44f69c261b9c88 100644 --- a/homeassistant/components/lcn/__init__.py +++ b/homeassistant/components/lcn/__init__.py @@ -20,7 +20,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['pypck==0.5.9'] def has_unique_connection_names(connections): diff --git a/homeassistant/components/lcn/binary_sensor.py b/homeassistant/components/lcn/binary_sensor.py index 974572dbc2a07a..0ffa2e50d8b21d 100755 --- a/homeassistant/components/lcn/binary_sensor.py +++ b/homeassistant/components/lcn/binary_sensor.py @@ -6,7 +6,7 @@ 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, diff --git a/homeassistant/components/lcn/cover.py b/homeassistant/components/lcn/cover.py index 8172303dfac226..a32ff7c23f4605 100755 --- a/homeassistant/components/lcn/cover.py +++ b/homeassistant/components/lcn/cover.py @@ -5,7 +5,7 @@ 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, diff --git a/homeassistant/components/lcn/light.py b/homeassistant/components/lcn/light.py index f21f2c8c3ade49..00b78259354e51 100644 --- a/homeassistant/components/lcn/light.py +++ b/homeassistant/components/lcn/light.py @@ -9,7 +9,7 @@ CONF_CONNECTIONS, CONF_DIMMABLE, CONF_OUTPUT, CONF_TRANSITION, DATA_LCN, OUTPUT_PORTS) - +DEPENDENCIES = ['lcn'] async def async_setup_platform( diff --git a/homeassistant/components/lcn/sensor.py b/homeassistant/components/lcn/sensor.py index 87bab240e5f07e..5e50d092ada05d 100755 --- a/homeassistant/components/lcn/sensor.py +++ b/homeassistant/components/lcn/sensor.py @@ -6,7 +6,7 @@ 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, diff --git a/homeassistant/components/lcn/switch.py b/homeassistant/components/lcn/switch.py index fcfaef1c64bc3f..7c375f4a598c79 100755 --- a/homeassistant/components/lcn/switch.py +++ b/homeassistant/components/lcn/switch.py @@ -5,7 +5,7 @@ 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, diff --git a/homeassistant/components/lg_netcast/media_player.py b/homeassistant/components/lg_netcast/media_player.py index 691bdb3cc0777a..12fee5fae96eda 100644 --- a/homeassistant/components/lg_netcast/media_player.py +++ b/homeassistant/components/lg_netcast/media_player.py @@ -17,7 +17,7 @@ STATE_PLAYING) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pylgnetcast-homeassistant==0.2.0.dev0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lg_soundbar/media_player.py b/homeassistant/components/lg_soundbar/media_player.py index 305c3a74f9a615..2e2481a462b5a9 100644 --- a/homeassistant/components/lg_soundbar/media_player.py +++ b/homeassistant/components/lg_soundbar/media_player.py @@ -9,7 +9,7 @@ from homeassistant.const import STATE_ON - +REQUIREMENTS = ['temescal==0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lifx/__init__.py b/homeassistant/components/lifx/__init__.py index d2f9e4cf4395da..82802bab4af75c 100644 --- a/homeassistant/components/lifx/__init__.py +++ b/homeassistant/components/lifx/__init__.py @@ -8,7 +8,7 @@ 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 eb5699aaf9dc09..014ca9ae6c80b5 100644 --- a/homeassistant/components/lifx/light.py +++ b/homeassistant/components/lifx/light.py @@ -30,8 +30,8 @@ _LOGGER = logging.getLogger(__name__) - - +DEPENDENCIES = ['lifx'] +REQUIREMENTS = ['aiolifx_effects==0.2.1'] SCAN_INTERVAL = timedelta(seconds=10) diff --git a/homeassistant/components/lifx_legacy/light.py b/homeassistant/components/lifx_legacy/light.py index 1c4e66cf7f7207..6c5f68937f88a5 100644 --- a/homeassistant/components/lifx_legacy/light.py +++ b/homeassistant/components/lifx_legacy/light.py @@ -22,7 +22,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['liffylights==0.9.4'] BYTE_MAX = 255 diff --git a/homeassistant/components/light/__init__.py b/homeassistant/components/light/__init__.py index 4971cd257c6c84..db2e9ce0197b50 100644 --- a/homeassistant/components/light/__init__.py +++ b/homeassistant/components/light/__init__.py @@ -24,7 +24,7 @@ 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 54407ade74230d..f6e11352265dcf 100644 --- a/homeassistant/components/lightwave/__init__.py +++ b/homeassistant/components/lightwave/__init__.py @@ -5,7 +5,7 @@ CONF_SWITCHES) from homeassistant.helpers.discovery import async_load_platform - +REQUIREMENTS = ['lightwave==0.15'] LIGHTWAVE_LINK = 'lightwave_link' diff --git a/homeassistant/components/lightwave/light.py b/homeassistant/components/lightwave/light.py index 54e5f9672fde37..f22533d2548dca 100644 --- a/homeassistant/components/lightwave/light.py +++ b/homeassistant/components/lightwave/light.py @@ -5,7 +5,7 @@ from . import LIGHTWAVE_LINK - +DEPENDENCIES = ['lightwave'] MAX_BRIGHTNESS = 255 diff --git a/homeassistant/components/lightwave/switch.py b/homeassistant/components/lightwave/switch.py index d4b27eef880217..dfa93b4b151844 100644 --- a/homeassistant/components/lightwave/switch.py +++ b/homeassistant/components/lightwave/switch.py @@ -4,7 +4,7 @@ from . import LIGHTWAVE_LINK - +DEPENDENCIES = ['lightwave'] async def async_setup_platform( diff --git a/homeassistant/components/limitlessled/light.py b/homeassistant/components/limitlessled/light.py index 31f6679400eb97..4f187afa1d75df 100644 --- a/homeassistant/components/limitlessled/light.py +++ b/homeassistant/components/limitlessled/light.py @@ -15,7 +15,7 @@ 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__) diff --git a/homeassistant/components/linksys_ap/device_tracker.py b/homeassistant/components/linksys_ap/device_tracker.py index 324a8390c54bb4..46cc78d4e4ae36 100644 --- a/homeassistant/components/linksys_ap/device_tracker.py +++ b/homeassistant/components/linksys_ap/device_tracker.py @@ -14,7 +14,7 @@ INTERFACES = 2 DEFAULT_TIMEOUT = 10 - +REQUIREMENTS = ['beautifulsoup4==4.7.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/linky/sensor.py b/homeassistant/components/linky/sensor.py index 0684a766f956f7..35f85f15ed6332 100644 --- a/homeassistant/components/linky/sensor.py +++ b/homeassistant/components/linky/sensor.py @@ -12,7 +12,7 @@ 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 1292b76110b0b1..8bbd98c0acf778 100644 --- a/homeassistant/components/linode/__init__.py +++ b/homeassistant/components/linode/__init__.py @@ -8,7 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle - +REQUIREMENTS = ['linode-api==4.1.9b1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/linode/binary_sensor.py b/homeassistant/components/linode/binary_sensor.py index d82c48c61fddbd..19455917dbb28b 100644 --- a/homeassistant/components/linode/binary_sensor.py +++ b/homeassistant/components/linode/binary_sensor.py @@ -16,7 +16,7 @@ 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 378bc1824eedbe..e5f97ef756e403 100644 --- a/homeassistant/components/linode/switch.py +++ b/homeassistant/components/linode/switch.py @@ -13,7 +13,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['linode'] DEFAULT_NAME = 'Node' diff --git a/homeassistant/components/linux_battery/sensor.py b/homeassistant/components/linux_battery/sensor.py index 6ff6487a530565..7164315de8ea42 100644 --- a/homeassistant/components/linux_battery/sensor.py +++ b/homeassistant/components/linux_battery/sensor.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['batinfo==0.4.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lirc/__init__.py b/homeassistant/components/lirc/__init__.py index 72e1c4be2e7b9a..0f00eda20072c0 100644 --- a/homeassistant/components/lirc/__init__.py +++ b/homeassistant/components/lirc/__init__.py @@ -9,7 +9,7 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_STOP, EVENT_HOMEASSISTANT_START) - +REQUIREMENTS = ['python-lirc==1.2.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/litejet/__init__.py b/homeassistant/components/litejet/__init__.py index d5bb4a60153e23..b4e8e45fa0b742 100644 --- a/homeassistant/components/litejet/__init__.py +++ b/homeassistant/components/litejet/__init__.py @@ -7,7 +7,7 @@ from homeassistant.helpers import discovery from homeassistant.const import CONF_PORT - +REQUIREMENTS = ['pylitejet==0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/litejet/light.py b/homeassistant/components/litejet/light.py index 4a13526e39fa24..e52e50ed21a858 100644 --- a/homeassistant/components/litejet/light.py +++ b/homeassistant/components/litejet/light.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['litejet'] ATTR_NUMBER = 'number' diff --git a/homeassistant/components/litejet/scene.py b/homeassistant/components/litejet/scene.py index 725334e303eb6b..2563c9ceb0c480 100644 --- a/homeassistant/components/litejet/scene.py +++ b/homeassistant/components/litejet/scene.py @@ -4,7 +4,7 @@ from homeassistant.components import litejet from homeassistant.components.scene import Scene - +DEPENDENCIES = ['litejet'] ATTR_NUMBER = 'number' diff --git a/homeassistant/components/litejet/switch.py b/homeassistant/components/litejet/switch.py index 92bd655f3fba7a..9972dcb9f44797 100644 --- a/homeassistant/components/litejet/switch.py +++ b/homeassistant/components/litejet/switch.py @@ -4,7 +4,7 @@ from homeassistant.components import litejet from homeassistant.components.switch import SwitchDevice - +DEPENDENCIES = ['litejet'] ATTR_NUMBER = 'number' diff --git a/homeassistant/components/liveboxplaytv/media_player.py b/homeassistant/components/liveboxplaytv/media_player.py index 46e23cd211d4ca..1ee9931d233c0d 100644 --- a/homeassistant/components/liveboxplaytv/media_player.py +++ b/homeassistant/components/liveboxplaytv/media_player.py @@ -18,7 +18,7 @@ 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__) diff --git a/homeassistant/components/locative/__init__.py b/homeassistant/components/locative/__init__.py index 36c639ba84864d..335ae4cfe1eae9 100644 --- a/homeassistant/components/locative/__init__.py +++ b/homeassistant/components/locative/__init__.py @@ -16,7 +16,7 @@ _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 a25de7538c84d8..51135f4e21a941 100644 --- a/homeassistant/components/locative/device_tracker.py +++ b/homeassistant/components/locative/device_tracker.py @@ -10,7 +10,7 @@ _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 a7b45cabcd09aa..fe5286ba813daf 100644 --- a/homeassistant/components/lock/__init__.py +++ b/homeassistant/components/lock/__init__.py @@ -19,7 +19,7 @@ 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 97b3e89037114d..7a0fb5e2654b3a 100644 --- a/homeassistant/components/logbook/__init__.py +++ b/homeassistant/components/logbook/__init__.py @@ -31,7 +31,7 @@ CONF_ENTITIES = 'entities' CONTINUOUS_DOMAINS = ['proximity', 'sensor'] - +DEPENDENCIES = ['recorder', 'frontend'] DOMAIN = 'logbook' diff --git a/homeassistant/components/logi_circle/__init__.py b/homeassistant/components/logi_circle/__init__.py index d14d331eea77a5..433895293f441d 100644 --- a/homeassistant/components/logi_circle/__init__.py +++ b/homeassistant/components/logi_circle/__init__.py @@ -20,7 +20,7 @@ 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 0ececc9657ae20..b69f23ac19dc7e 100644 --- a/homeassistant/components/logi_circle/camera.py +++ b/homeassistant/components/logi_circle/camera.py @@ -15,7 +15,7 @@ RECORDING_MODE_KEY, SIGNAL_LOGI_CIRCLE_RECONFIGURE, SIGNAL_LOGI_CIRCLE_RECORD, SIGNAL_LOGI_CIRCLE_SNAPSHOT) - +DEPENDENCIES = ['logi_circle', 'ffmpeg'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/logi_circle/sensor.py b/homeassistant/components/logi_circle/sensor.py index 5b0efc0af949e3..01d5492eea7ce7 100644 --- a/homeassistant/components/logi_circle/sensor.py +++ b/homeassistant/components/logi_circle/sensor.py @@ -11,7 +11,7 @@ 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 4421f1d614febc..c2502e2ab2be60 100644 --- a/homeassistant/components/london_underground/sensor.py +++ b/homeassistant/components/london_underground/sensor.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['london-tube-status==0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/loopenergy/sensor.py b/homeassistant/components/loopenergy/sensor.py index f6a4db9ef55f7d..23bdf48f64506d 100644 --- a/homeassistant/components/loopenergy/sensor.py +++ b/homeassistant/components/loopenergy/sensor.py @@ -12,7 +12,7 @@ _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 bd11cfb9a81905..77273d89d42033 100644 --- a/homeassistant/components/luci/device_tracker.py +++ b/homeassistant/components/luci/device_tracker.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/luftdaten/__init__.py b/homeassistant/components/luftdaten/__init__.py index 898f90d06875d5..125cefb90265d6 100644 --- a/homeassistant/components/luftdaten/__init__.py +++ b/homeassistant/components/luftdaten/__init__.py @@ -17,7 +17,7 @@ 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__) diff --git a/homeassistant/components/luftdaten/sensor.py b/homeassistant/components/luftdaten/sensor.py index a4c734e8ec01a5..107673bac45214 100644 --- a/homeassistant/components/luftdaten/sensor.py +++ b/homeassistant/components/luftdaten/sensor.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['luftdaten'] async def async_setup_platform( diff --git a/homeassistant/components/lupusec/__init__.py b/homeassistant/components/lupusec/__init__.py index 5eeb68b7b78ffe..8a5f098f741929 100644 --- a/homeassistant/components/lupusec/__init__.py +++ b/homeassistant/components/lupusec/__init__.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['lupupy==0.0.17'] DOMAIN = 'lupusec' diff --git a/homeassistant/components/lupusec/alarm_control_panel.py b/homeassistant/components/lupusec/alarm_control_panel.py index f22952034875c6..0a88f3bd552fc4 100644 --- a/homeassistant/components/lupusec/alarm_control_panel.py +++ b/homeassistant/components/lupusec/alarm_control_panel.py @@ -8,7 +8,7 @@ from . import DOMAIN as LUPUSEC_DOMAIN, LupusecDevice - +DEPENDENCIES = ['lupusec'] ICON = 'mdi:security' diff --git a/homeassistant/components/lupusec/binary_sensor.py b/homeassistant/components/lupusec/binary_sensor.py index a8e4afdbd9d22b..2c3f5e0e0b86e0 100644 --- a/homeassistant/components/lupusec/binary_sensor.py +++ b/homeassistant/components/lupusec/binary_sensor.py @@ -7,7 +7,7 @@ from . import DOMAIN as LUPUSEC_DOMAIN, LupusecDevice - +DEPENDENCIES = ['lupusec'] SCAN_INTERVAL = timedelta(seconds=2) diff --git a/homeassistant/components/lupusec/switch.py b/homeassistant/components/lupusec/switch.py index a65b4e20010888..0d86ea0a3650bf 100644 --- a/homeassistant/components/lupusec/switch.py +++ b/homeassistant/components/lupusec/switch.py @@ -6,7 +6,7 @@ from . import DOMAIN as LUPUSEC_DOMAIN, LupusecDevice - +DEPENDENCIES = ['lupusec'] SCAN_INTERVAL = timedelta(seconds=2) diff --git a/homeassistant/components/lutron/__init__.py b/homeassistant/components/lutron/__init__.py index bfea1f4b4d5c99..f642e96d8f6433 100644 --- a/homeassistant/components/lutron/__init__.py +++ b/homeassistant/components/lutron/__init__.py @@ -10,7 +10,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import slugify - +REQUIREMENTS = ['pylutron==0.2.0'] DOMAIN = 'lutron' diff --git a/homeassistant/components/lutron/cover.py b/homeassistant/components/lutron/cover.py index 9dbf7374aa21d8..da7f69095fc436 100644 --- a/homeassistant/components/lutron/cover.py +++ b/homeassistant/components/lutron/cover.py @@ -9,7 +9,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['lutron'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/lutron/light.py b/homeassistant/components/lutron/light.py index f042bfa5db152f..5f3fd4787fd3ef 100644 --- a/homeassistant/components/lutron/light.py +++ b/homeassistant/components/lutron/light.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['lutron'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/lutron/scene.py b/homeassistant/components/lutron/scene.py index afe91599daf4f7..a2d18c6d242407 100644 --- a/homeassistant/components/lutron/scene.py +++ b/homeassistant/components/lutron/scene.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['lutron'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/lutron/switch.py b/homeassistant/components/lutron/switch.py index 2a3e48b068515d..b42c0d930bc834 100644 --- a/homeassistant/components/lutron/switch.py +++ b/homeassistant/components/lutron/switch.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['lutron'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/lutron_caseta/__init__.py b/homeassistant/components/lutron_caseta/__init__.py index 4490d16329bca8..61c005f60b2d22 100644 --- a/homeassistant/components/lutron_caseta/__init__.py +++ b/homeassistant/components/lutron_caseta/__init__.py @@ -8,7 +8,7 @@ from homeassistant.helpers import discovery from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['pylutron-caseta==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lutron_caseta/cover.py b/homeassistant/components/lutron_caseta/cover.py index d4c061e13bdfd1..d970f5282ff003 100644 --- a/homeassistant/components/lutron_caseta/cover.py +++ b/homeassistant/components/lutron_caseta/cover.py @@ -9,7 +9,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['lutron_caseta'] async def async_setup_platform( diff --git a/homeassistant/components/lutron_caseta/light.py b/homeassistant/components/lutron_caseta/light.py index 67efce514a9ae2..d883da73c9161a 100644 --- a/homeassistant/components/lutron_caseta/light.py +++ b/homeassistant/components/lutron_caseta/light.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['lutron_caseta'] async def async_setup_platform( diff --git a/homeassistant/components/lutron_caseta/scene.py b/homeassistant/components/lutron_caseta/scene.py index 92b2476dbb1da7..2e7059a56fc0a2 100644 --- a/homeassistant/components/lutron_caseta/scene.py +++ b/homeassistant/components/lutron_caseta/scene.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['lutron_caseta'] async def async_setup_platform( diff --git a/homeassistant/components/lutron_caseta/switch.py b/homeassistant/components/lutron_caseta/switch.py index 860707656e96cd..54c670913576ce 100644 --- a/homeassistant/components/lutron_caseta/switch.py +++ b/homeassistant/components/lutron_caseta/switch.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['lutron_caseta'] async def async_setup_platform( diff --git a/homeassistant/components/lw12wifi/light.py b/homeassistant/components/lw12wifi/light.py index b00f8948bacc30..5d9b7635ad2dd1 100644 --- a/homeassistant/components/lw12wifi/light.py +++ b/homeassistant/components/lw12wifi/light.py @@ -16,7 +16,7 @@ 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 6f13ba64225824..98d79cd970b965 100644 --- a/homeassistant/components/lyft/sensor.py +++ b/homeassistant/components/lyft/sensor.py @@ -9,7 +9,7 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['lyft_rides==0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/magicseaweed/sensor.py b/homeassistant/components/magicseaweed/sensor.py index eaa61d2b7a60f1..4c09d1e09e04f0 100644 --- a/homeassistant/components/magicseaweed/sensor.py +++ b/homeassistant/components/magicseaweed/sensor.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['magicseaweed==1.0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mailbox/__init__.py b/homeassistant/components/mailbox/__init__.py index 359e6e6303c313..1907a1e9e978a7 100644 --- a/homeassistant/components/mailbox/__init__.py +++ b/homeassistant/components/mailbox/__init__.py @@ -18,7 +18,7 @@ _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 cd9c37959b6012..2a941d8bf505b8 100644 --- a/homeassistant/components/mailgun/__init__.py +++ b/homeassistant/components/mailgun/__init__.py @@ -15,7 +15,7 @@ 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 81b928ad24db7d..b9f5bf0b10000f 100644 --- a/homeassistant/components/mailgun/notify.py +++ b/homeassistant/components/mailgun/notify.py @@ -11,11 +11,11 @@ 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 71c57a40a165da..8057a8993473f1 100644 --- a/homeassistant/components/manual_mqtt/alarm_control_panel.py +++ b/homeassistant/components/manual_mqtt/alarm_control_panel.py @@ -83,7 +83,7 @@ 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', diff --git a/homeassistant/components/mastodon/notify.py b/homeassistant/components/mastodon/notify.py index 01a3f44400edfc..c1a91b8312ea1f 100644 --- a/homeassistant/components/mastodon/notify.py +++ b/homeassistant/components/mastodon/notify.py @@ -9,7 +9,7 @@ from homeassistant.components.notify import (PLATFORM_SCHEMA, BaseNotificationService) - +REQUIREMENTS = ['Mastodon.py==1.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/matrix/__init__.py b/homeassistant/components/matrix/__init__.py index 52a4c2794e0841..4b3c1bf4d76965 100644 --- a/homeassistant/components/matrix/__init__.py +++ b/homeassistant/components/matrix/__init__.py @@ -14,7 +14,7 @@ from homeassistant.util.json import load_json, save_json from homeassistant.exceptions import HomeAssistantError - +REQUIREMENTS = ['matrix-client==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/matrix/notify.py b/homeassistant/components/matrix/notify.py index bbbe52a6739e94..f1f53268c2ba85 100644 --- a/homeassistant/components/matrix/notify.py +++ b/homeassistant/components/matrix/notify.py @@ -13,7 +13,7 @@ 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 c485f55236040a..c398ccbde4f41e 100644 --- a/homeassistant/components/maxcube/__init__.py +++ b/homeassistant/components/maxcube/__init__.py @@ -10,7 +10,7 @@ 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__) diff --git a/homeassistant/components/media_extractor/__init__.py b/homeassistant/components/media_extractor/__init__.py index dbc128118397e0..f44075816affd2 100644 --- a/homeassistant/components/media_extractor/__init__.py +++ b/homeassistant/components/media_extractor/__init__.py @@ -12,7 +12,7 @@ ATTR_ENTITY_ID) from homeassistant.helpers import config_validation as cv - +REQUIREMENTS = ['youtube_dl==2019.04.07'] _LOGGER = logging.getLogger(__name__) @@ -20,7 +20,7 @@ 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 454bad1a17d412..5bc2d640e2bd56 100644 --- a/homeassistant/components/media_player/__init__.py +++ b/homeassistant/components/media_player/__init__.py @@ -51,7 +51,7 @@ _LOGGER = logging.getLogger(__name__) _RND = SystemRandom() - +DEPENDENCIES = ['http'] ENTITY_ID_FORMAT = DOMAIN + '.{}' diff --git a/homeassistant/components/mediaroom/media_player.py b/homeassistant/components/mediaroom/media_player.py index 42b6afc00f3e99..acbc0462722a59 100644 --- a/homeassistant/components/mediaroom/media_player.py +++ b/homeassistant/components/mediaroom/media_player.py @@ -19,7 +19,7 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_connect, dispatcher_send) - +REQUIREMENTS = ['pymediaroom==0.6.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/melissa/__init__.py b/homeassistant/components/melissa/__init__.py index 5ebd6647623e36..2037caa11c334f 100644 --- a/homeassistant/components/melissa/__init__.py +++ b/homeassistant/components/melissa/__init__.py @@ -7,7 +7,7 @@ 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__) diff --git a/homeassistant/components/melissa/climate.py b/homeassistant/components/melissa/climate.py index 33530ce69d8f21..79d94a419912a5 100644 --- a/homeassistant/components/melissa/climate.py +++ b/homeassistant/components/melissa/climate.py @@ -13,7 +13,7 @@ from . import DATA_MELISSA - +DEPENDENCIES = ['melissa'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/meraki/device_tracker.py b/homeassistant/components/meraki/device_tracker.py index b516f5e0d8a695..d12aff1127a0d9 100644 --- a/homeassistant/components/meraki/device_tracker.py +++ b/homeassistant/components/meraki/device_tracker.py @@ -18,7 +18,7 @@ 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 45b7671a9c6721..c801de34a9a6ae 100644 --- a/homeassistant/components/message_bird/notify.py +++ b/homeassistant/components/message_bird/notify.py @@ -9,7 +9,7 @@ from homeassistant.components.notify import (ATTR_TARGET, PLATFORM_SCHEMA, BaseNotificationService) - +REQUIREMENTS = ['messagebird==1.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/met/weather.py b/homeassistant/components/met/weather.py index 9a39722d741893..6c9613ac5d2838 100644 --- a/homeassistant/components/met/weather.py +++ b/homeassistant/components/met/weather.py @@ -13,7 +13,7 @@ async_call_later, async_track_utc_time_change) import homeassistant.util.dt as dt_util - +REQUIREMENTS = ['pyMetno==0.4.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/meteo_france/__init__.py b/homeassistant/components/meteo_france/__init__.py index ccf089e8eb0be1..e084cff3c79c73 100644 --- a/homeassistant/components/meteo_france/__init__.py +++ b/homeassistant/components/meteo_france/__init__.py @@ -9,7 +9,7 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.util import Throttle - +REQUIREMENTS = ['meteofrance==0.3.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/metoffice/sensor.py b/homeassistant/components/metoffice/sensor.py index d818b0bf8d50e0..6c4e91517dac6f 100644 --- a/homeassistant/components/metoffice/sensor.py +++ b/homeassistant/components/metoffice/sensor.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['datapoint==0.4.3'] ATTR_LAST_UPDATE = 'last_update' ATTR_SENSOR_ID = 'sensor_id' diff --git a/homeassistant/components/metoffice/weather.py b/homeassistant/components/metoffice/weather.py index 3ddee31f19f081..a67dcdcdbd67c7 100644 --- a/homeassistant/components/metoffice/weather.py +++ b/homeassistant/components/metoffice/weather.py @@ -10,7 +10,7 @@ from .sensor import ATTRIBUTION, CONDITION_CLASSES, MetOfficeCurrentData - +REQUIREMENTS = ['datapoint==0.4.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mfi/sensor.py b/homeassistant/components/mfi/sensor.py index 29a471cd989a5b..36f9d1a829c25c 100644 --- a/homeassistant/components/mfi/sensor.py +++ b/homeassistant/components/mfi/sensor.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['mficlient==0.3.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mfi/switch.py b/homeassistant/components/mfi/switch.py index 4c83d47309bb88..818081f7a2ed69 100644 --- a/homeassistant/components/mfi/switch.py +++ b/homeassistant/components/mfi/switch.py @@ -10,7 +10,7 @@ CONF_VERIFY_SSL) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['mficlient==0.3.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mhz19/sensor.py b/homeassistant/components/mhz19/sensor.py index 5f609f31406bba..3aa82950fa7b8a 100644 --- a/homeassistant/components/mhz19/sensor.py +++ b/homeassistant/components/mhz19/sensor.py @@ -12,7 +12,7 @@ from homeassistant.util.temperature import celsius_to_fahrenheit from homeassistant.util import Throttle - +REQUIREMENTS = ['pmsensor==0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/microsoft/tts.py b/homeassistant/components/microsoft/tts.py index bd27a5580d59b2..9fe31ef495eced 100644 --- a/homeassistant/components/microsoft/tts.py +++ b/homeassistant/components/microsoft/tts.py @@ -15,7 +15,7 @@ CONF_PITCH = 'pitch' CONF_CONTOUR = 'contour' - +REQUIREMENTS = ["pycsspeechtts==1.0.2"] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/microsoft_face/__init__.py b/homeassistant/components/microsoft_face/__init__.py index 5cd977eb40ed11..9b3ee960fb23c8 100644 --- a/homeassistant/components/microsoft_face/__init__.py +++ b/homeassistant/components/microsoft_face/__init__.py @@ -25,7 +25,7 @@ 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 411002afd77f0e..91eae07e9928bf 100644 --- a/homeassistant/components/microsoft_face_detect/image_processing.py +++ b/homeassistant/components/microsoft_face_detect/image_processing.py @@ -11,7 +11,7 @@ from homeassistant.exceptions import HomeAssistantError import homeassistant.helpers.config_validation as cv - +DEPENDENCIES = ['microsoft_face'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/microsoft_face_identify/image_processing.py b/homeassistant/components/microsoft_face_identify/image_processing.py index 2583ef5d79d3f4..52baa3617e82a4 100644 --- a/homeassistant/components/microsoft_face_identify/image_processing.py +++ b/homeassistant/components/microsoft_face_identify/image_processing.py @@ -12,7 +12,7 @@ from homeassistant.exceptions import HomeAssistantError import homeassistant.helpers.config_validation as cv - +DEPENDENCIES = ['microsoft_face'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/miflora/sensor.py b/homeassistant/components/miflora/sensor.py index b544260aad8a3a..04595b0daeb148 100644 --- a/homeassistant/components/miflora/sensor.py +++ b/homeassistant/components/miflora/sensor.py @@ -11,7 +11,7 @@ CONF_SCAN_INTERVAL, EVENT_HOMEASSISTANT_START) from homeassistant.core import callback - +REQUIREMENTS = ['miflora==0.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mikrotik/device_tracker.py b/homeassistant/components/mikrotik/device_tracker.py index 3b8572a795861c..7d376b431bbd82 100644 --- a/homeassistant/components/mikrotik/device_tracker.py +++ b/homeassistant/components/mikrotik/device_tracker.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/mill/climate.py b/homeassistant/components/mill/climate.py index 620f5bb88548e4..cb6d47a52b0826 100644 --- a/homeassistant/components/mill/climate.py +++ b/homeassistant/components/mill/climate.py @@ -15,7 +15,7 @@ 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__) diff --git a/homeassistant/components/mitemp_bt/sensor.py b/homeassistant/components/mitemp_bt/sensor.py index 3277eff843588a..cea2c6a55dbd6f 100644 --- a/homeassistant/components/mitemp_bt/sensor.py +++ b/homeassistant/components/mitemp_bt/sensor.py @@ -12,7 +12,7 @@ ) - +REQUIREMENTS = ['mitemp_bt==0.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mobile_app/__init__.py b/homeassistant/components/mobile_app/__init__.py index a6c207ad77cec3..a4ae78959cf367 100644 --- a/homeassistant/components/mobile_app/__init__.py +++ b/homeassistant/components/mobile_app/__init__.py @@ -15,9 +15,9 @@ 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): diff --git a/homeassistant/components/mobile_app/binary_sensor.py b/homeassistant/components/mobile_app/binary_sensor.py index 920d58f0aae245..50943bb6504d8b 100644 --- a/homeassistant/components/mobile_app/binary_sensor.py +++ b/homeassistant/components/mobile_app/binary_sensor.py @@ -13,7 +13,7 @@ from .entity import MobileAppEntity, sensor_id - +DEPENDENCIES = ['mobile_app'] async def async_setup_entry(hass, config_entry, async_add_entities): diff --git a/homeassistant/components/mobile_app/notify.py b/homeassistant/components/mobile_app/notify.py index eb8df94253b113..8d2ac1b97ecef4 100644 --- a/homeassistant/components/mobile_app/notify.py +++ b/homeassistant/components/mobile_app/notify.py @@ -22,7 +22,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['mobile_app'] def push_registrations(hass): diff --git a/homeassistant/components/mobile_app/sensor.py b/homeassistant/components/mobile_app/sensor.py index 3d516c056612ca..64ad69c5758ecc 100644 --- a/homeassistant/components/mobile_app/sensor.py +++ b/homeassistant/components/mobile_app/sensor.py @@ -12,7 +12,7 @@ from .entity import MobileAppEntity, sensor_id - +DEPENDENCIES = ['mobile_app'] async def async_setup_entry(hass, config_entry, async_add_entities): diff --git a/homeassistant/components/mochad/__init__.py b/homeassistant/components/mochad/__init__.py index 7b75ea5cbcf6a3..e10adf693fe70d 100644 --- a/homeassistant/components/mochad/__init__.py +++ b/homeassistant/components/mochad/__init__.py @@ -9,7 +9,7 @@ EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) from homeassistant.const import (CONF_HOST, CONF_PORT) - +REQUIREMENTS = ['pymochad==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mochad/light.py b/homeassistant/components/mochad/light.py index 2b832b7edb857c..d2e1a567d27501 100644 --- a/homeassistant/components/mochad/light.py +++ b/homeassistant/components/mochad/light.py @@ -12,7 +12,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['mochad'] CONF_BRIGHTNESS_LEVELS = 'brightness_levels' diff --git a/homeassistant/components/mochad/switch.py b/homeassistant/components/mochad/switch.py index 28d570e6174bdb..03fd2db07bf2fe 100644 --- a/homeassistant/components/mochad/switch.py +++ b/homeassistant/components/mochad/switch.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['mochad'] PLATFORM_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/modbus/__init__.py b/homeassistant/components/modbus/__init__.py index 536f7729fe72d1..0500a904cb9c86 100644 --- a/homeassistant/components/modbus/__init__.py +++ b/homeassistant/components/modbus/__init__.py @@ -9,7 +9,7 @@ CONF_TYPE, EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pymodbus==1.5.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/modbus/binary_sensor.py b/homeassistant/components/modbus/binary_sensor.py index 3358ea30656fad..0c10548452a01d 100644 --- a/homeassistant/components/modbus/binary_sensor.py +++ b/homeassistant/components/modbus/binary_sensor.py @@ -15,7 +15,7 @@ CONF_COIL = 'coil' CONF_COILS = 'coils' - +DEPENDENCIES = ['modbus'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_COILS): [{ diff --git a/homeassistant/components/modbus/climate.py b/homeassistant/components/modbus/climate.py index c11d6ffbce94c8..4d2b86903e770d 100644 --- a/homeassistant/components/modbus/climate.py +++ b/homeassistant/components/modbus/climate.py @@ -22,7 +22,7 @@ DATA_TYPE_INT = 'int' DATA_TYPE_UINT = 'uint' DATA_TYPE_FLOAT = 'float' - +DEPENDENCIES = ['modbus'] SUPPORT_FLAGS = SUPPORT_TARGET_TEMPERATURE diff --git a/homeassistant/components/modbus/sensor.py b/homeassistant/components/modbus/sensor.py index c0ca00013a145d..10e11a9a656263 100644 --- a/homeassistant/components/modbus/sensor.py +++ b/homeassistant/components/modbus/sensor.py @@ -29,7 +29,7 @@ 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 73859c5ab26859..69c5e3e483888a 100644 --- a/homeassistant/components/modbus/switch.py +++ b/homeassistant/components/modbus/switch.py @@ -24,7 +24,7 @@ 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 82a9cc6123007e..b87f4840334d4f 100644 --- a/homeassistant/components/modem_callerid/sensor.py +++ b/homeassistant/components/modem_callerid/sensor.py @@ -9,7 +9,7 @@ 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' diff --git a/homeassistant/components/monoprice/media_player.py b/homeassistant/components/monoprice/media_player.py index 1d54175ded97a1..edffd6ac7ce825 100644 --- a/homeassistant/components/monoprice/media_player.py +++ b/homeassistant/components/monoprice/media_player.py @@ -13,7 +13,7 @@ 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__) diff --git a/homeassistant/components/mopar/__init__.py b/homeassistant/components/mopar/__init__.py index 839751f1e58560..4ee9f3219b483a 100644 --- a/homeassistant/components/mopar/__init__.py +++ b/homeassistant/components/mopar/__init__.py @@ -18,7 +18,7 @@ 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 178161fbadba39..aa2e0161813188 100644 --- a/homeassistant/components/mopar/lock.py +++ b/homeassistant/components/mopar/lock.py @@ -7,7 +7,7 @@ ) 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 dcd7a7770aeeaa..0d6e5765fda9aa 100644 --- a/homeassistant/components/mopar/sensor.py +++ b/homeassistant/components/mopar/sensor.py @@ -10,7 +10,7 @@ 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 5e2f5419d002a7..352cdafbd417ab 100644 --- a/homeassistant/components/mopar/switch.py +++ b/homeassistant/components/mopar/switch.py @@ -5,7 +5,7 @@ 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 9c118aa20d8d89..8cbc1406e0bc4a 100644 --- a/homeassistant/components/mpd/media_player.py +++ b/homeassistant/components/mpd/media_player.py @@ -20,7 +20,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle - +REQUIREMENTS = ['python-mpd2==1.0.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mqtt/__init__.py b/homeassistant/components/mqtt/__init__.py index f2c65aaff69d14..4f9ad990105853 100644 --- a/homeassistant/components/mqtt/__init__.py +++ b/homeassistant/components/mqtt/__init__.py @@ -40,7 +40,7 @@ CONF_BROKER, CONF_DISCOVERY, DEFAULT_DISCOVERY, CONF_STATE_TOPIC, ATTR_DISCOVERY_HASH) - +REQUIREMENTS = ['paho-mqtt==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mqtt/alarm_control_panel.py b/homeassistant/components/mqtt/alarm_control_panel.py index 5d678b477ac1c1..03a2ac8e3887fa 100644 --- a/homeassistant/components/mqtt/alarm_control_panel.py +++ b/homeassistant/components/mqtt/alarm_control_panel.py @@ -37,7 +37,7 @@ 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, diff --git a/homeassistant/components/mqtt/binary_sensor.py b/homeassistant/components/mqtt/binary_sensor.py index 2f8a6390b35f4f..95daad9b262868 100644 --- a/homeassistant/components/mqtt/binary_sensor.py +++ b/homeassistant/components/mqtt/binary_sensor.py @@ -29,7 +29,7 @@ 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, diff --git a/homeassistant/components/mqtt/camera.py b/homeassistant/components/mqtt/camera.py index 9d2dca1fee637e..f651050b6c8596 100644 --- a/homeassistant/components/mqtt/camera.py +++ b/homeassistant/components/mqtt/camera.py @@ -23,7 +23,7 @@ CONF_TOPIC = 'topic' DEFAULT_NAME = 'MQTT Camera' - +DEPENDENCIES = ['mqtt'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, diff --git a/homeassistant/components/mqtt/climate.py b/homeassistant/components/mqtt/climate.py index 48419307e57c63..17d32984bb528d 100644 --- a/homeassistant/components/mqtt/climate.py +++ b/homeassistant/components/mqtt/climate.py @@ -31,7 +31,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['mqtt'] DEFAULT_NAME = 'MQTT HVAC' diff --git a/homeassistant/components/mqtt/cover.py b/homeassistant/components/mqtt/cover.py index 6ab70e55fe7650..5cb7300f0efcb4 100644 --- a/homeassistant/components/mqtt/cover.py +++ b/homeassistant/components/mqtt/cover.py @@ -25,7 +25,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['mqtt'] CONF_GET_POSITION_TOPIC = 'position_topic' CONF_SET_POSITION_TEMPLATE = 'set_position_template' diff --git a/homeassistant/components/mqtt/device_tracker.py b/homeassistant/components/mqtt/device_tracker.py index 302d2af8ee8d07..659c6315b2150a 100644 --- a/homeassistant/components/mqtt/device_tracker.py +++ b/homeassistant/components/mqtt/device_tracker.py @@ -11,7 +11,7 @@ from . import CONF_QOS - +DEPENDENCIES = ['mqtt'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mqtt/fan.py b/homeassistant/components/mqtt/fan.py index dddc9dcda5d1a9..d86390ee31de17 100644 --- a/homeassistant/components/mqtt/fan.py +++ b/homeassistant/components/mqtt/fan.py @@ -23,7 +23,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['mqtt'] CONF_STATE_VALUE_TEMPLATE = 'state_value_template' CONF_SPEED_STATE_TOPIC = 'speed_state_topic' diff --git a/homeassistant/components/mqtt/light/__init__.py b/homeassistant/components/mqtt/light/__init__.py index e7b3e522a24a32..4ff6efb8643960 100644 --- a/homeassistant/components/mqtt/light/__init__.py +++ b/homeassistant/components/mqtt/light/__init__.py @@ -17,7 +17,7 @@ _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 1b6ea0f00c5592..d5aa4480139215 100644 --- a/homeassistant/components/mqtt/light/schema_basic.py +++ b/homeassistant/components/mqtt/light/schema_basic.py @@ -30,7 +30,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['mqtt'] CONF_BRIGHTNESS_COMMAND_TOPIC = 'brightness_command_topic' CONF_BRIGHTNESS_SCALE = 'brightness_scale' diff --git a/homeassistant/components/mqtt/light/schema_json.py b/homeassistant/components/mqtt/light/schema_json.py index 9638a3e181b7a1..a52f3c58d0efc9 100644 --- a/homeassistant/components/mqtt/light/schema_json.py +++ b/homeassistant/components/mqtt/light/schema_json.py @@ -35,7 +35,7 @@ DOMAIN = 'mqtt_json' - +DEPENDENCIES = ['mqtt'] DEFAULT_BRIGHTNESS = False DEFAULT_COLOR_TEMP = False diff --git a/homeassistant/components/mqtt/light/schema_template.py b/homeassistant/components/mqtt/light/schema_template.py index a1dbd196011691..49cba082401d16 100644 --- a/homeassistant/components/mqtt/light/schema_template.py +++ b/homeassistant/components/mqtt/light/schema_template.py @@ -30,7 +30,7 @@ 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 cc9f5d3753d1be..235eacc94540cf 100644 --- a/homeassistant/components/mqtt/lock.py +++ b/homeassistant/components/mqtt/lock.py @@ -27,7 +27,7 @@ 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, diff --git a/homeassistant/components/mqtt/sensor.py b/homeassistant/components/mqtt/sensor.py index c6702a9d42386e..b6419ea2c24b36 100644 --- a/homeassistant/components/mqtt/sensor.py +++ b/homeassistant/components/mqtt/sensor.py @@ -32,7 +32,7 @@ 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, diff --git a/homeassistant/components/mqtt/server.py b/homeassistant/components/mqtt/server.py index 39e17f906524da..d7d36add517f6e 100644 --- a/homeassistant/components/mqtt/server.py +++ b/homeassistant/components/mqtt/server.py @@ -8,11 +8,11 @@ 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({ diff --git a/homeassistant/components/mqtt/switch.py b/homeassistant/components/mqtt/switch.py index 319ecbecf8cd00..20d28b6496ca8b 100644 --- a/homeassistant/components/mqtt/switch.py +++ b/homeassistant/components/mqtt/switch.py @@ -22,7 +22,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['mqtt'] DEFAULT_NAME = 'MQTT Switch' DEFAULT_PAYLOAD_ON = 'ON' diff --git a/homeassistant/components/mqtt/vacuum.py b/homeassistant/components/mqtt/vacuum.py index c9d41770110dc9..23a5e34b3caff5 100644 --- a/homeassistant/components/mqtt/vacuum.py +++ b/homeassistant/components/mqtt/vacuum.py @@ -22,7 +22,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['mqtt'] SERVICE_TO_STRING = { SUPPORT_TURN_ON: 'turn_on', diff --git a/homeassistant/components/mqtt_eventstream/__init__.py b/homeassistant/components/mqtt_eventstream/__init__.py index 329361e9b0d538..fb6a94f1870d73 100644 --- a/homeassistant/components/mqtt_eventstream/__init__.py +++ b/homeassistant/components/mqtt_eventstream/__init__.py @@ -15,7 +15,7 @@ from homeassistant.helpers.json import JSONEncoder DOMAIN = 'mqtt_eventstream' - +DEPENDENCIES = ['mqtt'] CONF_PUBLISH_TOPIC = 'publish_topic' CONF_SUBSCRIBE_TOPIC = 'subscribe_topic' diff --git a/homeassistant/components/mqtt_json/device_tracker.py b/homeassistant/components/mqtt_json/device_tracker.py index eac8f702b528ea..6059b26bcbdc11 100644 --- a/homeassistant/components/mqtt_json/device_tracker.py +++ b/homeassistant/components/mqtt_json/device_tracker.py @@ -13,7 +13,7 @@ CONF_DEVICES, ATTR_GPS_ACCURACY, ATTR_LATITUDE, ATTR_LONGITUDE, ATTR_BATTERY_LEVEL) - +DEPENDENCIES = ['mqtt'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mqtt_room/sensor.py b/homeassistant/components/mqtt_room/sensor.py index d0b84b1a889fdb..961769711a4d6c 100644 --- a/homeassistant/components/mqtt_room/sensor.py +++ b/homeassistant/components/mqtt_room/sensor.py @@ -17,7 +17,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['mqtt'] ATTR_DEVICE_ID = 'device_id' ATTR_DISTANCE = 'distance' diff --git a/homeassistant/components/mqtt_statestream/__init__.py b/homeassistant/components/mqtt_statestream/__init__.py index 764ee46e57ee8e..18a70bf75bb3a8 100644 --- a/homeassistant/components/mqtt_statestream/__init__.py +++ b/homeassistant/components/mqtt_statestream/__init__.py @@ -16,7 +16,7 @@ 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 c96b729c1a7995..978c9ad34eb436 100644 --- a/homeassistant/components/mvglive/sensor.py +++ b/homeassistant/components/mvglive/sensor.py @@ -11,7 +11,7 @@ from homeassistant.const import ( CONF_NAME, ATTR_ATTRIBUTION) - +REQUIREMENTS = ['PyMVGLive==1.1.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mychevy/__init__.py b/homeassistant/components/mychevy/__init__.py index 6fce266fe42c30..e6fd7f19c2a3ab 100644 --- a/homeassistant/components/mychevy/__init__.py +++ b/homeassistant/components/mychevy/__init__.py @@ -11,7 +11,7 @@ from homeassistant.helpers import discovery from homeassistant.util import Throttle - +REQUIREMENTS = ['mychevy==1.2.0'] DOMAIN = 'mychevy' UPDATE_TOPIC = DOMAIN diff --git a/homeassistant/components/mycroft/__init__.py b/homeassistant/components/mycroft/__init__.py index 1b78280907fa8a..29f6383f686b1e 100644 --- a/homeassistant/components/mycroft/__init__.py +++ b/homeassistant/components/mycroft/__init__.py @@ -7,7 +7,7 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['mycroftapi==2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mycroft/notify.py b/homeassistant/components/mycroft/notify.py index 1583e52b628368..d66be629f17b09 100644 --- a/homeassistant/components/mycroft/notify.py +++ b/homeassistant/components/mycroft/notify.py @@ -3,7 +3,7 @@ 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 807bc212a54cca..5b926a183f72c9 100644 --- a/homeassistant/components/myq/cover.py +++ b/homeassistant/components/myq/cover.py @@ -11,7 +11,7 @@ ) 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 78c74a06d3ed80..7ca21ac582a001 100644 --- a/homeassistant/components/mysensors/__init__.py +++ b/homeassistant/components/mysensors/__init__.py @@ -17,7 +17,7 @@ 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__) diff --git a/homeassistant/components/mystrom/binary_sensor.py b/homeassistant/components/mystrom/binary_sensor.py index d178a00e1cbe4d..42245dc4df3e85 100644 --- a/homeassistant/components/mystrom/binary_sensor.py +++ b/homeassistant/components/mystrom/binary_sensor.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['http'] async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/mystrom/light.py b/homeassistant/components/mystrom/light.py index bb5acd29ffaf80..f9b8dcd203b60c 100644 --- a/homeassistant/components/mystrom/light.py +++ b/homeassistant/components/mystrom/light.py @@ -10,7 +10,7 @@ ATTR_HS_COLOR) from homeassistant.const import CONF_HOST, CONF_MAC, CONF_NAME - +REQUIREMENTS = ['python-mystrom==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mystrom/switch.py b/homeassistant/components/mystrom/switch.py index 480e96224d75fe..a25517eea911db 100644 --- a/homeassistant/components/mystrom/switch.py +++ b/homeassistant/components/mystrom/switch.py @@ -7,7 +7,7 @@ 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' diff --git a/homeassistant/components/mythicbeastsdns/__init__.py b/homeassistant/components/mythicbeastsdns/__init__.py index 6143dbe53df612..4db53bf0407cf4 100644 --- a/homeassistant/components/mythicbeastsdns/__init__.py +++ b/homeassistant/components/mythicbeastsdns/__init__.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/n26/__init__.py b/homeassistant/components/n26/__init__.py index 644ae84bae7b1c..8f4ade9c87f6ea 100644 --- a/homeassistant/components/n26/__init__.py +++ b/homeassistant/components/n26/__init__.py @@ -12,7 +12,7 @@ from .const import DATA, DOMAIN - +REQUIREMENTS = ['n26==0.2.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/n26/sensor.py b/homeassistant/components/n26/sensor.py index ef5f944ac18111..682cd5dae68575 100644 --- a/homeassistant/components/n26/sensor.py +++ b/homeassistant/components/n26/sensor.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['n26'] SCAN_INTERVAL = DEFAULT_SCAN_INTERVAL diff --git a/homeassistant/components/n26/switch.py b/homeassistant/components/n26/switch.py index f6b15c64c21d42..0e7455ea7030c8 100644 --- a/homeassistant/components/n26/switch.py +++ b/homeassistant/components/n26/switch.py @@ -8,7 +8,7 @@ _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 c841adadcd0e2f..8c5a14a35243c8 100644 --- a/homeassistant/components/nad/media_player.py +++ b/homeassistant/components/nad/media_player.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/namecheapdns/__init__.py b/homeassistant/components/namecheapdns/__init__.py index 4de7e5932fad54..f86e7d18556786 100644 --- a/homeassistant/components/namecheapdns/__init__.py +++ b/homeassistant/components/namecheapdns/__init__.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/nanoleaf/light.py b/homeassistant/components/nanoleaf/light.py index 93fd8d0bbb79ba..60457e21f9a67d 100644 --- a/homeassistant/components/nanoleaf/light.py +++ b/homeassistant/components/nanoleaf/light.py @@ -15,7 +15,7 @@ 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__) diff --git a/homeassistant/components/neato/__init__.py b/homeassistant/components/neato/__init__.py index e03f5754d38e13..bb717b8d230b22 100644 --- a/homeassistant/components/neato/__init__.py +++ b/homeassistant/components/neato/__init__.py @@ -10,7 +10,7 @@ from homeassistant.helpers import discovery from homeassistant.util import Throttle - +REQUIREMENTS = ['pybotvac==0.0.13'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/neato/camera.py b/homeassistant/components/neato/camera.py index 19a681fe2c6d12..f8106c3e645ebc 100644 --- a/homeassistant/components/neato/camera.py +++ b/homeassistant/components/neato/camera.py @@ -8,7 +8,7 @@ _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 68e6bd22875f08..ea60f9492e22a7 100644 --- a/homeassistant/components/neato/switch.py +++ b/homeassistant/components/neato/switch.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['neato'] SCAN_INTERVAL = timedelta(minutes=10) diff --git a/homeassistant/components/neato/vacuum.py b/homeassistant/components/neato/vacuum.py index e36403238c5510..3575301ea97e6b 100644 --- a/homeassistant/components/neato/vacuum.py +++ b/homeassistant/components/neato/vacuum.py @@ -21,7 +21,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['neato'] SCAN_INTERVAL = timedelta(minutes=5) diff --git a/homeassistant/components/nederlandse_spoorwegen/sensor.py b/homeassistant/components/nederlandse_spoorwegen/sensor.py index 52442d7e6f544a..224d16e4869b9a 100644 --- a/homeassistant/components/nederlandse_spoorwegen/sensor.py +++ b/homeassistant/components/nederlandse_spoorwegen/sensor.py @@ -12,7 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['nsapi==2.7.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nello/lock.py b/homeassistant/components/nello/lock.py index ed8a36e9abb0ee..efb7719e2013fd 100644 --- a/homeassistant/components/nello/lock.py +++ b/homeassistant/components/nello/lock.py @@ -8,7 +8,7 @@ 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__) diff --git a/homeassistant/components/ness_alarm/__init__.py b/homeassistant/components/ness_alarm/__init__.py index aa9ca038177689..97896f9aa3f9ec 100644 --- a/homeassistant/components/ness_alarm/__init__.py +++ b/homeassistant/components/ness_alarm/__init__.py @@ -13,7 +13,7 @@ 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__) diff --git a/homeassistant/components/ness_alarm/alarm_control_panel.py b/homeassistant/components/ness_alarm/alarm_control_panel.py index 5860f79215e441..618297ef9a5216 100644 --- a/homeassistant/components/ness_alarm/alarm_control_panel.py +++ b/homeassistant/components/ness_alarm/alarm_control_panel.py @@ -13,7 +13,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['ness_alarm'] async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/ness_alarm/binary_sensor.py b/homeassistant/components/ness_alarm/binary_sensor.py index 193275bfcdcc4b..2bed9eb64042bf 100644 --- a/homeassistant/components/ness_alarm/binary_sensor.py +++ b/homeassistant/components/ness_alarm/binary_sensor.py @@ -9,7 +9,7 @@ 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 131fdf10173373..21aaa2109a10c4 100644 --- a/homeassistant/components/nest/__init__.py +++ b/homeassistant/components/nest/__init__.py @@ -22,7 +22,7 @@ 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 64e7716d0ff487..aa56bfbf29d50c 100644 --- a/homeassistant/components/nest/binary_sensor.py +++ b/homeassistant/components/nest/binary_sensor.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['nest'] BINARY_TYPES = {'online': 'connectivity'} diff --git a/homeassistant/components/nest/camera.py b/homeassistant/components/nest/camera.py index 7089bff85df0ec..8b450e02b46777 100644 --- a/homeassistant/components/nest/camera.py +++ b/homeassistant/components/nest/camera.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['nest'] NEST_BRAND = 'Nest' diff --git a/homeassistant/components/nest/climate.py b/homeassistant/components/nest/climate.py index a72b3d8ba8beab..cd9a7cb71b634d 100644 --- a/homeassistant/components/nest/climate.py +++ b/homeassistant/components/nest/climate.py @@ -16,7 +16,7 @@ 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 df0bb07a4b0b1b..ecae83e303c2a9 100644 --- a/homeassistant/components/nest/sensor.py +++ b/homeassistant/components/nest/sensor.py @@ -8,7 +8,7 @@ from . import CONF_SENSORS, DATA_NEST, DATA_NEST_CONFIG, NestSensorDevice - +DEPENDENCIES = ['nest'] SENSOR_TYPES = ['humidity', 'operation_mode', 'hvac_state'] diff --git a/homeassistant/components/netatmo/__init__.py b/homeassistant/components/netatmo/__init__.py index d6d76ecede66ef..2036e55b3a88ad 100644 --- a/homeassistant/components/netatmo/__init__.py +++ b/homeassistant/components/netatmo/__init__.py @@ -12,8 +12,8 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle - - +REQUIREMENTS = ['pyatmo==1.9'] +DEPENDENCIES = ['webhook'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netatmo/binary_sensor.py b/homeassistant/components/netatmo/binary_sensor.py index 2e1feeb5c46736..a11ce6bddf710a 100644 --- a/homeassistant/components/netatmo/binary_sensor.py +++ b/homeassistant/components/netatmo/binary_sensor.py @@ -12,7 +12,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['netatmo'] # These are the available sensors mapped to binary_sensor class WELCOME_SENSOR_TYPES = { diff --git a/homeassistant/components/netatmo/camera.py b/homeassistant/components/netatmo/camera.py index 4a56586761ea43..6b80c3061b567e 100644 --- a/homeassistant/components/netatmo/camera.py +++ b/homeassistant/components/netatmo/camera.py @@ -11,7 +11,7 @@ from . import CameraData - +DEPENDENCIES = ['netatmo'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netatmo/climate.py b/homeassistant/components/netatmo/climate.py index 348c47aa84b515..d0537c5912b18a 100644 --- a/homeassistant/components/netatmo/climate.py +++ b/homeassistant/components/netatmo/climate.py @@ -14,7 +14,7 @@ STATE_OFF, TEMP_CELSIUS, ATTR_TEMPERATURE, CONF_NAME) from homeassistant.util import Throttle - +DEPENDENCIES = ['netatmo'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netatmo/sensor.py b/homeassistant/components/netatmo/sensor.py index 67172a88b5822f..307b76ca434bd4 100644 --- a/homeassistant/components/netatmo/sensor.py +++ b/homeassistant/components/netatmo/sensor.py @@ -17,7 +17,7 @@ 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 f464ef6a647d45..3480534436da6b 100644 --- a/homeassistant/components/netatmo_public/sensor.py +++ b/homeassistant/components/netatmo_public/sensor.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['netatmo'] CONF_AREAS = 'areas' CONF_LAT_NE = 'lat_ne' diff --git a/homeassistant/components/netdata/sensor.py b/homeassistant/components/netdata/sensor.py index 645ce35f6da8b6..6d99722a4162d4 100644 --- a/homeassistant/components/netdata/sensor.py +++ b/homeassistant/components/netdata/sensor.py @@ -13,7 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['netdata==0.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netgear/device_tracker.py b/homeassistant/components/netgear/device_tracker.py index bde212257f1deb..ce8c2d6066d3d4 100644 --- a/homeassistant/components/netgear/device_tracker.py +++ b/homeassistant/components/netgear/device_tracker.py @@ -10,7 +10,7 @@ CONF_HOST, CONF_PASSWORD, CONF_USERNAME, CONF_PORT, CONF_SSL, CONF_DEVICES, CONF_EXCLUDE) - +REQUIREMENTS = ['pynetgear==0.5.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netgear_lte/__init__.py b/homeassistant/components/netgear_lte/__init__.py index 4fddc122992bf1..c0f248a3dd5205 100644 --- a/homeassistant/components/netgear_lte/__init__.py +++ b/homeassistant/components/netgear_lte/__init__.py @@ -24,7 +24,7 @@ from . import sensor_types - +REQUIREMENTS = ['eternalegypt==0.0.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netgear_lte/binary_sensor.py b/homeassistant/components/netgear_lte/binary_sensor.py index 86ae877e67465b..a26c8538ea5be9 100644 --- a/homeassistant/components/netgear_lte/binary_sensor.py +++ b/homeassistant/components/netgear_lte/binary_sensor.py @@ -7,7 +7,7 @@ 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 20d1c950f1676f..fba1a335ace333 100644 --- a/homeassistant/components/netgear_lte/notify.py +++ b/homeassistant/components/netgear_lte/notify.py @@ -8,7 +8,7 @@ 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 f05ba7edd36a1d..238a5f9b72d3d6 100644 --- a/homeassistant/components/netgear_lte/sensor.py +++ b/homeassistant/components/netgear_lte/sensor.py @@ -8,7 +8,7 @@ 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 3bd630e8ace16b..27a7dfbd5e7de5 100644 --- a/homeassistant/components/netio/switch.py +++ b/homeassistant/components/netio/switch.py @@ -14,7 +14,7 @@ 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__) @@ -25,7 +25,7 @@ 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 17287ee881b56c..9e12465c69b078 100644 --- a/homeassistant/components/neurio_energy/sensor.py +++ b/homeassistant/components/neurio_energy/sensor.py @@ -13,7 +13,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util - +REQUIREMENTS = ['neurio==0.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/niko_home_control/light.py b/homeassistant/components/niko_home_control/light.py index 5a0f35cb9de884..00e8dc838a6c0d 100644 --- a/homeassistant/components/niko_home_control/light.py +++ b/homeassistant/components/niko_home_control/light.py @@ -9,7 +9,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['niko-home-control==0.1.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nilu/air_quality.py b/homeassistant/components/nilu/air_quality.py index b3bb83683e01cf..979d5736d6a20d 100644 --- a/homeassistant/components/nilu/air_quality.py +++ b/homeassistant/components/nilu/air_quality.py @@ -11,7 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle - +REQUIREMENTS = ['niluclient==0.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nissan_leaf/__init__.py b/homeassistant/components/nissan_leaf/__init__.py index 024bbf7cc60480..cb101c0a5309c5 100644 --- a/homeassistant/components/nissan_leaf/__init__.py +++ b/homeassistant/components/nissan_leaf/__init__.py @@ -16,7 +16,7 @@ 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__) diff --git a/homeassistant/components/nissan_leaf/binary_sensor.py b/homeassistant/components/nissan_leaf/binary_sensor.py index e61a964eb77155..5c71cf1fc513a9 100644 --- a/homeassistant/components/nissan_leaf/binary_sensor.py +++ b/homeassistant/components/nissan_leaf/binary_sensor.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['nissan_leaf'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/nissan_leaf/device_tracker.py b/homeassistant/components/nissan_leaf/device_tracker.py index 963b6e19e46b50..95f6fcdcaf16c0 100644 --- a/homeassistant/components/nissan_leaf/device_tracker.py +++ b/homeassistant/components/nissan_leaf/device_tracker.py @@ -8,7 +8,7 @@ _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 19de2360ae7f34..682f482b4888f2 100644 --- a/homeassistant/components/nissan_leaf/sensor.py +++ b/homeassistant/components/nissan_leaf/sensor.py @@ -12,7 +12,7 @@ _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 0de5e14886e02c..e6d72103a6c6c4 100644 --- a/homeassistant/components/nissan_leaf/switch.py +++ b/homeassistant/components/nissan_leaf/switch.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['nissan_leaf'] def setup_platform(hass, config, add_devices, discovery_info=None): diff --git a/homeassistant/components/nmap_tracker/device_tracker.py b/homeassistant/components/nmap_tracker/device_tracker.py index a7d4969ecb0c79..e553d323b72306 100644 --- a/homeassistant/components/nmap_tracker/device_tracker.py +++ b/homeassistant/components/nmap_tracker/device_tracker.py @@ -13,7 +13,7 @@ DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOSTS - +REQUIREMENTS = ['python-nmap==0.6.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nmbs/sensor.py b/homeassistant/components/nmbs/sensor.py index d628676d67f216..034c37530b355e 100644 --- a/homeassistant/components/nmbs/sensor.py +++ b/homeassistant/components/nmbs/sensor.py @@ -23,7 +23,7 @@ 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, diff --git a/homeassistant/components/noaa_tides/sensor.py b/homeassistant/components/noaa_tides/sensor.py index 07c7cd92a0e09b..0c4bde94f5770f 100644 --- a/homeassistant/components/noaa_tides/sensor.py +++ b/homeassistant/components/noaa_tides/sensor.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['py_noaa==0.3.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/norway_air/air_quality.py b/homeassistant/components/norway_air/air_quality.py index f99d5271893bfa..06ed68801f89c7 100644 --- a/homeassistant/components/norway_air/air_quality.py +++ b/homeassistant/components/norway_air/air_quality.py @@ -12,7 +12,7 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession - +REQUIREMENTS = ['pyMetno==0.4.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nsw_fuel_station/sensor.py b/homeassistant/components/nsw_fuel_station/sensor.py index d78630c70e7ba3..ce4337fc93ab6c 100644 --- a/homeassistant/components/nsw_fuel_station/sensor.py +++ b/homeassistant/components/nsw_fuel_station/sensor.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['nsw-fuel-api-client==1.0.10'] _LOGGER = logging.getLogger(__name__) 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 2e012eb7676b55..38491feb32f406 100644 --- a/homeassistant/components/nsw_rural_fire_service_feed/geo_location.py +++ b/homeassistant/components/nsw_rural_fire_service_feed/geo_location.py @@ -16,7 +16,7 @@ async_dispatcher_connect, dispatcher_send) from homeassistant.helpers.event import track_time_interval - +REQUIREMENTS = ['geojson_client==0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nuheat/__init__.py b/homeassistant/components/nuheat/__init__.py index 456ce3fb0402b0..4ea37339ef35f3 100644 --- a/homeassistant/components/nuheat/__init__.py +++ b/homeassistant/components/nuheat/__init__.py @@ -7,7 +7,7 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers import discovery - +REQUIREMENTS = ["nuheat==0.3.0"] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nuheat/climate.py b/homeassistant/components/nuheat/climate.py index 573dc12b3aacbd..32adc1d216f3c5 100644 --- a/homeassistant/components/nuheat/climate.py +++ b/homeassistant/components/nuheat/climate.py @@ -15,7 +15,7 @@ from . import DOMAIN as NUHEAT_DOMAIN - +DEPENDENCIES = ["nuheat"] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nuki/lock.py b/homeassistant/components/nuki/lock.py index 972e21f73bb376..ef49d4b97dd955 100644 --- a/homeassistant/components/nuki/lock.py +++ b/homeassistant/components/nuki/lock.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.service import extract_entity_ids - +REQUIREMENTS = ['pynuki==1.3.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nut/sensor.py b/homeassistant/components/nut/sensor.py index 9ddffc832ba5b8..43ba06f70eb1b3 100644 --- a/homeassistant/components/nut/sensor.py +++ b/homeassistant/components/nut/sensor.py @@ -14,7 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['pynut2==2.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nx584/alarm_control_panel.py b/homeassistant/components/nx584/alarm_control_panel.py index 5762e1c65a8d2c..c5e1fede6fd8fd 100644 --- a/homeassistant/components/nx584/alarm_control_panel.py +++ b/homeassistant/components/nx584/alarm_control_panel.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/nx584/binary_sensor.py b/homeassistant/components/nx584/binary_sensor.py index b175e180af2364..61f8fb801eac5b 100644 --- a/homeassistant/components/nx584/binary_sensor.py +++ b/homeassistant/components/nx584/binary_sensor.py @@ -11,7 +11,7 @@ from homeassistant.const import (CONF_HOST, CONF_PORT) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pynx584==0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/oasa_telematics/sensor.py b/homeassistant/components/oasa_telematics/sensor.py index 35f1d44e579b7c..665f2f83f86af7 100644 --- a/homeassistant/components/oasa_telematics/sensor.py +++ b/homeassistant/components/oasa_telematics/sensor.py @@ -12,7 +12,7 @@ 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 a048d8196b4561..be3381f3bc8a2e 100644 --- a/homeassistant/components/octoprint/binary_sensor.py +++ b/homeassistant/components/octoprint/binary_sensor.py @@ -9,7 +9,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['octoprint'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/octoprint/sensor.py b/homeassistant/components/octoprint/sensor.py index 2d8fc400a242f2..f07d88d11da3ff 100644 --- a/homeassistant/components/octoprint/sensor.py +++ b/homeassistant/components/octoprint/sensor.py @@ -10,7 +10,7 @@ _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 72026a96c36188..f1e03396b05002 100644 --- a/homeassistant/components/oem/climate.py +++ b/homeassistant/components/oem/climate.py @@ -21,7 +21,7 @@ CONF_PORT, TEMP_CELSIUS, CONF_NAME) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['oemthermostat==1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ohmconnect/sensor.py b/homeassistant/components/ohmconnect/sensor.py index 90c9a8ace6905f..1d870e4d15a12c 100644 --- a/homeassistant/components/ohmconnect/sensor.py +++ b/homeassistant/components/ohmconnect/sensor.py @@ -11,7 +11,7 @@ from homeassistant.util import Throttle from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['defusedxml==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/onboarding/__init__.py b/homeassistant/components/onboarding/__init__.py index e3879dda8e216c..f8885962ee7174 100644 --- a/homeassistant/components/onboarding/__init__.py +++ b/homeassistant/components/onboarding/__init__.py @@ -4,7 +4,7 @@ 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 7765b3fb5d747b..64b9684c58c4ec 100644 --- a/homeassistant/components/onkyo/media_player.py +++ b/homeassistant/components/onkyo/media_player.py @@ -16,7 +16,7 @@ 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__) diff --git a/homeassistant/components/onvif/camera.py b/homeassistant/components/onvif/camera.py index 1d96d15e2abe6e..90222b9cafc06b 100644 --- a/homeassistant/components/onvif/camera.py +++ b/homeassistant/components/onvif/camera.py @@ -23,7 +23,7 @@ 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 5dde6d0af3f65d..10173cdb725c8b 100644 --- a/homeassistant/components/opencv/image_processing.py +++ b/homeassistant/components/opencv/image_processing.py @@ -11,7 +11,7 @@ from homeassistant.core import split_entity_id import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['numpy==1.16.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/openevse/sensor.py b/homeassistant/components/openevse/sensor.py index 772df87cd8e78b..e54b47236c5fe3 100644 --- a/homeassistant/components/openevse/sensor.py +++ b/homeassistant/components/openevse/sensor.py @@ -11,7 +11,7 @@ CONF_MONITORED_VARIABLES) from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['openevsewifi==0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/openhome/media_player.py b/homeassistant/components/openhome/media_player.py index bed651408d91df..03926bce8c5ce8 100644 --- a/homeassistant/components/openhome/media_player.py +++ b/homeassistant/components/openhome/media_player.py @@ -10,7 +10,7 @@ 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 | \ diff --git a/homeassistant/components/opensensemap/air_quality.py b/homeassistant/components/opensensemap/air_quality.py index 57deb9676ed1f6..5407f65a1d822f 100644 --- a/homeassistant/components/opensensemap/air_quality.py +++ b/homeassistant/components/opensensemap/air_quality.py @@ -11,7 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle - +REQUIREMENTS = ['opensensemap-api==0.1.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/opentherm_gw/__init__.py b/homeassistant/components/opentherm_gw/__init__.py index 1abd07d47ec419..1476363c6bd877 100644 --- a/homeassistant/components/opentherm_gw/__init__.py +++ b/homeassistant/components/opentherm_gw/__init__.py @@ -15,7 +15,7 @@ import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pyotgw==0.4b3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/opentherm_gw/binary_sensor.py b/homeassistant/components/opentherm_gw/binary_sensor.py index 2df8207a0459e4..d0b60a257705a6 100644 --- a/homeassistant/components/opentherm_gw/binary_sensor.py +++ b/homeassistant/components/opentherm_gw/binary_sensor.py @@ -14,7 +14,7 @@ DEVICE_CLASS_HEAT = 'heat' DEVICE_CLASS_PROBLEM = 'problem' - +DEPENDENCIES = ['opentherm_gw'] async def async_setup_platform( diff --git a/homeassistant/components/opentherm_gw/climate.py b/homeassistant/components/opentherm_gw/climate.py index 6cf0b86a3cb386..60f1901d43e96d 100644 --- a/homeassistant/components/opentherm_gw/climate.py +++ b/homeassistant/components/opentherm_gw/climate.py @@ -15,7 +15,7 @@ _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 fa06f362977bd4..5c64b8ab719b02 100644 --- a/homeassistant/components/opentherm_gw/sensor.py +++ b/homeassistant/components/opentherm_gw/sensor.py @@ -16,7 +16,7 @@ UNIT_L_MIN = 'L/min' UNIT_PERCENT = '%' - +DEPENDENCIES = ['opentherm_gw'] async def async_setup_platform( diff --git a/homeassistant/components/openuv/__init__.py b/homeassistant/components/openuv/__init__.py index 470ffe260f400c..5533beb2faed4b 100644 --- a/homeassistant/components/openuv/__init__.py +++ b/homeassistant/components/openuv/__init__.py @@ -15,7 +15,7 @@ from .config_flow import configured_instances from .const import DOMAIN - +REQUIREMENTS = ['pyopenuv==1.0.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/openuv/binary_sensor.py b/homeassistant/components/openuv/binary_sensor.py index f51286a9704954..cfc82a7572954d 100644 --- a/homeassistant/components/openuv/binary_sensor.py +++ b/homeassistant/components/openuv/binary_sensor.py @@ -16,7 +16,7 @@ ATTR_PROTECTION_WINDOW_STARTING_TIME = 'start_time' ATTR_PROTECTION_WINDOW_STARTING_UV = 'start_uv' - +DEPENDENCIES = ['openuv'] async def async_setup_platform( diff --git a/homeassistant/components/openuv/sensor.py b/homeassistant/components/openuv/sensor.py index 4473f3bcc8aedf..42780d57b3c252 100644 --- a/homeassistant/components/openuv/sensor.py +++ b/homeassistant/components/openuv/sensor.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['openuv'] ATTR_MAX_UV_TIME = 'time' diff --git a/homeassistant/components/openweathermap/sensor.py b/homeassistant/components/openweathermap/sensor.py index 6ff83572bf51f9..5de67721e3057f 100644 --- a/homeassistant/components/openweathermap/sensor.py +++ b/homeassistant/components/openweathermap/sensor.py @@ -12,7 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['pyowm==2.10.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/openweathermap/weather.py b/homeassistant/components/openweathermap/weather.py index 112cf8821b1def..8a37bc97575180 100644 --- a/homeassistant/components/openweathermap/weather.py +++ b/homeassistant/components/openweathermap/weather.py @@ -14,7 +14,7 @@ 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__) diff --git a/homeassistant/components/opple/light.py b/homeassistant/components/opple/light.py index 355bc786cc0571..03e36dc179d43b 100644 --- a/homeassistant/components/opple/light.py +++ b/homeassistant/components/opple/light.py @@ -14,7 +14,7 @@ from homeassistant.util.color import \ color_temperature_mired_to_kelvin as mired_to_kelvin - +REQUIREMENTS = ['pyoppleio==1.0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/orvibo/switch.py b/homeassistant/components/orvibo/switch.py index afc9a22a16625d..c77e24446ec2a6 100644 --- a/homeassistant/components/orvibo/switch.py +++ b/homeassistant/components/orvibo/switch.py @@ -8,7 +8,7 @@ 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__) diff --git a/homeassistant/components/osramlightify/light.py b/homeassistant/components/osramlightify/light.py index 5cc2ed211e51a0..b880273fd1e916 100644 --- a/homeassistant/components/osramlightify/light.py +++ b/homeassistant/components/osramlightify/light.py @@ -15,7 +15,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util - +REQUIREMENTS = ['lightify==1.0.7.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/otp/sensor.py b/homeassistant/components/otp/sensor.py index 29bdcb13ef70d0..2ac4c51998443e 100644 --- a/homeassistant/components/otp/sensor.py +++ b/homeassistant/components/otp/sensor.py @@ -10,7 +10,7 @@ from homeassistant.const import (CONF_NAME, CONF_TOKEN) from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['pyotp==2.2.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/owlet/__init__.py b/homeassistant/components/owlet/__init__.py index bafd3d15834f13..b7ad7ab915240a 100644 --- a/homeassistant/components/owlet/__init__.py +++ b/homeassistant/components/owlet/__init__.py @@ -11,7 +11,7 @@ SENSOR_BASE_STATION, SENSOR_HEART_RATE, SENSOR_MOVEMENT, SENSOR_OXYGEN_LEVEL) - +REQUIREMENTS = ['pyowlet==1.0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/owntracks/__init__.py b/homeassistant/components/owntracks/__init__.py index e45dc6ebab28c5..df6b815e4c5be9 100644 --- a/homeassistant/components/owntracks/__init__.py +++ b/homeassistant/components/owntracks/__init__.py @@ -16,12 +16,12 @@ 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' diff --git a/homeassistant/components/owntracks/device_tracker.py b/homeassistant/components/owntracks/device_tracker.py index 213e7f3a69e95c..69ea723d84c503 100644 --- a/homeassistant/components/owntracks/device_tracker.py +++ b/homeassistant/components/owntracks/device_tracker.py @@ -10,7 +10,7 @@ from . import DOMAIN as OT_DOMAIN - +DEPENDENCIES = ['owntracks'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/panasonic_bluray/media_player.py b/homeassistant/components/panasonic_bluray/media_player.py index 40ecba616163a8..ebf71135d343f7 100644 --- a/homeassistant/components/panasonic_bluray/media_player.py +++ b/homeassistant/components/panasonic_bluray/media_player.py @@ -14,7 +14,7 @@ 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 7aea89e9d2a263..324becd0bf756d 100644 --- a/homeassistant/components/panasonic_viera/media_player.py +++ b/homeassistant/components/panasonic_viera/media_player.py @@ -14,7 +14,7 @@ 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__) diff --git a/homeassistant/components/pandora/media_player.py b/homeassistant/components/pandora/media_player.py index 2fc7b3dd1ab2e8..32cde430d0e97b 100644 --- a/homeassistant/components/pandora/media_player.py +++ b/homeassistant/components/pandora/media_player.py @@ -16,7 +16,7 @@ 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 1a3d2aabba8e1c..7fe2191f4c497c 100644 --- a/homeassistant/components/panel_custom/__init__.py +++ b/homeassistant/components/panel_custom/__init__.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'panel_custom' - +DEPENDENCIES = ['frontend'] CONF_COMPONENT_NAME = 'name' CONF_SIDEBAR_TITLE = 'sidebar_title' diff --git a/homeassistant/components/panel_iframe/__init__.py b/homeassistant/components/panel_iframe/__init__.py index bcc644f4bbec97..9319dfcc6adb27 100644 --- a/homeassistant/components/panel_iframe/__init__.py +++ b/homeassistant/components/panel_iframe/__init__.py @@ -4,7 +4,7 @@ from homeassistant.const import CONF_ICON, CONF_URL import homeassistant.helpers.config_validation as cv - +DEPENDENCIES = ['frontend'] DOMAIN = 'panel_iframe' diff --git a/homeassistant/components/pencom/switch.py b/homeassistant/components/pencom/switch.py index 2768206068548c..d2c73d70d96deb 100644 --- a/homeassistant/components/pencom/switch.py +++ b/homeassistant/components/pencom/switch.py @@ -12,7 +12,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pencompy==0.0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/philips_js/media_player.py b/homeassistant/components/philips_js/media_player.py index 0ad581e8be19b9..f5eddff8d138dc 100644 --- a/homeassistant/components/philips_js/media_player.py +++ b/homeassistant/components/philips_js/media_player.py @@ -15,7 +15,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.script import Script - +REQUIREMENTS = ['ha-philipsjs==0.0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pi_hole/sensor.py b/homeassistant/components/pi_hole/sensor.py index 41c0a4c448e049..805e17ebdff418 100644 --- a/homeassistant/components/pi_hole/sensor.py +++ b/homeassistant/components/pi_hole/sensor.py @@ -13,7 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['hole==0.3.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/piglow/light.py b/homeassistant/components/piglow/light.py index c2b0e12379e5b2..dc3906b20026cd 100644 --- a/homeassistant/components/piglow/light.py +++ b/homeassistant/components/piglow/light.py @@ -11,7 +11,7 @@ from homeassistant.const import CONF_NAME import homeassistant.util.color as color_util - +REQUIREMENTS = ['piglow==1.2.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pilight/__init__.py b/homeassistant/components/pilight/__init__.py index 795c1dedeab899..46be3b3720438b 100644 --- a/homeassistant/components/pilight/__init__.py +++ b/homeassistant/components/pilight/__init__.py @@ -14,7 +14,7 @@ EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP, CONF_HOST, CONF_PORT, CONF_WHITELIST, CONF_PROTOCOL) - +REQUIREMENTS = ['pilight==0.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pilight/binary_sensor.py b/homeassistant/components/pilight/binary_sensor.py index 534479e991a774..131a91b5fc3c0a 100644 --- a/homeassistant/components/pilight/binary_sensor.py +++ b/homeassistant/components/pilight/binary_sensor.py @@ -26,7 +26,7 @@ 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, diff --git a/homeassistant/components/pilight/sensor.py b/homeassistant/components/pilight/sensor.py index 370f219128729f..c36151c90dce26 100644 --- a/homeassistant/components/pilight/sensor.py +++ b/homeassistant/components/pilight/sensor.py @@ -15,7 +15,7 @@ CONF_VARIABLE = 'variable' DEFAULT_NAME = 'Pilight Sensor' - +DEPENDENCIES = ['pilight'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_VARIABLE): cv.string, diff --git a/homeassistant/components/pilight/switch.py b/homeassistant/components/pilight/switch.py index b993f644ecc527..d645d8e3013ce7 100644 --- a/homeassistant/components/pilight/switch.py +++ b/homeassistant/components/pilight/switch.py @@ -21,7 +21,7 @@ CONF_UNITCODE = 'unitcode' CONF_ECHO = 'echo' - +DEPENDENCIES = ['pilight'] COMMAND_SCHEMA = vol.Schema({ vol.Optional(CONF_PROTOCOL): cv.string, diff --git a/homeassistant/components/pjlink/media_player.py b/homeassistant/components/pjlink/media_player.py index 4aaf8b5f506c05..ad7bdc9e77cb20 100644 --- a/homeassistant/components/pjlink/media_player.py +++ b/homeassistant/components/pjlink/media_player.py @@ -12,7 +12,7 @@ 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__) diff --git a/homeassistant/components/plant/__init__.py b/homeassistant/components/plant/__init__.py index f0755bede4436f..27324ad57a39a4 100644 --- a/homeassistant/components/plant/__init__.py +++ b/homeassistant/components/plant/__init__.py @@ -89,7 +89,7 @@ }) 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 bd44819e4b8171..f2af6836e3be4c 100644 --- a/homeassistant/components/plex/media_player.py +++ b/homeassistant/components/plex/media_player.py @@ -20,7 +20,7 @@ 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 d2263c0d221020..a3df6fdb41e8fd 100644 --- a/homeassistant/components/plex/sensor.py +++ b/homeassistant/components/plex/sensor.py @@ -11,7 +11,7 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['plexapi==3.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/plum_lightpad/__init__.py b/homeassistant/components/plum_lightpad/__init__.py index 1aab1a1344bbea..5b99223d25aed7 100644 --- a/homeassistant/components/plum_lightpad/__init__.py +++ b/homeassistant/components/plum_lightpad/__init__.py @@ -10,7 +10,7 @@ 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__) diff --git a/homeassistant/components/plum_lightpad/light.py b/homeassistant/components/plum_lightpad/light.py index 57dc8dedecc66c..233539560f4b8a 100644 --- a/homeassistant/components/plum_lightpad/light.py +++ b/homeassistant/components/plum_lightpad/light.py @@ -5,7 +5,7 @@ from . import PLUM_DATA - +DEPENDENCIES = ['plum_lightpad'] async def async_setup_platform( diff --git a/homeassistant/components/pocketcasts/sensor.py b/homeassistant/components/pocketcasts/sensor.py index 85ecfb176f7c05..f09e90120049d9 100644 --- a/homeassistant/components/pocketcasts/sensor.py +++ b/homeassistant/components/pocketcasts/sensor.py @@ -10,7 +10,7 @@ from homeassistant.const import (CONF_USERNAME, CONF_PASSWORD) from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['pocketcasts==0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/point/__init__.py b/homeassistant/components/point/__init__.py index b00be14ef54a36..dc839756469dd3 100644 --- a/homeassistant/components/point/__init__.py +++ b/homeassistant/components/point/__init__.py @@ -20,11 +20,11 @@ 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 57d740371f244c..3fc4d1fce3dd54 100644 --- a/homeassistant/components/pollen/sensor.py +++ b/homeassistant/components/pollen/sensor.py @@ -13,7 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['numpy==1.16.2', 'pypollencom==2.2.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/postnl/sensor.py b/homeassistant/components/postnl/sensor.py index 2aa6d3bf828dc1..f9c8019cd31a00 100644 --- a/homeassistant/components/postnl/sensor.py +++ b/homeassistant/components/postnl/sensor.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['postnl_api==1.0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/prezzibenzina/sensor.py b/homeassistant/components/prezzibenzina/sensor.py index e5b113a538da28..525de7dad2f837 100644 --- a/homeassistant/components/prezzibenzina/sensor.py +++ b/homeassistant/components/prezzibenzina/sensor.py @@ -10,7 +10,7 @@ from homeassistant.helpers.config_validation import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['prezzibenzina-py==1.1.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/proliphix/climate.py b/homeassistant/components/proliphix/climate.py index 0f0a9795d19f99..c165334201da2f 100644 --- a/homeassistant/components/proliphix/climate.py +++ b/homeassistant/components/proliphix/climate.py @@ -9,7 +9,7 @@ ATTR_TEMPERATURE) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['proliphix==0.4.1'] ATTR_FAN = 'fan' diff --git a/homeassistant/components/prometheus/__init__.py b/homeassistant/components/prometheus/__init__.py index 40e0e96d5400ec..de0de8ae16241f 100644 --- a/homeassistant/components/prometheus/__init__.py +++ b/homeassistant/components/prometheus/__init__.py @@ -14,14 +14,14 @@ 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 275094189a8e6a..0a617bcec90116 100644 --- a/homeassistant/components/proximity/__init__.py +++ b/homeassistant/components/proximity/__init__.py @@ -25,7 +25,7 @@ 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 8cecbe996e041a..fda2cdea60ef8e 100644 --- a/homeassistant/components/proxy/camera.py +++ b/homeassistant/components/proxy/camera.py @@ -12,7 +12,7 @@ from homeassistant.util.async_ import run_coroutine_threadsafe import homeassistant.util.dt as dt_util - +REQUIREMENTS = ['pillow==5.4.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ps4/__init__.py b/homeassistant/components/ps4/__init__.py index 51915134a7b1bd..191eb223707d99 100644 --- a/homeassistant/components/ps4/__init__.py +++ b/homeassistant/components/ps4/__init__.py @@ -9,7 +9,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['pyps4-homeassistant==0.5.2'] async def async_setup(hass, config): diff --git a/homeassistant/components/ps4/media_player.py b/homeassistant/components/ps4/media_player.py index 5619190651d0e2..4dc4fa0a317089 100644 --- a/homeassistant/components/ps4/media_player.py +++ b/homeassistant/components/ps4/media_player.py @@ -17,7 +17,7 @@ from .const import DOMAIN as PS4_DOMAIN, REGIONS as deprecated_regions - +DEPENDENCIES = ['ps4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/push/camera.py b/homeassistant/components/push/camera.py index 341ee10b0be0bb..c0424f15898e58 100644 --- a/homeassistant/components/push/camera.py +++ b/homeassistant/components/push/camera.py @@ -17,7 +17,7 @@ from homeassistant.helpers.event import async_track_point_in_utc_time import homeassistant.util.dt as dt_util - +DEPENDENCIES = ['webhook'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pushbullet/notify.py b/homeassistant/components/pushbullet/notify.py index 4a50435b607557..3fc90161ae0cd9 100644 --- a/homeassistant/components/pushbullet/notify.py +++ b/homeassistant/components/pushbullet/notify.py @@ -11,7 +11,7 @@ ATTR_DATA, ATTR_TARGET, ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) - +REQUIREMENTS = ['pushbullet.py==0.11.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pushbullet/sensor.py b/homeassistant/components/pushbullet/sensor.py index efd949ace69018..c90f952e7de0d3 100644 --- a/homeassistant/components/pushbullet/sensor.py +++ b/homeassistant/components/pushbullet/sensor.py @@ -8,7 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['pushbullet.py==0.11.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pushetta/notify.py b/homeassistant/components/pushetta/notify.py index e896eba9a5aca2..028b0cfd49212a 100644 --- a/homeassistant/components/pushetta/notify.py +++ b/homeassistant/components/pushetta/notify.py @@ -10,7 +10,7 @@ ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['pushetta==1.0.15'] CONF_CHANNEL_NAME = 'channel_name' diff --git a/homeassistant/components/pushover/notify.py b/homeassistant/components/pushover/notify.py index 7b9b46d07bd0d4..39a1ce5d2f7fdb 100644 --- a/homeassistant/components/pushover/notify.py +++ b/homeassistant/components/pushover/notify.py @@ -10,7 +10,7 @@ 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 3dd7d0ffa9d84f..56a82b3912054f 100644 --- a/homeassistant/components/python_script/__init__.py +++ b/homeassistant/components/python_script/__init__.py @@ -13,7 +13,7 @@ from homeassistant.util import sanitize_filename import homeassistant.util.dt as dt_util - +REQUIREMENTS = ['restrictedpython==4.0b8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/qbittorrent/sensor.py b/homeassistant/components/qbittorrent/sensor.py index 5dd5ecc8320d7d..7e91c0ab276ccd 100644 --- a/homeassistant/components/qbittorrent/sensor.py +++ b/homeassistant/components/qbittorrent/sensor.py @@ -12,7 +12,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.exceptions import PlatformNotReady - +REQUIREMENTS = ['python-qbittorrent==0.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/qnap/sensor.py b/homeassistant/components/qnap/sensor.py index 7aa067825d006f..e12f20c25b1903 100644 --- a/homeassistant/components/qnap/sensor.py +++ b/homeassistant/components/qnap/sensor.py @@ -13,7 +13,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['qnapstats==0.2.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/qrcode/image_processing.py b/homeassistant/components/qrcode/image_processing.py index 0c3840302060c3..46fa78cca7f94f 100644 --- a/homeassistant/components/qrcode/image_processing.py +++ b/homeassistant/components/qrcode/image_processing.py @@ -3,7 +3,7 @@ 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): diff --git a/homeassistant/components/quantum_gateway/device_tracker.py b/homeassistant/components/quantum_gateway/device_tracker.py index 163203dc01d651..3472a4dbb97677 100644 --- a/homeassistant/components/quantum_gateway/device_tracker.py +++ b/homeassistant/components/quantum_gateway/device_tracker.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/qwikswitch/__init__.py b/homeassistant/components/qwikswitch/__init__.py index 92f0ca4cc66006..a64685956221fa 100644 --- a/homeassistant/components/qwikswitch/__init__.py +++ b/homeassistant/components/qwikswitch/__init__.py @@ -14,7 +14,7 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['pyqwikswitch==0.93'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/qwikswitch/binary_sensor.py b/homeassistant/components/qwikswitch/binary_sensor.py index d22af49ffcae64..a92c4d0b435e19 100644 --- a/homeassistant/components/qwikswitch/binary_sensor.py +++ b/homeassistant/components/qwikswitch/binary_sensor.py @@ -6,7 +6,7 @@ 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 007de993a348df..cb4df24f9781df 100644 --- a/homeassistant/components/qwikswitch/light.py +++ b/homeassistant/components/qwikswitch/light.py @@ -3,7 +3,7 @@ from . import DOMAIN as QWIKSWITCH, QSToggleEntity - +DEPENDENCIES = [QWIKSWITCH] async def async_setup_platform(hass, _, add_entities, discovery_info=None): diff --git a/homeassistant/components/qwikswitch/sensor.py b/homeassistant/components/qwikswitch/sensor.py index 3780890629584e..8befce4f7e2a3f 100644 --- a/homeassistant/components/qwikswitch/sensor.py +++ b/homeassistant/components/qwikswitch/sensor.py @@ -5,7 +5,7 @@ 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 78603352817696..4ee5396ae0ce3c 100644 --- a/homeassistant/components/qwikswitch/switch.py +++ b/homeassistant/components/qwikswitch/switch.py @@ -3,7 +3,7 @@ from . import DOMAIN as QWIKSWITCH, QSToggleEntity - +DEPENDENCIES = [QWIKSWITCH] async def async_setup_platform(hass, _, add_entities, discovery_info=None): diff --git a/homeassistant/components/rachio/__init__.py b/homeassistant/components/rachio/__init__.py index 634e27c7d68ea6..64a7a5af4d7412 100644 --- a/homeassistant/components/rachio/__init__.py +++ b/homeassistant/components/rachio/__init__.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/rachio/binary_sensor.py b/homeassistant/components/rachio/binary_sensor.py index da90e998778c7e..ffcaeccacff455 100644 --- a/homeassistant/components/rachio/binary_sensor.py +++ b/homeassistant/components/rachio/binary_sensor.py @@ -10,7 +10,7 @@ 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 7222cbc353ed8a..483e07e96f4ef3 100644 --- a/homeassistant/components/rachio/switch.py +++ b/homeassistant/components/rachio/switch.py @@ -13,7 +13,7 @@ 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__) diff --git a/homeassistant/components/radiotherm/climate.py b/homeassistant/components/radiotherm/climate.py index c8972457dd6879..66dfc4cc385529 100644 --- a/homeassistant/components/radiotherm/climate.py +++ b/homeassistant/components/radiotherm/climate.py @@ -14,7 +14,7 @@ STATE_OFF) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['radiotherm==2.0.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainbird/__init__.py b/homeassistant/components/rainbird/__init__.py index 60ed1d08b3c677..de0f42fda4a6b8 100644 --- a/homeassistant/components/rainbird/__init__.py +++ b/homeassistant/components/rainbird/__init__.py @@ -6,7 +6,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.const import (CONF_HOST, CONF_PASSWORD) - +REQUIREMENTS = ['pyrainbird==0.1.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainbird/sensor.py b/homeassistant/components/rainbird/sensor.py index dc118c99b1b0f8..0cee202ecb20c8 100644 --- a/homeassistant/components/rainbird/sensor.py +++ b/homeassistant/components/rainbird/sensor.py @@ -10,7 +10,7 @@ from . import DATA_RAINBIRD - +DEPENDENCIES = ['rainbird'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainbird/switch.py b/homeassistant/components/rainbird/switch.py index 31dec0723b04a9..32c7c49ab99b7d 100644 --- a/homeassistant/components/rainbird/switch.py +++ b/homeassistant/components/rainbird/switch.py @@ -12,7 +12,7 @@ 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 4bb63971fe9645..c94315f673d9ec 100644 --- a/homeassistant/components/raincloud/__init__.py +++ b/homeassistant/components/raincloud/__init__.py @@ -13,7 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval - +REQUIREMENTS = ['raincloudy==0.0.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/raincloud/binary_sensor.py b/homeassistant/components/raincloud/binary_sensor.py index 89f4b1007afb16..6ebad7cc121819 100644 --- a/homeassistant/components/raincloud/binary_sensor.py +++ b/homeassistant/components/raincloud/binary_sensor.py @@ -10,7 +10,7 @@ from . import BINARY_SENSORS, DATA_RAINCLOUD, ICON_MAP, RainCloudEntity - +DEPENDENCIES = ['raincloud'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/raincloud/sensor.py b/homeassistant/components/raincloud/sensor.py index 5f441f099795ba..6774d48ae99860 100644 --- a/homeassistant/components/raincloud/sensor.py +++ b/homeassistant/components/raincloud/sensor.py @@ -10,7 +10,7 @@ from . import DATA_RAINCLOUD, ICON_MAP, SENSORS, RainCloudEntity - +DEPENDENCIES = ['raincloud'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/raincloud/switch.py b/homeassistant/components/raincloud/switch.py index 8b5ebd1724ca5f..3901e1e0bd89ce 100644 --- a/homeassistant/components/raincloud/switch.py +++ b/homeassistant/components/raincloud/switch.py @@ -11,7 +11,7 @@ ALLOWED_WATERING_TIME, ATTRIBUTION, CONF_WATERING_TIME, DATA_RAINCLOUD, DEFAULT_WATERING_TIME, SWITCHES, RainCloudEntity) - +DEPENDENCIES = ['raincloud'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainmachine/__init__.py b/homeassistant/components/rainmachine/__init__.py index b1b0f407368397..2ff5ddcd4aa2ea 100644 --- a/homeassistant/components/rainmachine/__init__.py +++ b/homeassistant/components/rainmachine/__init__.py @@ -22,7 +22,7 @@ from .const import ( DATA_CLIENT, DEFAULT_PORT, DEFAULT_SCAN_INTERVAL, DEFAULT_SSL, DOMAIN) - +REQUIREMENTS = ['regenmaschine==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainmachine/binary_sensor.py b/homeassistant/components/rainmachine/binary_sensor.py index 198adb6b05291d..4387e6b67bec05 100644 --- a/homeassistant/components/rainmachine/binary_sensor.py +++ b/homeassistant/components/rainmachine/binary_sensor.py @@ -11,7 +11,7 @@ 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 86ff7eb7f3df46..1d438b8035f8e2 100644 --- a/homeassistant/components/rainmachine/sensor.py +++ b/homeassistant/components/rainmachine/sensor.py @@ -8,7 +8,7 @@ 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 270637c63a7265..adcbe5598199f0 100644 --- a/homeassistant/components/rainmachine/switch.py +++ b/homeassistant/components/rainmachine/switch.py @@ -12,7 +12,7 @@ DATA_CLIENT, DOMAIN as RAINMACHINE_DOMAIN, PROGRAM_UPDATE_TOPIC, ZONE_UPDATE_TOPIC, RainMachineEntity) - +DEPENDENCIES = ['rainmachine'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/raspihats/__init__.py b/homeassistant/components/raspihats/__init__.py index 5ace719b83a71f..622b98223aad66 100644 --- a/homeassistant/components/raspihats/__init__.py +++ b/homeassistant/components/raspihats/__init__.py @@ -6,7 +6,7 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) - +REQUIREMENTS = ['raspihats==2.2.3', 'smbus-cffi==0.5.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/raspihats/binary_sensor.py b/homeassistant/components/raspihats/binary_sensor.py index d619521cf2ab71..29fa474f781270 100644 --- a/homeassistant/components/raspihats/binary_sensor.py +++ b/homeassistant/components/raspihats/binary_sensor.py @@ -15,7 +15,7 @@ _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 2e9512c5947673..93538682ad8341 100644 --- a/homeassistant/components/raspihats/switch.py +++ b/homeassistant/components/raspihats/switch.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['raspihats'] _CHANNELS_SCHEMA = vol.Schema([{ vol.Required(CONF_INDEX): cv.positive_int, diff --git a/homeassistant/components/raspyrfm/switch.py b/homeassistant/components/raspyrfm/switch.py index 864c6c274288cc..a141721f3e5299 100644 --- a/homeassistant/components/raspyrfm/switch.py +++ b/homeassistant/components/raspyrfm/switch.py @@ -9,7 +9,7 @@ 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 07874ab2990647..1e3803ab866020 100644 --- a/homeassistant/components/recollect_waste/sensor.py +++ b/homeassistant/components/recollect_waste/sensor.py @@ -8,7 +8,7 @@ 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' diff --git a/homeassistant/components/recorder/__init__.py b/homeassistant/components/recorder/__init__.py index 5b6ad17ce8ee7c..0df1fa42ad4913 100644 --- a/homeassistant/components/recorder/__init__.py +++ b/homeassistant/components/recorder/__init__.py @@ -25,7 +25,7 @@ from .const import DATA_INSTANCE from .util import session_scope - +REQUIREMENTS = ['sqlalchemy==1.3.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/recswitch/switch.py b/homeassistant/components/recswitch/switch.py index 5fdb72606ef527..ed2da8022f8a1e 100644 --- a/homeassistant/components/recswitch/switch.py +++ b/homeassistant/components/recswitch/switch.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['pyrecswitch==1.0.2'] DEFAULT_NAME = 'RecSwitch {0}' diff --git a/homeassistant/components/reddit/sensor.py b/homeassistant/components/reddit/sensor.py index 92e4e299d1bd52..3ba43196551028 100644 --- a/homeassistant/components/reddit/sensor.py +++ b/homeassistant/components/reddit/sensor.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['praw==6.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rejseplanen/sensor.py b/homeassistant/components/rejseplanen/sensor.py index e342c624bd8b6b..7a8cddb6179096 100755 --- a/homeassistant/components/rejseplanen/sensor.py +++ b/homeassistant/components/rejseplanen/sensor.py @@ -19,7 +19,7 @@ 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 d85518cfb37b90..82619e35a0ebc2 100644 --- a/homeassistant/components/remember_the_milk/__init__.py +++ b/homeassistant/components/remember_the_milk/__init__.py @@ -13,7 +13,7 @@ # 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__) diff --git a/homeassistant/components/remote/__init__.py b/homeassistant/components/remote/__init__.py index 6ef417c1e41f0c..de79adc9f0e6b5 100644 --- a/homeassistant/components/remote/__init__.py +++ b/homeassistant/components/remote/__init__.py @@ -26,7 +26,7 @@ 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 71af79bb95f90a..98e80580fea604 100644 --- a/homeassistant/components/rflink/__init__.py +++ b/homeassistant/components/rflink/__init__.py @@ -18,7 +18,7 @@ async_dispatcher_send, async_dispatcher_connect) from homeassistant.helpers.restore_state import RestoreEntity - +REQUIREMENTS = ['rflink==0.0.37'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rflink/binary_sensor.py b/homeassistant/components/rflink/binary_sensor.py index 5a25cebdbd9ac5..4e487eb6e81577 100644 --- a/homeassistant/components/rflink/binary_sensor.py +++ b/homeassistant/components/rflink/binary_sensor.py @@ -14,7 +14,7 @@ CONF_OFF_DELAY = 'off_delay' DEFAULT_FORCE_UPDATE = False - +DEPENDENCIES = ['rflink'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rflink/cover.py b/homeassistant/components/rflink/cover.py index 821bd920b4ec15..409d27862f9c3f 100644 --- a/homeassistant/components/rflink/cover.py +++ b/homeassistant/components/rflink/cover.py @@ -13,7 +13,7 @@ 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 434fc6a05e3eac..112ed4b4f51203 100644 --- a/homeassistant/components/rflink/light.py +++ b/homeassistant/components/rflink/light.py @@ -15,7 +15,7 @@ CONF_SIGNAL_REPETITIONS, DATA_DEVICE_REGISTER, DEVICE_DEFAULTS_SCHEMA, EVENT_KEY_COMMAND, EVENT_KEY_ID, SwitchableRflinkDevice, remove_deprecated) - +DEPENDENCIES = ['rflink'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rflink/sensor.py b/homeassistant/components/rflink/sensor.py index d11bf3415f5591..c7498ece2416d8 100644 --- a/homeassistant/components/rflink/sensor.py +++ b/homeassistant/components/rflink/sensor.py @@ -15,7 +15,7 @@ EVENT_KEY_UNIT, SIGNAL_AVAILABILITY, SIGNAL_HANDLE_EVENT, TMP_ENTITY, RflinkDevice, remove_deprecated) - +DEPENDENCIES = ['rflink'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rflink/switch.py b/homeassistant/components/rflink/switch.py index 4a367f35a16663..d5889c797f0e59 100644 --- a/homeassistant/components/rflink/switch.py +++ b/homeassistant/components/rflink/switch.py @@ -13,7 +13,7 @@ CONF_NOGROUP_ALIASES, CONF_NOGROUP_ALIASSES, CONF_SIGNAL_REPETITIONS, DEVICE_DEFAULTS_SCHEMA, SwitchableRflinkDevice, remove_deprecated) - +DEPENDENCIES = ['rflink'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rfxtrx/__init__.py b/homeassistant/components/rfxtrx/__init__.py index 527f96156dd41c..411f0538bde3db 100644 --- a/homeassistant/components/rfxtrx/__init__.py +++ b/homeassistant/components/rfxtrx/__init__.py @@ -12,7 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import slugify - +REQUIREMENTS = ['pyRFXtrx==0.23'] DOMAIN = 'rfxtrx' diff --git a/homeassistant/components/rfxtrx/binary_sensor.py b/homeassistant/components/rfxtrx/binary_sensor.py index f010ce0b0af85d..d548897fb80ce1 100644 --- a/homeassistant/components/rfxtrx/binary_sensor.py +++ b/homeassistant/components/rfxtrx/binary_sensor.py @@ -17,7 +17,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['rfxtrx'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_DEVICES, default={}): { diff --git a/homeassistant/components/rfxtrx/cover.py b/homeassistant/components/rfxtrx/cover.py index f49516a0745d16..7ac0e2aa43f912 100644 --- a/homeassistant/components/rfxtrx/cover.py +++ b/homeassistant/components/rfxtrx/cover.py @@ -10,7 +10,7 @@ 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={}): { diff --git a/homeassistant/components/rfxtrx/light.py b/homeassistant/components/rfxtrx/light.py index 7c9ff6e972de4a..3320a67214e2bd 100644 --- a/homeassistant/components/rfxtrx/light.py +++ b/homeassistant/components/rfxtrx/light.py @@ -13,7 +13,7 @@ CONF_AUTOMATIC_ADD, CONF_DEVICES, CONF_FIRE_EVENT, CONF_SIGNAL_REPETITIONS, DEFAULT_SIGNAL_REPETITIONS) - +DEPENDENCIES = ['rfxtrx'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rfxtrx/sensor.py b/homeassistant/components/rfxtrx/sensor.py index 30de35133603d3..cc54320cb672eb 100644 --- a/homeassistant/components/rfxtrx/sensor.py +++ b/homeassistant/components/rfxtrx/sensor.py @@ -14,7 +14,7 @@ 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__) diff --git a/homeassistant/components/rfxtrx/switch.py b/homeassistant/components/rfxtrx/switch.py index 26756140235f61..908c07ea745795 100644 --- a/homeassistant/components/rfxtrx/switch.py +++ b/homeassistant/components/rfxtrx/switch.py @@ -12,7 +12,7 @@ CONF_AUTOMATIC_ADD, CONF_DEVICES, CONF_FIRE_EVENT, CONF_SIGNAL_REPETITIONS, DEFAULT_SIGNAL_REPETITIONS) - +DEPENDENCIES = ['rfxtrx'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ring/__init__.py b/homeassistant/components/ring/__init__.py index 50437a59fc454c..74da7a9d542909 100644 --- a/homeassistant/components/ring/__init__.py +++ b/homeassistant/components/ring/__init__.py @@ -7,7 +7,7 @@ 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__) diff --git a/homeassistant/components/ring/binary_sensor.py b/homeassistant/components/ring/binary_sensor.py index 26d3c838f96a33..79de0424d85a85 100644 --- a/homeassistant/components/ring/binary_sensor.py +++ b/homeassistant/components/ring/binary_sensor.py @@ -12,7 +12,7 @@ from . import ATTRIBUTION, DATA_RING, DEFAULT_ENTITY_NAMESPACE - +DEPENDENCIES = ['ring'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ring/camera.py b/homeassistant/components/ring/camera.py index 9c96717f1c7585..18427b9b6f9788 100644 --- a/homeassistant/components/ring/camera.py +++ b/homeassistant/components/ring/camera.py @@ -16,7 +16,7 @@ CONF_FFMPEG_ARGUMENTS = 'ffmpeg_arguments' - +DEPENDENCIES = ['ring', 'ffmpeg'] FORCE_REFRESH_INTERVAL = timedelta(minutes=45) diff --git a/homeassistant/components/ring/sensor.py b/homeassistant/components/ring/sensor.py index 697338862a70c1..c9cb2f1159a67f 100644 --- a/homeassistant/components/ring/sensor.py +++ b/homeassistant/components/ring/sensor.py @@ -13,7 +13,7 @@ from . import ATTRIBUTION, DATA_RING, DEFAULT_ENTITY_NAMESPACE - +DEPENDENCIES = ['ring'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ripple/sensor.py b/homeassistant/components/ripple/sensor.py index 6e1937a0e98de8..54530571c3eab4 100644 --- a/homeassistant/components/ripple/sensor.py +++ b/homeassistant/components/ripple/sensor.py @@ -8,7 +8,7 @@ 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" diff --git a/homeassistant/components/ritassist/device_tracker.py b/homeassistant/components/ritassist/device_tracker.py index 887c4244e8172f..74bec1b871121f 100644 --- a/homeassistant/components/ritassist/device_tracker.py +++ b/homeassistant/components/ritassist/device_tracker.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/rmvtransport/sensor.py b/homeassistant/components/rmvtransport/sensor.py index e53b92c410820b..7a3afb3f324bca 100644 --- a/homeassistant/components/rmvtransport/sensor.py +++ b/homeassistant/components/rmvtransport/sensor.py @@ -13,7 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['PyRMVtransport==0.1.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rocketchat/notify.py b/homeassistant/components/rocketchat/notify.py index e00e725321b1f6..e404114736a103 100644 --- a/homeassistant/components/rocketchat/notify.py +++ b/homeassistant/components/rocketchat/notify.py @@ -10,7 +10,7 @@ from homeassistant.components.notify import (ATTR_DATA, PLATFORM_SCHEMA, BaseNotificationService) - +REQUIREMENTS = ['rocketchat-API==0.6.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/roku/__init__.py b/homeassistant/components/roku/__init__.py index 168dd01354c87b..89bb1a9acb8fbd 100644 --- a/homeassistant/components/roku/__init__.py +++ b/homeassistant/components/roku/__init__.py @@ -8,7 +8,7 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['python-roku==3.1.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/roku/media_player.py b/homeassistant/components/roku/media_player.py index d88d60b69a240d..3cf27af067433d 100644 --- a/homeassistant/components/roku/media_player.py +++ b/homeassistant/components/roku/media_player.py @@ -10,7 +10,7 @@ from homeassistant.const import (CONF_HOST, STATE_HOME, STATE_IDLE, STATE_PLAYING) - +DEPENDENCIES = ['roku'] DEFAULT_PORT = 8060 diff --git a/homeassistant/components/roku/remote.py b/homeassistant/components/roku/remote.py index 5cc1e4de0c68aa..5529918010cf45 100644 --- a/homeassistant/components/roku/remote.py +++ b/homeassistant/components/roku/remote.py @@ -4,7 +4,7 @@ from homeassistant.components import remote from homeassistant.const import (CONF_HOST) - +DEPENDENCIES = ['roku'] async def async_setup_platform( diff --git a/homeassistant/components/roomba/vacuum.py b/homeassistant/components/roomba/vacuum.py index a345a007489e23..fadbe2a82d5254 100644 --- a/homeassistant/components/roomba/vacuum.py +++ b/homeassistant/components/roomba/vacuum.py @@ -14,7 +14,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['roombapy==1.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/route53/__init__.py b/homeassistant/components/route53/__init__.py index c94dd727765dcc..725dec8b8e54b2 100644 --- a/homeassistant/components/route53/__init__.py +++ b/homeassistant/components/route53/__init__.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/rova/sensor.py b/homeassistant/components/rova/sensor.py index 28fc55ebcd770b..2c2c36b12457ad 100644 --- a/homeassistant/components/rova/sensor.py +++ b/homeassistant/components/rova/sensor.py @@ -12,7 +12,7 @@ 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' diff --git a/homeassistant/components/rpi_gpio/__init__.py b/homeassistant/components/rpi_gpio/__init__.py index 2d79b1146836b8..b5bd0796f160b8 100644 --- a/homeassistant/components/rpi_gpio/__init__.py +++ b/homeassistant/components/rpi_gpio/__init__.py @@ -4,7 +4,7 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) - +REQUIREMENTS = ['RPi.GPIO==0.6.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rpi_gpio/binary_sensor.py b/homeassistant/components/rpi_gpio/binary_sensor.py index 26e5e603eb42c0..559ae9584049be 100644 --- a/homeassistant/components/rpi_gpio/binary_sensor.py +++ b/homeassistant/components/rpi_gpio/binary_sensor.py @@ -20,7 +20,7 @@ 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 a577c9822877f6..403f7ec6867afa 100644 --- a/homeassistant/components/rpi_gpio/cover.py +++ b/homeassistant/components/rpi_gpio/cover.py @@ -23,7 +23,7 @@ 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 21b717f424354a..bdb79d03eec812 100644 --- a/homeassistant/components/rpi_gpio/switch.py +++ b/homeassistant/components/rpi_gpio/switch.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['rpi_gpio'] CONF_PULL_MODE = 'pull_mode' CONF_PORTS = 'ports' diff --git a/homeassistant/components/rpi_gpio_pwm/light.py b/homeassistant/components/rpi_gpio_pwm/light.py index 06fac61401f791..b0b9ef1b763509 100644 --- a/homeassistant/components/rpi_gpio_pwm/light.py +++ b/homeassistant/components/rpi_gpio_pwm/light.py @@ -11,7 +11,7 @@ import homeassistant.util.color as color_util from homeassistant.helpers.restore_state import RestoreEntity - +REQUIREMENTS = ['pwmled==1.4.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rpi_pfio/__init__.py b/homeassistant/components/rpi_pfio/__init__.py index 10d36372c090e5..b096d9fe98ab7d 100644 --- a/homeassistant/components/rpi_pfio/__init__.py +++ b/homeassistant/components/rpi_pfio/__init__.py @@ -4,7 +4,7 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) - +REQUIREMENTS = ['pifacecommon==4.2.2', 'pifacedigitalio==3.0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rpi_pfio/binary_sensor.py b/homeassistant/components/rpi_pfio/binary_sensor.py index 5375e1d4f37024..677ec3bb16f121 100644 --- a/homeassistant/components/rpi_pfio/binary_sensor.py +++ b/homeassistant/components/rpi_pfio/binary_sensor.py @@ -18,7 +18,7 @@ DEFAULT_INVERT_LOGIC = False DEFAULT_SETTLE_TIME = 20 - +DEPENDENCIES = ['rpi_pfio'] PORT_SCHEMA = vol.Schema({ vol.Optional(CONF_NAME): cv.string, diff --git a/homeassistant/components/rpi_pfio/switch.py b/homeassistant/components/rpi_pfio/switch.py index 90ef5cad7e765e..fc158bd666f97d 100644 --- a/homeassistant/components/rpi_pfio/switch.py +++ b/homeassistant/components/rpi_pfio/switch.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['rpi_pfio'] ATTR_INVERT_LOGIC = 'invert_logic' diff --git a/homeassistant/components/rpi_rf/switch.py b/homeassistant/components/rpi_rf/switch.py index d228c6c93bfaef..d0a2337280296d 100644 --- a/homeassistant/components/rpi_rf/switch.py +++ b/homeassistant/components/rpi_rf/switch.py @@ -9,7 +9,7 @@ CONF_NAME, CONF_SWITCHES, EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['rpi-rf==0.9.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rss_feed_template/__init__.py b/homeassistant/components/rss_feed_template/__init__.py index d51a87f6ba591d..3c93fe2ac83593 100644 --- a/homeassistant/components/rss_feed_template/__init__.py +++ b/homeassistant/components/rss_feed_template/__init__.py @@ -8,7 +8,7 @@ import homeassistant.helpers.config_validation as cv CONTENT_TYPE_XML = 'text/xml' - +DEPENDENCIES = ['http'] DOMAIN = 'rss_feed_template' diff --git a/homeassistant/components/russound_rio/media_player.py b/homeassistant/components/russound_rio/media_player.py index dba86dfa4af05d..b8f9d29f5cae81 100644 --- a/homeassistant/components/russound_rio/media_player.py +++ b/homeassistant/components/russound_rio/media_player.py @@ -14,7 +14,7 @@ from homeassistant.core import callback import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['russound_rio==0.1.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/russound_rnet/media_player.py b/homeassistant/components/russound_rnet/media_player.py index 1c6e5d33247e12..f489d48a9d53f4 100644 --- a/homeassistant/components/russound_rnet/media_player.py +++ b/homeassistant/components/russound_rnet/media_player.py @@ -12,7 +12,7 @@ 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__) diff --git a/homeassistant/components/ruter/sensor.py b/homeassistant/components/ruter/sensor.py index cc2b024dd703bb..f6fefc96198939 100644 --- a/homeassistant/components/ruter/sensor.py +++ b/homeassistant/components/ruter/sensor.py @@ -9,7 +9,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.aiohttp_client import async_get_clientsession - +REQUIREMENTS = ['pyruter==1.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sabnzbd/__init__.py b/homeassistant/components/sabnzbd/__init__.py index 003d12b5c15f0e..d070872f85c442 100644 --- a/homeassistant/components/sabnzbd/__init__.py +++ b/homeassistant/components/sabnzbd/__init__.py @@ -15,7 +15,7 @@ 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__) diff --git a/homeassistant/components/sabnzbd/sensor.py b/homeassistant/components/sabnzbd/sensor.py index a0ba5fd437309e..4968725a4befc7 100644 --- a/homeassistant/components/sabnzbd/sensor.py +++ b/homeassistant/components/sabnzbd/sensor.py @@ -6,7 +6,7 @@ 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 eb6978495e9f99..1a2a24c3621040 100644 --- a/homeassistant/components/samsungtv/media_player.py +++ b/homeassistant/components/samsungtv/media_player.py @@ -18,7 +18,7 @@ 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__) diff --git a/homeassistant/components/satel_integra/__init__.py b/homeassistant/components/satel_integra/__init__.py index b3a0bbda90bdea..5f5c43d961f552 100644 --- a/homeassistant/components/satel_integra/__init__.py +++ b/homeassistant/components/satel_integra/__init__.py @@ -9,7 +9,7 @@ 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 diff --git a/homeassistant/components/satel_integra/alarm_control_panel.py b/homeassistant/components/satel_integra/alarm_control_panel.py index f2733a613f461d..d2d9f47305100d 100644 --- a/homeassistant/components/satel_integra/alarm_control_panel.py +++ b/homeassistant/components/satel_integra/alarm_control_panel.py @@ -16,7 +16,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['satel_integra'] async def async_setup_platform( diff --git a/homeassistant/components/satel_integra/binary_sensor.py b/homeassistant/components/satel_integra/binary_sensor.py index 97b0b339b8754f..0384ff37f14f01 100644 --- a/homeassistant/components/satel_integra/binary_sensor.py +++ b/homeassistant/components/satel_integra/binary_sensor.py @@ -9,7 +9,7 @@ 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 002188f0bcf411..e576eca78e872e 100644 --- a/homeassistant/components/scrape/sensor.py +++ b/homeassistant/components/scrape/sensor.py @@ -15,7 +15,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['beautifulsoup4==4.7.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/script/__init__.py b/homeassistant/components/script/__init__.py index 90e8353c8589e8..873a18120ac3ce 100644 --- a/homeassistant/components/script/__init__.py +++ b/homeassistant/components/script/__init__.py @@ -18,7 +18,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'script' - +DEPENDENCIES = ['group'] ATTR_CAN_CANCEL = 'can_cancel' ATTR_LAST_ACTION = 'last_action' diff --git a/homeassistant/components/scsgate/__init__.py b/homeassistant/components/scsgate/__init__.py index 52d99fd43f9f49..67421e9a46ad44 100644 --- a/homeassistant/components/scsgate/__init__.py +++ b/homeassistant/components/scsgate/__init__.py @@ -8,7 +8,7 @@ from homeassistant.core import EVENT_HOMEASSISTANT_STOP import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['scsgate==0.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/scsgate/cover.py b/homeassistant/components/scsgate/cover.py index 906d4cffc5a1a4..fc1c16e1ff36d5 100644 --- a/homeassistant/components/scsgate/cover.py +++ b/homeassistant/components/scsgate/cover.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['scsgate'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_DEVICES): diff --git a/homeassistant/components/scsgate/light.py b/homeassistant/components/scsgate/light.py index 5608be96fee141..87d7e02b383d1d 100644 --- a/homeassistant/components/scsgate/light.py +++ b/homeassistant/components/scsgate/light.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['scsgate'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_DEVICES): diff --git a/homeassistant/components/scsgate/switch.py b/homeassistant/components/scsgate/switch.py index 6a9d6fa623a77c..2b2bf2de94fc5b 100644 --- a/homeassistant/components/scsgate/switch.py +++ b/homeassistant/components/scsgate/switch.py @@ -11,7 +11,7 @@ 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 7d6685453cd015..7c7b1054961bf3 100644 --- a/homeassistant/components/season/sensor.py +++ b/homeassistant/components/season/sensor.py @@ -9,7 +9,7 @@ from homeassistant.helpers.entity import Entity from homeassistant import util - +REQUIREMENTS = ['ephem==3.7.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sendgrid/notify.py b/homeassistant/components/sendgrid/notify.py index b56e2159d3a1ee..a717c7f24edb0d 100644 --- a/homeassistant/components/sendgrid/notify.py +++ b/homeassistant/components/sendgrid/notify.py @@ -10,7 +10,7 @@ from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) - +REQUIREMENTS = ['sendgrid==5.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sense/__init__.py b/homeassistant/components/sense/__init__.py index 762c7ad672d788..be3ab75b5553cd 100644 --- a/homeassistant/components/sense/__init__.py +++ b/homeassistant/components/sense/__init__.py @@ -7,7 +7,7 @@ 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__) diff --git a/homeassistant/components/sense/binary_sensor.py b/homeassistant/components/sense/binary_sensor.py index ce961aa4dac7fc..da9bae3cc84788 100644 --- a/homeassistant/components/sense/binary_sensor.py +++ b/homeassistant/components/sense/binary_sensor.py @@ -5,7 +5,7 @@ from . import SENSE_DATA - +DEPENDENCIES = ['sense'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sense/sensor.py b/homeassistant/components/sense/sensor.py index 4f4fe5009602cd..0224884e18a5cd 100644 --- a/homeassistant/components/sense/sensor.py +++ b/homeassistant/components/sense/sensor.py @@ -15,7 +15,7 @@ CONSUMPTION_NAME = 'Usage' - +DEPENDENCIES = ['sense'] ICON = 'mdi:flash' diff --git a/homeassistant/components/sensehat/light.py b/homeassistant/components/sensehat/light.py index 7a25c66e28239a..c68e77b40a4d8d 100644 --- a/homeassistant/components/sensehat/light.py +++ b/homeassistant/components/sensehat/light.py @@ -10,7 +10,7 @@ from homeassistant.const import CONF_NAME import homeassistant.util.color as color_util - +REQUIREMENTS = ['sense-hat==2.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sensehat/sensor.py b/homeassistant/components/sensehat/sensor.py index 82cd0c9bae1498..870150c1a987cd 100644 --- a/homeassistant/components/sensehat/sensor.py +++ b/homeassistant/components/sensehat/sensor.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['sense-hat==2.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sensibo/climate.py b/homeassistant/components/sensibo/climate.py index 9cf13c2fe7efa7..bf06f232427a3f 100644 --- a/homeassistant/components/sensibo/climate.py +++ b/homeassistant/components/sensibo/climate.py @@ -21,7 +21,7 @@ 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__) diff --git a/homeassistant/components/serial/sensor.py b/homeassistant/components/serial/sensor.py index b2af5505601c84..c01981f90218a7 100644 --- a/homeassistant/components/serial/sensor.py +++ b/homeassistant/components/serial/sensor.py @@ -10,7 +10,7 @@ CONF_NAME, CONF_VALUE_TEMPLATE, EVENT_HOMEASSISTANT_STOP) from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['pyserial-asyncio==0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/serial_pm/sensor.py b/homeassistant/components/serial_pm/sensor.py index 1922dfff73af5a..9ad65f7256fa25 100644 --- a/homeassistant/components/serial_pm/sensor.py +++ b/homeassistant/components/serial_pm/sensor.py @@ -8,7 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.sensor import PLATFORM_SCHEMA - +REQUIREMENTS = ['pmsensor==0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sesame/lock.py b/homeassistant/components/sesame/lock.py index 385bdd1eeef0c8..263914f389cced 100644 --- a/homeassistant/components/sesame/lock.py +++ b/homeassistant/components/sesame/lock.py @@ -9,7 +9,7 @@ STATE_LOCKED, STATE_UNLOCKED) from homeassistant.helpers.typing import ConfigType - +REQUIREMENTS = ['pysesame==0.1.0'] ATTR_DEVICE_ID = 'device_id' diff --git a/homeassistant/components/seventeentrack/sensor.py b/homeassistant/components/seventeentrack/sensor.py index 3d7c8a94b41154..ff17d1a4c546fc 100644 --- a/homeassistant/components/seventeentrack/sensor.py +++ b/homeassistant/components/seventeentrack/sensor.py @@ -12,7 +12,7 @@ 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 075aa602e8dbdc..438bc36b1bf2de 100644 --- a/homeassistant/components/shiftr/__init__.py +++ b/homeassistant/components/shiftr/__init__.py @@ -9,7 +9,7 @@ EVENT_HOMEASSISTANT_STOP) from homeassistant.helpers import state as state_helper - +REQUIREMENTS = ['paho-mqtt==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/shodan/sensor.py b/homeassistant/components/shodan/sensor.py index 6bce0d252617d5..ee64eecf3fe02a 100644 --- a/homeassistant/components/shodan/sensor.py +++ b/homeassistant/components/shodan/sensor.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/shopping_list/__init__.py b/homeassistant/components/shopping_list/__init__.py index 7f24bba6db72a4..1a036f3661aa38 100644 --- a/homeassistant/components/shopping_list/__init__.py +++ b/homeassistant/components/shopping_list/__init__.py @@ -18,7 +18,7 @@ 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/simplepush/notify.py b/homeassistant/components/simplepush/notify.py index 52e9d207f98905..081351238d9d0e 100644 --- a/homeassistant/components/simplepush/notify.py +++ b/homeassistant/components/simplepush/notify.py @@ -9,7 +9,7 @@ from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) - +REQUIREMENTS = ['simplepush==1.1.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/simplisafe/__init__.py b/homeassistant/components/simplisafe/__init__.py index fbdada4e1bf2f2..359591856a7917 100644 --- a/homeassistant/components/simplisafe/__init__.py +++ b/homeassistant/components/simplisafe/__init__.py @@ -19,7 +19,7 @@ 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__) diff --git a/homeassistant/components/sisyphus/__init__.py b/homeassistant/components/sisyphus/__init__.py index 20523296ec3352..b1bec15d40e8ac 100644 --- a/homeassistant/components/sisyphus/__init__.py +++ b/homeassistant/components/sisyphus/__init__.py @@ -13,7 +13,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import async_load_platform - +REQUIREMENTS = ['sisyphus-control==2.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sisyphus/light.py b/homeassistant/components/sisyphus/light.py index b285824d7ce4e9..182e5e78198dc1 100644 --- a/homeassistant/components/sisyphus/light.py +++ b/homeassistant/components/sisyphus/light.py @@ -8,7 +8,7 @@ _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 29a0f47784edb9..11546c3fd43822 100644 --- a/homeassistant/components/sisyphus/media_player.py +++ b/homeassistant/components/sisyphus/media_player.py @@ -13,7 +13,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['sisyphus'] MEDIA_TYPE_TRACK = 'sisyphus_track' diff --git a/homeassistant/components/skybeacon/sensor.py b/homeassistant/components/skybeacon/sensor.py index 9e6f0a91472243..9b8b4872cdce89 100644 --- a/homeassistant/components/skybeacon/sensor.py +++ b/homeassistant/components/skybeacon/sensor.py @@ -11,7 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['pygatt[GATTTOOL]==3.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/skybell/__init__.py b/homeassistant/components/skybell/__init__.py index b404a43bf3ef93..31d1339fbcfc88 100644 --- a/homeassistant/components/skybell/__init__.py +++ b/homeassistant/components/skybell/__init__.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['skybellpy==0.3.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/skybell/binary_sensor.py b/homeassistant/components/skybell/binary_sensor.py index 89878d0651b73b..8c2b83552588c5 100644 --- a/homeassistant/components/skybell/binary_sensor.py +++ b/homeassistant/components/skybell/binary_sensor.py @@ -12,7 +12,7 @@ from . import DEFAULT_ENTITY_NAMESPACE, DOMAIN as SKYBELL_DOMAIN, SkybellDevice - +DEPENDENCIES = ['skybell'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/skybell/camera.py b/homeassistant/components/skybell/camera.py index bad3d423a82d61..04b03f84bf751d 100644 --- a/homeassistant/components/skybell/camera.py +++ b/homeassistant/components/skybell/camera.py @@ -11,7 +11,7 @@ from . import DOMAIN as SKYBELL_DOMAIN, SkybellDevice - +DEPENDENCIES = ['skybell'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/skybell/light.py b/homeassistant/components/skybell/light.py index 491bfed953cdf6..d413f9df4127dc 100644 --- a/homeassistant/components/skybell/light.py +++ b/homeassistant/components/skybell/light.py @@ -7,7 +7,7 @@ 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 e2bfcedf2987b6..067e850dfcf1dc 100644 --- a/homeassistant/components/skybell/sensor.py +++ b/homeassistant/components/skybell/sensor.py @@ -11,7 +11,7 @@ from . import DEFAULT_ENTITY_NAMESPACE, DOMAIN as SKYBELL_DOMAIN, SkybellDevice - +DEPENDENCIES = ['skybell'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/skybell/switch.py b/homeassistant/components/skybell/switch.py index e41b23052206e6..674bbf22a08600 100644 --- a/homeassistant/components/skybell/switch.py +++ b/homeassistant/components/skybell/switch.py @@ -10,7 +10,7 @@ from . import DEFAULT_ENTITY_NAMESPACE, DOMAIN as SKYBELL_DOMAIN, SkybellDevice - +DEPENDENCIES = ['skybell'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/slack/notify.py b/homeassistant/components/slack/notify.py index cf879478c0db51..026fed0a58ebb2 100644 --- a/homeassistant/components/slack/notify.py +++ b/homeassistant/components/slack/notify.py @@ -12,7 +12,7 @@ ATTR_DATA, ATTR_TARGET, ATTR_TITLE, PLATFORM_SCHEMA, BaseNotificationService) - +REQUIREMENTS = ['slacker==0.12.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sleepiq/__init__.py b/homeassistant/components/sleepiq/__init__.py index 99c66d6e707435..7a23c6c46095f8 100644 --- a/homeassistant/components/sleepiq/__init__.py +++ b/homeassistant/components/sleepiq/__init__.py @@ -13,7 +13,7 @@ DOMAIN = 'sleepiq' - +REQUIREMENTS = ['sleepyq==0.6'] MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=30) diff --git a/homeassistant/components/sleepiq/binary_sensor.py b/homeassistant/components/sleepiq/binary_sensor.py index e0843e67fd5a88..11f9e25d8c957e 100644 --- a/homeassistant/components/sleepiq/binary_sensor.py +++ b/homeassistant/components/sleepiq/binary_sensor.py @@ -2,7 +2,7 @@ from homeassistant.components import sleepiq from homeassistant.components.binary_sensor import BinarySensorDevice - +DEPENDENCIES = ['sleepiq'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/sleepiq/sensor.py b/homeassistant/components/sleepiq/sensor.py index 86b9fc7fef58cd..3de444c332452d 100644 --- a/homeassistant/components/sleepiq/sensor.py +++ b/homeassistant/components/sleepiq/sensor.py @@ -1,7 +1,7 @@ """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 718a6c1ffdd45b..a2ec7871f608e0 100644 --- a/homeassistant/components/sma/sensor.py +++ b/homeassistant/components/sma/sensor.py @@ -14,7 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import async_track_time_interval - +REQUIREMENTS = ['pysma==0.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/smappee/__init__.py b/homeassistant/components/smappee/__init__.py index 8f01bd39217833..7a495d7b89a375 100644 --- a/homeassistant/components/smappee/__init__.py +++ b/homeassistant/components/smappee/__init__.py @@ -11,7 +11,7 @@ from homeassistant.helpers.discovery import load_platform import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['smappy==0.2.16'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/smappee/sensor.py b/homeassistant/components/smappee/sensor.py index 39a2d98fde2749..98527c769d9036 100644 --- a/homeassistant/components/smappee/sensor.py +++ b/homeassistant/components/smappee/sensor.py @@ -7,7 +7,7 @@ from . import DATA_SMAPPEE - +DEPENDENCIES = ['smappee'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/smappee/switch.py b/homeassistant/components/smappee/switch.py index 2f5737c9be5cf0..963caf457fe8db 100644 --- a/homeassistant/components/smappee/switch.py +++ b/homeassistant/components/smappee/switch.py @@ -5,7 +5,7 @@ from . import DATA_SMAPPEE - +DEPENDENCIES = ['smappee'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/smartthings/__init__.py b/homeassistant/components/smartthings/__init__.py index 15a9500150c4d2..e5226076f465e9 100644 --- a/homeassistant/components/smartthings/__init__.py +++ b/homeassistant/components/smartthings/__init__.py @@ -28,8 +28,8 @@ 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 3f6064a30dd672..45101601d5ffb2 100644 --- a/homeassistant/components/smartthings/binary_sensor.py +++ b/homeassistant/components/smartthings/binary_sensor.py @@ -6,7 +6,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN - +DEPENDENCIES = ['smartthings'] CAPABILITY_TO_ATTRIB = { 'accelerationSensor': 'acceleration', diff --git a/homeassistant/components/smartthings/climate.py b/homeassistant/components/smartthings/climate.py index 180008bcd3a3ad..bcf2dc02cb03a2 100644 --- a/homeassistant/components/smartthings/climate.py +++ b/homeassistant/components/smartthings/climate.py @@ -17,7 +17,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN - +DEPENDENCIES = ['smartthings'] ATTR_OPERATION_STATE = 'operation_state' MODE_TO_STATE = { diff --git a/homeassistant/components/smartthings/cover.py b/homeassistant/components/smartthings/cover.py index 5c740e4dfde821..53602c3643c2d4 100644 --- a/homeassistant/components/smartthings/cover.py +++ b/homeassistant/components/smartthings/cover.py @@ -11,7 +11,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN - +DEPENDENCIES = ['smartthings'] VALUE_TO_STATE = { 'closed': STATE_CLOSED, diff --git a/homeassistant/components/smartthings/fan.py b/homeassistant/components/smartthings/fan.py index 128ead6cbb8a5e..e722cd21d65a61 100644 --- a/homeassistant/components/smartthings/fan.py +++ b/homeassistant/components/smartthings/fan.py @@ -8,7 +8,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN - +DEPENDENCIES = ['smartthings'] VALUE_TO_SPEED = { 0: SPEED_OFF, diff --git a/homeassistant/components/smartthings/light.py b/homeassistant/components/smartthings/light.py index 210f2caa86a993..79a5eabc20a3cd 100644 --- a/homeassistant/components/smartthings/light.py +++ b/homeassistant/components/smartthings/light.py @@ -11,7 +11,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN - +DEPENDENCIES = ['smartthings'] async def async_setup_platform( diff --git a/homeassistant/components/smartthings/lock.py b/homeassistant/components/smartthings/lock.py index 56085ffbe2c05c..c7ab091454cad2 100644 --- a/homeassistant/components/smartthings/lock.py +++ b/homeassistant/components/smartthings/lock.py @@ -6,7 +6,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN - +DEPENDENCIES = ['smartthings'] ST_STATE_LOCKED = 'locked' ST_LOCK_ATTR_MAP = { diff --git a/homeassistant/components/smartthings/scene.py b/homeassistant/components/smartthings/scene.py index bf05d0e98bab97..9bf3211d8e36e2 100644 --- a/homeassistant/components/smartthings/scene.py +++ b/homeassistant/components/smartthings/scene.py @@ -3,7 +3,7 @@ from .const import DATA_BROKERS, DOMAIN - +DEPENDENCIES = ['smartthings'] async def async_setup_platform( diff --git a/homeassistant/components/smartthings/sensor.py b/homeassistant/components/smartthings/sensor.py index ee951dc97860a3..4f7ad1a1398ae4 100644 --- a/homeassistant/components/smartthings/sensor.py +++ b/homeassistant/components/smartthings/sensor.py @@ -10,7 +10,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN - +DEPENDENCIES = ['smartthings'] Map = namedtuple("map", "attribute name default_unit device_class") diff --git a/homeassistant/components/smartthings/switch.py b/homeassistant/components/smartthings/switch.py index 1707597e4b8804..d30aa3a2303e9e 100644 --- a/homeassistant/components/smartthings/switch.py +++ b/homeassistant/components/smartthings/switch.py @@ -6,7 +6,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN - +DEPENDENCIES = ['smartthings'] async def async_setup_platform( diff --git a/homeassistant/components/smhi/__init__.py b/homeassistant/components/smhi/__init__.py index 3d9f29b0b75022..608ee9b6a6d171 100644 --- a/homeassistant/components/smhi/__init__.py +++ b/homeassistant/components/smhi/__init__.py @@ -6,7 +6,7 @@ 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 9961f633779c8d..fc3399f755ccc5 100644 --- a/homeassistant/components/smhi/weather.py +++ b/homeassistant/components/smhi/weather.py @@ -19,7 +19,7 @@ from .const import ATTR_SMHI_CLOUDINESS, ENTITY_ID_SENSOR_FORMAT - +DEPENDENCIES = ['smhi'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/snapcast/media_player.py b/homeassistant/components/snapcast/media_player.py index 3f43857929cc6d..b1589c4db51ab3 100644 --- a/homeassistant/components/snapcast/media_player.py +++ b/homeassistant/components/snapcast/media_player.py @@ -14,7 +14,7 @@ STATE_PLAYING, STATE_UNKNOWN) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['snapcast==2.0.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/snips/__init__.py b/homeassistant/components/snips/__init__.py index 13b525ca140d1b..0cc96d66b1a1aa 100644 --- a/homeassistant/components/snips/__init__.py +++ b/homeassistant/components/snips/__init__.py @@ -10,7 +10,7 @@ from homeassistant.components import mqtt DOMAIN = 'snips' - +DEPENDENCIES = ['mqtt'] CONF_INTENTS = 'intents' CONF_ACTION = 'action' diff --git a/homeassistant/components/snmp/device_tracker.py b/homeassistant/components/snmp/device_tracker.py index 5da930d1048231..8a0fe7c6101c98 100644 --- a/homeassistant/components/snmp/device_tracker.py +++ b/homeassistant/components/snmp/device_tracker.py @@ -9,7 +9,7 @@ DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST - +REQUIREMENTS = ['pysnmp==4.4.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/snmp/sensor.py b/homeassistant/components/snmp/sensor.py index cb2cab5cdb3a13..83d311189885ef 100644 --- a/homeassistant/components/snmp/sensor.py +++ b/homeassistant/components/snmp/sensor.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/snmp/switch.py b/homeassistant/components/snmp/switch.py index b709b7475664e3..fdb3267a3c7c32 100644 --- a/homeassistant/components/snmp/switch.py +++ b/homeassistant/components/snmp/switch.py @@ -9,7 +9,7 @@ CONF_USERNAME) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pysnmp==4.4.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sochain/sensor.py b/homeassistant/components/sochain/sensor.py index c827ac54ef242e..ef6a53b7091998 100644 --- a/homeassistant/components/sochain/sensor.py +++ b/homeassistant/components/sochain/sensor.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['python-sochain-api==0.0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/socialblade/sensor.py b/homeassistant/components/socialblade/sensor.py index 33bd84548beedb..77433ac6d57d4a 100644 --- a/homeassistant/components/socialblade/sensor.py +++ b/homeassistant/components/socialblade/sensor.py @@ -12,7 +12,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['socialbladeclient==0.2'] CHANNEL_ID = 'channel_id' diff --git a/homeassistant/components/solaredge/sensor.py b/homeassistant/components/solaredge/sensor.py index 406e7ab217a11f..6c6d7557282e2f 100644 --- a/homeassistant/components/solaredge/sensor.py +++ b/homeassistant/components/solaredge/sensor.py @@ -14,7 +14,7 @@ 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 9a9728960c136d..c8a6314acaaa50 100755 --- a/homeassistant/components/somfy_mylink/__init__.py +++ b/homeassistant/components/somfy_mylink/__init__.py @@ -8,7 +8,7 @@ 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 9f926315861776..e0b9eae36ebe73 100755 --- a/homeassistant/components/somfy_mylink/cover.py +++ b/homeassistant/components/somfy_mylink/cover.py @@ -7,7 +7,7 @@ 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 2407a9b2030329..842360484cfd5b 100644 --- a/homeassistant/components/songpal/media_player.py +++ b/homeassistant/components/songpal/media_player.py @@ -16,7 +16,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['python-songpal==0.0.9.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sonos/__init__.py b/homeassistant/components/sonos/__init__.py index a9cc4eeb2bcd47..d5f89cd074ed0d 100644 --- a/homeassistant/components/sonos/__init__.py +++ b/homeassistant/components/sonos/__init__.py @@ -4,7 +4,7 @@ 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 b3fca5c7226f40..5b3ffeed75f30b 100644 --- a/homeassistant/components/sony_projector/switch.py +++ b/homeassistant/components/sony_projector/switch.py @@ -8,7 +8,7 @@ STATE_ON, STATE_OFF, CONF_NAME, CONF_HOST) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pysdcp==1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/soundtouch/media_player.py b/homeassistant/components/soundtouch/media_player.py index 2c7e08b9cbd9e3..027fad43a4013b 100644 --- a/homeassistant/components/soundtouch/media_player.py +++ b/homeassistant/components/soundtouch/media_player.py @@ -15,7 +15,7 @@ STATE_UNAVAILABLE) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['libsoundtouch==0.7.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/spaceapi/__init__.py b/homeassistant/components/spaceapi/__init__.py index 3bbfdd2978958c..fb76718f2d5f06 100644 --- a/homeassistant/components/spaceapi/__init__.py +++ b/homeassistant/components/spaceapi/__init__.py @@ -45,7 +45,7 @@ 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 2f322a6f990b57..8aafb6f12107bd 100644 --- a/homeassistant/components/spc/__init__.py +++ b/homeassistant/components/spc/__init__.py @@ -7,7 +7,7 @@ from homeassistant.helpers.dispatcher import async_dispatcher_send import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pyspcwebgw==0.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/speedtestdotnet/__init__.py b/homeassistant/components/speedtestdotnet/__init__.py index 6a7f190a571d02..48953874e8c528 100644 --- a/homeassistant/components/speedtestdotnet/__init__.py +++ b/homeassistant/components/speedtestdotnet/__init__.py @@ -14,7 +14,7 @@ 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__) diff --git a/homeassistant/components/speedtestdotnet/sensor.py b/homeassistant/components/speedtestdotnet/sensor.py index 001089dfe018a7..fb92bb76ac848a 100644 --- a/homeassistant/components/speedtestdotnet/sensor.py +++ b/homeassistant/components/speedtestdotnet/sensor.py @@ -9,7 +9,7 @@ from .const import ( DATA_UPDATED, DOMAIN as SPEEDTESTDOTNET_DOMAIN, SENSOR_TYPES) - +DEPENDENCIES = ['speedtestdotnet'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/spider/__init__.py b/homeassistant/components/spider/__init__.py index bbca33fc4f04e4..b565f1834577fd 100644 --- a/homeassistant/components/spider/__init__.py +++ b/homeassistant/components/spider/__init__.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform - +REQUIREMENTS = ['spiderpy==1.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/spider/climate.py b/homeassistant/components/spider/climate.py index 3062edd0d0778b..3b612441a88466 100644 --- a/homeassistant/components/spider/climate.py +++ b/homeassistant/components/spider/climate.py @@ -10,7 +10,7 @@ from . import DOMAIN as SPIDER_DOMAIN - +DEPENDENCIES = ['spider'] FAN_LIST = [ 'Auto', diff --git a/homeassistant/components/spider/switch.py b/homeassistant/components/spider/switch.py index c420ece17b022c..e43762be460f1d 100644 --- a/homeassistant/components/spider/switch.py +++ b/homeassistant/components/spider/switch.py @@ -5,7 +5,7 @@ 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 7c5375db7af2de..fa9cfa687ec3af 100644 --- a/homeassistant/components/spotcrime/sensor.py +++ b/homeassistant/components/spotcrime/sensor.py @@ -15,7 +15,7 @@ from homeassistant.util import slugify import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['spotcrime==1.0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/spotify/media_player.py b/homeassistant/components/spotify/media_player.py index c7b56fcd091284..b9252d5035bd9f 100644 --- a/homeassistant/components/spotify/media_player.py +++ b/homeassistant/components/spotify/media_player.py @@ -16,7 +16,7 @@ from homeassistant.core import callback import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['spotipy-homeassistant==2.4.4.dev1'] _LOGGER = logging.getLogger(__name__) @@ -35,7 +35,7 @@ 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 1ee4b71fa21d88..bc40d5efb4279f 100644 --- a/homeassistant/components/sql/sensor.py +++ b/homeassistant/components/sql/sensor.py @@ -15,7 +15,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['sqlalchemy==1.3.0'] CONF_COLUMN_NAME = 'column' CONF_QUERIES = 'queries' diff --git a/homeassistant/components/srp_energy/sensor.py b/homeassistant/components/srp_energy/sensor.py index 6da48df6c44d2f..0ebae427da138a 100644 --- a/homeassistant/components/srp_energy/sensor.py +++ b/homeassistant/components/srp_energy/sensor.py @@ -14,7 +14,7 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['srpenergy==1.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/starlingbank/sensor.py b/homeassistant/components/starlingbank/sensor.py index 7911604771290e..00640ea49632ca 100644 --- a/homeassistant/components/starlingbank/sensor.py +++ b/homeassistant/components/starlingbank/sensor.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['starlingbank==3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/startca/sensor.py b/homeassistant/components/startca/sensor.py index ea9b57862b7684..1e57a4cf859eba 100644 --- a/homeassistant/components/startca/sensor.py +++ b/homeassistant/components/startca/sensor.py @@ -14,7 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['xmltodict==0.11.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/statsd/__init__.py b/homeassistant/components/statsd/__init__.py index aaf2ac9fccb371..a8c34d0a8433e1 100644 --- a/homeassistant/components/statsd/__init__.py +++ b/homeassistant/components/statsd/__init__.py @@ -8,7 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers import state as state_helper - +REQUIREMENTS = ['statsd==3.2.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/steam_online/sensor.py b/homeassistant/components/steam_online/sensor.py index 7c09bde26854d1..4b4b73ad8cfd2f 100644 --- a/homeassistant/components/steam_online/sensor.py +++ b/homeassistant/components/steam_online/sensor.py @@ -8,7 +8,7 @@ from homeassistant.const import CONF_API_KEY import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['steamodd==4.21'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/stream/__init__.py b/homeassistant/components/stream/__init__.py index 49a015dc31fe81..43debc504e1a15 100644 --- a/homeassistant/components/stream/__init__.py +++ b/homeassistant/components/stream/__init__.py @@ -19,11 +19,11 @@ 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({}), diff --git a/homeassistant/components/stride/notify.py b/homeassistant/components/stride/notify.py index 27ffdffca8e17b..fa08697d798579 100644 --- a/homeassistant/components/stride/notify.py +++ b/homeassistant/components/stride/notify.py @@ -10,7 +10,7 @@ PLATFORM_SCHEMA, BaseNotificationService) - +REQUIREMENTS = ['pystride==0.1.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/swiss_hydrological_data/sensor.py b/homeassistant/components/swiss_hydrological_data/sensor.py index 0b2a52d5026675..84964a94cbd141 100644 --- a/homeassistant/components/swiss_hydrological_data/sensor.py +++ b/homeassistant/components/swiss_hydrological_data/sensor.py @@ -10,7 +10,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['swisshydrodata==0.0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/swiss_public_transport/sensor.py b/homeassistant/components/swiss_public_transport/sensor.py index b49aafca821e38..8d6b7fdee0ea85 100644 --- a/homeassistant/components/swiss_public_transport/sensor.py +++ b/homeassistant/components/swiss_public_transport/sensor.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.util.dt as dt_util - +REQUIREMENTS = ['python_opendata_transport==0.1.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/switch/__init__.py b/homeassistant/components/switch/__init__.py index cea32fb2b0de80..7e89a5369c8453 100644 --- a/homeassistant/components/switch/__init__.py +++ b/homeassistant/components/switch/__init__.py @@ -16,7 +16,7 @@ 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 eea96b589253e4..3db9b5fd2262bf 100644 --- a/homeassistant/components/switchbot/switch.py +++ b/homeassistant/components/switchbot/switch.py @@ -8,7 +8,7 @@ from homeassistant.const import CONF_NAME, CONF_MAC from homeassistant.helpers.restore_state import RestoreEntity - +REQUIREMENTS = ['PySwitchbot==0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/switchmate/switch.py b/homeassistant/components/switchmate/switch.py index 0b9671c6015fb7..c14a6ca80879bd 100644 --- a/homeassistant/components/switchmate/switch.py +++ b/homeassistant/components/switchmate/switch.py @@ -8,7 +8,7 @@ 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__) diff --git a/homeassistant/components/syncthru/sensor.py b/homeassistant/components/syncthru/sensor.py index 9a170ad6fd821a..5596d4ab86adf9 100644 --- a/homeassistant/components/syncthru/sensor.py +++ b/homeassistant/components/syncthru/sensor.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.sensor import PLATFORM_SCHEMA - +REQUIREMENTS = ['pysyncthru==0.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/synology/camera.py b/homeassistant/components/synology/camera.py index ba5da5b747d6ac..c452f60cc2a1d2 100644 --- a/homeassistant/components/synology/camera.py +++ b/homeassistant/components/synology/camera.py @@ -14,7 +14,7 @@ async_get_clientsession) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['py-synology==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/synology_srm/device_tracker.py b/homeassistant/components/synology_srm/device_tracker.py index 7b214c96fa3a4b..bf5653d681bbb8 100644 --- a/homeassistant/components/synology_srm/device_tracker.py +++ b/homeassistant/components/synology_srm/device_tracker.py @@ -13,7 +13,7 @@ CONF_HOST, CONF_USERNAME, CONF_PASSWORD, CONF_PORT, CONF_SSL, CONF_VERIFY_SSL) - +REQUIREMENTS = ['synology-srm==0.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/synologydsm/sensor.py b/homeassistant/components/synologydsm/sensor.py index a00dc973beda18..0d5a253483f9ac 100644 --- a/homeassistant/components/synologydsm/sensor.py +++ b/homeassistant/components/synologydsm/sensor.py @@ -13,7 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['python-synology==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/system_health/__init__.py b/homeassistant/components/system_health/__init__.py index 26cfb4da613d68..9a171296ce9578 100644 --- a/homeassistant/components/system_health/__init__.py +++ b/homeassistant/components/system_health/__init__.py @@ -14,7 +14,7 @@ _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 6c3e1cf60853c3..d6877c32f0deee 100644 --- a/homeassistant/components/system_log/__init__.py +++ b/homeassistant/components/system_log/__init__.py @@ -20,7 +20,7 @@ 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 db465ff359c54f..cf65daa439509c 100644 --- a/homeassistant/components/systemmonitor/sensor.py +++ b/homeassistant/components/systemmonitor/sensor.py @@ -12,7 +12,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util - +REQUIREMENTS = ['psutil==5.6.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sytadin/sensor.py b/homeassistant/components/sytadin/sensor.py index 139c643b14f1c5..517deda7ca2b71 100644 --- a/homeassistant/components/sytadin/sensor.py +++ b/homeassistant/components/sytadin/sensor.py @@ -13,7 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['beautifulsoup4==4.7.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tado/__init__.py b/homeassistant/components/tado/__init__.py index 835b2ba198b4b5..8d3f541972e50c 100644 --- a/homeassistant/components/tado/__init__.py +++ b/homeassistant/components/tado/__init__.py @@ -10,7 +10,7 @@ from homeassistant.const import CONF_USERNAME, CONF_PASSWORD from homeassistant.util import Throttle - +REQUIREMENTS = ['python-tado==0.2.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tahoma/__init__.py b/homeassistant/components/tahoma/__init__.py index 943b2809d8af65..1807667da87dc6 100644 --- a/homeassistant/components/tahoma/__init__.py +++ b/homeassistant/components/tahoma/__init__.py @@ -9,7 +9,7 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['tahoma-api==0.0.14'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tahoma/binary_sensor.py b/homeassistant/components/tahoma/binary_sensor.py index 74590eef9e0c4b..948c6f90a58895 100644 --- a/homeassistant/components/tahoma/binary_sensor.py +++ b/homeassistant/components/tahoma/binary_sensor.py @@ -7,7 +7,7 @@ from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice - +DEPENDENCIES = ['tahoma'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tahoma/cover.py b/homeassistant/components/tahoma/cover.py index 8a3a4853a6adb1..85e785f9ca3b44 100644 --- a/homeassistant/components/tahoma/cover.py +++ b/homeassistant/components/tahoma/cover.py @@ -7,7 +7,7 @@ from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice - +DEPENDENCIES = ['tahoma'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tahoma/scene.py b/homeassistant/components/tahoma/scene.py index 28d773d3cb2cb2..eedb95d1a772c9 100644 --- a/homeassistant/components/tahoma/scene.py +++ b/homeassistant/components/tahoma/scene.py @@ -5,7 +5,7 @@ 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 d62d5a4cd01ab4..3c03911804ace1 100644 --- a/homeassistant/components/tahoma/sensor.py +++ b/homeassistant/components/tahoma/sensor.py @@ -7,7 +7,7 @@ from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice - +DEPENDENCIES = ['tahoma'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tahoma/switch.py b/homeassistant/components/tahoma/switch.py index 4b3c179b96dc05..71f00ed8937c7d 100644 --- a/homeassistant/components/tahoma/switch.py +++ b/homeassistant/components/tahoma/switch.py @@ -6,7 +6,7 @@ from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice - +DEPENDENCIES = ['tahoma'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tapsaff/binary_sensor.py b/homeassistant/components/tapsaff/binary_sensor.py index ea3755c3eacd3a..639e9574ed971e 100644 --- a/homeassistant/components/tapsaff/binary_sensor.py +++ b/homeassistant/components/tapsaff/binary_sensor.py @@ -9,7 +9,7 @@ from homeassistant.const import CONF_NAME import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['tapsaff==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tautulli/sensor.py b/homeassistant/components/tautulli/sensor.py index 7c3f67910dabba..44be10749bfa36 100644 --- a/homeassistant/components/tautulli/sensor.py +++ b/homeassistant/components/tautulli/sensor.py @@ -14,7 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['pytautulli==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ted5000/sensor.py b/homeassistant/components/ted5000/sensor.py index eb3d0adcd8969a..fba9866302d984 100644 --- a/homeassistant/components/ted5000/sensor.py +++ b/homeassistant/components/ted5000/sensor.py @@ -12,7 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['xmltodict==0.11.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/telegram/notify.py b/homeassistant/components/telegram/notify.py index eab83791fbeb4b..3602bbd24419f7 100644 --- a/homeassistant/components/telegram/notify.py +++ b/homeassistant/components/telegram/notify.py @@ -12,7 +12,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'telegram_bot' - +DEPENDENCIES = [DOMAIN] ATTR_KEYBOARD = 'keyboard' ATTR_INLINE_KEYBOARD = 'inline_keyboard' diff --git a/homeassistant/components/telegram_bot/__init__.py b/homeassistant/components/telegram_bot/__init__.py index 76877dc2c277de..7d19e8212b6aca 100644 --- a/homeassistant/components/telegram_bot/__init__.py +++ b/homeassistant/components/telegram_bot/__init__.py @@ -16,7 +16,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.exceptions import TemplateError - +REQUIREMENTS = ['python-telegram-bot==11.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/telegram_bot/webhooks.py b/homeassistant/components/telegram_bot/webhooks.py index 0595e5d40c7b61..424ece81549e2f 100644 --- a/homeassistant/components/telegram_bot/webhooks.py +++ b/homeassistant/components/telegram_bot/webhooks.py @@ -15,7 +15,7 @@ CONF_ALLOWED_CHAT_IDS, PLATFORM_SCHEMA, BaseTelegramBotEntity, initialize_bot) - +DEPENDENCIES = ['http'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tellduslive/__init__.py b/homeassistant/components/tellduslive/__init__.py index 51b9152abf83ec..64f4a0102a1572 100644 --- a/homeassistant/components/tellduslive/__init__.py +++ b/homeassistant/components/tellduslive/__init__.py @@ -19,7 +19,7 @@ APPLICATION_NAME = 'Home Assistant' - +REQUIREMENTS = ['tellduslive==0.10.10'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tellstick/__init__.py b/homeassistant/components/tellstick/__init__.py index d0606f2b5078f4..c35d2f790273a2 100644 --- a/homeassistant/components/tellstick/__init__.py +++ b/homeassistant/components/tellstick/__init__.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/tellstick/sensor.py b/homeassistant/components/tellstick/sensor.py index 31a21f8be99230..0438ad79abca19 100644 --- a/homeassistant/components/tellstick/sensor.py +++ b/homeassistant/components/tellstick/sensor.py @@ -9,7 +9,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv - +DEPENDENCIES = ['tellstick'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/temper/sensor.py b/homeassistant/components/temper/sensor.py index f5bf23d8a30ffe..1c6cb9fdff4636 100644 --- a/homeassistant/components/temper/sensor.py +++ b/homeassistant/components/temper/sensor.py @@ -8,7 +8,7 @@ _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 feb5df7d4f4c13..4e4a80a525e42e 100644 --- a/homeassistant/components/tensorflow/image_processing.py +++ b/homeassistant/components/tensorflow/image_processing.py @@ -12,7 +12,7 @@ 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__) diff --git a/homeassistant/components/tesla/__init__.py b/homeassistant/components/tesla/__init__.py index 3304c344a833fa..244538f5f462ef 100644 --- a/homeassistant/components/tesla/__init__.py +++ b/homeassistant/components/tesla/__init__.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import slugify - +REQUIREMENTS = ['teslajsonpy==0.0.25'] DOMAIN = 'tesla' diff --git a/homeassistant/components/tesla/binary_sensor.py b/homeassistant/components/tesla/binary_sensor.py index 18ef6288069c98..a87239d24308d9 100644 --- a/homeassistant/components/tesla/binary_sensor.py +++ b/homeassistant/components/tesla/binary_sensor.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['tesla'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/tesla/climate.py b/homeassistant/components/tesla/climate.py index 080515e34adbc1..603ce1a4d61785 100644 --- a/homeassistant/components/tesla/climate.py +++ b/homeassistant/components/tesla/climate.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['tesla'] OPERATION_LIST = [STATE_ON, STATE_OFF] diff --git a/homeassistant/components/tesla/device_tracker.py b/homeassistant/components/tesla/device_tracker.py index b52b0163a6c411..5a7693d8370665 100644 --- a/homeassistant/components/tesla/device_tracker.py +++ b/homeassistant/components/tesla/device_tracker.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['tesla'] def setup_scanner(hass, config, see, discovery_info=None): diff --git a/homeassistant/components/tesla/lock.py b/homeassistant/components/tesla/lock.py index aafd445b76d70d..ade394496d6edb 100644 --- a/homeassistant/components/tesla/lock.py +++ b/homeassistant/components/tesla/lock.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['tesla'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/tesla/sensor.py b/homeassistant/components/tesla/sensor.py index e8f419ce57b4a5..99705d3f79336e 100644 --- a/homeassistant/components/tesla/sensor.py +++ b/homeassistant/components/tesla/sensor.py @@ -11,7 +11,7 @@ _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 5c8982781b6ac5..e00164ff1a7d52 100644 --- a/homeassistant/components/tesla/switch.py +++ b/homeassistant/components/tesla/switch.py @@ -7,7 +7,7 @@ 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 fa69c217902641..44fa19098236c8 100644 --- a/homeassistant/components/tfiac/climate.py +++ b/homeassistant/components/tfiac/climate.py @@ -13,7 +13,7 @@ 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) diff --git a/homeassistant/components/thermoworks_smoke/sensor.py b/homeassistant/components/thermoworks_smoke/sensor.py index b3bdb145cf50b4..0c6cddd9fcd734 100644 --- a/homeassistant/components/thermoworks_smoke/sensor.py +++ b/homeassistant/components/thermoworks_smoke/sensor.py @@ -17,7 +17,7 @@ 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__) diff --git a/homeassistant/components/thethingsnetwork/sensor.py b/homeassistant/components/thethingsnetwork/sensor.py index c6611c2e3cb547..d59b429721b562 100644 --- a/homeassistant/components/thethingsnetwork/sensor.py +++ b/homeassistant/components/thethingsnetwork/sensor.py @@ -22,7 +22,7 @@ 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 6e22e6158f318a..0fa15e7efb4bf4 100644 --- a/homeassistant/components/thingspeak/__init__.py +++ b/homeassistant/components/thingspeak/__init__.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/thinkingcleaner/sensor.py b/homeassistant/components/thinkingcleaner/sensor.py index 0f4a90c32a99ca..f8462435a451b6 100644 --- a/homeassistant/components/thinkingcleaner/sensor.py +++ b/homeassistant/components/thinkingcleaner/sensor.py @@ -7,7 +7,7 @@ _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 006b5a7ad5bcca..38a96eb029865e 100644 --- a/homeassistant/components/thinkingcleaner/switch.py +++ b/homeassistant/components/thinkingcleaner/switch.py @@ -9,7 +9,7 @@ _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 822dfb7e49781b..19cf6fe65258ea 100644 --- a/homeassistant/components/tibber/__init__.py +++ b/homeassistant/components/tibber/__init__.py @@ -11,7 +11,7 @@ from homeassistant.helpers import discovery from homeassistant.helpers.aiohttp_client import async_get_clientsession - +REQUIREMENTS = ['pyTibber==0.10.1'] DOMAIN = 'tibber' diff --git a/homeassistant/components/tikteck/light.py b/homeassistant/components/tikteck/light.py index 7aa2a1d11ba56e..4f5596c71be4d7 100644 --- a/homeassistant/components/tikteck/light.py +++ b/homeassistant/components/tikteck/light.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util - +REQUIREMENTS = ['tikteck==0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tile/device_tracker.py b/homeassistant/components/tile/device_tracker.py index 41e2330b436c89..c471c1e23b4d49 100644 --- a/homeassistant/components/tile/device_tracker.py +++ b/homeassistant/components/tile/device_tracker.py @@ -13,7 +13,7 @@ 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 8ad2f4371dfdde..313935e1221fe8 100644 --- a/homeassistant/components/todoist/calendar.py +++ b/homeassistant/components/todoist/calendar.py @@ -12,7 +12,7 @@ from homeassistant.helpers.template import DATE_STR_FORMAT from homeassistant.util import Throttle, dt - +REQUIREMENTS = ['todoist-python==7.0.17'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tof/sensor.py b/homeassistant/components/tof/sensor.py index 16d9592dab3135..a403db036825c8 100644 --- a/homeassistant/components/tof/sensor.py +++ b/homeassistant/components/tof/sensor.py @@ -12,9 +12,9 @@ from homeassistant.const import CONF_NAME from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['VL53L1X2==0.1.5'] - - +DEPENDENCIES = ['rpi_gpio'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/toon/__init__.py b/homeassistant/components/toon/__init__.py index 74851f095d440f..d718b5895e4520 100644 --- a/homeassistant/components/toon/__init__.py +++ b/homeassistant/components/toon/__init__.py @@ -16,7 +16,7 @@ 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__) diff --git a/homeassistant/components/toon/binary_sensor.py b/homeassistant/components/toon/binary_sensor.py index 6e7a36a8c99052..694b7d1d03383b 100644 --- a/homeassistant/components/toon/binary_sensor.py +++ b/homeassistant/components/toon/binary_sensor.py @@ -12,7 +12,7 @@ ToonBoilerModuleDeviceEntity) from .const import DATA_TOON_CLIENT, DOMAIN - +DEPENDENCIES = ['toon'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/toon/climate.py b/homeassistant/components/toon/climate.py index e027cd5869301a..f09dc010c792ad 100644 --- a/homeassistant/components/toon/climate.py +++ b/homeassistant/components/toon/climate.py @@ -15,7 +15,7 @@ from . import ToonDisplayDeviceEntity from .const import DATA_TOON_CLIENT, DEFAULT_MAX_TEMP, DEFAULT_MIN_TEMP, DOMAIN - +DEPENDENCIES = ['toon'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/toon/sensor.py b/homeassistant/components/toon/sensor.py index 71bf72de0012ab..f58c8ef4840d66 100644 --- a/homeassistant/components/toon/sensor.py +++ b/homeassistant/components/toon/sensor.py @@ -11,7 +11,7 @@ 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__) diff --git a/homeassistant/components/torque/sensor.py b/homeassistant/components/torque/sensor.py index 00cb2948d5632d..2f947c178b89ca 100644 --- a/homeassistant/components/torque/sensor.py +++ b/homeassistant/components/torque/sensor.py @@ -16,7 +16,7 @@ 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 b55b3a447c5826..c56c4ed95a63fe 100644 --- a/homeassistant/components/totalconnect/alarm_control_panel.py +++ b/homeassistant/components/totalconnect/alarm_control_panel.py @@ -13,7 +13,7 @@ STATE_ALARM_ARMED_CUSTOM_BYPASS) - +REQUIREMENTS = ['total_connect_client==0.25'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/touchline/climate.py b/homeassistant/components/touchline/climate.py index d30efaa01e4fea..e003ea257d75a9 100644 --- a/homeassistant/components/touchline/climate.py +++ b/homeassistant/components/touchline/climate.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/tplink/__init__.py b/homeassistant/components/tplink/__init__.py index f1eb03dca7d6c4..9fc12db0d63591 100644 --- a/homeassistant/components/tplink/__init__.py +++ b/homeassistant/components/tplink/__init__.py @@ -33,7 +33,7 @@ }), }, extra=vol.ALLOW_EXTRA) - +REQUIREMENTS = ['pyHS100==0.3.4'] async def _async_has_devices(hass): diff --git a/homeassistant/components/tplink/device_tracker.py b/homeassistant/components/tplink/device_tracker.py index 2c7cae4d296032..7f5c4a37d2451c 100644 --- a/homeassistant/components/tplink/device_tracker.py +++ b/homeassistant/components/tplink/device_tracker.py @@ -17,7 +17,7 @@ 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__) diff --git a/homeassistant/components/tplink/light.py b/homeassistant/components/tplink/light.py index d4eae3e6dc793e..9f13766c4eff9d 100644 --- a/homeassistant/components/tplink/light.py +++ b/homeassistant/components/tplink/light.py @@ -12,7 +12,7 @@ from . import CONF_LIGHT, DOMAIN as TPLINK_DOMAIN - +DEPENDENCIES = ['tplink'] PARALLEL_UPDATES = 0 diff --git a/homeassistant/components/tplink/switch.py b/homeassistant/components/tplink/switch.py index 95f8e811bba8c9..a4eeadd1c60a7e 100644 --- a/homeassistant/components/tplink/switch.py +++ b/homeassistant/components/tplink/switch.py @@ -9,7 +9,7 @@ from . import CONF_SWITCH, DOMAIN as TPLINK_DOMAIN - +DEPENDENCIES = ['tplink'] PARALLEL_UPDATES = 0 diff --git a/homeassistant/components/tplink_lte/__init__.py b/homeassistant/components/tplink_lte/__init__.py index da50c7b425bcd0..ae0b73d1c7c2bf 100644 --- a/homeassistant/components/tplink_lte/__init__.py +++ b/homeassistant/components/tplink_lte/__init__.py @@ -14,7 +14,7 @@ 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__) diff --git a/homeassistant/components/tplink_lte/notify.py b/homeassistant/components/tplink_lte/notify.py index 3fdbd2ccddfc49..519641ed34bf29 100644 --- a/homeassistant/components/tplink_lte/notify.py +++ b/homeassistant/components/tplink_lte/notify.py @@ -9,7 +9,7 @@ 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 0fbf9886f11cfe..28d13dd4fe6fcc 100644 --- a/homeassistant/components/traccar/device_tracker.py +++ b/homeassistant/components/traccar/device_tracker.py @@ -16,7 +16,7 @@ from homeassistant.util import slugify - +REQUIREMENTS = ['pytraccar==0.5.0', 'stringcase==1.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/trackr/device_tracker.py b/homeassistant/components/trackr/device_tracker.py index fc3828068d6595..1322fde7e1ae33 100644 --- a/homeassistant/components/trackr/device_tracker.py +++ b/homeassistant/components/trackr/device_tracker.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['pytrackr==0.0.5'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_USERNAME): cv.string, diff --git a/homeassistant/components/tradfri/__init__.py b/homeassistant/components/tradfri/__init__.py index e334d4d4ddca4a..b14bc811754350 100644 --- a/homeassistant/components/tradfri/__init__.py +++ b/homeassistant/components/tradfri/__init__.py @@ -13,7 +13,7 @@ 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 b05a71567bc0fc..07ab4806dfcc10 100644 --- a/homeassistant/components/tradfri/light.py +++ b/homeassistant/components/tradfri/light.py @@ -17,7 +17,7 @@ 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 636d0115295e0c..acc84a935904d3 100644 --- a/homeassistant/components/tradfri/sensor.py +++ b/homeassistant/components/tradfri/sensor.py @@ -9,7 +9,7 @@ _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 96c4602715050c..ef9a9537cffe18 100644 --- a/homeassistant/components/tradfri/switch.py +++ b/homeassistant/components/tradfri/switch.py @@ -9,7 +9,7 @@ _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 205d0fe7d9b508..bf8f4c803e0392 100644 --- a/homeassistant/components/trafikverket_weatherstation/sensor.py +++ b/homeassistant/components/trafikverket_weatherstation/sensor.py @@ -16,7 +16,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['pytrafikverket==0.1.5.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/transmission/__init__.py b/homeassistant/components/transmission/__init__.py index 4c095b1256bc2a..25e21dc3d8a090 100644 --- a/homeassistant/components/transmission/__init__.py +++ b/homeassistant/components/transmission/__init__.py @@ -11,7 +11,7 @@ from homeassistant.helpers.dispatcher import dispatcher_send from homeassistant.helpers.event import track_time_interval - +REQUIREMENTS = ['transmissionrpc==0.11'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/transmission/sensor.py b/homeassistant/components/transmission/sensor.py index 362ea122007ae1..dfd4c1950977b0 100644 --- a/homeassistant/components/transmission/sensor.py +++ b/homeassistant/components/transmission/sensor.py @@ -9,7 +9,7 @@ from . import DATA_TRANSMISSION, DATA_UPDATED, SENSOR_TYPES - +DEPENDENCIES = ['transmission'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/transmission/switch.py b/homeassistant/components/transmission/switch.py index 9c3b14cd5525a7..854a2e727b0b83 100644 --- a/homeassistant/components/transmission/switch.py +++ b/homeassistant/components/transmission/switch.py @@ -8,7 +8,7 @@ from . import DATA_TRANSMISSION, DATA_UPDATED - +DEPENDENCIES = ['transmission'] _LOGGING = logging.getLogger(__name__) diff --git a/homeassistant/components/transport_nsw/sensor.py b/homeassistant/components/transport_nsw/sensor.py index 9ba5d95ab3d207..3c40bf4f709e77 100644 --- a/homeassistant/components/transport_nsw/sensor.py +++ b/homeassistant/components/transport_nsw/sensor.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/travisci/sensor.py b/homeassistant/components/travisci/sensor.py index 0a69df9544d438..99309f7e2b7533 100644 --- a/homeassistant/components/travisci/sensor.py +++ b/homeassistant/components/travisci/sensor.py @@ -11,7 +11,7 @@ CONF_MONITORED_CONDITIONS) from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['TravisPy==0.3.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/trend/binary_sensor.py b/homeassistant/components/trend/binary_sensor.py index c981bae9d29ed8..163703373d3303 100644 --- a/homeassistant/components/trend/binary_sensor.py +++ b/homeassistant/components/trend/binary_sensor.py @@ -17,7 +17,7 @@ from homeassistant.helpers.event import async_track_state_change from homeassistant.util import utcnow - +REQUIREMENTS = ['numpy==1.16.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tts/__init__.py b/homeassistant/components/tts/__init__.py index e599a2590cca2c..763baa262bed81 100644 --- a/homeassistant/components/tts/__init__.py +++ b/homeassistant/components/tts/__init__.py @@ -24,7 +24,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.setup import async_prepare_setup_platform - +REQUIREMENTS = ['mutagen==1.42.0'] _LOGGER = logging.getLogger(__name__) @@ -43,7 +43,7 @@ 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 409f9011304aff..117424fd55e17e 100644 --- a/homeassistant/components/tuya/__init__.py +++ b/homeassistant/components/tuya/__init__.py @@ -12,7 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval - +REQUIREMENTS = ['tuyapy==0.1.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tuya/climate.py b/homeassistant/components/tuya/climate.py index 16e4d0686dc875..b7a10dad8626c3 100644 --- a/homeassistant/components/tuya/climate.py +++ b/homeassistant/components/tuya/climate.py @@ -10,7 +10,7 @@ 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 6ca29ce9610f24..274f4d9386936f 100644 --- a/homeassistant/components/tuya/cover.py +++ b/homeassistant/components/tuya/cover.py @@ -4,7 +4,7 @@ from . import DATA_TUYA, TuyaDevice - +DEPENDENCIES = ['tuya'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/tuya/fan.py b/homeassistant/components/tuya/fan.py index 1c5d8251787206..259417869dc2dc 100644 --- a/homeassistant/components/tuya/fan.py +++ b/homeassistant/components/tuya/fan.py @@ -5,7 +5,7 @@ from . import DATA_TUYA, TuyaDevice - +DEPENDENCIES = ['tuya'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/tuya/light.py b/homeassistant/components/tuya/light.py index f0431834a70d39..17f9b43dcbebc6 100644 --- a/homeassistant/components/tuya/light.py +++ b/homeassistant/components/tuya/light.py @@ -6,7 +6,7 @@ from . import DATA_TUYA, TuyaDevice - +DEPENDENCIES = ['tuya'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/tuya/scene.py b/homeassistant/components/tuya/scene.py index 074867e6ffd605..24383dca6e4c11 100644 --- a/homeassistant/components/tuya/scene.py +++ b/homeassistant/components/tuya/scene.py @@ -3,7 +3,7 @@ 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 52a51e8b968607..c2e32eedc59164 100644 --- a/homeassistant/components/tuya/switch.py +++ b/homeassistant/components/tuya/switch.py @@ -3,7 +3,7 @@ from . import DATA_TUYA, TuyaDevice - +DEPENDENCIES = ['tuya'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/twilio/__init__.py b/homeassistant/components/twilio/__init__.py index f635514a754846..e7ba06a05f7d3b 100644 --- a/homeassistant/components/twilio/__init__.py +++ b/homeassistant/components/twilio/__init__.py @@ -5,8 +5,8 @@ from homeassistant.const import CONF_WEBHOOK_ID from homeassistant.helpers import config_entry_flow - - +REQUIREMENTS = ['twilio==6.19.1'] +DEPENDENCIES = ['webhook'] DOMAIN = 'twilio' diff --git a/homeassistant/components/twilio_call/notify.py b/homeassistant/components/twilio_call/notify.py index 52418a64cbec1a..ab57d7214656b1 100644 --- a/homeassistant/components/twilio_call/notify.py +++ b/homeassistant/components/twilio_call/notify.py @@ -12,7 +12,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['twilio'] CONF_FROM_NUMBER = 'from_number' diff --git a/homeassistant/components/twilio_sms/notify.py b/homeassistant/components/twilio_sms/notify.py index 7617401854c081..a04e397a5688d2 100644 --- a/homeassistant/components/twilio_sms/notify.py +++ b/homeassistant/components/twilio_sms/notify.py @@ -10,7 +10,7 @@ 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 8919bbc397f92b..123de752d51255 100644 --- a/homeassistant/components/twitch/sensor.py +++ b/homeassistant/components/twitch/sensor.py @@ -7,7 +7,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['python-twitch-client==0.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/twitter/notify.py b/homeassistant/components/twitter/notify.py index 2c6526d1bd5fd5..54cd591f394575 100644 --- a/homeassistant/components/twitter/notify.py +++ b/homeassistant/components/twitter/notify.py @@ -15,7 +15,7 @@ from homeassistant.components.notify import (ATTR_DATA, PLATFORM_SCHEMA, BaseNotificationService) - +REQUIREMENTS = ['TwitterAPI==2.5.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ubee/device_tracker.py b/homeassistant/components/ubee/device_tracker.py index 85e3a710600302..f73f58f3a1f258 100644 --- a/homeassistant/components/ubee/device_tracker.py +++ b/homeassistant/components/ubee/device_tracker.py @@ -9,7 +9,7 @@ CONF_HOST, CONF_PASSWORD, CONF_USERNAME) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pyubee==0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/uber/sensor.py b/homeassistant/components/uber/sensor.py index 4140d963f12dcb..87d87de66ee30e 100644 --- a/homeassistant/components/uber/sensor.py +++ b/homeassistant/components/uber/sensor.py @@ -9,7 +9,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['uber_rides==0.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/unifi/__init__.py b/homeassistant/components/unifi/__init__.py index f89120830ebf0b..7e236789a5c58f 100644 --- a/homeassistant/components/unifi/__init__.py +++ b/homeassistant/components/unifi/__init__.py @@ -16,7 +16,7 @@ DEFAULT_SITE_ID = 'default' DEFAULT_VERIFY_SSL = False - +REQUIREMENTS = ['aiounifi==4'] async def async_setup(hass, config): diff --git a/homeassistant/components/unifi/device_tracker.py b/homeassistant/components/unifi/device_tracker.py index d4814e45a0fe09..49e28114b17098 100644 --- a/homeassistant/components/unifi/device_tracker.py +++ b/homeassistant/components/unifi/device_tracker.py @@ -10,7 +10,7 @@ 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' diff --git a/homeassistant/components/unifi/switch.py b/homeassistant/components/unifi/switch.py index 62129e5c06a5fe..e90da2dbcd85fe 100644 --- a/homeassistant/components/unifi/switch.py +++ b/homeassistant/components/unifi/switch.py @@ -13,7 +13,7 @@ from .const import CONF_CONTROLLER, CONF_SITE_ID, CONTROLLER_ID, DOMAIN - +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 56cfc0f8e26062..29a3c58fab95ef 100644 --- a/homeassistant/components/unifi_direct/device_tracker.py +++ b/homeassistant/components/unifi_direct/device_tracker.py @@ -11,7 +11,7 @@ CONF_HOST, CONF_PASSWORD, CONF_USERNAME, CONF_PORT) - +REQUIREMENTS = ['pexpect==4.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/upc_connect/device_tracker.py b/homeassistant/components/upc_connect/device_tracker.py index fa6c59eb35c3b8..4a583b8349ad15 100644 --- a/homeassistant/components/upc_connect/device_tracker.py +++ b/homeassistant/components/upc_connect/device_tracker.py @@ -13,7 +13,7 @@ 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__) diff --git a/homeassistant/components/upcloud/__init__.py b/homeassistant/components/upcloud/__init__.py index 29e52f6b41c53f..7981cf948bb9ec 100644 --- a/homeassistant/components/upcloud/__init__.py +++ b/homeassistant/components/upcloud/__init__.py @@ -14,7 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval - +REQUIREMENTS = ['upcloud-api==0.4.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/upcloud/binary_sensor.py b/homeassistant/components/upcloud/binary_sensor.py index 987870136de1ad..a0c3c9f34c6fdc 100644 --- a/homeassistant/components/upcloud/binary_sensor.py +++ b/homeassistant/components/upcloud/binary_sensor.py @@ -11,7 +11,7 @@ _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 2b2150f01667db..7e84adccf5536e 100644 --- a/homeassistant/components/upcloud/switch.py +++ b/homeassistant/components/upcloud/switch.py @@ -11,7 +11,7 @@ _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 a62a5a5f6fe5da..cb2646ea942b56 100644 --- a/homeassistant/components/updater/__init__.py +++ b/homeassistant/components/updater/__init__.py @@ -18,7 +18,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util - +REQUIREMENTS = ['distro==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/upnp/__init__.py b/homeassistant/components/upnp/__init__.py index 5e77ebd9bf6816..5f4abcb24c7918 100644 --- a/homeassistant/components/upnp/__init__.py +++ b/homeassistant/components/upnp/__init__.py @@ -23,7 +23,7 @@ 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 cf5ad5ba124d35..86bcee879b9dbd 100644 --- a/homeassistant/components/upnp/sensor.py +++ b/homeassistant/components/upnp/sensor.py @@ -12,7 +12,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['upnp'] BYTES_RECEIVED = 'bytes_received' BYTES_SENT = 'bytes_sent' diff --git a/homeassistant/components/ups/sensor.py b/homeassistant/components/ups/sensor.py index e19fc80bda7efb..3ed82de41dbb95 100644 --- a/homeassistant/components/ups/sensor.py +++ b/homeassistant/components/ups/sensor.py @@ -15,7 +15,7 @@ from homeassistant.util import Throttle, slugify from homeassistant.util.dt import now, parse_date - +REQUIREMENTS = ['upsmychoice==1.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/uptimerobot/binary_sensor.py b/homeassistant/components/uptimerobot/binary_sensor.py index ae0decbc88e14f..8e11966b6809d4 100644 --- a/homeassistant/components/uptimerobot/binary_sensor.py +++ b/homeassistant/components/uptimerobot/binary_sensor.py @@ -8,7 +8,7 @@ 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__) diff --git a/homeassistant/components/uscis/sensor.py b/homeassistant/components/uscis/sensor.py index d6b97d13f2ca65..501c6c9665c909 100644 --- a/homeassistant/components/uscis/sensor.py +++ b/homeassistant/components/uscis/sensor.py @@ -13,7 +13,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['uscisstatus==0.1.1'] DEFAULT_NAME = "USCIS" diff --git a/homeassistant/components/usgs_earthquakes_feed/geo_location.py b/homeassistant/components/usgs_earthquakes_feed/geo_location.py index 9ef5a9c60f281d..1d11b1971ccaaf 100644 --- a/homeassistant/components/usgs_earthquakes_feed/geo_location.py +++ b/homeassistant/components/usgs_earthquakes_feed/geo_location.py @@ -16,7 +16,7 @@ async_dispatcher_connect, dispatcher_send) from homeassistant.helpers.event import track_time_interval - +REQUIREMENTS = ['geojson_client==0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/usps/__init__.py b/homeassistant/components/usps/__init__.py index 4e70b4d764e6f1..8a7d7d52255fd2 100644 --- a/homeassistant/components/usps/__init__.py +++ b/homeassistant/components/usps/__init__.py @@ -10,7 +10,7 @@ from homeassistant.util import Throttle from homeassistant.util.dt import now - +REQUIREMENTS = ['myusps==1.3.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/usps/camera.py b/homeassistant/components/usps/camera.py index aa35a804095f91..5b5eaca4ce293a 100644 --- a/homeassistant/components/usps/camera.py +++ b/homeassistant/components/usps/camera.py @@ -8,7 +8,7 @@ _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 b09d83001c561f..3e5fea5c4ee7f0 100644 --- a/homeassistant/components/usps/sensor.py +++ b/homeassistant/components/usps/sensor.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['usps'] STATUS_DELIVERED = 'delivered' diff --git a/homeassistant/components/uvc/camera.py b/homeassistant/components/uvc/camera.py index 06a584a4bcb337..65251054060484 100644 --- a/homeassistant/components/uvc/camera.py +++ b/homeassistant/components/uvc/camera.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.exceptions import PlatformNotReady - +REQUIREMENTS = ['uvcclient==0.11.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vacuum/__init__.py b/homeassistant/components/vacuum/__init__.py index d9ea63c40fd66b..02266986ccfbef 100644 --- a/homeassistant/components/vacuum/__init__.py +++ b/homeassistant/components/vacuum/__init__.py @@ -20,7 +20,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'vacuum' - +DEPENDENCIES = ['group'] SCAN_INTERVAL = timedelta(seconds=20) diff --git a/homeassistant/components/vasttrafik/sensor.py b/homeassistant/components/vasttrafik/sensor.py index 2728cc0e4c9f34..d8e9f1e7675262 100644 --- a/homeassistant/components/vasttrafik/sensor.py +++ b/homeassistant/components/vasttrafik/sensor.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['vtjp==0.1.14'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/velbus/__init__.py b/homeassistant/components/velbus/__init__.py index 8bb7fcd03a2489..4e808dc21ca5ce 100644 --- a/homeassistant/components/velbus/__init__.py +++ b/homeassistant/components/velbus/__init__.py @@ -7,7 +7,7 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['python-velbus==2.0.22'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/velbus/binary_sensor.py b/homeassistant/components/velbus/binary_sensor.py index 4448669add4858..cbe1350bd4f667 100644 --- a/homeassistant/components/velbus/binary_sensor.py +++ b/homeassistant/components/velbus/binary_sensor.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['velbus'] async def async_setup_platform( diff --git a/homeassistant/components/velbus/climate.py b/homeassistant/components/velbus/climate.py index dea2dd18a5f819..470524bb6f3dff 100644 --- a/homeassistant/components/velbus/climate.py +++ b/homeassistant/components/velbus/climate.py @@ -10,7 +10,7 @@ _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 d78f62a37d5003..b176ab76c4b74f 100644 --- a/homeassistant/components/velbus/cover.py +++ b/homeassistant/components/velbus/cover.py @@ -24,7 +24,7 @@ vol.Required(CONF_COVERS): cv.schema_with_slug_keys(COVER_SCHEMA), }) - +DEPENDENCIES = ['velbus'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/velbus/sensor.py b/homeassistant/components/velbus/sensor.py index 76268a18dd4070..ad78a795a30b56 100644 --- a/homeassistant/components/velbus/sensor.py +++ b/homeassistant/components/velbus/sensor.py @@ -5,7 +5,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['velbus'] async def async_setup_platform( diff --git a/homeassistant/components/velbus/switch.py b/homeassistant/components/velbus/switch.py index 14b12f5f2a653e..b5ef89ca48031d 100644 --- a/homeassistant/components/velbus/switch.py +++ b/homeassistant/components/velbus/switch.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['velbus'] async def async_setup_platform( diff --git a/homeassistant/components/velux/__init__.py b/homeassistant/components/velux/__init__.py index 70fadc685db6fd..a46f62dbd5fcf8 100644 --- a/homeassistant/components/velux/__init__.py +++ b/homeassistant/components/velux/__init__.py @@ -12,7 +12,7 @@ SUPPORTED_DOMAINS = ['cover', 'scene'] _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['pyvlx==0.2.10'] CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({ diff --git a/homeassistant/components/velux/cover.py b/homeassistant/components/velux/cover.py index 4bdd888989e640..1893909b70608c 100644 --- a/homeassistant/components/velux/cover.py +++ b/homeassistant/components/velux/cover.py @@ -6,7 +6,7 @@ from . import DATA_VELUX - +DEPENDENCIES = ['velux'] async def async_setup_platform( diff --git a/homeassistant/components/velux/scene.py b/homeassistant/components/velux/scene.py index 2866258f917a35..614d3f349a2366 100644 --- a/homeassistant/components/velux/scene.py +++ b/homeassistant/components/velux/scene.py @@ -3,7 +3,7 @@ from . import _LOGGER, DATA_VELUX - +DEPENDENCIES = ['velux'] async def async_setup_platform( diff --git a/homeassistant/components/venstar/climate.py b/homeassistant/components/venstar/climate.py index 5dea452c173c72..f3e7542af5ce9f 100644 --- a/homeassistant/components/venstar/climate.py +++ b/homeassistant/components/venstar/climate.py @@ -17,7 +17,7 @@ TEMP_FAHRENHEIT) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['venstarcolortouch==0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vera/__init__.py b/homeassistant/components/vera/__init__.py index fffe33c204946a..3f4c66d238a89b 100644 --- a/homeassistant/components/vera/__init__.py +++ b/homeassistant/components/vera/__init__.py @@ -14,7 +14,7 @@ EVENT_HOMEASSISTANT_STOP, CONF_LIGHTS, CONF_EXCLUDE) from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['pyvera==0.2.45'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vera/binary_sensor.py b/homeassistant/components/vera/binary_sensor.py index 94b52023383388..c81fa31938f554 100644 --- a/homeassistant/components/vera/binary_sensor.py +++ b/homeassistant/components/vera/binary_sensor.py @@ -6,7 +6,7 @@ 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 545f1bc5dbedac..f8ff9c21b89aae 100644 --- a/homeassistant/components/vera/climate.py +++ b/homeassistant/components/vera/climate.py @@ -11,7 +11,7 @@ from . import VERA_CONTROLLER, VERA_DEVICES, VeraDevice - +DEPENDENCIES = ['vera'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vera/cover.py b/homeassistant/components/vera/cover.py index fd6bf5cef8d0c3..4cf2aac3bb4e3c 100644 --- a/homeassistant/components/vera/cover.py +++ b/homeassistant/components/vera/cover.py @@ -6,7 +6,7 @@ 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 80af98b2614c65..e4e315bb52e87d 100644 --- a/homeassistant/components/vera/light.py +++ b/homeassistant/components/vera/light.py @@ -10,7 +10,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['vera'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/vera/lock.py b/homeassistant/components/vera/lock.py index e74a097b1792f5..5ace07b87d7087 100644 --- a/homeassistant/components/vera/lock.py +++ b/homeassistant/components/vera/lock.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['vera'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/vera/scene.py b/homeassistant/components/vera/scene.py index e1eb540caf6cf1..5000f9bc50f9c8 100644 --- a/homeassistant/components/vera/scene.py +++ b/homeassistant/components/vera/scene.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['vera'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/vera/sensor.py b/homeassistant/components/vera/sensor.py index 961b15637729dd..3c026046b3eea0 100644 --- a/homeassistant/components/vera/sensor.py +++ b/homeassistant/components/vera/sensor.py @@ -11,7 +11,7 @@ _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 212919a4610ab1..f422e49bf42f8e 100644 --- a/homeassistant/components/vera/switch.py +++ b/homeassistant/components/vera/switch.py @@ -8,7 +8,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['vera'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/verisure/__init__.py b/homeassistant/components/verisure/__init__.py index 3abc91a76ab787..393a4066002dbf 100644 --- a/homeassistant/components/verisure/__init__.py +++ b/homeassistant/components/verisure/__init__.py @@ -11,7 +11,7 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['vsure==1.5.2', 'jsonpath==0.75'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/version/sensor.py b/homeassistant/components/version/sensor.py index 1d4f417a008a40..7c8f2b1662a151 100644 --- a/homeassistant/components/version/sensor.py +++ b/homeassistant/components/version/sensor.py @@ -11,7 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['pyhaversion==2.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vesync/switch.py b/homeassistant/components/vesync/switch.py index 14ce30dcf98303..d37728624ef533 100644 --- a/homeassistant/components/vesync/switch.py +++ b/homeassistant/components/vesync/switch.py @@ -6,7 +6,7 @@ import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['pyvesync_v2==0.9.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vizio/media_player.py b/homeassistant/components/vizio/media_player.py index faf32b6dd0f939..bab54c68a908fa 100644 --- a/homeassistant/components/vizio/media_player.py +++ b/homeassistant/components/vizio/media_player.py @@ -15,7 +15,7 @@ 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__) diff --git a/homeassistant/components/vlc/media_player.py b/homeassistant/components/vlc/media_player.py index 5729671b67da93..41f9b5b16d4efa 100644 --- a/homeassistant/components/vlc/media_player.py +++ b/homeassistant/components/vlc/media_player.py @@ -13,7 +13,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util - +REQUIREMENTS = ['python-vlc==1.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/volkszaehler/sensor.py b/homeassistant/components/volkszaehler/sensor.py index 39c704c9a717aa..5b808ff3c38dcb 100644 --- a/homeassistant/components/volkszaehler/sensor.py +++ b/homeassistant/components/volkszaehler/sensor.py @@ -14,7 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['volkszaehler==0.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/volvooncall/__init__.py b/homeassistant/components/volvooncall/__init__.py index 36b0714ec02472..36e3959338e746 100644 --- a/homeassistant/components/volvooncall/__init__.py +++ b/homeassistant/components/volvooncall/__init__.py @@ -21,7 +21,7 @@ DATA_KEY = DOMAIN - +REQUIREMENTS = ['volvooncall==0.8.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vultr/__init__.py b/homeassistant/components/vultr/__init__.py index 5cd6d1821ed719..9f2efabd412b06 100644 --- a/homeassistant/components/vultr/__init__.py +++ b/homeassistant/components/vultr/__init__.py @@ -8,7 +8,7 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['vultr==0.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vultr/binary_sensor.py b/homeassistant/components/vultr/binary_sensor.py index ac93a81e661aea..87e8e93bda7b3c 100644 --- a/homeassistant/components/vultr/binary_sensor.py +++ b/homeassistant/components/vultr/binary_sensor.py @@ -18,7 +18,7 @@ DEFAULT_DEVICE_CLASS = 'power' DEFAULT_NAME = 'Vultr {}' - +DEPENDENCIES = ['vultr'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_SUBSCRIPTION): cv.string, diff --git a/homeassistant/components/vultr/sensor.py b/homeassistant/components/vultr/sensor.py index 5d067ec0acd41f..f7e03dddace4e9 100644 --- a/homeassistant/components/vultr/sensor.py +++ b/homeassistant/components/vultr/sensor.py @@ -15,7 +15,7 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Vultr {} {}' - +DEPENDENCIES = ['vultr'] MONITORED_CONDITIONS = { ATTR_CURRENT_BANDWIDTH_USED: ['Current Bandwidth Used', 'GB', diff --git a/homeassistant/components/vultr/switch.py b/homeassistant/components/vultr/switch.py index 95a3877a55614c..502aaf9daa8767 100644 --- a/homeassistant/components/vultr/switch.py +++ b/homeassistant/components/vultr/switch.py @@ -16,7 +16,7 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Vultr {}' - +DEPENDENCIES = ['vultr'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_SUBSCRIPTION): cv.string, diff --git a/homeassistant/components/w800rf32/__init__.py b/homeassistant/components/w800rf32/__init__.py index 475e576956a3ef..d2c0cf6b968fbd 100644 --- a/homeassistant/components/w800rf32/__init__.py +++ b/homeassistant/components/w800rf32/__init__.py @@ -10,7 +10,7 @@ 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 0f3afa91f097ca..c942483495306d 100644 --- a/homeassistant/components/w800rf32/binary_sensor.py +++ b/homeassistant/components/w800rf32/binary_sensor.py @@ -15,7 +15,7 @@ _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 03061c034ab06d..e6e12ef0afe3d7 100644 --- a/homeassistant/components/wake_on_lan/__init__.py +++ b/homeassistant/components/wake_on_lan/__init__.py @@ -7,7 +7,7 @@ from homeassistant.const import CONF_MAC import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['wakeonlan==1.1.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wake_on_lan/switch.py b/homeassistant/components/wake_on_lan/switch.py index 3c1378c50dd95a..c81a476f0f8b2b 100644 --- a/homeassistant/components/wake_on_lan/switch.py +++ b/homeassistant/components/wake_on_lan/switch.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.script import Script - +REQUIREMENTS = ['wakeonlan==1.1.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/waqi/sensor.py b/homeassistant/components/waqi/sensor.py index 3b212319429be5..f3000890de6800 100644 --- a/homeassistant/components/waqi/sensor.py +++ b/homeassistant/components/waqi/sensor.py @@ -14,7 +14,7 @@ from homeassistant.helpers.config_validation import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['waqiasync==1.0.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/waterfurnace/__init__.py b/homeassistant/components/waterfurnace/__init__.py index d4a5a5b7b4e008..38fd44cd1c7d3b 100644 --- a/homeassistant/components/waterfurnace/__init__.py +++ b/homeassistant/components/waterfurnace/__init__.py @@ -13,7 +13,7 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers import discovery - +REQUIREMENTS = ['waterfurnace==1.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/watson_iot/__init__.py b/homeassistant/components/watson_iot/__init__.py index 004efd69cf9245..e9a907ee6d2e1d 100644 --- a/homeassistant/components/watson_iot/__init__.py +++ b/homeassistant/components/watson_iot/__init__.py @@ -13,7 +13,7 @@ from homeassistant.helpers import state as state_helper import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['ibmiotf==0.3.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/waze_travel_time/sensor.py b/homeassistant/components/waze_travel_time/sensor.py index 4960226a95afc8..984a5800898dd4 100644 --- a/homeassistant/components/waze_travel_time/sensor.py +++ b/homeassistant/components/waze_travel_time/sensor.py @@ -13,7 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['WazeRouteCalculator==0.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/webhook/__init__.py b/homeassistant/components/webhook/__init__.py index 41abe324c37d90..59be3ab1890662 100644 --- a/homeassistant/components/webhook/__init__.py +++ b/homeassistant/components/webhook/__init__.py @@ -12,7 +12,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['http'] DOMAIN = 'webhook' diff --git a/homeassistant/components/webostv/media_player.py b/homeassistant/components/webostv/media_player.py index 20feb522c91adc..35c3c456680d27 100644 --- a/homeassistant/components/webostv/media_player.py +++ b/homeassistant/components/webostv/media_player.py @@ -21,7 +21,7 @@ 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 88306795e51f86..5887586df65d41 100644 --- a/homeassistant/components/webostv/notify.py +++ b/homeassistant/components/webostv/notify.py @@ -8,7 +8,7 @@ ATTR_DATA, BaseNotificationService, PLATFORM_SCHEMA) from homeassistant.const import (CONF_FILENAME, CONF_HOST, CONF_ICON) - +REQUIREMENTS = ['pylgtv==0.1.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wemo/__init__.py b/homeassistant/components/wemo/__init__.py index 4c1f12be90eb5e..709b3ec8672755 100644 --- a/homeassistant/components/wemo/__init__.py +++ b/homeassistant/components/wemo/__init__.py @@ -11,7 +11,7 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) - +REQUIREMENTS = ['pywemo==0.4.34'] DOMAIN = 'wemo' diff --git a/homeassistant/components/wemo/binary_sensor.py b/homeassistant/components/wemo/binary_sensor.py index abf9eee568da18..d6c1ad721b9abe 100644 --- a/homeassistant/components/wemo/binary_sensor.py +++ b/homeassistant/components/wemo/binary_sensor.py @@ -8,7 +8,7 @@ from homeassistant.components.binary_sensor import BinarySensorDevice from homeassistant.exceptions import PlatformNotReady - +DEPENDENCIES = ['wemo'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wemo/fan.py b/homeassistant/components/wemo/fan.py index eca7d707634b1c..29a493bf5bc256 100644 --- a/homeassistant/components/wemo/fan.py +++ b/homeassistant/components/wemo/fan.py @@ -14,7 +14,7 @@ from homeassistant.exceptions import PlatformNotReady from homeassistant.const import ATTR_ENTITY_ID - +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 96492b72fe629c..e0f729fb165e8c 100644 --- a/homeassistant/components/wemo/light.py +++ b/homeassistant/components/wemo/light.py @@ -13,7 +13,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.util.color as color_util - +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 82a3d14964b9e6..0a583e49e966a0 100644 --- a/homeassistant/components/wemo/switch.py +++ b/homeassistant/components/wemo/switch.py @@ -12,7 +12,7 @@ from homeassistant.const import ( STATE_OFF, STATE_ON, STATE_STANDBY, STATE_UNKNOWN) - +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 cdeac403a6bf15..e36bdea08c3f63 100644 --- a/homeassistant/components/whois/sensor.py +++ b/homeassistant/components/whois/sensor.py @@ -9,7 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['python-whois==0.7.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wink/__init__.py b/homeassistant/components/wink/__init__.py index 5fba703c677ef3..2b03d7711acbd6 100644 --- a/homeassistant/components/wink/__init__.py +++ b/homeassistant/components/wink/__init__.py @@ -20,7 +20,7 @@ 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__) diff --git a/homeassistant/components/wink/alarm_control_panel.py b/homeassistant/components/wink/alarm_control_panel.py index 741a3d5d9a35a0..73ca9a3cac4ac0 100644 --- a/homeassistant/components/wink/alarm_control_panel.py +++ b/homeassistant/components/wink/alarm_control_panel.py @@ -9,7 +9,7 @@ _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 9fb0cc1ae8517b..f3757d7bf39624 100644 --- a/homeassistant/components/wink/binary_sensor.py +++ b/homeassistant/components/wink/binary_sensor.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['wink'] # These are the available sensors mapped to binary_sensor class SENSOR_TYPES = { diff --git a/homeassistant/components/wink/climate.py b/homeassistant/components/wink/climate.py index b755f20585e017..f5e75c1fb8d591 100644 --- a/homeassistant/components/wink/climate.py +++ b/homeassistant/components/wink/climate.py @@ -26,7 +26,7 @@ ATTR_HEAT_ON = 'heat_on' ATTR_COOL_ON = 'cool_on' - +DEPENDENCIES = ['wink'] SPEED_LOW = 'low' SPEED_MEDIUM = 'medium' diff --git a/homeassistant/components/wink/cover.py b/homeassistant/components/wink/cover.py index e34b4f7aec9f7f..f4c4841c2a2d0e 100644 --- a/homeassistant/components/wink/cover.py +++ b/homeassistant/components/wink/cover.py @@ -3,7 +3,7 @@ from . import DOMAIN, WinkDevice - +DEPENDENCIES = ['wink'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/wink/fan.py b/homeassistant/components/wink/fan.py index 48a45defb84a07..52a27eb3c3df19 100644 --- a/homeassistant/components/wink/fan.py +++ b/homeassistant/components/wink/fan.py @@ -9,7 +9,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['wink'] SPEED_AUTO = 'auto' SPEED_LOWEST = 'lowest' diff --git a/homeassistant/components/wink/light.py b/homeassistant/components/wink/light.py index b48035481651ae..95747bcc1b2c63 100644 --- a/homeassistant/components/wink/light.py +++ b/homeassistant/components/wink/light.py @@ -8,7 +8,7 @@ from . import DOMAIN, WinkDevice - +DEPENDENCIES = ['wink'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/wink/lock.py b/homeassistant/components/wink/lock.py index 9f3c996ca0406a..8e6fb9b280530e 100644 --- a/homeassistant/components/wink/lock.py +++ b/homeassistant/components/wink/lock.py @@ -10,7 +10,7 @@ from . import DOMAIN, WinkDevice - +DEPENDENCIES = ['wink'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wink/scene.py b/homeassistant/components/wink/scene.py index 01c95c2bba2072..e77402c4d45880 100644 --- a/homeassistant/components/wink/scene.py +++ b/homeassistant/components/wink/scene.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['wink'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/wink/sensor.py b/homeassistant/components/wink/sensor.py index 52f6793e47e423..3dfd704d564a36 100644 --- a/homeassistant/components/wink/sensor.py +++ b/homeassistant/components/wink/sensor.py @@ -7,7 +7,7 @@ _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 2cd3a5eb211fc9..6ee777dd1fcccd 100644 --- a/homeassistant/components/wink/switch.py +++ b/homeassistant/components/wink/switch.py @@ -5,7 +5,7 @@ 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 09ca9feb67e406..28c8cb4d5156c2 100644 --- a/homeassistant/components/wirelesstag/__init__.py +++ b/homeassistant/components/wirelesstag/__init__.py @@ -11,7 +11,7 @@ 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 935951fd0e1044..aefa5ed34a9dad 100644 --- a/homeassistant/components/wirelesstag/binary_sensor.py +++ b/homeassistant/components/wirelesstag/binary_sensor.py @@ -14,7 +14,7 @@ DOMAIN as WIRELESSTAG_DOMAIN, SIGNAL_BINARY_EVENT_UPDATE, WirelessTagBaseSensor) - +DEPENDENCIES = ['wirelesstag'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wirelesstag/sensor.py b/homeassistant/components/wirelesstag/sensor.py index 4ba44912699d17..ca26e07b985ae9 100644 --- a/homeassistant/components/wirelesstag/sensor.py +++ b/homeassistant/components/wirelesstag/sensor.py @@ -12,7 +12,7 @@ from . import ( DOMAIN as WIRELESSTAG_DOMAIN, SIGNAL_TAG_UPDATE, WirelessTagBaseSensor) - +DEPENDENCIES = ['wirelesstag'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wirelesstag/switch.py b/homeassistant/components/wirelesstag/switch.py index da49f6b1f4a170..4a2b64acda1d75 100644 --- a/homeassistant/components/wirelesstag/switch.py +++ b/homeassistant/components/wirelesstag/switch.py @@ -9,7 +9,7 @@ from . import DOMAIN as WIRELESSTAG_DOMAIN, WirelessTagBaseSensor - +DEPENDENCIES = ['wirelesstag'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/workday/binary_sensor.py b/homeassistant/components/workday/binary_sensor.py index 2bdc066abcf3f8..b505e075018acc 100644 --- a/homeassistant/components/workday/binary_sensor.py +++ b/homeassistant/components/workday/binary_sensor.py @@ -9,7 +9,7 @@ from homeassistant.components.binary_sensor import BinarySensorDevice import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['holidays==0.9.10'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wunderlist/__init__.py b/homeassistant/components/wunderlist/__init__.py index 23273f0df82124..d67cf089b5e752 100644 --- a/homeassistant/components/wunderlist/__init__.py +++ b/homeassistant/components/wunderlist/__init__.py @@ -7,7 +7,7 @@ from homeassistant.const import ( CONF_NAME, CONF_ACCESS_TOKEN) - +REQUIREMENTS = ['wunderpy2==0.1.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xbox_live/sensor.py b/homeassistant/components/xbox_live/sensor.py index 43d638b0343689..9f8a02686accb6 100644 --- a/homeassistant/components/xbox_live/sensor.py +++ b/homeassistant/components/xbox_live/sensor.py @@ -8,7 +8,7 @@ from homeassistant.const import (CONF_API_KEY, STATE_UNKNOWN) from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['xboxapi==0.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xeoma/camera.py b/homeassistant/components/xeoma/camera.py index 65339a8201dbc2..dd0ee432707718 100644 --- a/homeassistant/components/xeoma/camera.py +++ b/homeassistant/components/xeoma/camera.py @@ -8,7 +8,7 @@ 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__) diff --git a/homeassistant/components/xfinity/device_tracker.py b/homeassistant/components/xfinity/device_tracker.py index 9d3c5556fed744..04702355de7634 100644 --- a/homeassistant/components/xfinity/device_tracker.py +++ b/homeassistant/components/xfinity/device_tracker.py @@ -9,7 +9,7 @@ DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST - +REQUIREMENTS = ['xfinity-gateway==0.0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xiaomi/camera.py b/homeassistant/components/xiaomi/camera.py index c4f200bfe4a6c0..98e54d2bc73515 100644 --- a/homeassistant/components/xiaomi/camera.py +++ b/homeassistant/components/xiaomi/camera.py @@ -11,7 +11,7 @@ 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 ea281f28ee0a11..9b113170f8a751 100644 --- a/homeassistant/components/xiaomi_aqara/__init__.py +++ b/homeassistant/components/xiaomi_aqara/__init__.py @@ -16,7 +16,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/device_tracker.py b/homeassistant/components/xiaomi_miio/device_tracker.py index d7bdbe5562e6c6..e7ea9fbbb408d9 100644 --- a/homeassistant/components/xiaomi_miio/device_tracker.py +++ b/homeassistant/components/xiaomi_miio/device_tracker.py @@ -8,7 +8,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/fan.py b/homeassistant/components/xiaomi_miio/fan.py index 8adf901ac84222..51d4780160dacf 100644 --- a/homeassistant/components/xiaomi_miio/fan.py +++ b/homeassistant/components/xiaomi_miio/fan.py @@ -13,7 +13,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/light.py b/homeassistant/components/xiaomi_miio/light.py index 3ffc5e4072d003..ec07a557342cca 100644 --- a/homeassistant/components/xiaomi_miio/light.py +++ b/homeassistant/components/xiaomi_miio/light.py @@ -17,7 +17,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/remote.py b/homeassistant/components/xiaomi_miio/remote.py index f13f8d5124a2d5..450279c18253e2 100644 --- a/homeassistant/components/xiaomi_miio/remote.py +++ b/homeassistant/components/xiaomi_miio/remote.py @@ -17,7 +17,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/sensor.py b/homeassistant/components/xiaomi_miio/sensor.py index acc47acb98dd90..41d3ce65b13d84 100644 --- a/homeassistant/components/xiaomi_miio/sensor.py +++ b/homeassistant/components/xiaomi_miio/sensor.py @@ -9,7 +9,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/switch.py b/homeassistant/components/xiaomi_miio/switch.py index 64cb8eef5e302c..d1acce02e47ca9 100644 --- a/homeassistant/components/xiaomi_miio/switch.py +++ b/homeassistant/components/xiaomi_miio/switch.py @@ -12,7 +12,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/vacuum.py b/homeassistant/components/xiaomi_miio/vacuum.py index bef335a8ee601a..2673a5b897ccab 100644 --- a/homeassistant/components/xiaomi_miio/vacuum.py +++ b/homeassistant/components/xiaomi_miio/vacuum.py @@ -16,7 +16,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_tv/media_player.py b/homeassistant/components/xiaomi_tv/media_player.py index a66743c1a091f8..2c8a2e1ea83b70 100644 --- a/homeassistant/components/xiaomi_tv/media_player.py +++ b/homeassistant/components/xiaomi_tv/media_player.py @@ -10,7 +10,7 @@ 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" diff --git a/homeassistant/components/xmpp/notify.py b/homeassistant/components/xmpp/notify.py index 1abeb7bbda8e27..d8036f5ee1e43a 100644 --- a/homeassistant/components/xmpp/notify.py +++ b/homeassistant/components/xmpp/notify.py @@ -17,7 +17,7 @@ from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) - +REQUIREMENTS = ['slixmpp==1.4.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xs1/__init__.py b/homeassistant/components/xs1/__init__.py index 80cfbf5c2cd060..f67eb8fd15affc 100644 --- a/homeassistant/components/xs1/__init__.py +++ b/homeassistant/components/xs1/__init__.py @@ -11,7 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity - +REQUIREMENTS = ['xs1-api-client==2.3.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xs1/climate.py b/homeassistant/components/xs1/climate.py index 6385934bbbd1e3..080b87c13469a2 100644 --- a/homeassistant/components/xs1/climate.py +++ b/homeassistant/components/xs1/climate.py @@ -8,7 +8,7 @@ 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 cd5ae5b64c8e70..f5fdcf1fb34503 100644 --- a/homeassistant/components/xs1/sensor.py +++ b/homeassistant/components/xs1/sensor.py @@ -5,7 +5,7 @@ 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 0fc9dccf223dfd..d8b344fc716a39 100644 --- a/homeassistant/components/xs1/switch.py +++ b/homeassistant/components/xs1/switch.py @@ -7,7 +7,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['xs1'] async def async_setup_platform( diff --git a/homeassistant/components/yale_smart_alarm/alarm_control_panel.py b/homeassistant/components/yale_smart_alarm/alarm_control_panel.py index 046eec0c789020..1a8e03a6363120 100755 --- a/homeassistant/components/yale_smart_alarm/alarm_control_panel.py +++ b/homeassistant/components/yale_smart_alarm/alarm_control_panel.py @@ -10,7 +10,7 @@ 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' diff --git a/homeassistant/components/yamaha/media_player.py b/homeassistant/components/yamaha/media_player.py index 87646e61f2ef6b..53c6b466f6e3a3 100644 --- a/homeassistant/components/yamaha/media_player.py +++ b/homeassistant/components/yamaha/media_player.py @@ -18,7 +18,7 @@ STATE_PLAYING) import homeassistant.helpers.config_validation as cv - +REQUIREMENTS = ['rxv==0.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yamaha_musiccast/media_player.py b/homeassistant/components/yamaha_musiccast/media_player.py index 9755a3817cd279..94002a4cc55b27 100644 --- a/homeassistant/components/yamaha_musiccast/media_player.py +++ b/homeassistant/components/yamaha_musiccast/media_player.py @@ -15,7 +15,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util - +REQUIREMENTS = ['pymusiccast==0.1.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yeelight/__init__.py b/homeassistant/components/yeelight/__init__.py index 70b42356a23634..9b9778fd5d28be 100644 --- a/homeassistant/components/yeelight/__init__.py +++ b/homeassistant/components/yeelight/__init__.py @@ -16,7 +16,7 @@ from homeassistant.helpers.dispatcher import dispatcher_send from homeassistant.helpers.event import track_time_interval - +REQUIREMENTS = ['yeelight==0.4.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yeelight/binary_sensor.py b/homeassistant/components/yeelight/binary_sensor.py index 249271ecd0b978..0b44966f15c439 100644 --- a/homeassistant/components/yeelight/binary_sensor.py +++ b/homeassistant/components/yeelight/binary_sensor.py @@ -6,7 +6,7 @@ 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 81747ea6452f17..8aa5c3d7300c26 100644 --- a/homeassistant/components/yeelight/light.py +++ b/homeassistant/components/yeelight/light.py @@ -22,7 +22,7 @@ YEELIGHT_FLOW_TRANSITION_SCHEMA, ACTION_RECOVER, CONF_FLOW_PARAMS, ATTR_ACTION, ATTR_COUNT) - +DEPENDENCIES = ['yeelight'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yeelightsunflower/light.py b/homeassistant/components/yeelightsunflower/light.py index 54a3b55c7739f1..9252143526bfa5 100644 --- a/homeassistant/components/yeelightsunflower/light.py +++ b/homeassistant/components/yeelightsunflower/light.py @@ -10,7 +10,7 @@ from homeassistant.const import CONF_HOST import homeassistant.util.color as color_util - +REQUIREMENTS = ['yeelightsunflower==0.0.10'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yessssms/notify.py b/homeassistant/components/yessssms/notify.py index 6958869d83a3b8..c229c361e2884f 100644 --- a/homeassistant/components/yessssms/notify.py +++ b/homeassistant/components/yessssms/notify.py @@ -9,7 +9,7 @@ from homeassistant.components.notify import (PLATFORM_SCHEMA, BaseNotificationService) - +REQUIREMENTS = ['YesssSMS==0.2.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yi/camera.py b/homeassistant/components/yi/camera.py index 3ebb5ec8cd9903..7ed36b97868db6 100644 --- a/homeassistant/components/yi/camera.py +++ b/homeassistant/components/yi/camera.py @@ -12,8 +12,8 @@ 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 29f1d949576a3e..4c898a7c9fe64d 100644 --- a/homeassistant/components/yr/sensor.py +++ b/homeassistant/components/yr/sensor.py @@ -20,7 +20,7 @@ async_call_later) from homeassistant.util import dt as dt_util - +REQUIREMENTS = ['xmltodict==0.11.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yweather/sensor.py b/homeassistant/components/yweather/sensor.py index 9a1bd37e09d018..129532ceb57477 100644 --- a/homeassistant/components/yweather/sensor.py +++ b/homeassistant/components/yweather/sensor.py @@ -12,7 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle - +REQUIREMENTS = ['yahooweather==0.10'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yweather/weather.py b/homeassistant/components/yweather/weather.py index 18b5620c05347e..e4eb34a039ac62 100644 --- a/homeassistant/components/yweather/weather.py +++ b/homeassistant/components/yweather/weather.py @@ -10,7 +10,7 @@ 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__) diff --git a/homeassistant/components/zabbix/__init__.py b/homeassistant/components/zabbix/__init__.py index 3f204bfe4bd614..f33c60b1c3930b 100644 --- a/homeassistant/components/zabbix/__init__.py +++ b/homeassistant/components/zabbix/__init__.py @@ -8,7 +8,7 @@ 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__) diff --git a/homeassistant/components/zabbix/sensor.py b/homeassistant/components/zabbix/sensor.py index ab2e8f5746de98..ae2e70ede2c426 100644 --- a/homeassistant/components/zabbix/sensor.py +++ b/homeassistant/components/zabbix/sensor.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['zabbix'] _CONF_TRIGGERS = 'triggers' _CONF_HOSTIDS = 'hostids' diff --git a/homeassistant/components/zengge/light.py b/homeassistant/components/zengge/light.py index c2f835073c42ad..8bbd56a483ec12 100644 --- a/homeassistant/components/zengge/light.py +++ b/homeassistant/components/zengge/light.py @@ -10,7 +10,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util - +REQUIREMENTS = ['zengge==0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/zeroconf/__init__.py b/homeassistant/components/zeroconf/__init__.py index 1af9b4dd1acaa9..844246528a60db 100644 --- a/homeassistant/components/zeroconf/__init__.py +++ b/homeassistant/components/zeroconf/__init__.py @@ -7,11 +7,11 @@ 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 6e480e4e8152dd..f69e3b16ebe584 100644 --- a/homeassistant/components/zestimate/sensor.py +++ b/homeassistant/components/zestimate/sensor.py @@ -12,7 +12,7 @@ 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/binary_sensor.py b/homeassistant/components/zha/binary_sensor.py index 36260fff9a3570..b4254eb83e7a49 100644 --- a/homeassistant/components/zha/binary_sensor.py +++ b/homeassistant/components/zha/binary_sensor.py @@ -14,7 +14,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['zha'] # Zigbee Cluster Library Zone Type to Home Assistant device class CLASS_MAPPING = { diff --git a/homeassistant/components/zha/fan.py b/homeassistant/components/zha/fan.py index 9fcda0f68f7a4b..b80834af1d7d20 100644 --- a/homeassistant/components/zha/fan.py +++ b/homeassistant/components/zha/fan.py @@ -12,7 +12,7 @@ ) from .entity import ZhaEntity - +DEPENDENCIES = ['zha'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/zha/light.py b/homeassistant/components/zha/light.py index 8cbf8ea84a5185..12bc12c5f6edb1 100644 --- a/homeassistant/components/zha/light.py +++ b/homeassistant/components/zha/light.py @@ -17,7 +17,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['zha'] DEFAULT_DURATION = 5 diff --git a/homeassistant/components/zha/sensor.py b/homeassistant/components/zha/sensor.py index 383ea220fa70db..13932d7dd7ab1b 100644 --- a/homeassistant/components/zha/sensor.py +++ b/homeassistant/components/zha/sensor.py @@ -16,7 +16,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['zha'] # Formatter functions diff --git a/homeassistant/components/zha/switch.py b/homeassistant/components/zha/switch.py index e0e3399a3f6aa7..34c9ab2514d003 100644 --- a/homeassistant/components/zha/switch.py +++ b/homeassistant/components/zha/switch.py @@ -13,7 +13,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['zha'] async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/zhong_hong/climate.py b/homeassistant/components/zhong_hong/climate.py index 17f513d3f42830..7fd2b971009e17 100644 --- a/homeassistant/components/zhong_hong/climate.py +++ b/homeassistant/components/zhong_hong/climate.py @@ -14,7 +14,7 @@ from homeassistant.helpers.dispatcher import (async_dispatcher_connect, async_dispatcher_send) - +REQUIREMENTS = ['zhong_hong_hvac==1.0.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/zigbee/__init__.py b/homeassistant/components/zigbee/__init__.py index 9196b2bd99a88f..0e2d3587829c92 100644 --- a/homeassistant/components/zigbee/__init__.py +++ b/homeassistant/components/zigbee/__init__.py @@ -11,7 +11,7 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_connect, dispatcher_send) - +REQUIREMENTS = ['xbee-helper==0.0.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/zigbee/binary_sensor.py b/homeassistant/components/zigbee/binary_sensor.py index 458c12006794e6..ccf4e70df34a18 100644 --- a/homeassistant/components/zigbee/binary_sensor.py +++ b/homeassistant/components/zigbee/binary_sensor.py @@ -8,7 +8,7 @@ CONF_ON_STATE = 'on_state' DEFAULT_ON_STATE = 'high' - +DEPENDENCIES = ['zigbee'] STATES = ['high', 'low'] diff --git a/homeassistant/components/zigbee/light.py b/homeassistant/components/zigbee/light.py index 2b1052ee81c061..b9be0d893239d0 100644 --- a/homeassistant/components/zigbee/light.py +++ b/homeassistant/components/zigbee/light.py @@ -8,7 +8,7 @@ CONF_ON_STATE = 'on_state' DEFAULT_ON_STATE = 'high' - +DEPENDENCIES = ['zigbee'] STATES = ['high', 'low'] diff --git a/homeassistant/components/zigbee/sensor.py b/homeassistant/components/zigbee/sensor.py index dc9a72b740dff6..48301ac9728ee5 100644 --- a/homeassistant/components/zigbee/sensor.py +++ b/homeassistant/components/zigbee/sensor.py @@ -16,7 +16,7 @@ CONF_MAX_VOLTS = 'max_volts' DEFAULT_VOLTS = 1.2 - +DEPENDENCIES = ['zigbee'] TYPES = ['analog', 'temperature'] diff --git a/homeassistant/components/zigbee/switch.py b/homeassistant/components/zigbee/switch.py index 2f89f2155c4948..ddfd47a047e9c6 100644 --- a/homeassistant/components/zigbee/switch.py +++ b/homeassistant/components/zigbee/switch.py @@ -5,12 +5,12 @@ 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 9872d0d8a44c8c..574d08e97a4504 100644 --- a/homeassistant/components/ziggo_mediabox_xl/media_player.py +++ b/homeassistant/components/ziggo_mediabox_xl/media_player.py @@ -14,7 +14,7 @@ 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__) diff --git a/homeassistant/components/zoneminder/__init__.py b/homeassistant/components/zoneminder/__init__.py index b6ac6602a201f8..a4d90d523aacca 100644 --- a/homeassistant/components/zoneminder/__init__.py +++ b/homeassistant/components/zoneminder/__init__.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +REQUIREMENTS = ['zm-py==0.3.3'] CONF_PATH_ZMS = 'path_zms' diff --git a/homeassistant/components/zoneminder/binary_sensor.py b/homeassistant/components/zoneminder/binary_sensor.py index 1ec8acc922267b..ce59d4573bea1d 100644 --- a/homeassistant/components/zoneminder/binary_sensor.py +++ b/homeassistant/components/zoneminder/binary_sensor.py @@ -3,7 +3,7 @@ from . import DOMAIN as ZONEMINDER_DOMAIN - +DEPENDENCIES = ['zoneminder'] async def async_setup_platform( diff --git a/homeassistant/components/zoneminder/camera.py b/homeassistant/components/zoneminder/camera.py index a20bf4edac9a2a..fe3333fa3ed274 100644 --- a/homeassistant/components/zoneminder/camera.py +++ b/homeassistant/components/zoneminder/camera.py @@ -9,7 +9,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['zoneminder'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/zoneminder/sensor.py b/homeassistant/components/zoneminder/sensor.py index abc02c55a296be..e205d921422be2 100644 --- a/homeassistant/components/zoneminder/sensor.py +++ b/homeassistant/components/zoneminder/sensor.py @@ -12,7 +12,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['zoneminder'] CONF_INCLUDE_ARCHIVED = "include_archived" diff --git a/homeassistant/components/zoneminder/switch.py b/homeassistant/components/zoneminder/switch.py index 5e7a72f8ecc4be..78e72c5fd4a88f 100644 --- a/homeassistant/components/zoneminder/switch.py +++ b/homeassistant/components/zoneminder/switch.py @@ -11,7 +11,7 @@ _LOGGER = logging.getLogger(__name__) - +DEPENDENCIES = ['zoneminder'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_COMMAND_ON): cv.string, diff --git a/homeassistant/components/zwave/__init__.py b/homeassistant/components/zwave/__init__.py index a94f0f02be3c84..6028e5547c6c79 100644 --- a/homeassistant/components/zwave/__init__.py +++ b/homeassistant/components/zwave/__init__.py @@ -37,7 +37,7 @@ 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__) From 391355ee2cc53cbe6954f940062b18ae34b05621 Mon Sep 17 00:00:00 2001 From: Tobias Sauerwein Date: Fri, 12 Apr 2019 13:51:41 +0200 Subject: [PATCH 3/8] Remove dependencies and requirements --- homeassistant/components/abode/__init__.py | 1 - .../components/abode/alarm_control_panel.py | 1 - homeassistant/components/abode/binary_sensor.py | 1 - homeassistant/components/abode/camera.py | 1 - homeassistant/components/abode/cover.py | 1 - homeassistant/components/abode/light.py | 1 - homeassistant/components/abode/lock.py | 1 - homeassistant/components/abode/sensor.py | 1 - homeassistant/components/abode/switch.py | 1 - .../components/acer_projector/switch.py | 1 - homeassistant/components/ads/__init__.py | 1 - homeassistant/components/ads/binary_sensor.py | 1 - homeassistant/components/ads/light.py | 1 - homeassistant/components/ads/sensor.py | 1 - homeassistant/components/ads/switch.py | 1 - homeassistant/components/aftership/sensor.py | 1 - homeassistant/components/airvisual/sensor.py | 1 - .../components/aladdin_connect/cover.py | 1 - .../components/alarmdecoder/__init__.py | 1 - .../alarmdecoder/alarm_control_panel.py | 1 - .../components/alarmdecoder/binary_sensor.py | 1 - homeassistant/components/alarmdecoder/sensor.py | 1 - .../alarmdotcom/alarm_control_panel.py | 1 - homeassistant/components/alexa/__init__.py | 1 - .../components/alpha_vantage/sensor.py | 1 - homeassistant/components/amazon_polly/tts.py | 1 - .../components/ambient_station/__init__.py | 1 - .../components/ambient_station/binary_sensor.py | 1 - .../components/ambient_station/sensor.py | 1 - homeassistant/components/amcrest/__init__.py | 2 -- .../components/amcrest/binary_sensor.py | 1 - homeassistant/components/amcrest/camera.py | 1 - homeassistant/components/amcrest/sensor.py | 1 - homeassistant/components/amcrest/switch.py | 1 - homeassistant/components/ampio/air_quality.py | 1 - .../components/android_ip_webcam/__init__.py | 1 - .../android_ip_webcam/binary_sensor.py | 1 - .../components/android_ip_webcam/sensor.py | 1 - .../components/android_ip_webcam/switch.py | 1 - .../components/androidtv/media_player.py | 1 - homeassistant/components/anel_pwrctrl/switch.py | 1 - .../components/anthemav/media_player.py | 1 - homeassistant/components/apcupsd/__init__.py | 1 - .../components/apcupsd/binary_sensor.py | 1 - homeassistant/components/apcupsd/sensor.py | 1 - homeassistant/components/api/__init__.py | 1 - homeassistant/components/apns/notify.py | 1 - homeassistant/components/apple_tv/__init__.py | 1 - .../components/apple_tv/media_player.py | 1 - homeassistant/components/apple_tv/remote.py | 1 - homeassistant/components/aqualogic/__init__.py | 1 - homeassistant/components/aqualogic/sensor.py | 1 - homeassistant/components/aqualogic/switch.py | 1 - .../components/aquostv/media_player.py | 1 - homeassistant/components/arduino/__init__.py | 1 - homeassistant/components/arduino/sensor.py | 1 - homeassistant/components/arduino/switch.py | 1 - homeassistant/components/arlo/__init__.py | 1 - .../components/arlo/alarm_control_panel.py | 1 - homeassistant/components/arlo/camera.py | 1 - homeassistant/components/arlo/sensor.py | 1 - .../components/aruba/device_tracker.py | 1 - homeassistant/components/arwn/sensor.py | 1 - .../components/asterisk_cdr/mailbox.py | 1 - .../components/asterisk_mbox/__init__.py | 1 - .../components/asterisk_mbox/mailbox.py | 1 - homeassistant/components/asuswrt/__init__.py | 1 - .../components/asuswrt/device_tracker.py | 1 - homeassistant/components/asuswrt/sensor.py | 1 - homeassistant/components/august/__init__.py | 1 - .../components/august/binary_sensor.py | 1 - homeassistant/components/august/camera.py | 1 - homeassistant/components/august/lock.py | 1 - homeassistant/components/auth/__init__.py | 1 - .../components/automatic/device_tracker.py | 2 -- homeassistant/components/automation/__init__.py | 1 - homeassistant/components/automation/litejet.py | 1 - homeassistant/components/automation/mqtt.py | 1 - homeassistant/components/avion/light.py | 1 - homeassistant/components/awair/sensor.py | 1 - homeassistant/components/aws/__init__.py | 1 - homeassistant/components/aws/notify.py | 1 - homeassistant/components/axis/__init__.py | 1 - homeassistant/components/axis/binary_sensor.py | 1 - homeassistant/components/axis/camera.py | 1 - homeassistant/components/baidu/tts.py | 1 - homeassistant/components/bbb_gpio/__init__.py | 1 - .../components/bbb_gpio/binary_sensor.py | 1 - homeassistant/components/bbb_gpio/switch.py | 1 - homeassistant/components/bbox/device_tracker.py | 1 - homeassistant/components/bbox/sensor.py | 1 - homeassistant/components/bh1750/sensor.py | 2 -- homeassistant/components/bitcoin/sensor.py | 1 - .../components/blackbird/media_player.py | 1 - homeassistant/components/blink/__init__.py | 1 - .../components/blink/alarm_control_panel.py | 1 - homeassistant/components/blink/binary_sensor.py | 1 - homeassistant/components/blink/camera.py | 1 - homeassistant/components/blink/sensor.py | 1 - .../components/blinksticklight/light.py | 1 - homeassistant/components/blinkt/light.py | 1 - homeassistant/components/blockchain/sensor.py | 1 - .../components/bloomsky/binary_sensor.py | 1 - homeassistant/components/bloomsky/camera.py | 1 - homeassistant/components/bloomsky/sensor.py | 1 - .../components/bluesound/media_player.py | 1 - .../bluetooth_le_tracker/device_tracker.py | 1 - .../bluetooth_tracker/device_tracker.py | 1 - homeassistant/components/bme280/sensor.py | 2 -- homeassistant/components/bme680/sensor.py | 2 -- .../components/bmw_connected_drive/__init__.py | 1 - .../bmw_connected_drive/binary_sensor.py | 1 - .../bmw_connected_drive/device_tracker.py | 1 - .../components/bmw_connected_drive/lock.py | 1 - .../components/bmw_connected_drive/sensor.py | 1 - homeassistant/components/bom/camera.py | 1 - .../components/braviatv/media_player.py | 1 - homeassistant/components/broadlink/sensor.py | 1 - homeassistant/components/broadlink/switch.py | 1 - .../components/brottsplatskartan/sensor.py | 1 - homeassistant/components/brunt/cover.py | 1 - .../components/bt_home_hub_5/device_tracker.py | 1 - .../components/bt_smarthub/device_tracker.py | 1 - homeassistant/components/buienradar/sensor.py | 1 - homeassistant/components/buienradar/weather.py | 1 - homeassistant/components/caldav/calendar.py | 1 - homeassistant/components/calendar/__init__.py | 1 - homeassistant/components/camera/__init__.py | 1 - homeassistant/components/canary/__init__.py | 1 - .../components/canary/alarm_control_panel.py | 1 - homeassistant/components/canary/camera.py | 1 - homeassistant/components/canary/sensor.py | 1 - homeassistant/components/cast/__init__.py | 1 - .../components/channels/media_player.py | 1 - .../components/cisco_ios/device_tracker.py | 1 - .../cisco_mobility_express/device_tracker.py | 1 - .../components/cisco_webex_teams/notify.py | 1 - homeassistant/components/ciscospark/notify.py | 1 - .../components/clementine/media_player.py | 1 - homeassistant/components/cloud/__init__.py | 2 -- homeassistant/components/cloud/binary_sensor.py | 1 - homeassistant/components/cloudflare/__init__.py | 1 - homeassistant/components/cmus/media_player.py | 1 - homeassistant/components/co2signal/sensor.py | 1 - homeassistant/components/coinbase/__init__.py | 1 - homeassistant/components/coinbase/sensor.py | 1 - .../components/coinmarketcap/sensor.py | 1 - .../components/comfoconnect/__init__.py | 1 - homeassistant/components/comfoconnect/fan.py | 1 - homeassistant/components/comfoconnect/sensor.py | 1 - .../concord232/alarm_control_panel.py | 1 - .../components/concord232/binary_sensor.py | 1 - homeassistant/components/config/__init__.py | 1 - .../components/conversation/__init__.py | 1 - homeassistant/components/coolmaster/climate.py | 1 - homeassistant/components/cover/__init__.py | 1 - .../components/cppm_tracker/device_tracker.py | 1 - homeassistant/components/cpuspeed/sensor.py | 1 - homeassistant/components/crimereports/sensor.py | 1 - homeassistant/components/cups/sensor.py | 1 - homeassistant/components/daikin/__init__.py | 1 - .../components/danfoss_air/__init__.py | 1 - homeassistant/components/darksky/sensor.py | 1 - homeassistant/components/darksky/weather.py | 1 - homeassistant/components/datadog/__init__.py | 1 - homeassistant/components/deconz/__init__.py | 1 - .../components/deconz/binary_sensor.py | 1 - homeassistant/components/deconz/climate.py | 1 - homeassistant/components/deconz/cover.py | 1 - homeassistant/components/deconz/light.py | 1 - homeassistant/components/deconz/scene.py | 1 - homeassistant/components/deconz/sensor.py | 1 - homeassistant/components/deconz/switch.py | 1 - homeassistant/components/decora/light.py | 1 - homeassistant/components/decora_wifi/light.py | 1 - .../components/default_config/__init__.py | 17 ----------------- homeassistant/components/deluge/sensor.py | 1 - homeassistant/components/deluge/switch.py | 1 - homeassistant/components/demo/__init__.py | 1 - .../components/denonavr/media_player.py | 1 - .../components/deutsche_bahn/sensor.py | 1 - .../device_sun_light_trigger/__init__.py | 1 - .../components/device_tracker/__init__.py | 1 - homeassistant/components/dht/sensor.py | 1 - homeassistant/components/dialogflow/__init__.py | 1 - .../components/digital_ocean/__init__.py | 1 - .../components/digital_ocean/binary_sensor.py | 1 - .../components/digital_ocean/switch.py | 1 - .../components/digitalloggers/switch.py | 1 - .../components/directv/media_player.py | 1 - homeassistant/components/discogs/sensor.py | 1 - homeassistant/components/discord/notify.py | 1 - homeassistant/components/discovery/__init__.py | 1 - .../dlib_face_detect/image_processing.py | 1 - .../dlib_face_identify/image_processing.py | 1 - homeassistant/components/dlink/switch.py | 1 - .../components/dlna_dmr/media_player.py | 1 - homeassistant/components/dnsip/sensor.py | 1 - homeassistant/components/dominos/__init__.py | 2 -- homeassistant/components/doorbird/__init__.py | 1 - homeassistant/components/doorbird/camera.py | 1 - homeassistant/components/doorbird/switch.py | 1 - homeassistant/components/dovado/__init__.py | 1 - homeassistant/components/dovado/notify.py | 1 - homeassistant/components/dovado/sensor.py | 1 - homeassistant/components/dsmr/sensor.py | 1 - homeassistant/components/duke_energy/sensor.py | 1 - homeassistant/components/dunehd/media_player.py | 1 - homeassistant/components/dweet/__init__.py | 1 - homeassistant/components/dweet/sensor.py | 1 - homeassistant/components/dyson/__init__.py | 1 - homeassistant/components/dyson/fan.py | 1 - homeassistant/components/dyson/sensor.py | 1 - homeassistant/components/dyson/vacuum.py | 1 - homeassistant/components/ebox/sensor.py | 1 - homeassistant/components/ebusd/__init__.py | 1 - homeassistant/components/ebusd/sensor.py | 1 - .../components/ecoal_boiler/__init__.py | 1 - homeassistant/components/ecoal_boiler/sensor.py | 1 - homeassistant/components/ecoal_boiler/switch.py | 1 - homeassistant/components/ecobee/__init__.py | 1 - .../components/ecobee/binary_sensor.py | 1 - homeassistant/components/ecobee/climate.py | 1 - homeassistant/components/ecobee/notify.py | 1 - homeassistant/components/ecobee/sensor.py | 1 - homeassistant/components/ecobee/weather.py | 1 - homeassistant/components/econet/water_heater.py | 1 - homeassistant/components/ecovacs/__init__.py | 1 - homeassistant/components/ecovacs/vacuum.py | 1 - .../components/eddystone_temperature/sensor.py | 1 - homeassistant/components/edimax/switch.py | 1 - homeassistant/components/edp_redy/__init__.py | 1 - homeassistant/components/edp_redy/sensor.py | 1 - homeassistant/components/edp_redy/switch.py | 1 - .../components/ee_brightbox/device_tracker.py | 1 - homeassistant/components/egardia/__init__.py | 1 - .../components/egardia/alarm_control_panel.py | 1 - .../components/egardia/binary_sensor.py | 1 - .../components/eight_sleep/__init__.py | 1 - .../components/eight_sleep/binary_sensor.py | 1 - homeassistant/components/eight_sleep/sensor.py | 1 - homeassistant/components/eliqonline/sensor.py | 1 - homeassistant/components/elkm1/__init__.py | 1 - .../components/elkm1/alarm_control_panel.py | 1 - homeassistant/components/elkm1/climate.py | 1 - homeassistant/components/elkm1/light.py | 1 - homeassistant/components/elkm1/scene.py | 1 - homeassistant/components/elkm1/sensor.py | 1 - homeassistant/components/elkm1/switch.py | 1 - homeassistant/components/emby/media_player.py | 1 - .../components/emulated_roku/__init__.py | 1 - .../components/enigma2/media_player.py | 1 - homeassistant/components/enocean/__init__.py | 1 - .../components/enocean/binary_sensor.py | 1 - homeassistant/components/enocean/light.py | 1 - homeassistant/components/enocean/sensor.py | 1 - homeassistant/components/enocean/switch.py | 1 - .../components/enphase_envoy/sensor.py | 1 - .../components/entur_public_transport/sensor.py | 1 - homeassistant/components/envirophat/sensor.py | 2 -- homeassistant/components/envisalink/__init__.py | 1 - .../envisalink/alarm_control_panel.py | 1 - .../components/envisalink/binary_sensor.py | 1 - homeassistant/components/envisalink/sensor.py | 1 - homeassistant/components/ephember/climate.py | 1 - homeassistant/components/epson/media_player.py | 1 - homeassistant/components/eq3btsmart/climate.py | 1 - homeassistant/components/esphome/__init__.py | 1 - .../components/esphome/binary_sensor.py | 1 - homeassistant/components/esphome/camera.py | 1 - homeassistant/components/esphome/climate.py | 1 - homeassistant/components/esphome/cover.py | 1 - homeassistant/components/esphome/fan.py | 1 - homeassistant/components/esphome/light.py | 1 - homeassistant/components/esphome/sensor.py | 1 - homeassistant/components/esphome/switch.py | 1 - homeassistant/components/etherscan/sensor.py | 1 - homeassistant/components/eufy/__init__.py | 1 - homeassistant/components/eufy/light.py | 1 - homeassistant/components/eufy/switch.py | 1 - homeassistant/components/everlights/light.py | 1 - homeassistant/components/evohome/__init__.py | 1 - homeassistant/components/familyhub/camera.py | 1 - homeassistant/components/fan/__init__.py | 1 - homeassistant/components/fastdotcom/__init__.py | 1 - homeassistant/components/fastdotcom/sensor.py | 1 - homeassistant/components/fedex/sensor.py | 1 - homeassistant/components/feedreader/__init__.py | 1 - homeassistant/components/ffmpeg/__init__.py | 1 - homeassistant/components/ffmpeg/camera.py | 1 - .../components/ffmpeg_motion/binary_sensor.py | 1 - .../components/ffmpeg_noise/binary_sensor.py | 1 - homeassistant/components/fibaro/__init__.py | 1 - .../components/fibaro/binary_sensor.py | 1 - homeassistant/components/fibaro/climate.py | 1 - homeassistant/components/fibaro/cover.py | 1 - homeassistant/components/fibaro/light.py | 1 - homeassistant/components/fibaro/scene.py | 1 - homeassistant/components/fibaro/sensor.py | 1 - homeassistant/components/fibaro/switch.py | 1 - homeassistant/components/fido/sensor.py | 1 - homeassistant/components/fints/sensor.py | 1 - homeassistant/components/fitbit/sensor.py | 2 -- homeassistant/components/fixer/sensor.py | 1 - homeassistant/components/flexit/climate.py | 2 -- homeassistant/components/flic/binary_sensor.py | 1 - homeassistant/components/flunearyou/sensor.py | 1 - homeassistant/components/flux/switch.py | 1 - homeassistant/components/flux_led/light.py | 1 - .../components/folder_watcher/__init__.py | 1 - homeassistant/components/foobot/sensor.py | 1 - homeassistant/components/foscam/camera.py | 1 - homeassistant/components/foursquare/__init__.py | 1 - homeassistant/components/free_mobile/notify.py | 1 - homeassistant/components/freebox/__init__.py | 1 - .../components/freebox/device_tracker.py | 1 - homeassistant/components/freebox/sensor.py | 1 - homeassistant/components/freebox/switch.py | 1 - .../components/fritz/device_tracker.py | 1 - homeassistant/components/fritzbox/__init__.py | 1 - .../components/fritzbox/binary_sensor.py | 1 - homeassistant/components/fritzbox/climate.py | 1 - homeassistant/components/fritzbox/sensor.py | 1 - homeassistant/components/fritzbox/switch.py | 1 - .../components/fritzbox_callmonitor/sensor.py | 1 - .../components/fritzbox_netmonitor/sensor.py | 1 - homeassistant/components/fritzdect/switch.py | 1 - homeassistant/components/frontend/__init__.py | 3 --- .../components/frontier_silicon/media_player.py | 1 - homeassistant/components/futurenow/light.py | 1 - homeassistant/components/gc100/__init__.py | 1 - homeassistant/components/gc100/binary_sensor.py | 1 - homeassistant/components/gc100/switch.py | 1 - homeassistant/components/gearbest/sensor.py | 1 - homeassistant/components/geizhals/sensor.py | 1 - .../components/generic_thermostat/climate.py | 1 - .../components/geo_json_events/geo_location.py | 1 - .../components/geo_rss_events/sensor.py | 1 - homeassistant/components/geofency/__init__.py | 1 - .../components/geofency/device_tracker.py | 1 - homeassistant/components/github/sensor.py | 1 - homeassistant/components/gitlab_ci/sensor.py | 1 - homeassistant/components/gitter/sensor.py | 1 - homeassistant/components/glances/sensor.py | 1 - homeassistant/components/gntp/notify.py | 1 - homeassistant/components/goalfeed/__init__.py | 1 - homeassistant/components/gogogate2/cover.py | 1 - homeassistant/components/google/__init__.py | 5 ----- homeassistant/components/google/tts.py | 1 - .../components/google_assistant/__init__.py | 1 - .../components/google_maps/device_tracker.py | 1 - .../components/google_pubsub/__init__.py | 1 - .../components/google_travel_time/sensor.py | 1 - homeassistant/components/googlehome/__init__.py | 1 - .../components/googlehome/device_tracker.py | 1 - homeassistant/components/googlehome/sensor.py | 1 - homeassistant/components/gpmdp/media_player.py | 1 - homeassistant/components/gpsd/sensor.py | 1 - homeassistant/components/gpslogger/__init__.py | 1 - .../components/gpslogger/device_tracker.py | 1 - .../components/greeneye_monitor/__init__.py | 1 - .../components/greeneye_monitor/sensor.py | 1 - homeassistant/components/greenwave/light.py | 1 - .../components/gstreamer/media_player.py | 1 - homeassistant/components/gtfs/sensor.py | 1 - homeassistant/components/gtt/sensor.py | 1 - homeassistant/components/habitica/__init__.py | 1 - homeassistant/components/hangouts/__init__.py | 1 - homeassistant/components/hangouts/notify.py | 1 - .../harman_kardon_avr/media_player.py | 1 - homeassistant/components/harmony/remote.py | 1 - homeassistant/components/hassio/__init__.py | 1 - homeassistant/components/hdmi_cec/__init__.py | 1 - .../components/hdmi_cec/media_player.py | 1 - homeassistant/components/hdmi_cec/switch.py | 1 - homeassistant/components/heatmiser/climate.py | 1 - homeassistant/components/heos/__init__.py | 1 - homeassistant/components/heos/media_player.py | 1 - .../components/hikvision/binary_sensor.py | 1 - homeassistant/components/hikvisioncam/switch.py | 1 - homeassistant/components/hipchat/notify.py | 1 - homeassistant/components/history/__init__.py | 1 - .../components/history_graph/__init__.py | 1 - .../components/history_stats/sensor.py | 1 - homeassistant/components/hive/__init__.py | 1 - homeassistant/components/hive/binary_sensor.py | 1 - homeassistant/components/hive/climate.py | 1 - homeassistant/components/hive/light.py | 1 - homeassistant/components/hive/sensor.py | 1 - homeassistant/components/hive/switch.py | 1 - homeassistant/components/hlk_sw16/__init__.py | 1 - homeassistant/components/hlk_sw16/switch.py | 1 - homeassistant/components/homekit/__init__.py | 1 - .../components/homekit_controller/__init__.py | 1 - .../homekit_controller/alarm_control_panel.py | 1 - .../homekit_controller/binary_sensor.py | 1 - .../components/homekit_controller/climate.py | 1 - .../components/homekit_controller/cover.py | 1 - .../components/homekit_controller/light.py | 1 - .../components/homekit_controller/lock.py | 1 - .../components/homekit_controller/sensor.py | 1 - .../components/homekit_controller/switch.py | 1 - homeassistant/components/homematic/__init__.py | 1 - .../components/homematic/binary_sensor.py | 1 - homeassistant/components/homematic/climate.py | 1 - homeassistant/components/homematic/cover.py | 1 - homeassistant/components/homematic/light.py | 1 - homeassistant/components/homematic/lock.py | 1 - homeassistant/components/homematic/notify.py | 1 - homeassistant/components/homematic/sensor.py | 1 - homeassistant/components/homematic/switch.py | 1 - .../components/homematicip_cloud/__init__.py | 1 - .../homematicip_cloud/alarm_control_panel.py | 1 - .../homematicip_cloud/binary_sensor.py | 1 - .../components/homematicip_cloud/cover.py | 1 - .../components/homematicip_cloud/light.py | 1 - .../components/homematicip_cloud/sensor.py | 1 - .../components/homematicip_cloud/switch.py | 1 - .../components/homematicip_cloud/weather.py | 1 - homeassistant/components/homeworks/__init__.py | 1 - homeassistant/components/homeworks/light.py | 1 - homeassistant/components/honeywell/climate.py | 1 - .../components/horizon/media_player.py | 1 - homeassistant/components/hp_ilo/sensor.py | 1 - homeassistant/components/html5/notify.py | 2 -- homeassistant/components/http/__init__.py | 1 - homeassistant/components/htu21d/sensor.py | 2 -- homeassistant/components/huawei_lte/__init__.py | 1 - .../components/huawei_lte/device_tracker.py | 1 - homeassistant/components/huawei_lte/notify.py | 1 - homeassistant/components/huawei_lte/sensor.py | 1 - homeassistant/components/hue/__init__.py | 1 - homeassistant/components/hue/light.py | 1 - .../components/hunterdouglas_powerview/scene.py | 1 - homeassistant/components/hydrawise/__init__.py | 1 - .../components/hydrawise/binary_sensor.py | 1 - homeassistant/components/hydrawise/sensor.py | 1 - homeassistant/components/hydrawise/switch.py | 1 - homeassistant/components/hydroquebec/sensor.py | 1 - .../components/ialarm/alarm_control_panel.py | 1 - .../components/icloud/device_tracker.py | 1 - .../components/idteck_prox/__init__.py | 1 - homeassistant/components/ifttt/__init__.py | 2 -- .../components/ifttt/alarm_control_panel.py | 1 - homeassistant/components/iglo/light.py | 1 - homeassistant/components/ihc/__init__.py | 1 - homeassistant/components/ihc/binary_sensor.py | 1 - homeassistant/components/ihc/light.py | 1 - homeassistant/components/ihc/sensor.py | 1 - homeassistant/components/ihc/switch.py | 1 - .../components/image_processing/__init__.py | 1 - homeassistant/components/imap/sensor.py | 1 - homeassistant/components/influxdb/__init__.py | 1 - homeassistant/components/influxdb/sensor.py | 1 - homeassistant/components/insteon/__init__.py | 1 - .../components/insteon/binary_sensor.py | 1 - homeassistant/components/insteon/cover.py | 1 - homeassistant/components/insteon/fan.py | 1 - homeassistant/components/insteon/light.py | 1 - homeassistant/components/insteon/sensor.py | 1 - homeassistant/components/insteon/switch.py | 1 - homeassistant/components/ios/__init__.py | 1 - homeassistant/components/ios/notify.py | 1 - homeassistant/components/ios/sensor.py | 1 - homeassistant/components/iota/__init__.py | 1 - homeassistant/components/iota/sensor.py | 1 - homeassistant/components/iperf3/__init__.py | 1 - homeassistant/components/iperf3/sensor.py | 1 - homeassistant/components/ipma/weather.py | 1 - .../components/irish_rail_transport/sensor.py | 1 - .../components/islamic_prayer_times/sensor.py | 1 - homeassistant/components/iss/binary_sensor.py | 1 - homeassistant/components/isy994/__init__.py | 1 - homeassistant/components/itach/remote.py | 1 - .../components/jewish_calendar/sensor.py | 1 - .../components/joaoapps_join/__init__.py | 1 - .../components/joaoapps_join/notify.py | 1 - homeassistant/components/juicenet/__init__.py | 1 - homeassistant/components/juicenet/sensor.py | 1 - .../components/keenetic_ndms2/device_tracker.py | 1 - homeassistant/components/keyboard/__init__.py | 1 - .../components/keyboard_remote/__init__.py | 1 - homeassistant/components/kira/__init__.py | 1 - homeassistant/components/kiwi/lock.py | 1 - homeassistant/components/knx/__init__.py | 1 - homeassistant/components/knx/binary_sensor.py | 1 - homeassistant/components/knx/climate.py | 1 - homeassistant/components/knx/cover.py | 1 - homeassistant/components/knx/light.py | 1 - homeassistant/components/knx/notify.py | 1 - homeassistant/components/knx/scene.py | 1 - homeassistant/components/knx/sensor.py | 1 - homeassistant/components/knx/switch.py | 1 - homeassistant/components/kodi/media_player.py | 1 - homeassistant/components/kodi/notify.py | 1 - homeassistant/components/konnected/__init__.py | 2 -- .../components/konnected/binary_sensor.py | 1 - homeassistant/components/konnected/sensor.py | 1 - homeassistant/components/konnected/switch.py | 1 - homeassistant/components/kwb/sensor.py | 1 - homeassistant/components/lacrosse/sensor.py | 1 - homeassistant/components/lametric/__init__.py | 1 - homeassistant/components/lametric/notify.py | 2 -- homeassistant/components/lastfm/sensor.py | 1 - .../components/launch_library/sensor.py | 1 - homeassistant/components/lcn/__init__.py | 1 - homeassistant/components/lcn/binary_sensor.py | 1 - homeassistant/components/lcn/cover.py | 1 - homeassistant/components/lcn/light.py | 1 - homeassistant/components/lcn/sensor.py | 1 - homeassistant/components/lcn/switch.py | 1 - .../components/lg_netcast/media_player.py | 1 - .../components/lg_soundbar/media_player.py | 1 - homeassistant/components/lifx/__init__.py | 1 - homeassistant/components/lifx/light.py | 2 -- homeassistant/components/lifx_legacy/light.py | 1 - homeassistant/components/light/__init__.py | 1 - homeassistant/components/lightwave/__init__.py | 1 - homeassistant/components/lightwave/light.py | 1 - homeassistant/components/lightwave/switch.py | 1 - homeassistant/components/limitlessled/light.py | 1 - .../components/linksys_ap/device_tracker.py | 1 - homeassistant/components/linky/sensor.py | 1 - homeassistant/components/linode/__init__.py | 1 - .../components/linode/binary_sensor.py | 1 - homeassistant/components/linode/switch.py | 1 - .../components/linux_battery/sensor.py | 1 - homeassistant/components/lirc/__init__.py | 1 - homeassistant/components/litejet/__init__.py | 1 - homeassistant/components/litejet/light.py | 1 - homeassistant/components/litejet/scene.py | 1 - homeassistant/components/litejet/switch.py | 1 - .../components/liveboxplaytv/media_player.py | 1 - homeassistant/components/locative/__init__.py | 1 - .../components/locative/device_tracker.py | 1 - homeassistant/components/lock/__init__.py | 1 - homeassistant/components/logbook/__init__.py | 1 - .../components/logi_circle/__init__.py | 1 - homeassistant/components/logi_circle/camera.py | 1 - homeassistant/components/logi_circle/sensor.py | 1 - .../components/london_underground/sensor.py | 1 - homeassistant/components/loopenergy/sensor.py | 1 - homeassistant/components/luci/device_tracker.py | 1 - homeassistant/components/luftdaten/__init__.py | 1 - homeassistant/components/luftdaten/sensor.py | 1 - homeassistant/components/lupusec/__init__.py | 1 - .../components/lupusec/alarm_control_panel.py | 1 - .../components/lupusec/binary_sensor.py | 1 - homeassistant/components/lupusec/switch.py | 1 - homeassistant/components/lutron/__init__.py | 1 - homeassistant/components/lutron/cover.py | 1 - homeassistant/components/lutron/light.py | 1 - homeassistant/components/lutron/scene.py | 1 - homeassistant/components/lutron/switch.py | 1 - .../components/lutron_caseta/__init__.py | 1 - homeassistant/components/lutron_caseta/cover.py | 1 - homeassistant/components/lutron_caseta/light.py | 1 - homeassistant/components/lutron_caseta/scene.py | 1 - .../components/lutron_caseta/switch.py | 1 - homeassistant/components/lw12wifi/light.py | 1 - homeassistant/components/lyft/sensor.py | 1 - homeassistant/components/magicseaweed/sensor.py | 1 - homeassistant/components/mailbox/__init__.py | 1 - homeassistant/components/mailgun/__init__.py | 1 - homeassistant/components/mailgun/notify.py | 2 -- .../manual_mqtt/alarm_control_panel.py | 1 - homeassistant/components/mastodon/notify.py | 1 - homeassistant/components/matrix/__init__.py | 1 - homeassistant/components/matrix/notify.py | 1 - homeassistant/components/maxcube/__init__.py | 1 - .../components/media_extractor/__init__.py | 2 -- .../components/media_player/__init__.py | 1 - .../components/mediaroom/media_player.py | 1 - homeassistant/components/melissa/__init__.py | 1 - homeassistant/components/melissa/climate.py | 1 - .../components/meraki/device_tracker.py | 1 - homeassistant/components/message_bird/notify.py | 1 - homeassistant/components/met/weather.py | 1 - .../components/meteo_france/__init__.py | 1 - homeassistant/components/metoffice/sensor.py | 1 - homeassistant/components/metoffice/weather.py | 1 - homeassistant/components/mfi/sensor.py | 1 - homeassistant/components/mfi/switch.py | 1 - homeassistant/components/mhz19/sensor.py | 1 - homeassistant/components/microsoft/tts.py | 1 - .../components/microsoft_face/__init__.py | 1 - .../microsoft_face_detect/image_processing.py | 1 - .../microsoft_face_identify/image_processing.py | 1 - homeassistant/components/miflora/sensor.py | 1 - .../components/mikrotik/device_tracker.py | 1 - homeassistant/components/mill/climate.py | 1 - homeassistant/components/mitemp_bt/sensor.py | 1 - homeassistant/components/mobile_app/__init__.py | 2 -- .../components/mobile_app/binary_sensor.py | 1 - homeassistant/components/mobile_app/notify.py | 1 - homeassistant/components/mobile_app/sensor.py | 1 - homeassistant/components/mochad/__init__.py | 1 - homeassistant/components/mochad/light.py | 1 - homeassistant/components/mochad/switch.py | 1 - homeassistant/components/modbus/__init__.py | 1 - .../components/modbus/binary_sensor.py | 1 - homeassistant/components/modbus/climate.py | 1 - homeassistant/components/modbus/sensor.py | 1 - homeassistant/components/modbus/switch.py | 1 - .../components/modem_callerid/sensor.py | 1 - .../components/monoprice/media_player.py | 1 - homeassistant/components/mopar/__init__.py | 1 - homeassistant/components/mopar/lock.py | 1 - homeassistant/components/mopar/sensor.py | 1 - homeassistant/components/mopar/switch.py | 1 - homeassistant/components/mpd/media_player.py | 1 - homeassistant/components/mqtt/__init__.py | 1 - .../components/mqtt/alarm_control_panel.py | 1 - homeassistant/components/mqtt/binary_sensor.py | 1 - homeassistant/components/mqtt/camera.py | 1 - homeassistant/components/mqtt/climate.py | 1 - homeassistant/components/mqtt/cover.py | 1 - homeassistant/components/mqtt/device_tracker.py | 1 - homeassistant/components/mqtt/fan.py | 1 - homeassistant/components/mqtt/light/__init__.py | 1 - .../components/mqtt/light/schema_basic.py | 1 - .../components/mqtt/light/schema_json.py | 1 - .../components/mqtt/light/schema_template.py | 1 - homeassistant/components/mqtt/lock.py | 1 - homeassistant/components/mqtt/sensor.py | 1 - homeassistant/components/mqtt/server.py | 2 -- homeassistant/components/mqtt/switch.py | 1 - homeassistant/components/mqtt/vacuum.py | 1 - .../components/mqtt_eventstream/__init__.py | 1 - .../components/mqtt_json/device_tracker.py | 1 - homeassistant/components/mqtt_room/sensor.py | 1 - .../components/mqtt_statestream/__init__.py | 1 - homeassistant/components/mvglive/sensor.py | 1 - homeassistant/components/mychevy/__init__.py | 1 - homeassistant/components/mycroft/__init__.py | 1 - homeassistant/components/mycroft/notify.py | 1 - homeassistant/components/myq/cover.py | 1 - homeassistant/components/mysensors/__init__.py | 1 - .../components/mystrom/binary_sensor.py | 1 - homeassistant/components/mystrom/light.py | 1 - homeassistant/components/mystrom/switch.py | 1 - .../components/mythicbeastsdns/__init__.py | 1 - homeassistant/components/n26/__init__.py | 1 - homeassistant/components/n26/sensor.py | 1 - homeassistant/components/n26/switch.py | 1 - homeassistant/components/nad/media_player.py | 1 - .../components/namecheapdns/__init__.py | 1 - homeassistant/components/nanoleaf/light.py | 1 - homeassistant/components/neato/__init__.py | 1 - homeassistant/components/neato/camera.py | 1 - homeassistant/components/neato/switch.py | 1 - homeassistant/components/neato/vacuum.py | 1 - .../components/nederlandse_spoorwegen/sensor.py | 1 - homeassistant/components/nello/lock.py | 1 - homeassistant/components/ness_alarm/__init__.py | 1 - .../ness_alarm/alarm_control_panel.py | 1 - .../components/ness_alarm/binary_sensor.py | 1 - homeassistant/components/nest/__init__.py | 1 - homeassistant/components/nest/binary_sensor.py | 1 - homeassistant/components/nest/camera.py | 1 - homeassistant/components/nest/climate.py | 1 - homeassistant/components/nest/sensor.py | 1 - homeassistant/components/netatmo/__init__.py | 2 -- .../components/netatmo/binary_sensor.py | 1 - homeassistant/components/netatmo/camera.py | 1 - homeassistant/components/netatmo/climate.py | 1 - homeassistant/components/netatmo/sensor.py | 1 - .../components/netatmo_public/sensor.py | 1 - homeassistant/components/netdata/sensor.py | 1 - .../components/netgear/device_tracker.py | 1 - .../components/netgear_lte/__init__.py | 1 - .../components/netgear_lte/binary_sensor.py | 1 - homeassistant/components/netgear_lte/notify.py | 1 - homeassistant/components/netgear_lte/sensor.py | 1 - homeassistant/components/netio/switch.py | 2 -- .../components/neurio_energy/sensor.py | 1 - .../components/niko_home_control/light.py | 1 - homeassistant/components/nilu/air_quality.py | 1 - .../components/nissan_leaf/__init__.py | 1 - .../components/nissan_leaf/binary_sensor.py | 1 - .../components/nissan_leaf/device_tracker.py | 1 - homeassistant/components/nissan_leaf/sensor.py | 1 - homeassistant/components/nissan_leaf/switch.py | 1 - .../components/nmap_tracker/device_tracker.py | 1 - homeassistant/components/nmbs/sensor.py | 1 - homeassistant/components/noaa_tides/sensor.py | 1 - .../components/norway_air/air_quality.py | 1 - .../components/nsw_fuel_station/sensor.py | 1 - .../nsw_rural_fire_service_feed/geo_location.py | 1 - homeassistant/components/nuheat/__init__.py | 1 - homeassistant/components/nuheat/climate.py | 1 - .../components/nuimo_controller/__init__.py | 3 --- homeassistant/components/nuki/lock.py | 1 - homeassistant/components/nut/sensor.py | 1 - .../components/nx584/alarm_control_panel.py | 1 - homeassistant/components/nx584/binary_sensor.py | 1 - .../components/oasa_telematics/sensor.py | 1 - .../components/octoprint/binary_sensor.py | 1 - homeassistant/components/octoprint/sensor.py | 1 - homeassistant/components/oem/climate.py | 1 - homeassistant/components/ohmconnect/sensor.py | 1 - homeassistant/components/onboarding/__init__.py | 1 - homeassistant/components/onkyo/media_player.py | 1 - homeassistant/components/onvif/camera.py | 4 ---- .../components/opencv/image_processing.py | 1 - homeassistant/components/openevse/sensor.py | 1 - .../components/openhome/media_player.py | 1 - .../components/opensensemap/air_quality.py | 1 - .../components/opentherm_gw/__init__.py | 1 - .../components/opentherm_gw/binary_sensor.py | 1 - .../components/opentherm_gw/climate.py | 1 - homeassistant/components/opentherm_gw/sensor.py | 1 - homeassistant/components/openuv/__init__.py | 1 - .../components/openuv/binary_sensor.py | 1 - homeassistant/components/openuv/sensor.py | 1 - .../components/openweathermap/sensor.py | 1 - .../components/openweathermap/weather.py | 1 - homeassistant/components/opple/light.py | 1 - homeassistant/components/orvibo/switch.py | 1 - homeassistant/components/osramlightify/light.py | 1 - homeassistant/components/otp/sensor.py | 1 - homeassistant/components/owlet/__init__.py | 1 - homeassistant/components/owntracks/__init__.py | 2 -- .../components/owntracks/device_tracker.py | 1 - .../components/panasonic_bluray/media_player.py | 1 - .../components/panasonic_viera/media_player.py | 1 - .../components/pandora/media_player.py | 1 - .../components/panel_custom/__init__.py | 1 - .../components/panel_iframe/__init__.py | 1 - homeassistant/components/pencom/switch.py | 1 - .../components/philips_js/media_player.py | 1 - homeassistant/components/pi_hole/sensor.py | 1 - homeassistant/components/piglow/light.py | 1 - homeassistant/components/pilight/__init__.py | 1 - .../components/pilight/binary_sensor.py | 1 - homeassistant/components/pilight/sensor.py | 1 - homeassistant/components/pilight/switch.py | 1 - homeassistant/components/pjlink/media_player.py | 1 - homeassistant/components/plant/__init__.py | 1 - homeassistant/components/plex/media_player.py | 1 - homeassistant/components/plex/sensor.py | 1 - .../components/plum_lightpad/__init__.py | 1 - homeassistant/components/plum_lightpad/light.py | 1 - homeassistant/components/pocketcasts/sensor.py | 1 - homeassistant/components/point/__init__.py | 2 -- homeassistant/components/pollen/sensor.py | 1 - homeassistant/components/postnl/sensor.py | 1 - .../components/prezzibenzina/sensor.py | 1 - homeassistant/components/proliphix/climate.py | 1 - homeassistant/components/prometheus/__init__.py | 2 -- homeassistant/components/proximity/__init__.py | 1 - homeassistant/components/proxy/camera.py | 1 - homeassistant/components/ps4/__init__.py | 1 - homeassistant/components/ps4/media_player.py | 1 - homeassistant/components/push/camera.py | 1 - homeassistant/components/pushbullet/notify.py | 1 - homeassistant/components/pushbullet/sensor.py | 1 - homeassistant/components/pushetta/notify.py | 1 - homeassistant/components/pushover/notify.py | 1 - .../components/python_script/__init__.py | 1 - homeassistant/components/qbittorrent/sensor.py | 1 - homeassistant/components/qnap/sensor.py | 1 - .../components/qrcode/image_processing.py | 1 - .../quantum_gateway/device_tracker.py | 1 - homeassistant/components/qwikswitch/__init__.py | 1 - .../components/qwikswitch/binary_sensor.py | 1 - homeassistant/components/qwikswitch/light.py | 1 - homeassistant/components/qwikswitch/sensor.py | 1 - homeassistant/components/qwikswitch/switch.py | 1 - homeassistant/components/rachio/__init__.py | 1 - .../components/rachio/binary_sensor.py | 1 - homeassistant/components/rachio/switch.py | 1 - homeassistant/components/radiotherm/climate.py | 1 - homeassistant/components/rainbird/__init__.py | 1 - homeassistant/components/rainbird/sensor.py | 1 - homeassistant/components/rainbird/switch.py | 1 - homeassistant/components/raincloud/__init__.py | 1 - .../components/raincloud/binary_sensor.py | 1 - homeassistant/components/raincloud/sensor.py | 1 - homeassistant/components/raincloud/switch.py | 1 - .../components/rainmachine/__init__.py | 1 - .../components/rainmachine/binary_sensor.py | 1 - homeassistant/components/rainmachine/sensor.py | 1 - homeassistant/components/rainmachine/switch.py | 1 - homeassistant/components/raspihats/__init__.py | 1 - .../components/raspihats/binary_sensor.py | 1 - homeassistant/components/raspihats/switch.py | 1 - homeassistant/components/raspyrfm/switch.py | 1 - .../components/recollect_waste/sensor.py | 1 - homeassistant/components/recorder/__init__.py | 1 - homeassistant/components/recswitch/switch.py | 1 - homeassistant/components/reddit/sensor.py | 1 - homeassistant/components/rejseplanen/sensor.py | 1 - .../components/remember_the_milk/__init__.py | 1 - homeassistant/components/remote/__init__.py | 1 - homeassistant/components/rflink/__init__.py | 1 - .../components/rflink/binary_sensor.py | 1 - homeassistant/components/rflink/cover.py | 1 - homeassistant/components/rflink/light.py | 1 - homeassistant/components/rflink/sensor.py | 1 - homeassistant/components/rflink/switch.py | 1 - homeassistant/components/rfxtrx/__init__.py | 1 - .../components/rfxtrx/binary_sensor.py | 1 - homeassistant/components/rfxtrx/cover.py | 1 - homeassistant/components/rfxtrx/light.py | 1 - homeassistant/components/rfxtrx/sensor.py | 1 - homeassistant/components/rfxtrx/switch.py | 1 - homeassistant/components/ring/__init__.py | 1 - homeassistant/components/ring/binary_sensor.py | 1 - homeassistant/components/ring/camera.py | 1 - homeassistant/components/ring/sensor.py | 1 - homeassistant/components/ripple/sensor.py | 1 - .../components/ritassist/device_tracker.py | 1 - homeassistant/components/rmvtransport/sensor.py | 1 - homeassistant/components/rocketchat/notify.py | 1 - homeassistant/components/roku/__init__.py | 1 - homeassistant/components/roku/media_player.py | 1 - homeassistant/components/roku/remote.py | 1 - homeassistant/components/roomba/vacuum.py | 1 - homeassistant/components/route53/__init__.py | 1 - homeassistant/components/rova/sensor.py | 1 - homeassistant/components/rpi_gpio/__init__.py | 1 - .../components/rpi_gpio/binary_sensor.py | 1 - homeassistant/components/rpi_gpio/cover.py | 1 - homeassistant/components/rpi_gpio/switch.py | 1 - homeassistant/components/rpi_gpio_pwm/light.py | 1 - homeassistant/components/rpi_pfio/__init__.py | 1 - .../components/rpi_pfio/binary_sensor.py | 1 - homeassistant/components/rpi_pfio/switch.py | 1 - homeassistant/components/rpi_rf/switch.py | 1 - .../components/rss_feed_template/__init__.py | 1 - .../components/russound_rio/media_player.py | 1 - .../components/russound_rnet/media_player.py | 1 - homeassistant/components/ruter/sensor.py | 1 - homeassistant/components/sabnzbd/__init__.py | 1 - homeassistant/components/sabnzbd/sensor.py | 1 - .../components/samsungtv/media_player.py | 1 - .../components/satel_integra/__init__.py | 1 - .../satel_integra/alarm_control_panel.py | 1 - .../components/satel_integra/binary_sensor.py | 1 - homeassistant/components/scrape/sensor.py | 1 - homeassistant/components/script/__init__.py | 1 - homeassistant/components/scsgate/__init__.py | 1 - homeassistant/components/scsgate/cover.py | 1 - homeassistant/components/scsgate/light.py | 1 - homeassistant/components/scsgate/switch.py | 1 - homeassistant/components/season/sensor.py | 1 - homeassistant/components/sendgrid/notify.py | 1 - homeassistant/components/sense/__init__.py | 1 - homeassistant/components/sense/binary_sensor.py | 1 - homeassistant/components/sense/sensor.py | 1 - homeassistant/components/sensehat/light.py | 1 - homeassistant/components/sensehat/sensor.py | 1 - homeassistant/components/sensibo/climate.py | 1 - homeassistant/components/serial/sensor.py | 1 - homeassistant/components/serial_pm/sensor.py | 1 - homeassistant/components/sesame/lock.py | 1 - .../components/seventeentrack/sensor.py | 1 - homeassistant/components/shiftr/__init__.py | 1 - homeassistant/components/shodan/sensor.py | 1 - .../components/shopping_list/__init__.py | 1 - homeassistant/components/sht31/sensor.py | 2 -- homeassistant/components/simplepush/notify.py | 1 - homeassistant/components/simplisafe/__init__.py | 1 - homeassistant/components/sisyphus/__init__.py | 1 - homeassistant/components/sisyphus/light.py | 1 - .../components/sisyphus/media_player.py | 1 - homeassistant/components/skybeacon/sensor.py | 1 - homeassistant/components/skybell/__init__.py | 1 - .../components/skybell/binary_sensor.py | 1 - homeassistant/components/skybell/camera.py | 1 - homeassistant/components/skybell/light.py | 1 - homeassistant/components/skybell/sensor.py | 1 - homeassistant/components/skybell/switch.py | 1 - homeassistant/components/slack/notify.py | 1 - homeassistant/components/sleepiq/__init__.py | 1 - .../components/sleepiq/binary_sensor.py | 1 - homeassistant/components/sleepiq/sensor.py | 1 - homeassistant/components/sma/sensor.py | 1 - homeassistant/components/smappee/__init__.py | 1 - homeassistant/components/smappee/sensor.py | 1 - homeassistant/components/smappee/switch.py | 1 - .../components/smartthings/__init__.py | 2 -- .../components/smartthings/binary_sensor.py | 1 - homeassistant/components/smartthings/climate.py | 1 - homeassistant/components/smartthings/cover.py | 1 - homeassistant/components/smartthings/fan.py | 1 - homeassistant/components/smartthings/light.py | 1 - homeassistant/components/smartthings/lock.py | 1 - homeassistant/components/smartthings/scene.py | 1 - homeassistant/components/smartthings/sensor.py | 1 - homeassistant/components/smartthings/switch.py | 1 - homeassistant/components/smhi/__init__.py | 1 - homeassistant/components/smhi/weather.py | 1 - .../components/snapcast/media_player.py | 1 - homeassistant/components/snips/__init__.py | 1 - homeassistant/components/snmp/device_tracker.py | 1 - homeassistant/components/snmp/sensor.py | 1 - homeassistant/components/snmp/switch.py | 1 - homeassistant/components/sochain/sensor.py | 1 - homeassistant/components/socialblade/sensor.py | 1 - homeassistant/components/solaredge/sensor.py | 1 - .../components/somfy_mylink/__init__.py | 1 - homeassistant/components/somfy_mylink/cover.py | 1 - .../components/songpal/media_player.py | 1 - homeassistant/components/sonos/__init__.py | 1 - .../components/sony_projector/switch.py | 1 - .../components/soundtouch/media_player.py | 1 - homeassistant/components/spaceapi/__init__.py | 1 - homeassistant/components/spc/__init__.py | 1 - .../components/speedtestdotnet/__init__.py | 1 - .../components/speedtestdotnet/sensor.py | 1 - homeassistant/components/spider/__init__.py | 1 - homeassistant/components/spider/climate.py | 1 - homeassistant/components/spider/switch.py | 1 - homeassistant/components/spotcrime/sensor.py | 1 - .../components/spotify/media_player.py | 2 -- homeassistant/components/sql/sensor.py | 1 - homeassistant/components/srp_energy/sensor.py | 1 - homeassistant/components/starlingbank/sensor.py | 1 - homeassistant/components/startca/sensor.py | 1 - homeassistant/components/statsd/__init__.py | 1 - homeassistant/components/steam_online/sensor.py | 1 - homeassistant/components/stream/__init__.py | 2 -- homeassistant/components/stride/notify.py | 1 - .../swiss_hydrological_data/sensor.py | 1 - .../components/swiss_public_transport/sensor.py | 1 - homeassistant/components/switch/__init__.py | 1 - homeassistant/components/switchbot/switch.py | 1 - homeassistant/components/switchmate/switch.py | 1 - homeassistant/components/syncthru/sensor.py | 1 - homeassistant/components/synology/camera.py | 1 - .../components/synology_srm/device_tracker.py | 1 - homeassistant/components/synologydsm/sensor.py | 1 - .../components/system_health/__init__.py | 1 - homeassistant/components/system_log/__init__.py | 1 - .../components/systemmonitor/sensor.py | 1 - homeassistant/components/sytadin/sensor.py | 1 - homeassistant/components/tado/__init__.py | 1 - homeassistant/components/tahoma/__init__.py | 1 - .../components/tahoma/binary_sensor.py | 1 - homeassistant/components/tahoma/cover.py | 1 - homeassistant/components/tahoma/scene.py | 1 - homeassistant/components/tahoma/sensor.py | 1 - homeassistant/components/tahoma/switch.py | 1 - homeassistant/components/tank_utility/sensor.py | 3 --- .../components/tapsaff/binary_sensor.py | 1 - homeassistant/components/tautulli/sensor.py | 1 - homeassistant/components/ted5000/sensor.py | 1 - homeassistant/components/telegram/notify.py | 1 - .../components/telegram_bot/__init__.py | 1 - .../components/telegram_bot/webhooks.py | 1 - .../components/tellduslive/__init__.py | 1 - homeassistant/components/tellstick/__init__.py | 1 - homeassistant/components/tellstick/sensor.py | 1 - homeassistant/components/temper/sensor.py | 1 - .../components/tensorflow/image_processing.py | 1 - homeassistant/components/tesla/__init__.py | 1 - homeassistant/components/tesla/binary_sensor.py | 1 - homeassistant/components/tesla/climate.py | 1 - .../components/tesla/device_tracker.py | 1 - homeassistant/components/tesla/lock.py | 1 - homeassistant/components/tesla/sensor.py | 1 - homeassistant/components/tesla/switch.py | 1 - homeassistant/components/tfiac/climate.py | 1 - .../components/thermoworks_smoke/sensor.py | 1 - .../components/thethingsnetwork/sensor.py | 1 - homeassistant/components/thingspeak/__init__.py | 1 - .../components/thinkingcleaner/sensor.py | 1 - .../components/thinkingcleaner/switch.py | 1 - homeassistant/components/tibber/__init__.py | 1 - homeassistant/components/tikteck/light.py | 1 - homeassistant/components/tile/device_tracker.py | 1 - homeassistant/components/todoist/calendar.py | 1 - homeassistant/components/tof/sensor.py | 2 -- homeassistant/components/toon/__init__.py | 1 - homeassistant/components/toon/binary_sensor.py | 1 - homeassistant/components/toon/climate.py | 1 - homeassistant/components/toon/sensor.py | 1 - homeassistant/components/torque/sensor.py | 1 - .../totalconnect/alarm_control_panel.py | 1 - homeassistant/components/touchline/climate.py | 1 - homeassistant/components/tplink/__init__.py | 1 - .../components/tplink/device_tracker.py | 1 - homeassistant/components/tplink/light.py | 1 - homeassistant/components/tplink/switch.py | 1 - homeassistant/components/tplink_lte/__init__.py | 1 - homeassistant/components/tplink_lte/notify.py | 1 - .../components/traccar/device_tracker.py | 1 - .../components/trackr/device_tracker.py | 1 - homeassistant/components/tradfri/__init__.py | 1 - homeassistant/components/tradfri/light.py | 1 - homeassistant/components/tradfri/sensor.py | 1 - homeassistant/components/tradfri/switch.py | 1 - .../trafikverket_weatherstation/sensor.py | 1 - .../components/transmission/__init__.py | 1 - homeassistant/components/transmission/sensor.py | 1 - homeassistant/components/transmission/switch.py | 1 - .../components/transport_nsw/sensor.py | 1 - homeassistant/components/travisci/sensor.py | 1 - homeassistant/components/trend/binary_sensor.py | 1 - homeassistant/components/tts/__init__.py | 2 -- homeassistant/components/tuya/__init__.py | 1 - homeassistant/components/tuya/climate.py | 1 - homeassistant/components/tuya/cover.py | 1 - homeassistant/components/tuya/fan.py | 1 - homeassistant/components/tuya/light.py | 1 - homeassistant/components/tuya/scene.py | 1 - homeassistant/components/tuya/switch.py | 1 - homeassistant/components/twilio/__init__.py | 2 -- homeassistant/components/twilio_call/notify.py | 1 - homeassistant/components/twilio_sms/notify.py | 1 - homeassistant/components/twitch/sensor.py | 1 - homeassistant/components/twitter/notify.py | 1 - homeassistant/components/ubee/device_tracker.py | 1 - homeassistant/components/uber/sensor.py | 1 - homeassistant/components/unifi/__init__.py | 1 - .../components/unifi/device_tracker.py | 1 - homeassistant/components/unifi/switch.py | 1 - .../components/unifi_direct/device_tracker.py | 1 - .../components/upc_connect/device_tracker.py | 1 - homeassistant/components/upcloud/__init__.py | 1 - .../components/upcloud/binary_sensor.py | 1 - homeassistant/components/upcloud/switch.py | 1 - homeassistant/components/updater/__init__.py | 1 - homeassistant/components/upnp/__init__.py | 1 - homeassistant/components/upnp/sensor.py | 1 - homeassistant/components/ups/sensor.py | 1 - .../components/uptimerobot/binary_sensor.py | 1 - homeassistant/components/uscis/sensor.py | 1 - .../usgs_earthquakes_feed/geo_location.py | 1 - homeassistant/components/usps/__init__.py | 1 - homeassistant/components/usps/camera.py | 1 - homeassistant/components/usps/sensor.py | 1 - homeassistant/components/uvc/camera.py | 1 - homeassistant/components/vacuum/__init__.py | 1 - homeassistant/components/vasttrafik/sensor.py | 1 - homeassistant/components/velbus/__init__.py | 1 - .../components/velbus/binary_sensor.py | 1 - homeassistant/components/velbus/climate.py | 1 - homeassistant/components/velbus/cover.py | 1 - homeassistant/components/velbus/sensor.py | 1 - homeassistant/components/velbus/switch.py | 1 - homeassistant/components/velux/__init__.py | 1 - homeassistant/components/velux/cover.py | 1 - homeassistant/components/velux/scene.py | 1 - homeassistant/components/venstar/climate.py | 1 - homeassistant/components/vera/__init__.py | 1 - homeassistant/components/vera/binary_sensor.py | 1 - homeassistant/components/vera/climate.py | 1 - homeassistant/components/vera/cover.py | 1 - homeassistant/components/vera/light.py | 1 - homeassistant/components/vera/lock.py | 1 - homeassistant/components/vera/scene.py | 1 - homeassistant/components/vera/sensor.py | 1 - homeassistant/components/vera/switch.py | 1 - homeassistant/components/verisure/__init__.py | 1 - homeassistant/components/version/sensor.py | 1 - homeassistant/components/vesync/switch.py | 1 - homeassistant/components/vizio/media_player.py | 1 - homeassistant/components/vlc/media_player.py | 1 - homeassistant/components/volkszaehler/sensor.py | 1 - .../components/volvooncall/__init__.py | 1 - homeassistant/components/vultr/__init__.py | 1 - homeassistant/components/vultr/binary_sensor.py | 1 - homeassistant/components/vultr/sensor.py | 1 - homeassistant/components/vultr/switch.py | 1 - homeassistant/components/w800rf32/__init__.py | 1 - .../components/w800rf32/binary_sensor.py | 1 - .../components/wake_on_lan/__init__.py | 1 - homeassistant/components/wake_on_lan/switch.py | 1 - homeassistant/components/waqi/sensor.py | 1 - .../components/waterfurnace/__init__.py | 1 - homeassistant/components/watson_iot/__init__.py | 1 - .../components/waze_travel_time/sensor.py | 1 - homeassistant/components/webhook/__init__.py | 1 - .../components/webostv/media_player.py | 1 - homeassistant/components/webostv/notify.py | 1 - homeassistant/components/wemo/__init__.py | 1 - homeassistant/components/wemo/binary_sensor.py | 1 - homeassistant/components/wemo/fan.py | 1 - homeassistant/components/wemo/light.py | 1 - homeassistant/components/wemo/switch.py | 1 - homeassistant/components/whois/sensor.py | 1 - homeassistant/components/wink/__init__.py | 1 - .../components/wink/alarm_control_panel.py | 1 - homeassistant/components/wink/binary_sensor.py | 1 - homeassistant/components/wink/climate.py | 1 - homeassistant/components/wink/cover.py | 1 - homeassistant/components/wink/fan.py | 1 - homeassistant/components/wink/light.py | 1 - homeassistant/components/wink/lock.py | 1 - homeassistant/components/wink/scene.py | 1 - homeassistant/components/wink/sensor.py | 1 - homeassistant/components/wink/switch.py | 1 - .../components/wirelesstag/__init__.py | 1 - .../components/wirelesstag/binary_sensor.py | 1 - homeassistant/components/wirelesstag/sensor.py | 1 - homeassistant/components/wirelesstag/switch.py | 1 - .../components/workday/binary_sensor.py | 1 - homeassistant/components/wunderlist/__init__.py | 1 - homeassistant/components/xbox_live/sensor.py | 1 - homeassistant/components/xeoma/camera.py | 1 - .../components/xfinity/device_tracker.py | 1 - homeassistant/components/xiaomi/camera.py | 1 - .../components/xiaomi_aqara/__init__.py | 1 - .../components/xiaomi_miio/device_tracker.py | 1 - homeassistant/components/xiaomi_miio/fan.py | 1 - homeassistant/components/xiaomi_miio/light.py | 1 - homeassistant/components/xiaomi_miio/remote.py | 1 - homeassistant/components/xiaomi_miio/sensor.py | 1 - homeassistant/components/xiaomi_miio/switch.py | 1 - homeassistant/components/xiaomi_miio/vacuum.py | 1 - .../components/xiaomi_tv/media_player.py | 1 - homeassistant/components/xmpp/notify.py | 1 - homeassistant/components/xs1/__init__.py | 1 - homeassistant/components/xs1/climate.py | 1 - homeassistant/components/xs1/sensor.py | 1 - homeassistant/components/xs1/switch.py | 1 - .../yale_smart_alarm/alarm_control_panel.py | 1 - homeassistant/components/yamaha/media_player.py | 1 - .../components/yamaha_musiccast/media_player.py | 1 - homeassistant/components/yeelight/__init__.py | 1 - .../components/yeelight/binary_sensor.py | 1 - homeassistant/components/yeelight/light.py | 1 - .../components/yeelightsunflower/light.py | 1 - homeassistant/components/yessssms/notify.py | 1 - homeassistant/components/yi/camera.py | 2 -- homeassistant/components/yr/sensor.py | 1 - homeassistant/components/yweather/sensor.py | 1 - homeassistant/components/yweather/weather.py | 1 - homeassistant/components/zabbix/__init__.py | 1 - homeassistant/components/zabbix/sensor.py | 1 - homeassistant/components/zengge/light.py | 1 - homeassistant/components/zeroconf/__init__.py | 2 -- homeassistant/components/zestimate/sensor.py | 1 - homeassistant/components/zha/__init__.py | 7 ------- homeassistant/components/zha/binary_sensor.py | 1 - homeassistant/components/zha/fan.py | 1 - homeassistant/components/zha/light.py | 1 - homeassistant/components/zha/sensor.py | 1 - homeassistant/components/zha/switch.py | 1 - homeassistant/components/zhong_hong/climate.py | 1 - homeassistant/components/zigbee/__init__.py | 1 - .../components/zigbee/binary_sensor.py | 1 - homeassistant/components/zigbee/light.py | 1 - homeassistant/components/zigbee/sensor.py | 1 - homeassistant/components/zigbee/switch.py | 2 -- .../ziggo_mediabox_xl/media_player.py | 1 - homeassistant/components/zoneminder/__init__.py | 1 - .../components/zoneminder/binary_sensor.py | 1 - homeassistant/components/zoneminder/camera.py | 1 - homeassistant/components/zoneminder/sensor.py | 1 - homeassistant/components/zoneminder/switch.py | 1 - homeassistant/components/zwave/__init__.py | 1 - 1155 files changed, 1225 deletions(-) diff --git a/homeassistant/components/abode/__init__.py b/homeassistant/components/abode/__init__.py index 591bae1a9cf665..3739eb50533349 100644 --- a/homeassistant/components/abode/__init__.py +++ b/homeassistant/components/abode/__init__.py @@ -13,7 +13,6 @@ from homeassistant.helpers import discovery from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['abodepy==0.15.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/abode/alarm_control_panel.py b/homeassistant/components/abode/alarm_control_panel.py index d7426e04166dc5..2205d3a3b427bd 100644 --- a/homeassistant/components/abode/alarm_control_panel.py +++ b/homeassistant/components/abode/alarm_control_panel.py @@ -8,7 +8,6 @@ from . import ATTRIBUTION, DOMAIN as ABODE_DOMAIN, AbodeDevice -DEPENDENCIES = ['abode'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/abode/binary_sensor.py b/homeassistant/components/abode/binary_sensor.py index 874723420ed811..faf250a3b918e8 100644 --- a/homeassistant/components/abode/binary_sensor.py +++ b/homeassistant/components/abode/binary_sensor.py @@ -7,7 +7,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['abode'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/abode/camera.py b/homeassistant/components/abode/camera.py index d37644eccc397e..5c4f1d12dc6baa 100644 --- a/homeassistant/components/abode/camera.py +++ b/homeassistant/components/abode/camera.py @@ -9,7 +9,6 @@ from . import DOMAIN as ABODE_DOMAIN, AbodeDevice -DEPENDENCIES = ['abode'] MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=90) diff --git a/homeassistant/components/abode/cover.py b/homeassistant/components/abode/cover.py index c40159164dc4db..fd34cfa37c19d3 100644 --- a/homeassistant/components/abode/cover.py +++ b/homeassistant/components/abode/cover.py @@ -5,7 +5,6 @@ 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 9e88acce41f053..69928687a6d63e 100644 --- a/homeassistant/components/abode/light.py +++ b/homeassistant/components/abode/light.py @@ -10,7 +10,6 @@ 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 0f568a4ace2492..7fbe0c73300e93 100644 --- a/homeassistant/components/abode/lock.py +++ b/homeassistant/components/abode/lock.py @@ -5,7 +5,6 @@ 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 ef6941c76d8b5f..af187e19adca39 100644 --- a/homeassistant/components/abode/sensor.py +++ b/homeassistant/components/abode/sensor.py @@ -8,7 +8,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['abode'] # Sensor types: Name, icon SENSOR_TYPES = { diff --git a/homeassistant/components/abode/switch.py b/homeassistant/components/abode/switch.py index 3e3ce031855fd0..5d7262c4f27161 100644 --- a/homeassistant/components/abode/switch.py +++ b/homeassistant/components/abode/switch.py @@ -7,7 +7,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['abode'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/acer_projector/switch.py b/homeassistant/components/acer_projector/switch.py index df6fb8816aae47..bccd2e36fcb478 100644 --- a/homeassistant/components/acer_projector/switch.py +++ b/homeassistant/components/acer_projector/switch.py @@ -9,7 +9,6 @@ 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__) diff --git a/homeassistant/components/ads/__init__.py b/homeassistant/components/ads/__init__.py index 92c6ecb3335147..ffb72b41b2cdbb 100644 --- a/homeassistant/components/ads/__init__.py +++ b/homeassistant/components/ads/__init__.py @@ -14,7 +14,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyads==3.0.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ads/binary_sensor.py b/homeassistant/components/ads/binary_sensor.py index baa44cb498fe04..01916035eeb4c8 100644 --- a/homeassistant/components/ads/binary_sensor.py +++ b/homeassistant/components/ads/binary_sensor.py @@ -13,7 +13,6 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'ADS binary sensor' -DEPENDENCIES = ['ads'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADS_VAR): cv.string, diff --git a/homeassistant/components/ads/light.py b/homeassistant/components/ads/light.py index 49961565dced77..5168f49acdce08 100644 --- a/homeassistant/components/ads/light.py +++ b/homeassistant/components/ads/light.py @@ -12,7 +12,6 @@ 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 e74b8753d4b042..8e186bdcbe9db0 100644 --- a/homeassistant/components/ads/sensor.py +++ b/homeassistant/components/ads/sensor.py @@ -14,7 +14,6 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = "ADS sensor" -DEPENDENCIES = ['ads'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADS_VAR): cv.string, diff --git a/homeassistant/components/ads/switch.py b/homeassistant/components/ads/switch.py index 0dfbeb811a068b..161feebddf810b 100644 --- a/homeassistant/components/ads/switch.py +++ b/homeassistant/components/ads/switch.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ads'] DEFAULT_NAME = 'ADS Switch' diff --git a/homeassistant/components/aftership/sensor.py b/homeassistant/components/aftership/sensor.py index 18bc3cb34304bc..8148589ddd7f78 100644 --- a/homeassistant/components/aftership/sensor.py +++ b/homeassistant/components/aftership/sensor.py @@ -11,7 +11,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pyaftership==0.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/airvisual/sensor.py b/homeassistant/components/airvisual/sensor.py index 7fad7bb35be0ec..55670020133054 100644 --- a/homeassistant/components/airvisual/sensor.py +++ b/homeassistant/components/airvisual/sensor.py @@ -13,7 +13,6 @@ 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 01146fecbb667c..f92cad73f5e657 100644 --- a/homeassistant/components/aladdin_connect/cover.py +++ b/homeassistant/components/aladdin_connect/cover.py @@ -9,7 +9,6 @@ STATE_OPENING, STATE_CLOSING, STATE_OPEN) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['aladdin_connect==0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/alarmdecoder/__init__.py b/homeassistant/components/alarmdecoder/__init__.py index 5b1296b39de2c3..0c83183e286e6f 100644 --- a/homeassistant/components/alarmdecoder/__init__.py +++ b/homeassistant/components/alarmdecoder/__init__.py @@ -10,7 +10,6 @@ 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__) diff --git a/homeassistant/components/alarmdecoder/alarm_control_panel.py b/homeassistant/components/alarmdecoder/alarm_control_panel.py index d7eced933ddbd1..4e325839e1e5e5 100644 --- a/homeassistant/components/alarmdecoder/alarm_control_panel.py +++ b/homeassistant/components/alarmdecoder/alarm_control_panel.py @@ -13,7 +13,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['alarmdecoder'] SERVICE_ALARM_TOGGLE_CHIME = 'alarmdecoder_alarm_toggle_chime' ALARM_TOGGLE_CHIME_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/alarmdecoder/binary_sensor.py b/homeassistant/components/alarmdecoder/binary_sensor.py index 09e63b4d664348..11b511f24e8c99 100644 --- a/homeassistant/components/alarmdecoder/binary_sensor.py +++ b/homeassistant/components/alarmdecoder/binary_sensor.py @@ -8,7 +8,6 @@ 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__) diff --git a/homeassistant/components/alarmdecoder/sensor.py b/homeassistant/components/alarmdecoder/sensor.py index 88371dad17a345..3afa4a9b9de52e 100644 --- a/homeassistant/components/alarmdecoder/sensor.py +++ b/homeassistant/components/alarmdecoder/sensor.py @@ -7,7 +7,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['alarmdecoder'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/alarmdotcom/alarm_control_panel.py b/homeassistant/components/alarmdotcom/alarm_control_panel.py index ea581aca747fc8..facb536d4f7f0f 100644 --- a/homeassistant/components/alarmdotcom/alarm_control_panel.py +++ b/homeassistant/components/alarmdotcom/alarm_control_panel.py @@ -12,7 +12,6 @@ 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__) diff --git a/homeassistant/components/alexa/__init__.py b/homeassistant/components/alexa/__init__.py index 062d698d5122a8..ca9260609cbfe8 100644 --- a/homeassistant/components/alexa/__init__.py +++ b/homeassistant/components/alexa/__init__.py @@ -17,7 +17,6 @@ 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, diff --git a/homeassistant/components/alpha_vantage/sensor.py b/homeassistant/components/alpha_vantage/sensor.py index 0eb57e5b27aeee..d22ea3caea16ea 100644 --- a/homeassistant/components/alpha_vantage/sensor.py +++ b/homeassistant/components/alpha_vantage/sensor.py @@ -10,7 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['alpha_vantage==2.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/amazon_polly/tts.py b/homeassistant/components/amazon_polly/tts.py index d29ae32fb5723f..2d6c4c69184ab9 100644 --- a/homeassistant/components/amazon_polly/tts.py +++ b/homeassistant/components/amazon_polly/tts.py @@ -6,7 +6,6 @@ from homeassistant.components.tts import PLATFORM_SCHEMA, Provider import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['boto3==1.9.16'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ambient_station/__init__.py b/homeassistant/components/ambient_station/__init__.py index 944d4e14e7d26d..52b344cf9f395b 100644 --- a/homeassistant/components/ambient_station/__init__.py +++ b/homeassistant/components/ambient_station/__init__.py @@ -20,7 +20,6 @@ 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__) diff --git a/homeassistant/components/ambient_station/binary_sensor.py b/homeassistant/components/ambient_station/binary_sensor.py index 04a38901683d94..4afeb4ce5563ef 100644 --- a/homeassistant/components/ambient_station/binary_sensor.py +++ b/homeassistant/components/ambient_station/binary_sensor.py @@ -12,7 +12,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ambient_station'] async def async_setup_platform( diff --git a/homeassistant/components/ambient_station/sensor.py b/homeassistant/components/ambient_station/sensor.py index b394dc558e63c6..9c52acd37c053e 100644 --- a/homeassistant/components/ambient_station/sensor.py +++ b/homeassistant/components/ambient_station/sensor.py @@ -8,7 +8,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ambient_station'] async def async_setup_platform( diff --git a/homeassistant/components/amcrest/__init__.py b/homeassistant/components/amcrest/__init__.py index a4c020efcdfa13..9f8d78eaf214f6 100644 --- a/homeassistant/components/amcrest/__init__.py +++ b/homeassistant/components/amcrest/__init__.py @@ -12,8 +12,6 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['amcrest==1.3.0'] -DEPENDENCIES = ['ffmpeg'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/amcrest/binary_sensor.py b/homeassistant/components/amcrest/binary_sensor.py index 113918ed041c3e..8fefd09075d355 100644 --- a/homeassistant/components/amcrest/binary_sensor.py +++ b/homeassistant/components/amcrest/binary_sensor.py @@ -7,7 +7,6 @@ from homeassistant.const import CONF_NAME, CONF_BINARY_SENSORS from . import DATA_AMCREST, BINARY_SENSORS -DEPENDENCIES = ['amcrest'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/amcrest/camera.py b/homeassistant/components/amcrest/camera.py index f361c4e0183e6b..884ea79694fae2 100644 --- a/homeassistant/components/amcrest/camera.py +++ b/homeassistant/components/amcrest/camera.py @@ -12,7 +12,6 @@ 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 119520e6a03b5e..ee55846cc34444 100644 --- a/homeassistant/components/amcrest/sensor.py +++ b/homeassistant/components/amcrest/sensor.py @@ -7,7 +7,6 @@ from . import DATA_AMCREST, SENSORS -DEPENDENCIES = ['amcrest'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/amcrest/switch.py b/homeassistant/components/amcrest/switch.py index 0bbd290b3ac253..9714c78ddaa0c5 100644 --- a/homeassistant/components/amcrest/switch.py +++ b/homeassistant/components/amcrest/switch.py @@ -8,7 +8,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['amcrest'] async def async_setup_platform( diff --git a/homeassistant/components/ampio/air_quality.py b/homeassistant/components/ampio/air_quality.py index f7aa98aec7c27c..6fd11b097150d8 100644 --- a/homeassistant/components/ampio/air_quality.py +++ b/homeassistant/components/ampio/air_quality.py @@ -11,7 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['asmog==0.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/android_ip_webcam/__init__.py b/homeassistant/components/android_ip_webcam/__init__.py index 600efd55a16a1d..dc0e500ffe68e4 100644 --- a/homeassistant/components/android_ip_webcam/__init__.py +++ b/homeassistant/components/android_ip_webcam/__init__.py @@ -21,7 +21,6 @@ from homeassistant.components.mjpeg.camera import ( CONF_MJPEG_URL, CONF_STILL_IMAGE_URL) -REQUIREMENTS = ['pydroid-ipcam==0.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/android_ip_webcam/binary_sensor.py b/homeassistant/components/android_ip_webcam/binary_sensor.py index c058c44c5034e1..13ef1d7acb30e9 100644 --- a/homeassistant/components/android_ip_webcam/binary_sensor.py +++ b/homeassistant/components/android_ip_webcam/binary_sensor.py @@ -3,7 +3,6 @@ from . import CONF_HOST, CONF_NAME, DATA_IP_WEBCAM, KEY_MAP, AndroidIPCamEntity -DEPENDENCIES = ['android_ip_webcam'] async def async_setup_platform( diff --git a/homeassistant/components/android_ip_webcam/sensor.py b/homeassistant/components/android_ip_webcam/sensor.py index 4d29493d64fba7..ed364d9f5ec94b 100644 --- a/homeassistant/components/android_ip_webcam/sensor.py +++ b/homeassistant/components/android_ip_webcam/sensor.py @@ -5,7 +5,6 @@ CONF_HOST, CONF_NAME, CONF_SENSORS, DATA_IP_WEBCAM, ICON_MAP, KEY_MAP, AndroidIPCamEntity) -DEPENDENCIES = ['android_ip_webcam'] async def async_setup_platform( diff --git a/homeassistant/components/android_ip_webcam/switch.py b/homeassistant/components/android_ip_webcam/switch.py index 0304c5747f71ae..d21755b2f844f1 100644 --- a/homeassistant/components/android_ip_webcam/switch.py +++ b/homeassistant/components/android_ip_webcam/switch.py @@ -5,7 +5,6 @@ CONF_HOST, CONF_NAME, CONF_SWITCHES, DATA_IP_WEBCAM, ICON_MAP, KEY_MAP, AndroidIPCamEntity) -DEPENDENCIES = ['android_ip_webcam'] async def async_setup_platform( diff --git a/homeassistant/components/androidtv/media_player.py b/homeassistant/components/androidtv/media_player.py index 706ef6f8402430..07edc55be0a12f 100644 --- a/homeassistant/components/androidtv/media_player.py +++ b/homeassistant/components/androidtv/media_player.py @@ -18,7 +18,6 @@ ANDROIDTV_DOMAIN = 'androidtv' -REQUIREMENTS = ['androidtv==0.0.15'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/anel_pwrctrl/switch.py b/homeassistant/components/anel_pwrctrl/switch.py index b9b3070b97e737..c034b74b0f091f 100644 --- a/homeassistant/components/anel_pwrctrl/switch.py +++ b/homeassistant/components/anel_pwrctrl/switch.py @@ -10,7 +10,6 @@ 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__) diff --git a/homeassistant/components/anthemav/media_player.py b/homeassistant/components/anthemav/media_player.py index c7ee579bc17cb0..e03ac240a99f2c 100644 --- a/homeassistant/components/anthemav/media_player.py +++ b/homeassistant/components/anthemav/media_player.py @@ -13,7 +13,6 @@ STATE_ON) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['anthemav==1.1.10'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/apcupsd/__init__.py b/homeassistant/components/apcupsd/__init__.py index aab6f6dda018c6..8a9d121e34385c 100644 --- a/homeassistant/components/apcupsd/__init__.py +++ b/homeassistant/components/apcupsd/__init__.py @@ -8,7 +8,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['apcaccess==0.0.13'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/apcupsd/binary_sensor.py b/homeassistant/components/apcupsd/binary_sensor.py index 445dab9b0744a0..06adacc00ec1e0 100644 --- a/homeassistant/components/apcupsd/binary_sensor.py +++ b/homeassistant/components/apcupsd/binary_sensor.py @@ -8,7 +8,6 @@ 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 09f9b324bdd863..1e106033b83c92 100644 --- a/homeassistant/components/apcupsd/sensor.py +++ b/homeassistant/components/apcupsd/sensor.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = [apcupsd.DOMAIN] SENSOR_PREFIX = 'UPS ' SENSOR_TYPES = { diff --git a/homeassistant/components/api/__init__.py b/homeassistant/components/api/__init__.py index beba17ee2ea03b..08c753a6193a41 100644 --- a/homeassistant/components/api/__init__.py +++ b/homeassistant/components/api/__init__.py @@ -33,7 +33,6 @@ 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 d7f6559fe7eaad..863ae07f0916bb 100644 --- a/homeassistant/components/apns/notify.py +++ b/homeassistant/components/apns/notify.py @@ -13,7 +13,6 @@ 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' diff --git a/homeassistant/components/apple_tv/__init__.py b/homeassistant/components/apple_tv/__init__.py index b265dc533eb85c..b055a365e471e9 100644 --- a/homeassistant/components/apple_tv/__init__.py +++ b/homeassistant/components/apple_tv/__init__.py @@ -11,7 +11,6 @@ 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__) diff --git a/homeassistant/components/apple_tv/media_player.py b/homeassistant/components/apple_tv/media_player.py index e00ce6ed13bcd2..3122c6ab6fb107 100644 --- a/homeassistant/components/apple_tv/media_player.py +++ b/homeassistant/components/apple_tv/media_player.py @@ -14,7 +14,6 @@ from . import ATTR_ATV, ATTR_POWER, DATA_APPLE_TV, DATA_ENTITIES -DEPENDENCIES = ['apple_tv'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/apple_tv/remote.py b/homeassistant/components/apple_tv/remote.py index 25b500ac09d6ea..5bd5cc9afc04ea 100644 --- a/homeassistant/components/apple_tv/remote.py +++ b/homeassistant/components/apple_tv/remote.py @@ -4,7 +4,6 @@ from . import ATTR_ATV, ATTR_POWER, DATA_APPLE_TV -DEPENDENCIES = ['apple_tv'] async def async_setup_platform( diff --git a/homeassistant/components/aqualogic/__init__.py b/homeassistant/components/aqualogic/__init__.py index a4f83b573f73b7..6ffd01e34d6a86 100644 --- a/homeassistant/components/aqualogic/__init__.py +++ b/homeassistant/components/aqualogic/__init__.py @@ -11,7 +11,6 @@ EVENT_HOMEASSISTANT_STOP) from homeassistant.helpers import config_validation as cv -REQUIREMENTS = ["aqualogic==1.0"] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/aqualogic/sensor.py b/homeassistant/components/aqualogic/sensor.py index dc06a2127e941d..6dc0ba9d5bc4ad 100644 --- a/homeassistant/components/aqualogic/sensor.py +++ b/homeassistant/components/aqualogic/sensor.py @@ -14,7 +14,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['aqualogic'] TEMP_UNITS = [TEMP_CELSIUS, TEMP_FAHRENHEIT] PERCENT_UNITS = ['%', '%'] diff --git a/homeassistant/components/aqualogic/switch.py b/homeassistant/components/aqualogic/switch.py index 21e573f944b6d2..97125c4f9de150 100644 --- a/homeassistant/components/aqualogic/switch.py +++ b/homeassistant/components/aqualogic/switch.py @@ -10,7 +10,6 @@ from . import DOMAIN, UPDATE_TOPIC -DEPENDENCIES = ['aqualogic'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/aquostv/media_player.py b/homeassistant/components/aquostv/media_player.py index 0ffe48d21ec61f..bd9f5147b7b678 100644 --- a/homeassistant/components/aquostv/media_player.py +++ b/homeassistant/components/aquostv/media_player.py @@ -15,7 +15,6 @@ CONF_USERNAME, STATE_OFF, STATE_ON) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['sharp_aquos_rc==0.3.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/arduino/__init__.py b/homeassistant/components/arduino/__init__.py index 351122e74f0e0f..f38d23b4047b1d 100644 --- a/homeassistant/components/arduino/__init__.py +++ b/homeassistant/components/arduino/__init__.py @@ -8,7 +8,6 @@ from homeassistant.const import CONF_PORT import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['PyMata==2.14'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/arduino/sensor.py b/homeassistant/components/arduino/sensor.py index ff758ea58470b5..e7674d1c471a8e 100644 --- a/homeassistant/components/arduino/sensor.py +++ b/homeassistant/components/arduino/sensor.py @@ -14,7 +14,6 @@ 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 947c5188766cd1..d7a596b86ca529 100644 --- a/homeassistant/components/arduino/switch.py +++ b/homeassistant/components/arduino/switch.py @@ -8,7 +8,6 @@ from homeassistant.const import CONF_NAME import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['arduino'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/arlo/__init__.py b/homeassistant/components/arlo/__init__.py index cbb720778e5e7e..2f0a85f2daeacb 100644 --- a/homeassistant/components/arlo/__init__.py +++ b/homeassistant/components/arlo/__init__.py @@ -11,7 +11,6 @@ from homeassistant.helpers.event import track_time_interval from homeassistant.helpers.dispatcher import dispatcher_send -REQUIREMENTS = ['pyarlo==0.2.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/arlo/alarm_control_panel.py b/homeassistant/components/arlo/alarm_control_panel.py index 3557ed125c6cda..1cd01e30a61692 100644 --- a/homeassistant/components/arlo/alarm_control_panel.py +++ b/homeassistant/components/arlo/alarm_control_panel.py @@ -22,7 +22,6 @@ CONF_AWAY_MODE_NAME = 'away_mode_name' CONF_NIGHT_MODE_NAME = 'night_mode_name' -DEPENDENCIES = ['arlo'] DISARMED = 'disarmed' diff --git a/homeassistant/components/arlo/camera.py b/homeassistant/components/arlo/camera.py index d4b00f0062503a..f42fe007c5246a 100644 --- a/homeassistant/components/arlo/camera.py +++ b/homeassistant/components/arlo/camera.py @@ -13,7 +13,6 @@ from . import DATA_ARLO, DEFAULT_BRAND, SIGNAL_UPDATE_ARLO -DEPENDENCIES = ['arlo', 'ffmpeg'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/arlo/sensor.py b/homeassistant/components/arlo/sensor.py index e08669eb80b60e..c7e67c5ccd7c3c 100644 --- a/homeassistant/components/arlo/sensor.py +++ b/homeassistant/components/arlo/sensor.py @@ -17,7 +17,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['arlo'] # sensor_type [ description, unit, icon ] SENSOR_TYPES = { diff --git a/homeassistant/components/aruba/device_tracker.py b/homeassistant/components/aruba/device_tracker.py index ed1fee25a6c837..f5b95112668fc5 100644 --- a/homeassistant/components/aruba/device_tracker.py +++ b/homeassistant/components/aruba/device_tracker.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pexpect==4.6.0'] _DEVICES_REGEX = re.compile( r'(?P([^\s]+)?)\s+' + diff --git a/homeassistant/components/arwn/sensor.py b/homeassistant/components/arwn/sensor.py index aef43c4b401556..94b552c6eba7e5 100644 --- a/homeassistant/components/arwn/sensor.py +++ b/homeassistant/components/arwn/sensor.py @@ -10,7 +10,6 @@ _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 db5d4e8d6eef12..682d04dc553d0f 100644 --- a/homeassistant/components/asterisk_cdr/mailbox.py +++ b/homeassistant/components/asterisk_cdr/mailbox.py @@ -11,7 +11,6 @@ _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 d8d3b194cd7f16..5520e6f217178f 100644 --- a/homeassistant/components/asterisk_mbox/__init__.py +++ b/homeassistant/components/asterisk_mbox/__init__.py @@ -10,7 +10,6 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_send, dispatcher_connect) -REQUIREMENTS = ['asterisk_mbox==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/asterisk_mbox/mailbox.py b/homeassistant/components/asterisk_mbox/mailbox.py index a3e7c3f4d61c13..97182dbf7ce19a 100644 --- a/homeassistant/components/asterisk_mbox/mailbox.py +++ b/homeassistant/components/asterisk_mbox/mailbox.py @@ -10,7 +10,6 @@ _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 9b004b5bc04fc4..1d421521cfdf1b 100644 --- a/homeassistant/components/asuswrt/__init__.py +++ b/homeassistant/components/asuswrt/__init__.py @@ -9,7 +9,6 @@ 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__) diff --git a/homeassistant/components/asuswrt/device_tracker.py b/homeassistant/components/asuswrt/device_tracker.py index d115e640ffa863..4d59b8a0fc99e6 100644 --- a/homeassistant/components/asuswrt/device_tracker.py +++ b/homeassistant/components/asuswrt/device_tracker.py @@ -5,7 +5,6 @@ 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 ac80a447e28716..774fb0d1a64992 100644 --- a/homeassistant/components/asuswrt/sensor.py +++ b/homeassistant/components/asuswrt/sensor.py @@ -5,7 +5,6 @@ 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 8e749dca46e5f7..ea16b377f07461 100644 --- a/homeassistant/components/august/__init__.py +++ b/homeassistant/components/august/__init__.py @@ -15,7 +15,6 @@ _CONFIGURING = {} -REQUIREMENTS = ['py-august==0.7.0'] DEFAULT_TIMEOUT = 10 ACTIVITY_FETCH_LIMIT = 10 diff --git a/homeassistant/components/august/binary_sensor.py b/homeassistant/components/august/binary_sensor.py index 3a69d41177d6c5..2a5fa9bf56d396 100644 --- a/homeassistant/components/august/binary_sensor.py +++ b/homeassistant/components/august/binary_sensor.py @@ -8,7 +8,6 @@ _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 53a9d78bc60419..c9a2a5452fa9e1 100644 --- a/homeassistant/components/august/camera.py +++ b/homeassistant/components/august/camera.py @@ -7,7 +7,6 @@ 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 e112eaa2592c31..8a2f994bf7b542 100644 --- a/homeassistant/components/august/lock.py +++ b/homeassistant/components/august/lock.py @@ -9,7 +9,6 @@ _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 d0157158aca6b2..38db92fe3a4e94 100644 --- a/homeassistant/components/auth/__init__.py +++ b/homeassistant/components/auth/__init__.py @@ -138,7 +138,6 @@ 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({ diff --git a/homeassistant/components/automatic/device_tracker.py b/homeassistant/components/automatic/device_tracker.py index 8abd81e63bea6d..44086f868fba88 100644 --- a/homeassistant/components/automatic/device_tracker.py +++ b/homeassistant/components/automatic/device_tracker.py @@ -18,7 +18,6 @@ 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__) @@ -34,7 +33,6 @@ DATA_REFRESH_TOKEN = 'refresh_token' DEFAULT_SCOPE = ['location', 'trip', 'vehicle:events', 'vehicle:profile'] DEFAULT_TIMEOUT = 5 -DEPENDENCIES = ['http'] EVENT_AUTOMATIC_UPDATE = 'automatic_update' diff --git a/homeassistant/components/automation/__init__.py b/homeassistant/components/automation/__init__.py index b1470582d59232..fa8b77da768dc2 100644 --- a/homeassistant/components/automation/__init__.py +++ b/homeassistant/components/automation/__init__.py @@ -21,7 +21,6 @@ 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 20c689d74cf438..b4a9b246fded86 100644 --- a/homeassistant/components/automation/litejet.py +++ b/homeassistant/components/automation/litejet.py @@ -9,7 +9,6 @@ import homeassistant.util.dt as dt_util from homeassistant.helpers.event import track_point_in_utc_time -DEPENDENCIES = ['litejet'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/automation/mqtt.py b/homeassistant/components/automation/mqtt.py index ff89cd47024c16..4c0ce88c7cf8fb 100644 --- a/homeassistant/components/automation/mqtt.py +++ b/homeassistant/components/automation/mqtt.py @@ -8,7 +8,6 @@ from homeassistant.const import (CONF_PLATFORM, CONF_PAYLOAD) import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['mqtt'] CONF_ENCODING = 'encoding' CONF_TOPIC = 'topic' diff --git a/homeassistant/components/avion/light.py b/homeassistant/components/avion/light.py index 65172025b56b51..956c5142ef6d58 100644 --- a/homeassistant/components/avion/light.py +++ b/homeassistant/components/avion/light.py @@ -12,7 +12,6 @@ CONF_USERNAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['avion==0.10'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/awair/sensor.py b/homeassistant/components/awair/sensor.py index 7fdcc6735495c1..4d01baf5e5d8bf 100644 --- a/homeassistant/components/awair/sensor.py +++ b/homeassistant/components/awair/sensor.py @@ -15,7 +15,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle, dt -REQUIREMENTS = ['python_awair==0.0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/aws/__init__.py b/homeassistant/components/aws/__init__.py index a15e56e9de89cd..9cfe4980d920ae 100644 --- a/homeassistant/components/aws/__init__.py +++ b/homeassistant/components/aws/__init__.py @@ -26,7 +26,6 @@ DOMAIN, ) -REQUIREMENTS = ["aiobotocore==0.10.2"] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/aws/notify.py b/homeassistant/components/aws/notify.py index 48b80b64ce2ee6..0e588deaf05cd4 100644 --- a/homeassistant/components/aws/notify.py +++ b/homeassistant/components/aws/notify.py @@ -21,7 +21,6 @@ DATA_SESSIONS, ) -DEPENDENCIES = ["aws"] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/axis/__init__.py b/homeassistant/components/axis/__init__.py index e9ed37477a5a02..ef172b79d4b459 100644 --- a/homeassistant/components/axis/__init__.py +++ b/homeassistant/components/axis/__init__.py @@ -11,7 +11,6 @@ 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), diff --git a/homeassistant/components/axis/binary_sensor.py b/homeassistant/components/axis/binary_sensor.py index 30e0e759a2cda3..c4fa15ad6f05e3 100644 --- a/homeassistant/components/axis/binary_sensor.py +++ b/homeassistant/components/axis/binary_sensor.py @@ -11,7 +11,6 @@ from .const import DOMAIN as AXIS_DOMAIN, LOGGER -DEPENDENCIES = [AXIS_DOMAIN] async def async_setup_entry(hass, config_entry, async_add_entities): diff --git a/homeassistant/components/axis/camera.py b/homeassistant/components/axis/camera.py index 62b694a99bb971..63c7c7ef753286 100644 --- a/homeassistant/components/axis/camera.py +++ b/homeassistant/components/axis/camera.py @@ -11,7 +11,6 @@ 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' diff --git a/homeassistant/components/baidu/tts.py b/homeassistant/components/baidu/tts.py index fbe27591ef535c..0774917cc5600d 100644 --- a/homeassistant/components/baidu/tts.py +++ b/homeassistant/components/baidu/tts.py @@ -7,7 +7,6 @@ from homeassistant.const import CONF_API_KEY import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ["baidu-aip==1.6.6"] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bbb_gpio/__init__.py b/homeassistant/components/bbb_gpio/__init__.py index 7749af8f335c48..99b84fb441305e 100644 --- a/homeassistant/components/bbb_gpio/__init__.py +++ b/homeassistant/components/bbb_gpio/__init__.py @@ -4,7 +4,6 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['Adafruit_BBIO==1.0.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bbb_gpio/binary_sensor.py b/homeassistant/components/bbb_gpio/binary_sensor.py index 1ee371dcc2a6ac..b30b2c0244ec4f 100644 --- a/homeassistant/components/bbb_gpio/binary_sensor.py +++ b/homeassistant/components/bbb_gpio/binary_sensor.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['bbb_gpio'] CONF_PINS = 'pins' CONF_BOUNCETIME = 'bouncetime' diff --git a/homeassistant/components/bbb_gpio/switch.py b/homeassistant/components/bbb_gpio/switch.py index 3ad46fd61aedfd..bafab2b9e90635 100644 --- a/homeassistant/components/bbb_gpio/switch.py +++ b/homeassistant/components/bbb_gpio/switch.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['bbb_gpio'] CONF_PINS = 'pins' CONF_INITIAL = 'initial' diff --git a/homeassistant/components/bbox/device_tracker.py b/homeassistant/components/bbox/device_tracker.py index badbcdc8a0bf56..62dcb045d92577 100644 --- a/homeassistant/components/bbox/device_tracker.py +++ b/homeassistant/components/bbox/device_tracker.py @@ -12,7 +12,6 @@ from homeassistant.util import Throttle import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pybbox==0.0.5-alpha'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bbox/sensor.py b/homeassistant/components/bbox/sensor.py index 5b3c31d1ddf241..78959382cee593 100644 --- a/homeassistant/components/bbox/sensor.py +++ b/homeassistant/components/bbox/sensor.py @@ -12,7 +12,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pybbox==0.0.5-alpha'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bh1750/sensor.py b/homeassistant/components/bh1750/sensor.py index e30eededa51b28..7ab48dd55e5f12 100644 --- a/homeassistant/components/bh1750/sensor.py +++ b/homeassistant/components/bh1750/sensor.py @@ -9,8 +9,6 @@ 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__) diff --git a/homeassistant/components/bitcoin/sensor.py b/homeassistant/components/bitcoin/sensor.py index 3bc14637a87631..822240b7965456 100644 --- a/homeassistant/components/bitcoin/sensor.py +++ b/homeassistant/components/bitcoin/sensor.py @@ -10,7 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['blockchain==1.4.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/blackbird/media_player.py b/homeassistant/components/blackbird/media_player.py index c66bc412160f0e..19ecf247a1d005 100644 --- a/homeassistant/components/blackbird/media_player.py +++ b/homeassistant/components/blackbird/media_player.py @@ -14,7 +14,6 @@ STATE_ON) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyblackbird==0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/blink/__init__.py b/homeassistant/components/blink/__init__.py index 488209e3689fc3..4633e81d59f516 100644 --- a/homeassistant/components/blink/__init__.py +++ b/homeassistant/components/blink/__init__.py @@ -10,7 +10,6 @@ CONF_BINARY_SENSORS, CONF_SENSORS, CONF_FILENAME, CONF_MONITORED_CONDITIONS, TEMP_FAHRENHEIT) -REQUIREMENTS = ['blinkpy==0.13.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/blink/alarm_control_panel.py b/homeassistant/components/blink/alarm_control_panel.py index 75e645dff5f3f9..795df522095452 100644 --- a/homeassistant/components/blink/alarm_control_panel.py +++ b/homeassistant/components/blink/alarm_control_panel.py @@ -9,7 +9,6 @@ _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 466b73caf5fd5a..1dfa666d4f48fb 100644 --- a/homeassistant/components/blink/binary_sensor.py +++ b/homeassistant/components/blink/binary_sensor.py @@ -4,7 +4,6 @@ from . import BINARY_SENSORS, BLINK_DATA -DEPENDENCIES = ['blink'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/blink/camera.py b/homeassistant/components/blink/camera.py index 1da3080e3ff074..abb2951f70a381 100644 --- a/homeassistant/components/blink/camera.py +++ b/homeassistant/components/blink/camera.py @@ -7,7 +7,6 @@ _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 0e97db9d7d410d..21965624d4b620 100644 --- a/homeassistant/components/blink/sensor.py +++ b/homeassistant/components/blink/sensor.py @@ -8,7 +8,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['blink'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/blinksticklight/light.py b/homeassistant/components/blinksticklight/light.py index 0d4c7b736f3d3d..851a298f358759 100644 --- a/homeassistant/components/blinksticklight/light.py +++ b/homeassistant/components/blinksticklight/light.py @@ -10,7 +10,6 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['blinkstick==1.1.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/blinkt/light.py b/homeassistant/components/blinkt/light.py index 57d19172614c9f..8442f691a129fa 100644 --- a/homeassistant/components/blinkt/light.py +++ b/homeassistant/components/blinkt/light.py @@ -11,7 +11,6 @@ from homeassistant.const import CONF_NAME import homeassistant.util.color as color_util -REQUIREMENTS = ['blinkt==0.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/blockchain/sensor.py b/homeassistant/components/blockchain/sensor.py index def1dc3309f9a9..7a821d437c1ac4 100644 --- a/homeassistant/components/blockchain/sensor.py +++ b/homeassistant/components/blockchain/sensor.py @@ -9,7 +9,6 @@ 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__) diff --git a/homeassistant/components/bloomsky/binary_sensor.py b/homeassistant/components/bloomsky/binary_sensor.py index c8763524de7631..8df2803364e0f7 100644 --- a/homeassistant/components/bloomsky/binary_sensor.py +++ b/homeassistant/components/bloomsky/binary_sensor.py @@ -10,7 +10,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['bloomsky'] SENSOR_TYPES = { 'Rain': 'moisture', diff --git a/homeassistant/components/bloomsky/camera.py b/homeassistant/components/bloomsky/camera.py index 5cb2e1adfe16ba..1468ac3eaaf4bc 100644 --- a/homeassistant/components/bloomsky/camera.py +++ b/homeassistant/components/bloomsky/camera.py @@ -5,7 +5,6 @@ from homeassistant.components.camera import Camera -DEPENDENCIES = ['bloomsky'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/bloomsky/sensor.py b/homeassistant/components/bloomsky/sensor.py index 7e6847f0e7ec2e..ff01b00910441b 100644 --- a/homeassistant/components/bloomsky/sensor.py +++ b/homeassistant/components/bloomsky/sensor.py @@ -10,7 +10,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['bloomsky'] # These are the available sensors SENSOR_TYPES = ['Temperature', diff --git a/homeassistant/components/bluesound/media_player.py b/homeassistant/components/bluesound/media_player.py index c4cd3572e75c3b..47626cf8208c6f 100644 --- a/homeassistant/components/bluesound/media_player.py +++ b/homeassistant/components/bluesound/media_player.py @@ -29,7 +29,6 @@ from homeassistant.util import Throttle import homeassistant.util.dt as dt_util -REQUIREMENTS = ['xmltodict==0.11.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bluetooth_le_tracker/device_tracker.py b/homeassistant/components/bluetooth_le_tracker/device_tracker.py index dfb5fa073b93de..2571805c786147 100644 --- a/homeassistant/components/bluetooth_le_tracker/device_tracker.py +++ b/homeassistant/components/bluetooth_le_tracker/device_tracker.py @@ -10,7 +10,6 @@ _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 3a4aa8880012d1..932db65d7af087 100644 --- a/homeassistant/components/bluetooth_tracker/device_tracker.py +++ b/homeassistant/components/bluetooth_tracker/device_tracker.py @@ -13,7 +13,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pybluez==0.22', 'bt_proximity==0.1.2'] BT_PREFIX = 'BT_' diff --git a/homeassistant/components/bme280/sensor.py b/homeassistant/components/bme280/sensor.py index 73982ecc628bb0..664bba8646b2eb 100644 --- a/homeassistant/components/bme280/sensor.py +++ b/homeassistant/components/bme280/sensor.py @@ -13,8 +13,6 @@ 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__) diff --git a/homeassistant/components/bme680/sensor.py b/homeassistant/components/bme680/sensor.py index 8f515cc469a265..2e791c8abef7fc 100644 --- a/homeassistant/components/bme680/sensor.py +++ b/homeassistant/components/bme680/sensor.py @@ -13,8 +13,6 @@ 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__) diff --git a/homeassistant/components/bmw_connected_drive/__init__.py b/homeassistant/components/bmw_connected_drive/__init__.py index e1ac30120d2115..f08854a69df8de 100644 --- a/homeassistant/components/bmw_connected_drive/__init__.py +++ b/homeassistant/components/bmw_connected_drive/__init__.py @@ -9,7 +9,6 @@ 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__) diff --git a/homeassistant/components/bmw_connected_drive/binary_sensor.py b/homeassistant/components/bmw_connected_drive/binary_sensor.py index deab157292d2f3..698ee1e04808d7 100644 --- a/homeassistant/components/bmw_connected_drive/binary_sensor.py +++ b/homeassistant/components/bmw_connected_drive/binary_sensor.py @@ -6,7 +6,6 @@ from . import DOMAIN as BMW_DOMAIN -DEPENDENCIES = ['bmw_connected_drive'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bmw_connected_drive/device_tracker.py b/homeassistant/components/bmw_connected_drive/device_tracker.py index 20e84e33e29bd3..4450b146c3e8fb 100644 --- a/homeassistant/components/bmw_connected_drive/device_tracker.py +++ b/homeassistant/components/bmw_connected_drive/device_tracker.py @@ -5,7 +5,6 @@ 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 fe646dcd1c9c10..b3766983099896 100644 --- a/homeassistant/components/bmw_connected_drive/lock.py +++ b/homeassistant/components/bmw_connected_drive/lock.py @@ -6,7 +6,6 @@ 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 03c03f01b4a148..f4f98adf132e83 100644 --- a/homeassistant/components/bmw_connected_drive/sensor.py +++ b/homeassistant/components/bmw_connected_drive/sensor.py @@ -9,7 +9,6 @@ from . import DOMAIN as BMW_DOMAIN -DEPENDENCIES = ['bmw_connected_drive'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bom/camera.py b/homeassistant/components/bom/camera.py index d3e78034015bc1..d126672d0c4a8d 100644 --- a/homeassistant/components/bom/camera.py +++ b/homeassistant/components/bom/camera.py @@ -5,7 +5,6 @@ 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' diff --git a/homeassistant/components/braviatv/media_player.py b/homeassistant/components/braviatv/media_player.py index 45fdb63a4a9b45..05098beb65d762 100644 --- a/homeassistant/components/braviatv/media_player.py +++ b/homeassistant/components/braviatv/media_player.py @@ -15,7 +15,6 @@ 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' diff --git a/homeassistant/components/broadlink/sensor.py b/homeassistant/components/broadlink/sensor.py index b3ce245a979ae7..1415528be625b4 100644 --- a/homeassistant/components/broadlink/sensor.py +++ b/homeassistant/components/broadlink/sensor.py @@ -14,7 +14,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['broadlink==0.9.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/broadlink/switch.py b/homeassistant/components/broadlink/switch.py index 8695f70786c6f2..02b06a31384576 100644 --- a/homeassistant/components/broadlink/switch.py +++ b/homeassistant/components/broadlink/switch.py @@ -17,7 +17,6 @@ from homeassistant.util import Throttle, slugify from homeassistant.util.dt import utcnow -REQUIREMENTS = ['broadlink==0.9.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/brottsplatskartan/sensor.py b/homeassistant/components/brottsplatskartan/sensor.py index f990dd1aba1630..018af3ae7855d3 100644 --- a/homeassistant/components/brottsplatskartan/sensor.py +++ b/homeassistant/components/brottsplatskartan/sensor.py @@ -12,7 +12,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['brottsplatskartan==0.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/brunt/cover.py b/homeassistant/components/brunt/cover.py index dc17cebcec2fd6..590973184903b3 100644 --- a/homeassistant/components/brunt/cover.py +++ b/homeassistant/components/brunt/cover.py @@ -13,7 +13,6 @@ ) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['brunt==0.1.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bt_home_hub_5/device_tracker.py b/homeassistant/components/bt_home_hub_5/device_tracker.py index 61853c0af89f0b..5897dc22d80598 100644 --- a/homeassistant/components/bt_home_hub_5/device_tracker.py +++ b/homeassistant/components/bt_home_hub_5/device_tracker.py @@ -8,7 +8,6 @@ DeviceScanner) from homeassistant.const import CONF_HOST -REQUIREMENTS = ['bthomehub5-devicelist==0.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bt_smarthub/device_tracker.py b/homeassistant/components/bt_smarthub/device_tracker.py index 5820feda567903..0f896259e4a9e9 100644 --- a/homeassistant/components/bt_smarthub/device_tracker.py +++ b/homeassistant/components/bt_smarthub/device_tracker.py @@ -8,7 +8,6 @@ DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST -REQUIREMENTS = ['btsmarthub_devicelist==0.1.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/buienradar/sensor.py b/homeassistant/components/buienradar/sensor.py index 754873fa2c914f..3319e5855902f6 100644 --- a/homeassistant/components/buienradar/sensor.py +++ b/homeassistant/components/buienradar/sensor.py @@ -17,7 +17,6 @@ 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__) diff --git a/homeassistant/components/buienradar/weather.py b/homeassistant/components/buienradar/weather.py index 86dcb229a78bbd..26f652dc73a7c6 100644 --- a/homeassistant/components/buienradar/weather.py +++ b/homeassistant/components/buienradar/weather.py @@ -13,7 +13,6 @@ # Reuse data and API logic from the sensor implementation from .sensor import BrData -REQUIREMENTS = ['buienradar==0.91'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/caldav/calendar.py b/homeassistant/components/caldav/calendar.py index 65cb20811b880b..8915039d20fd74 100644 --- a/homeassistant/components/caldav/calendar.py +++ b/homeassistant/components/caldav/calendar.py @@ -12,7 +12,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle, dt -REQUIREMENTS = ['caldav==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/calendar/__init__.py b/homeassistant/components/calendar/__init__.py index aa9e3153fe5bbd..7f4e0bf937300e 100644 --- a/homeassistant/components/calendar/__init__.py +++ b/homeassistant/components/calendar/__init__.py @@ -22,7 +22,6 @@ DOMAIN = 'calendar' -DEPENDENCIES = ['http'] ENTITY_ID_FORMAT = DOMAIN + '.{}' diff --git a/homeassistant/components/camera/__init__.py b/homeassistant/components/camera/__init__.py index 2ddab537acc09e..c460e51382e45f 100644 --- a/homeassistant/components/camera/__init__.py +++ b/homeassistant/components/camera/__init__.py @@ -36,7 +36,6 @@ from .const import DOMAIN, DATA_CAMERA_PREFS from .prefs import CameraPreferences -DEPENDENCIES = ['http'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/canary/__init__.py b/homeassistant/components/canary/__init__.py index e53c7e22d2d6dd..51d6322e7ba703 100644 --- a/homeassistant/components/canary/__init__.py +++ b/homeassistant/components/canary/__init__.py @@ -10,7 +10,6 @@ from homeassistant.helpers import discovery from homeassistant.util import Throttle -REQUIREMENTS = ['py-canary==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/canary/alarm_control_panel.py b/homeassistant/components/canary/alarm_control_panel.py index faa7d819a2e91f..8fb8ebd0e7fbd1 100644 --- a/homeassistant/components/canary/alarm_control_panel.py +++ b/homeassistant/components/canary/alarm_control_panel.py @@ -8,7 +8,6 @@ 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 fc740a46f628d9..17ecfdceada59d 100644 --- a/homeassistant/components/canary/camera.py +++ b/homeassistant/components/canary/camera.py @@ -13,7 +13,6 @@ from . import DATA_CANARY, DEFAULT_TIMEOUT -DEPENDENCIES = ['canary', 'ffmpeg'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/canary/sensor.py b/homeassistant/components/canary/sensor.py index fb3aaf78b0a487..cc5955db463b82 100644 --- a/homeassistant/components/canary/sensor.py +++ b/homeassistant/components/canary/sensor.py @@ -6,7 +6,6 @@ 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 0ec3ac150d7501..71c466e4d3d836 100644 --- a/homeassistant/components/cast/__init__.py +++ b/homeassistant/components/cast/__init__.py @@ -2,7 +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 afe29ae079f9ac..d4a107073ac83c 100644 --- a/homeassistant/components/channels/media_player.py +++ b/homeassistant/components/channels/media_player.py @@ -15,7 +15,6 @@ STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pychannels==1.0.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cisco_ios/device_tracker.py b/homeassistant/components/cisco_ios/device_tracker.py index d5a64626e89924..97f8944accc145 100644 --- a/homeassistant/components/cisco_ios/device_tracker.py +++ b/homeassistant/components/cisco_ios/device_tracker.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pexpect==4.6.0'] PLATFORM_SCHEMA = vol.All( PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/cisco_mobility_express/device_tracker.py b/homeassistant/components/cisco_mobility_express/device_tracker.py index a722a994350041..a30ead4f7b2089 100644 --- a/homeassistant/components/cisco_mobility_express/device_tracker.py +++ b/homeassistant/components/cisco_mobility_express/device_tracker.py @@ -10,7 +10,6 @@ CONF_HOST, CONF_USERNAME, CONF_PASSWORD, CONF_SSL, CONF_VERIFY_SSL) -REQUIREMENTS = ['ciscomobilityexpress==0.1.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cisco_webex_teams/notify.py b/homeassistant/components/cisco_webex_teams/notify.py index f893d4071b0e6e..0dac9900eae159 100644 --- a/homeassistant/components/cisco_webex_teams/notify.py +++ b/homeassistant/components/cisco_webex_teams/notify.py @@ -8,7 +8,6 @@ from homeassistant.const import (CONF_TOKEN) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['webexteamssdk==1.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ciscospark/notify.py b/homeassistant/components/ciscospark/notify.py index 2eccb233a3cdd6..5bfab7126d912f 100644 --- a/homeassistant/components/ciscospark/notify.py +++ b/homeassistant/components/ciscospark/notify.py @@ -9,7 +9,6 @@ from homeassistant.components.notify import (ATTR_TITLE, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['ciscosparkapi==0.4.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/clementine/media_player.py b/homeassistant/components/clementine/media_player.py index 65c6be19845faa..6cbe4d918ad739 100644 --- a/homeassistant/components/clementine/media_player.py +++ b/homeassistant/components/clementine/media_player.py @@ -16,7 +16,6 @@ STATE_PAUSED, STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-clementine-remote==1.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cloud/__init__.py b/homeassistant/components/cloud/__init__.py index 41045ba1f91265..59008ecc4cefd9 100644 --- a/homeassistant/components/cloud/__init__.py +++ b/homeassistant/components/cloud/__init__.py @@ -24,8 +24,6 @@ CONF_USER_POOL_ID, DOMAIN, MODE_DEV, MODE_PROD) from .prefs import CloudPreferences -REQUIREMENTS = ['hass-nabucasa==0.11'] -DEPENDENCIES = ['http'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cloud/binary_sensor.py b/homeassistant/components/cloud/binary_sensor.py index 19a6528e3218f5..5a195b4b4c64d3 100644 --- a/homeassistant/components/cloud/binary_sensor.py +++ b/homeassistant/components/cloud/binary_sensor.py @@ -6,7 +6,6 @@ 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 363e7c5eeb11dd..2f04adb05d0c6b 100644 --- a/homeassistant/components/cloudflare/__init__.py +++ b/homeassistant/components/cloudflare/__init__.py @@ -8,7 +8,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['pycfdns==0.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cmus/media_player.py b/homeassistant/components/cmus/media_player.py index e5134508feaaaa..17a7c6050a389d 100644 --- a/homeassistant/components/cmus/media_player.py +++ b/homeassistant/components/cmus/media_player.py @@ -14,7 +14,6 @@ STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pycmus==0.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/co2signal/sensor.py b/homeassistant/components/co2signal/sensor.py index b9ae5e26ebef20..b5b8b306097940 100644 --- a/homeassistant/components/co2signal/sensor.py +++ b/homeassistant/components/co2signal/sensor.py @@ -11,7 +11,6 @@ CONF_COUNTRY_CODE = "country_code" -REQUIREMENTS = ['co2signal==0.4.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/coinbase/__init__.py b/homeassistant/components/coinbase/__init__.py index 40d04eadb3a79e..09c3bbf3182ac3 100644 --- a/homeassistant/components/coinbase/__init__.py +++ b/homeassistant/components/coinbase/__init__.py @@ -9,7 +9,6 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.util import Throttle -REQUIREMENTS = ['coinbase==2.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/coinbase/sensor.py b/homeassistant/components/coinbase/sensor.py index 2483d46b38a095..9470999efbb93b 100644 --- a/homeassistant/components/coinbase/sensor.py +++ b/homeassistant/components/coinbase/sensor.py @@ -17,7 +17,6 @@ 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 a39f11b5352a0a..94fe6df217c88a 100644 --- a/homeassistant/components/coinmarketcap/sensor.py +++ b/homeassistant/components/coinmarketcap/sensor.py @@ -11,7 +11,6 @@ ATTR_ATTRIBUTION, CONF_DISPLAY_CURRENCY) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['coinmarketcap==5.0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/comfoconnect/__init__.py b/homeassistant/components/comfoconnect/__init__.py index 64ebec18545903..08ed85184f607b 100644 --- a/homeassistant/components/comfoconnect/__init__.py +++ b/homeassistant/components/comfoconnect/__init__.py @@ -9,7 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.dispatcher import dispatcher_send -REQUIREMENTS = ['pycomfoconnect==0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/comfoconnect/fan.py b/homeassistant/components/comfoconnect/fan.py index 88dcffcfd21485..0f2410b9028158 100644 --- a/homeassistant/components/comfoconnect/fan.py +++ b/homeassistant/components/comfoconnect/fan.py @@ -10,7 +10,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['comfoconnect'] SPEED_MAPPING = { 0: SPEED_OFF, diff --git a/homeassistant/components/comfoconnect/sensor.py b/homeassistant/components/comfoconnect/sensor.py index edb96b8d279d3d..98dd8591550dfb 100644 --- a/homeassistant/components/comfoconnect/sensor.py +++ b/homeassistant/components/comfoconnect/sensor.py @@ -12,7 +12,6 @@ _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 a209fba93edfb3..2d35465b7b5cce 100644 --- a/homeassistant/components/concord232/alarm_control_panel.py +++ b/homeassistant/components/concord232/alarm_control_panel.py @@ -12,7 +12,6 @@ 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__) diff --git a/homeassistant/components/concord232/binary_sensor.py b/homeassistant/components/concord232/binary_sensor.py index c1a31eb9ead989..b77c01fc8dcfa8 100644 --- a/homeassistant/components/concord232/binary_sensor.py +++ b/homeassistant/components/concord232/binary_sensor.py @@ -10,7 +10,6 @@ from homeassistant.const import (CONF_HOST, CONF_PORT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['concord232==0.15'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/config/__init__.py b/homeassistant/components/config/__init__.py index 7807c52737091e..3752d5d37bf147 100644 --- a/homeassistant/components/config/__init__.py +++ b/homeassistant/components/config/__init__.py @@ -12,7 +12,6 @@ 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 bb2d692f2490b3..bd577127fa0385 100644 --- a/homeassistant/components/conversation/__init__.py +++ b/homeassistant/components/conversation/__init__.py @@ -21,7 +21,6 @@ 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 77bb9a6b213d29..42dcbcdf344985 100644 --- a/homeassistant/components/coolmaster/climate.py +++ b/homeassistant/components/coolmaster/climate.py @@ -13,7 +13,6 @@ 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 9bb1aacfaf13ea..8609d3c9cf6402 100644 --- a/homeassistant/components/cover/__init__.py +++ b/homeassistant/components/cover/__init__.py @@ -22,7 +22,6 @@ _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 31d8122692a39e..e600617436fb18 100755 --- a/homeassistant/components/cppm_tracker/device_tracker.py +++ b/homeassistant/components/cppm_tracker/device_tracker.py @@ -11,7 +11,6 @@ CONF_HOST, CONF_API_KEY ) -REQUIREMENTS = ['clearpasspy==1.0.2'] SCAN_INTERVAL = timedelta(seconds=120) diff --git a/homeassistant/components/cpuspeed/sensor.py b/homeassistant/components/cpuspeed/sensor.py index 98d22c20d153b6..f12932020f1d44 100644 --- a/homeassistant/components/cpuspeed/sensor.py +++ b/homeassistant/components/cpuspeed/sensor.py @@ -8,7 +8,6 @@ from homeassistant.const import CONF_NAME from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['py-cpuinfo==5.0.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/crimereports/sensor.py b/homeassistant/components/crimereports/sensor.py index 139346755178e9..00524931d66d8e 100644 --- a/homeassistant/components/crimereports/sensor.py +++ b/homeassistant/components/crimereports/sensor.py @@ -16,7 +16,6 @@ from homeassistant.util.dt import now import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['crimereports==1.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cups/sensor.py b/homeassistant/components/cups/sensor.py index 97f894aed86981..7da6e74228d468 100644 --- a/homeassistant/components/cups/sensor.py +++ b/homeassistant/components/cups/sensor.py @@ -10,7 +10,6 @@ from homeassistant.const import CONF_HOST, CONF_PORT from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pycups==1.9.73'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/daikin/__init__.py b/homeassistant/components/daikin/__init__.py index 8e96ccb87388a9..e97836c90a651d 100644 --- a/homeassistant/components/daikin/__init__.py +++ b/homeassistant/components/daikin/__init__.py @@ -17,7 +17,6 @@ from . import config_flow # noqa pylint_disable=unused-import -REQUIREMENTS = ['pydaikin==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/danfoss_air/__init__.py b/homeassistant/components/danfoss_air/__init__.py index f4a7b92c17cbb9..3ced248c07867a 100644 --- a/homeassistant/components/danfoss_air/__init__.py +++ b/homeassistant/components/danfoss_air/__init__.py @@ -9,7 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['pydanfossair==0.0.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/darksky/sensor.py b/homeassistant/components/darksky/sensor.py index 6aee3457acb381..039b58e4be45c4 100644 --- a/homeassistant/components/darksky/sensor.py +++ b/homeassistant/components/darksky/sensor.py @@ -14,7 +14,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['python-forecastio==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/darksky/weather.py b/homeassistant/components/darksky/weather.py index 5b3db4312bfb10..8479ff7ea8d04a 100644 --- a/homeassistant/components/darksky/weather.py +++ b/homeassistant/components/darksky/weather.py @@ -16,7 +16,6 @@ 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__) diff --git a/homeassistant/components/datadog/__init__.py b/homeassistant/components/datadog/__init__.py index 3b519514d17b44..025f0a3c5d09db 100644 --- a/homeassistant/components/datadog/__init__.py +++ b/homeassistant/components/datadog/__init__.py @@ -9,7 +9,6 @@ from homeassistant.helpers import state as state_helper import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['datadog==0.15.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/deconz/__init__.py b/homeassistant/components/deconz/__init__.py index 807f82821fb293..5db459e3f7afa4 100644 --- a/homeassistant/components/deconz/__init__.py +++ b/homeassistant/components/deconz/__init__.py @@ -13,7 +13,6 @@ CONF_MASTER_GATEWAY, DEFAULT_PORT, DOMAIN, _LOGGER) from .gateway import DeconzGateway -REQUIREMENTS = ['pydeconz==54'] CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({ diff --git a/homeassistant/components/deconz/binary_sensor.py b/homeassistant/components/deconz/binary_sensor.py index 70de1fd7cf44ba..f503c5281c69d8 100644 --- a/homeassistant/components/deconz/binary_sensor.py +++ b/homeassistant/components/deconz/binary_sensor.py @@ -8,7 +8,6 @@ from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] ATTR_ORIENTATION = 'orientation' ATTR_TILTANGLE = 'tiltangle' diff --git a/homeassistant/components/deconz/climate.py b/homeassistant/components/deconz/climate.py index c4327d3c497fec..9eab3e5f094768 100644 --- a/homeassistant/components/deconz/climate.py +++ b/homeassistant/components/deconz/climate.py @@ -11,7 +11,6 @@ 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): diff --git a/homeassistant/components/deconz/cover.py b/homeassistant/components/deconz/cover.py index 903c1160eb8226..9f194b63569a00 100644 --- a/homeassistant/components/deconz/cover.py +++ b/homeassistant/components/deconz/cover.py @@ -9,7 +9,6 @@ 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 b5a2b075f75bdf..38998ef2f2d848 100644 --- a/homeassistant/components/deconz/light.py +++ b/homeassistant/components/deconz/light.py @@ -12,7 +12,6 @@ from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] async def async_setup_platform( diff --git a/homeassistant/components/deconz/scene.py b/homeassistant/components/deconz/scene.py index 1ae1e079daa065..f738b5a205fdff 100644 --- a/homeassistant/components/deconz/scene.py +++ b/homeassistant/components/deconz/scene.py @@ -6,7 +6,6 @@ from .const import NEW_SCENE from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] async def async_setup_platform( diff --git a/homeassistant/components/deconz/sensor.py b/homeassistant/components/deconz/sensor.py index 7c3109e1f5961f..0575f6cdfe49e7 100644 --- a/homeassistant/components/deconz/sensor.py +++ b/homeassistant/components/deconz/sensor.py @@ -9,7 +9,6 @@ from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] ATTR_CURRENT = 'current' ATTR_DAYLIGHT = 'daylight' diff --git a/homeassistant/components/deconz/switch.py b/homeassistant/components/deconz/switch.py index b9f959766fc2c2..b1b7a491f98493 100644 --- a/homeassistant/components/deconz/switch.py +++ b/homeassistant/components/deconz/switch.py @@ -7,7 +7,6 @@ from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] async def async_setup_platform( diff --git a/homeassistant/components/decora/light.py b/homeassistant/components/decora/light.py index fc8b2859c0712d..f741aa9043f3f6 100644 --- a/homeassistant/components/decora/light.py +++ b/homeassistant/components/decora/light.py @@ -12,7 +12,6 @@ PLATFORM_SCHEMA) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['decora==0.6', 'bluepy==1.1.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/decora_wifi/light.py b/homeassistant/components/decora_wifi/light.py index b7be6bffb0151a..dbb729685c51ef 100644 --- a/homeassistant/components/decora_wifi/light.py +++ b/homeassistant/components/decora_wifi/light.py @@ -12,7 +12,6 @@ EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['decora_wifi==1.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/default_config/__init__.py b/homeassistant/components/default_config/__init__.py index 6743893888d819..b5919c4d827b9b 100644 --- a/homeassistant/components/default_config/__init__.py +++ b/homeassistant/components/default_config/__init__.py @@ -5,23 +5,6 @@ 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') diff --git a/homeassistant/components/deluge/sensor.py b/homeassistant/components/deluge/sensor.py index 32b1c16a47c783..a75dd7febf17c3 100644 --- a/homeassistant/components/deluge/sensor.py +++ b/homeassistant/components/deluge/sensor.py @@ -11,7 +11,6 @@ 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 d7c60bd96e2932..0cc68e6f64f24d 100644 --- a/homeassistant/components/deluge/switch.py +++ b/homeassistant/components/deluge/switch.py @@ -11,7 +11,6 @@ from homeassistant.helpers.entity import ToggleEntity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['deluge-client==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/demo/__init__.py b/homeassistant/components/demo/__init__.py index 354f0c0e37541a..50d1eebdcd383d 100644 --- a/homeassistant/components/demo/__init__.py +++ b/homeassistant/components/demo/__init__.py @@ -7,7 +7,6 @@ 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 0adafe4f472e2e..6b68a06b5c5909 100644 --- a/homeassistant/components/denonavr/media_player.py +++ b/homeassistant/components/denonavr/media_player.py @@ -18,7 +18,6 @@ STATE_PAUSED, STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['denonavr==0.7.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/deutsche_bahn/sensor.py b/homeassistant/components/deutsche_bahn/sensor.py index 41584b2561fb9d..afc388f3da0039 100644 --- a/homeassistant/components/deutsche_bahn/sensor.py +++ b/homeassistant/components/deutsche_bahn/sensor.py @@ -9,7 +9,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.util.dt as dt_util -REQUIREMENTS = ['schiene==0.23'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/device_sun_light_trigger/__init__.py b/homeassistant/components/device_sun_light_trigger/__init__.py index 00adefc6b5c31f..5e95e049220095 100644 --- a/homeassistant/components/device_sun_light_trigger/__init__.py +++ b/homeassistant/components/device_sun_light_trigger/__init__.py @@ -17,7 +17,6 @@ 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' diff --git a/homeassistant/components/device_tracker/__init__.py b/homeassistant/components/device_tracker/__init__.py index 42d301721dad47..9a82d1848f3b31 100644 --- a/homeassistant/components/device_tracker/__init__.py +++ b/homeassistant/components/device_tracker/__init__.py @@ -35,7 +35,6 @@ _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 719c2525f0a985..9e4cc6ef03c17e 100644 --- a/homeassistant/components/dht/sensor.py +++ b/homeassistant/components/dht/sensor.py @@ -12,7 +12,6 @@ from homeassistant.util import Throttle from homeassistant.util.temperature import celsius_to_fahrenheit -REQUIREMENTS = ['Adafruit-DHT==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dialogflow/__init__.py b/homeassistant/components/dialogflow/__init__.py index 1536fe3d2362ca..a6134d4b19c04d 100644 --- a/homeassistant/components/dialogflow/__init__.py +++ b/homeassistant/components/dialogflow/__init__.py @@ -10,7 +10,6 @@ _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 7975a6eea0d69c..f61366e1e4ed63 100644 --- a/homeassistant/components/digital_ocean/__init__.py +++ b/homeassistant/components/digital_ocean/__init__.py @@ -8,7 +8,6 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-digitalocean==1.13.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/digital_ocean/binary_sensor.py b/homeassistant/components/digital_ocean/binary_sensor.py index d496a09161b91d..3751184b9c22a8 100644 --- a/homeassistant/components/digital_ocean/binary_sensor.py +++ b/homeassistant/components/digital_ocean/binary_sensor.py @@ -17,7 +17,6 @@ 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 bc4a6a29b42064..70f8dd3cd1796a 100644 --- a/homeassistant/components/digital_ocean/switch.py +++ b/homeassistant/components/digital_ocean/switch.py @@ -14,7 +14,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['digital_ocean'] DEFAULT_NAME = 'Droplet' diff --git a/homeassistant/components/digitalloggers/switch.py b/homeassistant/components/digitalloggers/switch.py index 89973cfad0c828..ebbf0242c68c8b 100644 --- a/homeassistant/components/digitalloggers/switch.py +++ b/homeassistant/components/digitalloggers/switch.py @@ -10,7 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['dlipower==0.7.165'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/directv/media_player.py b/homeassistant/components/directv/media_player.py index 3a30282bdf49be..c7a30db55861f1 100644 --- a/homeassistant/components/directv/media_player.py +++ b/homeassistant/components/directv/media_player.py @@ -15,7 +15,6 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['directpy==0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/discogs/sensor.py b/homeassistant/components/discogs/sensor.py index f8d66688b4ff65..e549001dbd7142 100644 --- a/homeassistant/components/discogs/sensor.py +++ b/homeassistant/components/discogs/sensor.py @@ -12,7 +12,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['discogs_client==2.2.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/discord/notify.py b/homeassistant/components/discord/notify.py index cb6fc8329c66b5..be93abfd7ae7ba 100644 --- a/homeassistant/components/discord/notify.py +++ b/homeassistant/components/discord/notify.py @@ -12,7 +12,6 @@ _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 8e3a350c5ca1b0..92d925f63e3770 100644 --- a/homeassistant/components/discovery/__init__.py +++ b/homeassistant/components/discovery/__init__.py @@ -20,7 +20,6 @@ from homeassistant.helpers.discovery import async_load_platform, async_discover import homeassistant.util.dt as dt_util -REQUIREMENTS = ['netdisco==2.6.0'] DOMAIN = 'discovery' diff --git a/homeassistant/components/dlib_face_detect/image_processing.py b/homeassistant/components/dlib_face_detect/image_processing.py index 49fbfadff7e779..0f08f2bf254a45 100644 --- a/homeassistant/components/dlib_face_detect/image_processing.py +++ b/homeassistant/components/dlib_face_detect/image_processing.py @@ -8,7 +8,6 @@ from homeassistant.components.image_processing import ( ImageProcessingFaceEntity, CONF_SOURCE, CONF_ENTITY_ID, CONF_NAME) -REQUIREMENTS = ['face_recognition==1.2.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dlib_face_identify/image_processing.py b/homeassistant/components/dlib_face_identify/image_processing.py index a3b91235125e43..2bebef81662302 100644 --- a/homeassistant/components/dlib_face_identify/image_processing.py +++ b/homeassistant/components/dlib_face_identify/image_processing.py @@ -10,7 +10,6 @@ CONF_NAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['face_recognition==1.2.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dlink/switch.py b/homeassistant/components/dlink/switch.py index 812fd3882b311b..b683487dd12812 100644 --- a/homeassistant/components/dlink/switch.py +++ b/homeassistant/components/dlink/switch.py @@ -12,7 +12,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import dt as dt_util -REQUIREMENTS = ['pyW215==0.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dlna_dmr/media_player.py b/homeassistant/components/dlna_dmr/media_player.py index 54c19f70ef324d..22cbf25df4c2b5 100644 --- a/homeassistant/components/dlna_dmr/media_player.py +++ b/homeassistant/components/dlna_dmr/media_player.py @@ -27,7 +27,6 @@ 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__) diff --git a/homeassistant/components/dnsip/sensor.py b/homeassistant/components/dnsip/sensor.py index 13c9be7bb14fb5..e4ec0cd69e4cfa 100644 --- a/homeassistant/components/dnsip/sensor.py +++ b/homeassistant/components/dnsip/sensor.py @@ -8,7 +8,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['aiodns==1.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dominos/__init__.py b/homeassistant/components/dominos/__init__.py index 1c8966f3b4b5d9..cdcdba50c94501 100644 --- a/homeassistant/components/dominos/__init__.py +++ b/homeassistant/components/dominos/__init__.py @@ -11,7 +11,6 @@ from homeassistant.helpers.entity_component import EntityComponent from homeassistant.util import Throttle -REQUIREMENTS = ['pizzapi==0.0.3'] _LOGGER = logging.getLogger(__name__) @@ -34,7 +33,6 @@ 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, diff --git a/homeassistant/components/doorbird/__init__.py b/homeassistant/components/doorbird/__init__.py index 25a2c5caff91d9..e1f3bb69264241 100644 --- a/homeassistant/components/doorbird/__init__.py +++ b/homeassistant/components/doorbird/__init__.py @@ -11,7 +11,6 @@ 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__) diff --git a/homeassistant/components/doorbird/camera.py b/homeassistant/components/doorbird/camera.py index a93b0fbf1948cb..b48f17bb4fb63a 100644 --- a/homeassistant/components/doorbird/camera.py +++ b/homeassistant/components/doorbird/camera.py @@ -11,7 +11,6 @@ from . import DOMAIN as DOORBIRD_DOMAIN -DEPENDENCIES = ['doorbird'] _CAMERA_LAST_VISITOR = "{} Last Ring" _CAMERA_LAST_MOTION = "{} Last Motion" diff --git a/homeassistant/components/doorbird/switch.py b/homeassistant/components/doorbird/switch.py index ba6f96660d1b2d..37e65821fa881f 100644 --- a/homeassistant/components/doorbird/switch.py +++ b/homeassistant/components/doorbird/switch.py @@ -6,7 +6,6 @@ from . import DOMAIN as DOORBIRD_DOMAIN -DEPENDENCIES = ['doorbird'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dovado/__init__.py b/homeassistant/components/dovado/__init__.py index df2eed3011a873..78c933e2db128d 100644 --- a/homeassistant/components/dovado/__init__.py +++ b/homeassistant/components/dovado/__init__.py @@ -12,7 +12,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['dovado==0.4.1'] DOMAIN = 'dovado' diff --git a/homeassistant/components/dovado/notify.py b/homeassistant/components/dovado/notify.py index 59827529ed3ad5..42e3e521d300a6 100644 --- a/homeassistant/components/dovado/notify.py +++ b/homeassistant/components/dovado/notify.py @@ -8,7 +8,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['dovado'] def get_service(hass, config, discovery_info=None): diff --git a/homeassistant/components/dovado/sensor.py b/homeassistant/components/dovado/sensor.py index 56c4ee03a3ada9..497302814aa6e7 100644 --- a/homeassistant/components/dovado/sensor.py +++ b/homeassistant/components/dovado/sensor.py @@ -14,7 +14,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['dovado'] MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=30) diff --git a/homeassistant/components/dsmr/sensor.py b/homeassistant/components/dsmr/sensor.py index 74f6cb37fc2ebc..825a84d7639f68 100644 --- a/homeassistant/components/dsmr/sensor.py +++ b/homeassistant/components/dsmr/sensor.py @@ -15,7 +15,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['dsmr_parser==0.12'] CONF_DSMR_VERSION = 'dsmr_version' CONF_RECONNECT_INTERVAL = 'reconnect_interval' diff --git a/homeassistant/components/duke_energy/sensor.py b/homeassistant/components/duke_energy/sensor.py index 9aada34841880a..cb15e2c8f6f1da 100644 --- a/homeassistant/components/duke_energy/sensor.py +++ b/homeassistant/components/duke_energy/sensor.py @@ -8,7 +8,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pydukeenergy==0.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dunehd/media_player.py b/homeassistant/components/dunehd/media_player.py index 70d96424ced97e..58e7e06c5ede31 100644 --- a/homeassistant/components/dunehd/media_player.py +++ b/homeassistant/components/dunehd/media_player.py @@ -11,7 +11,6 @@ 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' diff --git a/homeassistant/components/dweet/__init__.py b/homeassistant/components/dweet/__init__.py index f8e5b1811632e4..61cd3b78210de1 100644 --- a/homeassistant/components/dweet/__init__.py +++ b/homeassistant/components/dweet/__init__.py @@ -10,7 +10,6 @@ from homeassistant.helpers import state as state_helper from homeassistant.util import Throttle -REQUIREMENTS = ['dweepy==0.3.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dweet/sensor.py b/homeassistant/components/dweet/sensor.py index d1a64201e6dc48..a93337fb92f2c3 100644 --- a/homeassistant/components/dweet/sensor.py +++ b/homeassistant/components/dweet/sensor.py @@ -11,7 +11,6 @@ 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__) diff --git a/homeassistant/components/dyson/__init__.py b/homeassistant/components/dyson/__init__.py index eccf8aac364c04..2760bff9e6797d 100644 --- a/homeassistant/components/dyson/__init__.py +++ b/homeassistant/components/dyson/__init__.py @@ -8,7 +8,6 @@ CONF_DEVICES, CONF_PASSWORD, CONF_TIMEOUT, CONF_USERNAME) from homeassistant.helpers import discovery -REQUIREMENTS = ['libpurecool==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dyson/fan.py b/homeassistant/components/dyson/fan.py index 0140378968b60b..03a55f8abbea80 100644 --- a/homeassistant/components/dyson/fan.py +++ b/homeassistant/components/dyson/fan.py @@ -27,7 +27,6 @@ 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 2c7a71f5724847..0dc98c0630e5b7 100644 --- a/homeassistant/components/dyson/sensor.py +++ b/homeassistant/components/dyson/sensor.py @@ -6,7 +6,6 @@ from . import DYSON_DEVICES -DEPENDENCIES = ['dyson'] SENSOR_UNITS = { 'air_quality': None, diff --git a/homeassistant/components/dyson/vacuum.py b/homeassistant/components/dyson/vacuum.py index f1822b4043b461..337f0a949b093b 100644 --- a/homeassistant/components/dyson/vacuum.py +++ b/homeassistant/components/dyson/vacuum.py @@ -15,7 +15,6 @@ ATTR_FULL_CLEAN_TYPE = 'full_clean_type' ATTR_POSITION = 'position' -DEPENDENCIES = ['dyson'] DYSON_360_EYE_DEVICES = "dyson_360_eye_devices" diff --git a/homeassistant/components/ebox/sensor.py b/homeassistant/components/ebox/sensor.py index 24458e444dc7a9..a97dab5e49a8a5 100644 --- a/homeassistant/components/ebox/sensor.py +++ b/homeassistant/components/ebox/sensor.py @@ -21,7 +21,6 @@ from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['pyebox==1.1.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ebusd/__init__.py b/homeassistant/components/ebusd/__init__.py index bc1b3aa9595f9b..c8af1bd637c095 100644 --- a/homeassistant/components/ebusd/__init__.py +++ b/homeassistant/components/ebusd/__init__.py @@ -13,7 +13,6 @@ from .const import (DOMAIN, SENSOR_TYPES) -REQUIREMENTS = ['ebusdpy==0.0.16'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ebusd/sensor.py b/homeassistant/components/ebusd/sensor.py index 942ba107509a94..6840fd6499dcfe 100644 --- a/homeassistant/components/ebusd/sensor.py +++ b/homeassistant/components/ebusd/sensor.py @@ -6,7 +6,6 @@ from .const import DOMAIN -DEPENDENCIES = ['ebusd'] TIME_FRAME1_BEGIN = 'time_frame1_begin' TIME_FRAME1_END = 'time_frame1_end' diff --git a/homeassistant/components/ecoal_boiler/__init__.py b/homeassistant/components/ecoal_boiler/__init__.py index 6ab9fc3181cb9c..414066f55ce924 100644 --- a/homeassistant/components/ecoal_boiler/__init__.py +++ b/homeassistant/components/ecoal_boiler/__init__.py @@ -9,7 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform -REQUIREMENTS = ['ecoaliface==0.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ecoal_boiler/sensor.py b/homeassistant/components/ecoal_boiler/sensor.py index ef8b39842d9a0f..485a6f11bd121f 100644 --- a/homeassistant/components/ecoal_boiler/sensor.py +++ b/homeassistant/components/ecoal_boiler/sensor.py @@ -8,7 +8,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ecoal_boiler'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/ecoal_boiler/switch.py b/homeassistant/components/ecoal_boiler/switch.py index db8759a032acc9..7e12e6d028ebc9 100644 --- a/homeassistant/components/ecoal_boiler/switch.py +++ b/homeassistant/components/ecoal_boiler/switch.py @@ -8,7 +8,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ecoal_boiler'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/ecobee/__init__.py b/homeassistant/components/ecobee/__init__.py index 167132a5f41f16..703718a957f6e5 100644 --- a/homeassistant/components/ecobee/__init__.py +++ b/homeassistant/components/ecobee/__init__.py @@ -11,7 +11,6 @@ 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 ca8e551bf5e6f2..3fba43fb7b956f 100644 --- a/homeassistant/components/ecobee/binary_sensor.py +++ b/homeassistant/components/ecobee/binary_sensor.py @@ -2,7 +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 44a3800afa958f..957f264f51e2f8 100644 --- a/homeassistant/components/ecobee/climate.py +++ b/homeassistant/components/ecobee/climate.py @@ -27,7 +27,6 @@ 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 9824d20b85e98e..cdefded7c57d81 100644 --- a/homeassistant/components/ecobee/notify.py +++ b/homeassistant/components/ecobee/notify.py @@ -10,7 +10,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ecobee'] CONF_INDEX = 'index' diff --git a/homeassistant/components/ecobee/sensor.py b/homeassistant/components/ecobee/sensor.py index 1f9fd5cbde8548..da9ad68d729694 100644 --- a/homeassistant/components/ecobee/sensor.py +++ b/homeassistant/components/ecobee/sensor.py @@ -4,7 +4,6 @@ DEVICE_CLASS_HUMIDITY, DEVICE_CLASS_TEMPERATURE, TEMP_FAHRENHEIT) from homeassistant.helpers.entity import Entity -DEPENDENCIES = ['ecobee'] ECOBEE_CONFIG_FILE = 'ecobee.conf' diff --git a/homeassistant/components/ecobee/weather.py b/homeassistant/components/ecobee/weather.py index 2ba5f362b7d829..b58de5bb3d06d6 100644 --- a/homeassistant/components/ecobee/weather.py +++ b/homeassistant/components/ecobee/weather.py @@ -7,7 +7,6 @@ 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' diff --git a/homeassistant/components/econet/water_heater.py b/homeassistant/components/econet/water_heater.py index 90176842bf1175..fb85cbfebe2886 100644 --- a/homeassistant/components/econet/water_heater.py +++ b/homeassistant/components/econet/water_heater.py @@ -13,7 +13,6 @@ TEMP_FAHRENHEIT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyeconet==0.0.10'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ecovacs/__init__.py b/homeassistant/components/ecovacs/__init__.py index 124cae3ca47191..f79fc253ffc326 100644 --- a/homeassistant/components/ecovacs/__init__.py +++ b/homeassistant/components/ecovacs/__init__.py @@ -10,7 +10,6 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['sucks==0.9.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ecovacs/vacuum.py b/homeassistant/components/ecovacs/vacuum.py index b9fe94f2bed0cb..e0e8c3e8e1664a 100644 --- a/homeassistant/components/ecovacs/vacuum.py +++ b/homeassistant/components/ecovacs/vacuum.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ecovacs'] SUPPORT_ECOVACS = ( SUPPORT_BATTERY | SUPPORT_RETURN_HOME | SUPPORT_CLEAN_SPOT | diff --git a/homeassistant/components/eddystone_temperature/sensor.py b/homeassistant/components/eddystone_temperature/sensor.py index ae3d498d30c0d9..0380860191e127 100644 --- a/homeassistant/components/eddystone_temperature/sensor.py +++ b/homeassistant/components/eddystone_temperature/sensor.py @@ -18,7 +18,6 @@ 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__) diff --git a/homeassistant/components/edimax/switch.py b/homeassistant/components/edimax/switch.py index 338e6ac932cc4b..a1451d4e5d9941 100644 --- a/homeassistant/components/edimax/switch.py +++ b/homeassistant/components/edimax/switch.py @@ -8,7 +8,6 @@ CONF_HOST, CONF_NAME, CONF_PASSWORD, CONF_USERNAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyedimax==0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/edp_redy/__init__.py b/homeassistant/components/edp_redy/__init__.py index 9b8bfaa437a12d..65e81354ece183 100644 --- a/homeassistant/components/edp_redy/__init__.py +++ b/homeassistant/components/edp_redy/__init__.py @@ -20,7 +20,6 @@ DATA_UPDATE_TOPIC = '{0}_data_update'.format(DOMAIN) UPDATE_INTERVAL = 60 -REQUIREMENTS = ['edp_redy==0.0.3'] CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({ diff --git a/homeassistant/components/edp_redy/sensor.py b/homeassistant/components/edp_redy/sensor.py index b8f9c031c298c9..27def2698477f1 100644 --- a/homeassistant/components/edp_redy/sensor.py +++ b/homeassistant/components/edp_redy/sensor.py @@ -8,7 +8,6 @@ _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 0c92f80ccf6366..5cf6f80fca0b6f 100644 --- a/homeassistant/components/edp_redy/switch.py +++ b/homeassistant/components/edp_redy/switch.py @@ -7,7 +7,6 @@ _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 46e4a3c3c24307..133855e4cf438f 100644 --- a/homeassistant/components/ee_brightbox/device_tracker.py +++ b/homeassistant/components/ee_brightbox/device_tracker.py @@ -8,7 +8,6 @@ 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__) diff --git a/homeassistant/components/egardia/__init__.py b/homeassistant/components/egardia/__init__.py index fe613824c9512d..dc27beb9e52eee 100644 --- a/homeassistant/components/egardia/__init__.py +++ b/homeassistant/components/egardia/__init__.py @@ -10,7 +10,6 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pythonegardia==1.0.39'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/egardia/alarm_control_panel.py b/homeassistant/components/egardia/alarm_control_panel.py index 7fc60d5fb5db6e..56ceed7a2d5cfe 100644 --- a/homeassistant/components/egardia/alarm_control_panel.py +++ b/homeassistant/components/egardia/alarm_control_panel.py @@ -13,7 +13,6 @@ CONF_REPORT_SERVER_PORT, EGARDIA_DEVICE, EGARDIA_SERVER, REPORT_SERVER_CODES_IGNORE) -DEPENDENCIES = ['egardia'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/egardia/binary_sensor.py b/homeassistant/components/egardia/binary_sensor.py index d11894ae675666..d8beb47080280b 100644 --- a/homeassistant/components/egardia/binary_sensor.py +++ b/homeassistant/components/egardia/binary_sensor.py @@ -8,7 +8,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['egardia'] EGARDIA_TYPE_TO_DEVICE_CLASS = { 'IR Sensor': 'motion', diff --git a/homeassistant/components/eight_sleep/__init__.py b/homeassistant/components/eight_sleep/__init__.py index ca6c8a5a5c6070..dd01027ffba6fc 100644 --- a/homeassistant/components/eight_sleep/__init__.py +++ b/homeassistant/components/eight_sleep/__init__.py @@ -16,7 +16,6 @@ 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__) diff --git a/homeassistant/components/eight_sleep/binary_sensor.py b/homeassistant/components/eight_sleep/binary_sensor.py index a3ca27b570de0c..5e622fe77644b5 100644 --- a/homeassistant/components/eight_sleep/binary_sensor.py +++ b/homeassistant/components/eight_sleep/binary_sensor.py @@ -7,7 +7,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['eight_sleep'] async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/eight_sleep/sensor.py b/homeassistant/components/eight_sleep/sensor.py index a1ad93ec54a3f3..9c0d68a778a2ed 100644 --- a/homeassistant/components/eight_sleep/sensor.py +++ b/homeassistant/components/eight_sleep/sensor.py @@ -5,7 +5,6 @@ CONF_SENSORS, DATA_EIGHT, NAME_MAP, EightSleepHeatEntity, EightSleepUserEntity) -DEPENDENCIES = ['eight_sleep'] ATTR_ROOM_TEMP = 'Room Temperature' ATTR_AVG_ROOM_TEMP = 'Average Room Temperature' diff --git a/homeassistant/components/eliqonline/sensor.py b/homeassistant/components/eliqonline/sensor.py index 198ca327997808..95113aa5844c92 100644 --- a/homeassistant/components/eliqonline/sensor.py +++ b/homeassistant/components/eliqonline/sensor.py @@ -10,7 +10,6 @@ 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__) diff --git a/homeassistant/components/elkm1/__init__.py b/homeassistant/components/elkm1/__init__.py index a0c08bf54299f5..26525964edcd69 100644 --- a/homeassistant/components/elkm1/__init__.py +++ b/homeassistant/components/elkm1/__init__.py @@ -12,7 +12,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.typing import ConfigType # noqa -REQUIREMENTS = ['elkm1-lib==0.7.13'] DOMAIN = 'elkm1' diff --git a/homeassistant/components/elkm1/alarm_control_panel.py b/homeassistant/components/elkm1/alarm_control_panel.py index e9155dd17b5bf7..b3b34dcd9b82e8 100644 --- a/homeassistant/components/elkm1/alarm_control_panel.py +++ b/homeassistant/components/elkm1/alarm_control_panel.py @@ -12,7 +12,6 @@ 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 93e4aa66b23494..e0869907a2600f 100644 --- a/homeassistant/components/elkm1/climate.py +++ b/homeassistant/components/elkm1/climate.py @@ -9,7 +9,6 @@ from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities -DEPENDENCIES = [ELK_DOMAIN] async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/elkm1/light.py b/homeassistant/components/elkm1/light.py index fe84ab3f251895..7e3ca207026a0e 100644 --- a/homeassistant/components/elkm1/light.py +++ b/homeassistant/components/elkm1/light.py @@ -4,7 +4,6 @@ from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities -DEPENDENCIES = [ELK_DOMAIN] async def async_setup_platform( diff --git a/homeassistant/components/elkm1/scene.py b/homeassistant/components/elkm1/scene.py index 1d08f4cf96d5f1..ff72762506c1fd 100644 --- a/homeassistant/components/elkm1/scene.py +++ b/homeassistant/components/elkm1/scene.py @@ -3,7 +3,6 @@ from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities -DEPENDENCIES = [ELK_DOMAIN] async def async_setup_platform( diff --git a/homeassistant/components/elkm1/sensor.py b/homeassistant/components/elkm1/sensor.py index da27a3ac4b105d..6548de416825b5 100644 --- a/homeassistant/components/elkm1/sensor.py +++ b/homeassistant/components/elkm1/sensor.py @@ -1,7 +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( diff --git a/homeassistant/components/elkm1/switch.py b/homeassistant/components/elkm1/switch.py index 740a296586502f..3c0ddb5c81ffab 100644 --- a/homeassistant/components/elkm1/switch.py +++ b/homeassistant/components/elkm1/switch.py @@ -3,7 +3,6 @@ from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities -DEPENDENCIES = [ELK_DOMAIN] async def async_setup_platform( diff --git a/homeassistant/components/emby/media_player.py b/homeassistant/components/emby/media_player.py index 8a94664f352cbe..cc5fc07d524536 100644 --- a/homeassistant/components/emby/media_player.py +++ b/homeassistant/components/emby/media_player.py @@ -17,7 +17,6 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pyemby==1.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/emulated_roku/__init__.py b/homeassistant/components/emulated_roku/__init__.py index ef87e14ec434bf..f3c990868a2243 100644 --- a/homeassistant/components/emulated_roku/__init__.py +++ b/homeassistant/components/emulated_roku/__init__.py @@ -11,7 +11,6 @@ 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, diff --git a/homeassistant/components/enigma2/media_player.py b/homeassistant/components/enigma2/media_player.py index 11c3e0fe3ceab4..fb5d2111211fce 100644 --- a/homeassistant/components/enigma2/media_player.py +++ b/homeassistant/components/enigma2/media_player.py @@ -14,7 +14,6 @@ STATE_OFF, STATE_ON, STATE_PLAYING, CONF_PORT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['openwebifpy==3.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/enocean/__init__.py b/homeassistant/components/enocean/__init__.py index 8b3c27025cd26e..1432cfd740c83f 100644 --- a/homeassistant/components/enocean/__init__.py +++ b/homeassistant/components/enocean/__init__.py @@ -6,7 +6,6 @@ from homeassistant.const import CONF_DEVICE import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['enocean==0.40'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/enocean/binary_sensor.py b/homeassistant/components/enocean/binary_sensor.py index 1fde8c79e401dd..649bec024e3db3 100644 --- a/homeassistant/components/enocean/binary_sensor.py +++ b/homeassistant/components/enocean/binary_sensor.py @@ -12,7 +12,6 @@ _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 f574f89f951f77..26f0008a0ccab6 100644 --- a/homeassistant/components/enocean/light.py +++ b/homeassistant/components/enocean/light.py @@ -15,7 +15,6 @@ CONF_SENDER_ID = 'sender_id' DEFAULT_NAME = 'EnOcean Light' -DEPENDENCIES = ['enocean'] SUPPORT_ENOCEAN = SUPPORT_BRIGHTNESS diff --git a/homeassistant/components/enocean/sensor.py b/homeassistant/components/enocean/sensor.py index 8d79de2c50d700..41474c43d48195 100644 --- a/homeassistant/components/enocean/sensor.py +++ b/homeassistant/components/enocean/sensor.py @@ -12,7 +12,6 @@ _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)]), diff --git a/homeassistant/components/enocean/switch.py b/homeassistant/components/enocean/switch.py index 4dfbafd36b16f6..f0b132c9d1c2a8 100644 --- a/homeassistant/components/enocean/switch.py +++ b/homeassistant/components/enocean/switch.py @@ -12,7 +12,6 @@ _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 2b62732dc9106f..7077e12d7500a1 100644 --- a/homeassistant/components/enphase_envoy/sensor.py +++ b/homeassistant/components/enphase_envoy/sensor.py @@ -10,7 +10,6 @@ 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 b2e228676902f3..f58a6e9a5587ec 100644 --- a/homeassistant/components/entur_public_transport/sensor.py +++ b/homeassistant/components/entur_public_transport/sensor.py @@ -14,7 +14,6 @@ from homeassistant.util import Throttle import homeassistant.util.dt as dt_util -REQUIREMENTS = ['enturclient==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/envirophat/sensor.py b/homeassistant/components/envirophat/sensor.py index 16cb79406a9b9d..40961184b9a099 100644 --- a/homeassistant/components/envirophat/sensor.py +++ b/homeassistant/components/envirophat/sensor.py @@ -11,8 +11,6 @@ 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__) diff --git a/homeassistant/components/envisalink/__init__.py b/homeassistant/components/envisalink/__init__.py index c46a26c6f857f3..5aa0b8e7fb55ac 100644 --- a/homeassistant/components/envisalink/__init__.py +++ b/homeassistant/components/envisalink/__init__.py @@ -12,7 +12,6 @@ from homeassistant.helpers.discovery import async_load_platform from homeassistant.helpers.dispatcher import async_dispatcher_send -REQUIREMENTS = ['pyenvisalink==3.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/envisalink/alarm_control_panel.py b/homeassistant/components/envisalink/alarm_control_panel.py index 44874c6d5e8445..d5aa0af95f7677 100644 --- a/homeassistant/components/envisalink/alarm_control_panel.py +++ b/homeassistant/components/envisalink/alarm_control_panel.py @@ -18,7 +18,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['envisalink'] SERVICE_ALARM_KEYPRESS = 'envisalink_alarm_keypress' ATTR_KEYPRESS = 'keypress' diff --git a/homeassistant/components/envisalink/binary_sensor.py b/homeassistant/components/envisalink/binary_sensor.py index 267bba8cd288ee..28963bed452976 100644 --- a/homeassistant/components/envisalink/binary_sensor.py +++ b/homeassistant/components/envisalink/binary_sensor.py @@ -14,7 +14,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['envisalink'] async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/envisalink/sensor.py b/homeassistant/components/envisalink/sensor.py index 67a601b02a2ff5..df1fc9d15ead88 100644 --- a/homeassistant/components/envisalink/sensor.py +++ b/homeassistant/components/envisalink/sensor.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['envisalink'] async def async_setup_platform( diff --git a/homeassistant/components/ephember/climate.py b/homeassistant/components/ephember/climate.py index 3052dd911ee5de..ba51b72d71b2b5 100644 --- a/homeassistant/components/ephember/climate.py +++ b/homeassistant/components/ephember/climate.py @@ -11,7 +11,6 @@ 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__) diff --git a/homeassistant/components/epson/media_player.py b/homeassistant/components/epson/media_player.py index 57bd18e0ee0e50..dc64d443454d28 100644 --- a/homeassistant/components/epson/media_player.py +++ b/homeassistant/components/epson/media_player.py @@ -15,7 +15,6 @@ 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__) diff --git a/homeassistant/components/eq3btsmart/climate.py b/homeassistant/components/eq3btsmart/climate.py index f02bd2bc9a55e2..ad3fcc89daf311 100644 --- a/homeassistant/components/eq3btsmart/climate.py +++ b/homeassistant/components/eq3btsmart/climate.py @@ -13,7 +13,6 @@ 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__) diff --git a/homeassistant/components/esphome/__init__.py b/homeassistant/components/esphome/__init__.py index 9e6f6367cda4fd..1cf2b0e72424f3 100644 --- a/homeassistant/components/esphome/__init__.py +++ b/homeassistant/components/esphome/__init__.py @@ -32,7 +32,6 @@ ServiceCall, UserService DOMAIN = 'esphome' -REQUIREMENTS = ['aioesphomeapi==2.0.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/esphome/binary_sensor.py b/homeassistant/components/esphome/binary_sensor.py index 2db2f209fa5ac9..ff3fc2597925d3 100644 --- a/homeassistant/components/esphome/binary_sensor.py +++ b/homeassistant/components/esphome/binary_sensor.py @@ -10,7 +10,6 @@ # 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 319a2c2a4d9150..bb80ca72724374 100644 --- a/homeassistant/components/esphome/camera.py +++ b/homeassistant/components/esphome/camera.py @@ -13,7 +13,6 @@ # 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 e3cd9e488bf60d..e95f9e446337f2 100644 --- a/homeassistant/components/esphome/climate.py +++ b/homeassistant/components/esphome/climate.py @@ -19,7 +19,6 @@ # 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 68eb4221a931c9..5eb12aa86ec3bf 100644 --- a/homeassistant/components/esphome/cover.py +++ b/homeassistant/components/esphome/cover.py @@ -15,7 +15,6 @@ # 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 973fa85774c0a9..35938de2455023 100644 --- a/homeassistant/components/esphome/fan.py +++ b/homeassistant/components/esphome/fan.py @@ -14,7 +14,6 @@ # 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 c84c50010d9482..3d55713b123c68 100644 --- a/homeassistant/components/esphome/light.py +++ b/homeassistant/components/esphome/light.py @@ -17,7 +17,6 @@ # 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 e4fb7ef82baf85..d8ae91e9243228 100644 --- a/homeassistant/components/esphome/sensor.py +++ b/homeassistant/components/esphome/sensor.py @@ -13,7 +13,6 @@ 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 e736c1df2097f1..41c5663537c7a7 100644 --- a/homeassistant/components/esphome/switch.py +++ b/homeassistant/components/esphome/switch.py @@ -12,7 +12,6 @@ # 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 082295bfea5479..5e29f725c023a2 100644 --- a/homeassistant/components/etherscan/sensor.py +++ b/homeassistant/components/etherscan/sensor.py @@ -9,7 +9,6 @@ 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" diff --git a/homeassistant/components/eufy/__init__.py b/homeassistant/components/eufy/__init__.py index b0bd9109363e39..25d3f1ead41ea8 100644 --- a/homeassistant/components/eufy/__init__.py +++ b/homeassistant/components/eufy/__init__.py @@ -9,7 +9,6 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['lakeside==0.12'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/eufy/light.py b/homeassistant/components/eufy/light.py index 62bc058f1555a8..677c672d8e697d 100644 --- a/homeassistant/components/eufy/light.py +++ b/homeassistant/components/eufy/light.py @@ -11,7 +11,6 @@ color_temperature_mired_to_kelvin as mired_to_kelvin, color_temperature_kelvin_to_mired as kelvin_to_mired) -DEPENDENCIES = ['eufy'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/eufy/switch.py b/homeassistant/components/eufy/switch.py index 96d68194107217..bd91bd50e82c5a 100644 --- a/homeassistant/components/eufy/switch.py +++ b/homeassistant/components/eufy/switch.py @@ -3,7 +3,6 @@ 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 a628f25ea288f0..9c3c31d3e85009 100644 --- a/homeassistant/components/everlights/light.py +++ b/homeassistant/components/everlights/light.py @@ -15,7 +15,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['pyeverlights==0.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/evohome/__init__.py b/homeassistant/components/evohome/__init__.py index 87a563ecd6d07f..3777285b7ebae7 100644 --- a/homeassistant/components/evohome/__init__.py +++ b/homeassistant/components/evohome/__init__.py @@ -19,7 +19,6 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.dispatcher import async_dispatcher_send -REQUIREMENTS = ['evohomeclient==0.3.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/familyhub/camera.py b/homeassistant/components/familyhub/camera.py index 18aa969132da79..7c75c0962ad258 100644 --- a/homeassistant/components/familyhub/camera.py +++ b/homeassistant/components/familyhub/camera.py @@ -10,7 +10,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['python-family-hub-local==0.0.2'] DEFAULT_NAME = 'FamilyHub Camera' diff --git a/homeassistant/components/fan/__init__.py b/homeassistant/components/fan/__init__.py index e67ba390a98e53..23015769f28867 100644 --- a/homeassistant/components/fan/__init__.py +++ b/homeassistant/components/fan/__init__.py @@ -18,7 +18,6 @@ _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 973cc8e36597f1..b469e79310059a 100644 --- a/homeassistant/components/fastdotcom/__init__.py +++ b/homeassistant/components/fastdotcom/__init__.py @@ -10,7 +10,6 @@ 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 37fc0815ddcd93..fe47fbc0d1f6c3 100644 --- a/homeassistant/components/fastdotcom/sensor.py +++ b/homeassistant/components/fastdotcom/sensor.py @@ -7,7 +7,6 @@ from . import DATA_UPDATED, DOMAIN as FASTDOTCOM_DOMAIN -DEPENDENCIES = ['fastdotcom'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fedex/sensor.py b/homeassistant/components/fedex/sensor.py index 74ad4f7d0e53c4..c744d8cadaddc6 100644 --- a/homeassistant/components/fedex/sensor.py +++ b/homeassistant/components/fedex/sensor.py @@ -14,7 +14,6 @@ from homeassistant.util import slugify from homeassistant.util.dt import now, parse_date -REQUIREMENTS = ['fedexdeliverymanager==1.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/feedreader/__init__.py b/homeassistant/components/feedreader/__init__.py index 86744bfd39c771..9a27205fcb3be3 100644 --- a/homeassistant/components/feedreader/__init__.py +++ b/homeassistant/components/feedreader/__init__.py @@ -11,7 +11,6 @@ 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__) diff --git a/homeassistant/components/ffmpeg/__init__.py b/homeassistant/components/ffmpeg/__init__.py index 05bc1d991678d0..b6e220af83737d 100644 --- a/homeassistant/components/ffmpeg/__init__.py +++ b/homeassistant/components/ffmpeg/__init__.py @@ -12,7 +12,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['ha-ffmpeg==2.0'] DOMAIN = 'ffmpeg' diff --git a/homeassistant/components/ffmpeg/camera.py b/homeassistant/components/ffmpeg/camera.py index 8bca13cfbb7c94..cea6e43331e395 100644 --- a/homeassistant/components/ffmpeg/camera.py +++ b/homeassistant/components/ffmpeg/camera.py @@ -14,7 +14,6 @@ _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 c274d84329e62d..1a77da34f0bfdd 100644 --- a/homeassistant/components/ffmpeg_motion/binary_sensor.py +++ b/homeassistant/components/ffmpeg_motion/binary_sensor.py @@ -12,7 +12,6 @@ CONF_INITIAL_STATE) from homeassistant.const import CONF_NAME -DEPENDENCIES = ['ffmpeg'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ffmpeg_noise/binary_sensor.py b/homeassistant/components/ffmpeg_noise/binary_sensor.py index 7efcc3deda2637..01047a67adb03c 100644 --- a/homeassistant/components/ffmpeg_noise/binary_sensor.py +++ b/homeassistant/components/ffmpeg_noise/binary_sensor.py @@ -12,7 +12,6 @@ CONF_INITIAL_STATE) from homeassistant.const import CONF_NAME -DEPENDENCIES = ['ffmpeg'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fibaro/__init__.py b/homeassistant/components/fibaro/__init__.py index 6b37b178a595bb..06580e0c3d1c53 100644 --- a/homeassistant/components/fibaro/__init__.py +++ b/homeassistant/components/fibaro/__init__.py @@ -13,7 +13,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import convert, slugify -REQUIREMENTS = ['fiblary3==0.1.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fibaro/binary_sensor.py b/homeassistant/components/fibaro/binary_sensor.py index f71a5f3662e8e2..810b7b31a59e5d 100644 --- a/homeassistant/components/fibaro/binary_sensor.py +++ b/homeassistant/components/fibaro/binary_sensor.py @@ -7,7 +7,6 @@ from . import FIBARO_DEVICES, FibaroDevice -DEPENDENCIES = ['fibaro'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fibaro/climate.py b/homeassistant/components/fibaro/climate.py index 0d1ecc3a77f9cf..cf983e789c8625 100644 --- a/homeassistant/components/fibaro/climate.py +++ b/homeassistant/components/fibaro/climate.py @@ -44,7 +44,6 @@ FAN_UP_DOWN = 'up_down' FAN_QUIET = 'quiet' -DEPENDENCIES = ['fibaro'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fibaro/cover.py b/homeassistant/components/fibaro/cover.py index 0f5cc32bc9695b..ea1e9f825ec7ac 100644 --- a/homeassistant/components/fibaro/cover.py +++ b/homeassistant/components/fibaro/cover.py @@ -6,7 +6,6 @@ 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 600b566b36b23c..ba5d9265c5bf6d 100644 --- a/homeassistant/components/fibaro/light.py +++ b/homeassistant/components/fibaro/light.py @@ -14,7 +14,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['fibaro'] def scaleto255(value): diff --git a/homeassistant/components/fibaro/scene.py b/homeassistant/components/fibaro/scene.py index 93f0cd5b63afd0..09979a7fae7c7c 100644 --- a/homeassistant/components/fibaro/scene.py +++ b/homeassistant/components/fibaro/scene.py @@ -5,7 +5,6 @@ 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 20a37fd3c23756..db9d103d87eb6c 100644 --- a/homeassistant/components/fibaro/sensor.py +++ b/homeassistant/components/fibaro/sensor.py @@ -22,7 +22,6 @@ ['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 024531f62c70e8..f134b424484de6 100644 --- a/homeassistant/components/fibaro/switch.py +++ b/homeassistant/components/fibaro/switch.py @@ -6,7 +6,6 @@ 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 00754c5ba68c12..313e706e759592 100644 --- a/homeassistant/components/fido/sensor.py +++ b/homeassistant/components/fido/sensor.py @@ -20,7 +20,6 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyfido==2.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fints/sensor.py b/homeassistant/components/fints/sensor.py index dce52785fbf269..301483586bbd6a 100644 --- a/homeassistant/components/fints/sensor.py +++ b/homeassistant/components/fints/sensor.py @@ -10,7 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['fints==1.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fitbit/sensor.py b/homeassistant/components/fitbit/sensor.py index abbe69c3e1d7db..fccf38d2e1f953 100644 --- a/homeassistant/components/fitbit/sensor.py +++ b/homeassistant/components/fitbit/sensor.py @@ -17,7 +17,6 @@ from homeassistant.util.json import load_json, save_json -REQUIREMENTS = ['fitbit==0.3.0'] _CONFIGURING = {} _LOGGER = logging.getLogger(__name__) @@ -32,7 +31,6 @@ 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' diff --git a/homeassistant/components/fixer/sensor.py b/homeassistant/components/fixer/sensor.py index f746d2008e10f3..31de52c5b4f2dc 100644 --- a/homeassistant/components/fixer/sensor.py +++ b/homeassistant/components/fixer/sensor.py @@ -9,7 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['fixerio==1.0.0a0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/flexit/climate.py b/homeassistant/components/flexit/climate.py index fe7b5ff8e7cd2f..d5fc4f1eb458d3 100644 --- a/homeassistant/components/flexit/climate.py +++ b/homeassistant/components/flexit/climate.py @@ -25,8 +25,6 @@ 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, diff --git a/homeassistant/components/flic/binary_sensor.py b/homeassistant/components/flic/binary_sensor.py index 083ac01ab4a2d9..e01300ce1ae4ed 100644 --- a/homeassistant/components/flic/binary_sensor.py +++ b/homeassistant/components/flic/binary_sensor.py @@ -11,7 +11,6 @@ from homeassistant.components.binary_sensor import ( BinarySensorDevice, PLATFORM_SCHEMA) -REQUIREMENTS = ['pyflic-homeassistant==0.4.dev0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/flunearyou/sensor.py b/homeassistant/components/flunearyou/sensor.py index 65de2c6ae43e0d..148a3ee41592d2 100644 --- a/homeassistant/components/flunearyou/sensor.py +++ b/homeassistant/components/flunearyou/sensor.py @@ -13,7 +13,6 @@ 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 fdd0c09b9d7a60..f020d0e6ea308d 100644 --- a/homeassistant/components/flux/switch.py +++ b/homeassistant/components/flux/switch.py @@ -42,7 +42,6 @@ MODE_MIRED = 'mired' MODE_RGB = 'rgb' DEFAULT_MODE = MODE_XY -DEPENDENCIES = ['light'] PLATFORM_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/flux_led/light.py b/homeassistant/components/flux_led/light.py index 0ed14c49ec851c..fabf4d1115a17e 100644 --- a/homeassistant/components/flux_led/light.py +++ b/homeassistant/components/flux_led/light.py @@ -15,7 +15,6 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['flux_led==0.22'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/folder_watcher/__init__.py b/homeassistant/components/folder_watcher/__init__.py index babfbd9e9aa61c..2a9552437d6c33 100644 --- a/homeassistant/components/folder_watcher/__init__.py +++ b/homeassistant/components/folder_watcher/__init__.py @@ -8,7 +8,6 @@ EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['watchdog==0.8.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/foobot/sensor.py b/homeassistant/components/foobot/sensor.py index 2eeca5243a66f5..0ecd068cf85a56 100644 --- a/homeassistant/components/foobot/sensor.py +++ b/homeassistant/components/foobot/sensor.py @@ -16,7 +16,6 @@ from homeassistant.util import Throttle -REQUIREMENTS = ['foobot_async==0.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/foscam/camera.py b/homeassistant/components/foscam/camera.py index 6ce8f1865fcf77..6b88745217a456 100644 --- a/homeassistant/components/foscam/camera.py +++ b/homeassistant/components/foscam/camera.py @@ -11,7 +11,6 @@ _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 0c5a48049ecc9e..dd8349998886e5 100644 --- a/homeassistant/components/foursquare/__init__.py +++ b/homeassistant/components/foursquare/__init__.py @@ -12,7 +12,6 @@ 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 03beef52357af6..f99c33911e4745 100644 --- a/homeassistant/components/free_mobile/notify.py +++ b/homeassistant/components/free_mobile/notify.py @@ -9,7 +9,6 @@ from homeassistant.components.notify import (PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['freesms==0.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/freebox/__init__.py b/homeassistant/components/freebox/__init__.py index 7accf7820f4d14..fbc629afaa9f09 100644 --- a/homeassistant/components/freebox/__init__.py +++ b/homeassistant/components/freebox/__init__.py @@ -9,7 +9,6 @@ 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__) diff --git a/homeassistant/components/freebox/device_tracker.py b/homeassistant/components/freebox/device_tracker.py index 5418c1c61a7322..1ded4d43adf66d 100644 --- a/homeassistant/components/freebox/device_tracker.py +++ b/homeassistant/components/freebox/device_tracker.py @@ -6,7 +6,6 @@ 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 328665ab51cd9b..a70d933878c4db 100644 --- a/homeassistant/components/freebox/sensor.py +++ b/homeassistant/components/freebox/sensor.py @@ -5,7 +5,6 @@ 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 4de194fc9023fd..40f3a7862c12ce 100644 --- a/homeassistant/components/freebox/switch.py +++ b/homeassistant/components/freebox/switch.py @@ -5,7 +5,6 @@ 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 3e3e04f44475fb..45c7f6630c2f86 100644 --- a/homeassistant/components/fritz/device_tracker.py +++ b/homeassistant/components/fritz/device_tracker.py @@ -8,7 +8,6 @@ DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_USERNAME -REQUIREMENTS = ['fritzconnection==0.6.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fritzbox/__init__.py b/homeassistant/components/fritzbox/__init__.py index 81ba019acbc0b0..d40bafee3945d0 100644 --- a/homeassistant/components/fritzbox/__init__.py +++ b/homeassistant/components/fritzbox/__init__.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pyfritzhome==0.4.0'] SUPPORTED_DOMAINS = ['binary_sensor', 'climate', 'switch', 'sensor'] diff --git a/homeassistant/components/fritzbox/binary_sensor.py b/homeassistant/components/fritzbox/binary_sensor.py index 65578c571805e9..468ff7e87fd5c8 100644 --- a/homeassistant/components/fritzbox/binary_sensor.py +++ b/homeassistant/components/fritzbox/binary_sensor.py @@ -7,7 +7,6 @@ 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 e2c9be833ac4d3..8dd87b7b92ae53 100644 --- a/homeassistant/components/fritzbox/climate.py +++ b/homeassistant/components/fritzbox/climate.py @@ -16,7 +16,6 @@ ATTR_STATE_LOCKED, ATTR_STATE_SUMMER_MODE, ATTR_STATE_WINDOW_OPEN, DOMAIN as FRITZBOX_DOMAIN) -DEPENDENCIES = ['fritzbox'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fritzbox/sensor.py b/homeassistant/components/fritzbox/sensor.py index 7309f8cc6180a6..5467e3423d9f3f 100644 --- a/homeassistant/components/fritzbox/sensor.py +++ b/homeassistant/components/fritzbox/sensor.py @@ -9,7 +9,6 @@ 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 e227cdaef8a00a..1b6bfcb999e296 100644 --- a/homeassistant/components/fritzbox/switch.py +++ b/homeassistant/components/fritzbox/switch.py @@ -10,7 +10,6 @@ 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_callmonitor/sensor.py b/homeassistant/components/fritzbox_callmonitor/sensor.py index a6641bc14ad5b5..f6115841d641ac 100644 --- a/homeassistant/components/fritzbox_callmonitor/sensor.py +++ b/homeassistant/components/fritzbox_callmonitor/sensor.py @@ -16,7 +16,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['fritzconnection==0.6.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fritzbox_netmonitor/sensor.py b/homeassistant/components/fritzbox_netmonitor/sensor.py index 93f834a894d3b7..6be5dc746eba00 100644 --- a/homeassistant/components/fritzbox_netmonitor/sensor.py +++ b/homeassistant/components/fritzbox_netmonitor/sensor.py @@ -11,7 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['fritzconnection==0.6.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fritzdect/switch.py b/homeassistant/components/fritzdect/switch.py index 449ae5a76f13ae..8838449c3bcf3d 100644 --- a/homeassistant/components/fritzdect/switch.py +++ b/homeassistant/components/fritzdect/switch.py @@ -11,7 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.const import TEMP_CELSIUS, ATTR_TEMPERATURE -REQUIREMENTS = ['fritzhome==1.0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/frontend/__init__.py b/homeassistant/components/frontend/__init__.py index cfee41dc6ae806..75e07d1c153508 100644 --- a/homeassistant/components/frontend/__init__.py +++ b/homeassistant/components/frontend/__init__.py @@ -21,11 +21,8 @@ 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' diff --git a/homeassistant/components/frontier_silicon/media_player.py b/homeassistant/components/frontier_silicon/media_player.py index 4f28d83e6cfe36..bd03308efba6d8 100644 --- a/homeassistant/components/frontier_silicon/media_player.py +++ b/homeassistant/components/frontier_silicon/media_player.py @@ -15,7 +15,6 @@ STATE_PLAYING, STATE_UNKNOWN) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['afsapi==0.0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/futurenow/light.py b/homeassistant/components/futurenow/light.py index 4b570fd0a4dcdb..04d68e8676959b 100644 --- a/homeassistant/components/futurenow/light.py +++ b/homeassistant/components/futurenow/light.py @@ -11,7 +11,6 @@ PLATFORM_SCHEMA) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyfnip==0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gc100/__init__.py b/homeassistant/components/gc100/__init__.py index 36e9c61b1ba1e1..ad7d562c67e509 100644 --- a/homeassistant/components/gc100/__init__.py +++ b/homeassistant/components/gc100/__init__.py @@ -7,7 +7,6 @@ EVENT_HOMEASSISTANT_STOP, CONF_HOST, CONF_PORT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-gc100==1.0.3a'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gc100/binary_sensor.py b/homeassistant/components/gc100/binary_sensor.py index 9588506af77666..e8343c4229e849 100644 --- a/homeassistant/components/gc100/binary_sensor.py +++ b/homeassistant/components/gc100/binary_sensor.py @@ -8,7 +8,6 @@ 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 1ffb2726495ffc..975bc57be63fc2 100644 --- a/homeassistant/components/gc100/switch.py +++ b/homeassistant/components/gc100/switch.py @@ -8,7 +8,6 @@ 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 e4f85a1892dfc7..ee0ee6d4e3bffb 100644 --- a/homeassistant/components/gearbest/sensor.py +++ b/homeassistant/components/gearbest/sensor.py @@ -11,7 +11,6 @@ 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 d619d768c234e3..745bf0e4f35c3f 100644 --- a/homeassistant/components/geizhals/sensor.py +++ b/homeassistant/components/geizhals/sensor.py @@ -10,7 +10,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.const import CONF_NAME -REQUIREMENTS = ['geizhals==0.0.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/generic_thermostat/climate.py b/homeassistant/components/generic_thermostat/climate.py index 35efa82c8a3c1f..68ca430183875e 100644 --- a/homeassistant/components/generic_thermostat/climate.py +++ b/homeassistant/components/generic_thermostat/climate.py @@ -23,7 +23,6 @@ _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 e89616126d5f24..143665a120f0d1 100644 --- a/homeassistant/components/geo_json_events/geo_location.py +++ b/homeassistant/components/geo_json_events/geo_location.py @@ -16,7 +16,6 @@ async_dispatcher_connect, dispatcher_send) from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['geojson_client==0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/geo_rss_events/sensor.py b/homeassistant/components/geo_rss_events/sensor.py index f71a60c2e83e89..f11378c459bbaa 100644 --- a/homeassistant/components/geo_rss_events/sensor.py +++ b/homeassistant/components/geo_rss_events/sensor.py @@ -20,7 +20,6 @@ CONF_LATITUDE, CONF_LONGITUDE, CONF_RADIUS, CONF_URL) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['georss_generic_client==0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/geofency/__init__.py b/homeassistant/components/geofency/__init__.py index 88b72f02cc2e9f..cc35251be350ef 100644 --- a/homeassistant/components/geofency/__init__.py +++ b/homeassistant/components/geofency/__init__.py @@ -16,7 +16,6 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'geofency' -DEPENDENCIES = ['webhook'] CONF_MOBILE_BEACONS = 'mobile_beacons' diff --git a/homeassistant/components/geofency/device_tracker.py b/homeassistant/components/geofency/device_tracker.py index 0a1a9d5f32edc6..4b519681bd4370 100644 --- a/homeassistant/components/geofency/device_tracker.py +++ b/homeassistant/components/geofency/device_tracker.py @@ -9,7 +9,6 @@ _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 5a86233d561ff7..c34ba032079937 100644 --- a/homeassistant/components/github/sensor.py +++ b/homeassistant/components/github/sensor.py @@ -9,7 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['PyGithub==1.43.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gitlab_ci/sensor.py b/homeassistant/components/gitlab_ci/sensor.py index dd574b348d8239..3bb2cce9112f7f 100644 --- a/homeassistant/components/gitlab_ci/sensor.py +++ b/homeassistant/components/gitlab_ci/sensor.py @@ -11,7 +11,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['python-gitlab==1.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gitter/sensor.py b/homeassistant/components/gitter/sensor.py index 2af9c20fb29094..27b39e6b14d542 100644 --- a/homeassistant/components/gitter/sensor.py +++ b/homeassistant/components/gitter/sensor.py @@ -8,7 +8,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['gitterpy==0.1.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/glances/sensor.py b/homeassistant/components/glances/sensor.py index db8f0397887e89..f00bd54c07e521 100644 --- a/homeassistant/components/glances/sensor.py +++ b/homeassistant/components/glances/sensor.py @@ -14,7 +14,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['glances_api==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gntp/notify.py b/homeassistant/components/gntp/notify.py index fb3e96e83ab827..8044b6934aa31d 100644 --- a/homeassistant/components/gntp/notify.py +++ b/homeassistant/components/gntp/notify.py @@ -10,7 +10,6 @@ from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['gntp==1.0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/goalfeed/__init__.py b/homeassistant/components/goalfeed/__init__.py index 6f0149f657a908..4a7e4ea980a4c5 100644 --- a/homeassistant/components/goalfeed/__init__.py +++ b/homeassistant/components/goalfeed/__init__.py @@ -9,7 +9,6 @@ # 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 4d40ddd2c72ee9..0aaface552a696 100644 --- a/homeassistant/components/gogogate2/cover.py +++ b/homeassistant/components/gogogate2/cover.py @@ -10,7 +10,6 @@ CONF_IP_ADDRESS, CONF_NAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pygogogate2==0.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/google/__init__.py b/homeassistant/components/google/__init__.py index 0216094de9b872..3f7c4191a5596c 100644 --- a/homeassistant/components/google/__init__.py +++ b/homeassistant/components/google/__init__.py @@ -13,11 +13,6 @@ 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__) diff --git a/homeassistant/components/google/tts.py b/homeassistant/components/google/tts.py index 49a945cbbfd241..8fff0d98bcdb54 100644 --- a/homeassistant/components/google/tts.py +++ b/homeassistant/components/google/tts.py @@ -12,7 +12,6 @@ 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__) diff --git a/homeassistant/components/google_assistant/__init__.py b/homeassistant/components/google_assistant/__init__.py index 0fd167c2729436..6118ab219e4d1c 100644 --- a/homeassistant/components/google_assistant/__init__.py +++ b/homeassistant/components/google_assistant/__init__.py @@ -28,7 +28,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['http'] ENTITY_SCHEMA = vol.Schema({ vol.Optional(CONF_NAME): cv.string, diff --git a/homeassistant/components/google_maps/device_tracker.py b/homeassistant/components/google_maps/device_tracker.py index 7bc9be00b8cc66..c5d635008498ab 100644 --- a/homeassistant/components/google_maps/device_tracker.py +++ b/homeassistant/components/google_maps/device_tracker.py @@ -14,7 +14,6 @@ from homeassistant.helpers.typing import ConfigType from homeassistant.util import slugify, dt as dt_util -REQUIREMENTS = ['locationsharinglib==3.0.11'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/google_pubsub/__init__.py b/homeassistant/components/google_pubsub/__init__.py index 18c068ea454bcc..c12c6189bb0663 100644 --- a/homeassistant/components/google_pubsub/__init__.py +++ b/homeassistant/components/google_pubsub/__init__.py @@ -15,7 +15,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['google-cloud-pubsub==0.39.1'] DOMAIN = 'google_pubsub' diff --git a/homeassistant/components/google_travel_time/sensor.py b/homeassistant/components/google_travel_time/sensor.py index b448830ab02aa6..446c4c5968d393 100644 --- a/homeassistant/components/google_travel_time/sensor.py +++ b/homeassistant/components/google_travel_time/sensor.py @@ -15,7 +15,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['googlemaps==2.5.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/googlehome/__init__.py b/homeassistant/components/googlehome/__init__.py index 6ebc2f512b1fef..ace0227c3c7c44 100644 --- a/homeassistant/components/googlehome/__init__.py +++ b/homeassistant/components/googlehome/__init__.py @@ -10,7 +10,6 @@ _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 c024cde0c6ce66..35e61cb169ba8d 100644 --- a/homeassistant/components/googlehome/device_tracker.py +++ b/homeassistant/components/googlehome/device_tracker.py @@ -10,7 +10,6 @@ _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 4f37740da85ed2..f39a2625207f94 100644 --- a/homeassistant/components/googlehome/sensor.py +++ b/homeassistant/components/googlehome/sensor.py @@ -8,7 +8,6 @@ from . import CLIENT, DOMAIN as GOOGLEHOME_DOMAIN, NAME -DEPENDENCIES = ['googlehome'] SCAN_INTERVAL = timedelta(seconds=10) diff --git a/homeassistant/components/gpmdp/media_player.py b/homeassistant/components/gpmdp/media_player.py index 788126b957f9fc..174d5aadeded81 100644 --- a/homeassistant/components/gpmdp/media_player.py +++ b/homeassistant/components/gpmdp/media_player.py @@ -16,7 +16,6 @@ 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 62307cb1011631..2bb50265ef9eff 100644 --- a/homeassistant/components/gpsd/sensor.py +++ b/homeassistant/components/gpsd/sensor.py @@ -10,7 +10,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['gps3==0.33.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gpslogger/__init__.py b/homeassistant/components/gpslogger/__init__.py index 6bc9d11a68e088..193b2d84974f2e 100644 --- a/homeassistant/components/gpslogger/__init__.py +++ b/homeassistant/components/gpslogger/__init__.py @@ -15,7 +15,6 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'gpslogger' -DEPENDENCIES = ['webhook'] TRACKER_UPDATE = '{}_tracker_update'.format(DOMAIN) diff --git a/homeassistant/components/gpslogger/device_tracker.py b/homeassistant/components/gpslogger/device_tracker.py index c9496975272811..5b819e1ee546f7 100644 --- a/homeassistant/components/gpslogger/device_tracker.py +++ b/homeassistant/components/gpslogger/device_tracker.py @@ -10,7 +10,6 @@ _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 aedc98aac314e6..f0938f3fecf637 100644 --- a/homeassistant/components/greeneye_monitor/__init__.py +++ b/homeassistant/components/greeneye_monitor/__init__.py @@ -11,7 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import async_load_platform -REQUIREMENTS = ['greeneye_monitor==1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/greeneye_monitor/sensor.py b/homeassistant/components/greeneye_monitor/sensor.py index 8321bb768cabf0..a84e9f02210dbd 100644 --- a/homeassistant/components/greeneye_monitor/sensor.py +++ b/homeassistant/components/greeneye_monitor/sensor.py @@ -23,7 +23,6 @@ _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 b8efe8ae17dcba..a8418a01ac2ee0 100644 --- a/homeassistant/components/greenwave/light.py +++ b/homeassistant/components/greenwave/light.py @@ -10,7 +10,6 @@ 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 094a561d310ea5..e875e88da3d890 100644 --- a/homeassistant/components/gstreamer/media_player.py +++ b/homeassistant/components/gstreamer/media_player.py @@ -11,7 +11,6 @@ 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__) diff --git a/homeassistant/components/gtfs/sensor.py b/homeassistant/components/gtfs/sensor.py index 9e89a8ad844de3..ac100f079877c3 100644 --- a/homeassistant/components/gtfs/sensor.py +++ b/homeassistant/components/gtfs/sensor.py @@ -17,7 +17,6 @@ from homeassistant.util import slugify import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pygtfs==0.1.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gtt/sensor.py b/homeassistant/components/gtt/sensor.py index 659984fadea8f9..444f5a05fa61ca 100644 --- a/homeassistant/components/gtt/sensor.py +++ b/homeassistant/components/gtt/sensor.py @@ -9,7 +9,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pygtt==1.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/habitica/__init__.py b/homeassistant/components/habitica/__init__.py index 23113a1388b4f7..6abd043f3774d1 100644 --- a/homeassistant/components/habitica/__init__.py +++ b/homeassistant/components/habitica/__init__.py @@ -9,7 +9,6 @@ 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__) diff --git a/homeassistant/components/hangouts/__init__.py b/homeassistant/components/hangouts/__init__.py index 29cdc29e5ada6c..94d1af74a0de88 100644 --- a/homeassistant/components/hangouts/__init__.py +++ b/homeassistant/components/hangouts/__init__.py @@ -19,7 +19,6 @@ MESSAGE_SCHEMA, SERVICE_RECONNECT, SERVICE_SEND_MESSAGE, SERVICE_UPDATE, TARGETS_SCHEMA) -REQUIREMENTS = ['hangups==0.4.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hangouts/notify.py b/homeassistant/components/hangouts/notify.py index de9af2e077512b..afb1cda8eee175 100644 --- a/homeassistant/components/hangouts/notify.py +++ b/homeassistant/components/hangouts/notify.py @@ -12,7 +12,6 @@ _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 cec0ac4f5c8653..8516f95e0e68f7 100644 --- a/homeassistant/components/harman_kardon_avr/media_player.py +++ b/homeassistant/components/harman_kardon_avr/media_player.py @@ -12,7 +12,6 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_PORT, STATE_OFF, STATE_ON) -REQUIREMENTS = ['hkavr==0.0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/harmony/remote.py b/homeassistant/components/harmony/remote.py index 12b3a91e12b675..ce1f3d62a3f622 100644 --- a/homeassistant/components/harmony/remote.py +++ b/homeassistant/components/harmony/remote.py @@ -16,7 +16,6 @@ from homeassistant.exceptions import PlatformNotReady from homeassistant.util import slugify -REQUIREMENTS = ['aioharmony==0.1.11'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hassio/__init__.py b/homeassistant/components/hassio/__init__.py index e8d04b1596d980..2fdb859c320934 100644 --- a/homeassistant/components/hassio/__init__.py +++ b/homeassistant/components/hassio/__init__.py @@ -25,7 +25,6 @@ _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 8eb13c5ab213ae..359f6e742b5c4c 100644 --- a/homeassistant/components/hdmi_cec/__init__.py +++ b/homeassistant/components/hdmi_cec/__init__.py @@ -17,7 +17,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyCEC==0.4.13'] DOMAIN = 'hdmi_cec' diff --git a/homeassistant/components/hdmi_cec/media_player.py b/homeassistant/components/hdmi_cec/media_player.py index b2d2910e145bbe..d12488bacf10c7 100644 --- a/homeassistant/components/hdmi_cec/media_player.py +++ b/homeassistant/components/hdmi_cec/media_player.py @@ -11,7 +11,6 @@ from . import ATTR_NEW, CecDevice -DEPENDENCIES = ['hdmi_cec'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hdmi_cec/switch.py b/homeassistant/components/hdmi_cec/switch.py index 639f545707ee2b..074de13cdc26aa 100644 --- a/homeassistant/components/hdmi_cec/switch.py +++ b/homeassistant/components/hdmi_cec/switch.py @@ -6,7 +6,6 @@ from . import ATTR_NEW, CecDevice -DEPENDENCIES = ['hdmi_cec'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/heatmiser/climate.py b/homeassistant/components/heatmiser/climate.py index fc9057bc905699..adc331372770e1 100644 --- a/homeassistant/components/heatmiser/climate.py +++ b/homeassistant/components/heatmiser/climate.py @@ -10,7 +10,6 @@ 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__) diff --git a/homeassistant/components/heos/__init__.py b/homeassistant/components/heos/__init__.py index 084444be4ea87f..ab837c70c4cd6a 100644 --- a/homeassistant/components/heos/__init__.py +++ b/homeassistant/components/heos/__init__.py @@ -19,7 +19,6 @@ 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({ diff --git a/homeassistant/components/heos/media_player.py b/homeassistant/components/heos/media_player.py index 72d42f8f66f6bb..fa44a33fe2f15b 100644 --- a/homeassistant/components/heos/media_player.py +++ b/homeassistant/components/heos/media_player.py @@ -17,7 +17,6 @@ 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 | \ diff --git a/homeassistant/components/hikvision/binary_sensor.py b/homeassistant/components/hikvision/binary_sensor.py index a6a82c9ee1b814..f15d67396151b4 100644 --- a/homeassistant/components/hikvision/binary_sensor.py +++ b/homeassistant/components/hikvision/binary_sensor.py @@ -13,7 +13,6 @@ 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 6e5dcdac9aae6b..373f84cee0e3a5 100644 --- a/homeassistant/components/hikvisioncam/switch.py +++ b/homeassistant/components/hikvisioncam/switch.py @@ -10,7 +10,6 @@ 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 5128b8beea341c..b5e959ac4ed6ad 100644 --- a/homeassistant/components/hipchat/notify.py +++ b/homeassistant/components/hipchat/notify.py @@ -10,7 +10,6 @@ PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['hipnotify==1.0.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/history/__init__.py b/homeassistant/components/history/__init__.py index 7b07fac19a692d..8a45c1c4132af1 100644 --- a/homeassistant/components/history/__init__.py +++ b/homeassistant/components/history/__init__.py @@ -19,7 +19,6 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'history' -DEPENDENCIES = ['recorder', 'http'] CONF_ORDER = 'use_include_order' diff --git a/homeassistant/components/history_graph/__init__.py b/homeassistant/components/history_graph/__init__.py index 893f3514d77f93..8de1873d78ba7a 100644 --- a/homeassistant/components/history_graph/__init__.py +++ b/homeassistant/components/history_graph/__init__.py @@ -8,7 +8,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.entity_component import EntityComponent -DEPENDENCIES = ['history'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/history_stats/sensor.py b/homeassistant/components/history_stats/sensor.py index f1eea4dd693086..27342da285d01c 100644 --- a/homeassistant/components/history_stats/sensor.py +++ b/homeassistant/components/history_stats/sensor.py @@ -20,7 +20,6 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'history_stats' -DEPENDENCIES = ['history'] CONF_START = 'start' CONF_END = 'end' diff --git a/homeassistant/components/hive/__init__.py b/homeassistant/components/hive/__init__.py index 934c44028ac27b..21603e35c4f740 100644 --- a/homeassistant/components/hive/__init__.py +++ b/homeassistant/components/hive/__init__.py @@ -8,7 +8,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform -REQUIREMENTS = ['pyhiveapi==0.2.17'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hive/binary_sensor.py b/homeassistant/components/hive/binary_sensor.py index a0973f4d8e93a7..a40ee769eeacd5 100644 --- a/homeassistant/components/hive/binary_sensor.py +++ b/homeassistant/components/hive/binary_sensor.py @@ -3,7 +3,6 @@ from . import DATA_HIVE, DOMAIN -DEPENDENCIES = ['hive'] DEVICETYPE_DEVICE_CLASS = { 'motionsensor': 'motion', diff --git a/homeassistant/components/hive/climate.py b/homeassistant/components/hive/climate.py index dac7feb2927fe6..b76071084c0776 100644 --- a/homeassistant/components/hive/climate.py +++ b/homeassistant/components/hive/climate.py @@ -8,7 +8,6 @@ from . import DATA_HIVE, DOMAIN -DEPENDENCIES = ['hive'] HIVE_TO_HASS_STATE = { 'SCHEDULE': STATE_AUTO, diff --git a/homeassistant/components/hive/light.py b/homeassistant/components/hive/light.py index 3a2176c3eedab7..9d022e51a04705 100644 --- a/homeassistant/components/hive/light.py +++ b/homeassistant/components/hive/light.py @@ -6,7 +6,6 @@ from . import DATA_HIVE, DOMAIN -DEPENDENCIES = ['hive'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/hive/sensor.py b/homeassistant/components/hive/sensor.py index e7b7d6b45977aa..c7f92823432245 100644 --- a/homeassistant/components/hive/sensor.py +++ b/homeassistant/components/hive/sensor.py @@ -4,7 +4,6 @@ from . import DATA_HIVE, DOMAIN -DEPENDENCIES = ['hive'] FRIENDLY_NAMES = { 'Hub_OnlineStatus': 'Hive Hub Status', diff --git a/homeassistant/components/hive/switch.py b/homeassistant/components/hive/switch.py index fd4d3d69b50a06..6f9e8deb806814 100644 --- a/homeassistant/components/hive/switch.py +++ b/homeassistant/components/hive/switch.py @@ -3,7 +3,6 @@ from . import DATA_HIVE, DOMAIN -DEPENDENCIES = ['hive'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/hlk_sw16/__init__.py b/homeassistant/components/hlk_sw16/__init__.py index acb604bc0103b3..fb10b75502419a 100644 --- a/homeassistant/components/hlk_sw16/__init__.py +++ b/homeassistant/components/hlk_sw16/__init__.py @@ -13,7 +13,6 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_send, async_dispatcher_connect) -REQUIREMENTS = ['hlk-sw16==0.0.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hlk_sw16/switch.py b/homeassistant/components/hlk_sw16/switch.py index 164a504fa34406..fcd70019a8e9e1 100644 --- a/homeassistant/components/hlk_sw16/switch.py +++ b/homeassistant/components/hlk_sw16/switch.py @@ -6,7 +6,6 @@ from . import DATA_DEVICE_REGISTER, DOMAIN as HLK_SW16, SW16Device -DEPENDENCIES = [HLK_SW16] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit/__init__.py b/homeassistant/components/homekit/__init__.py index 01979f03b9a5f1..f01344af32f57f 100644 --- a/homeassistant/components/homekit/__init__.py +++ b/homeassistant/components/homekit/__init__.py @@ -26,7 +26,6 @@ from .util import ( show_setup_message, validate_entity_config, validate_media_player_features) -REQUIREMENTS = ['HAP-python==2.4.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit_controller/__init__.py b/homeassistant/components/homekit_controller/__init__.py index 2a43d0ac9ce5c4..6fbf4c6d254167 100644 --- a/homeassistant/components/homekit_controller/__init__.py +++ b/homeassistant/components/homekit_controller/__init__.py @@ -12,7 +12,6 @@ ) from .const import DOMAIN # noqa: pylint: disable=unused-import -REQUIREMENTS = ['homekit[IP]==0.13.0'] HOMEKIT_IGNORE = [ 'BSB002', diff --git a/homeassistant/components/homekit_controller/alarm_control_panel.py b/homeassistant/components/homekit_controller/alarm_control_panel.py index f9bc25f4237e0c..b70753834c920b 100644 --- a/homeassistant/components/homekit_controller/alarm_control_panel.py +++ b/homeassistant/components/homekit_controller/alarm_control_panel.py @@ -8,7 +8,6 @@ from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] ICON = 'mdi:security' diff --git a/homeassistant/components/homekit_controller/binary_sensor.py b/homeassistant/components/homekit_controller/binary_sensor.py index 2bd03b18932146..7649b24037c3b6 100644 --- a/homeassistant/components/homekit_controller/binary_sensor.py +++ b/homeassistant/components/homekit_controller/binary_sensor.py @@ -5,7 +5,6 @@ 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 67f1fb72bcfbb5..e223cbd800a80f 100644 --- a/homeassistant/components/homekit_controller/climate.py +++ b/homeassistant/components/homekit_controller/climate.py @@ -9,7 +9,6 @@ from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit_controller/cover.py b/homeassistant/components/homekit_controller/cover.py index 26b7613ed2b6d5..ad4bb38a26f591 100644 --- a/homeassistant/components/homekit_controller/cover.py +++ b/homeassistant/components/homekit_controller/cover.py @@ -12,7 +12,6 @@ STATE_STOPPED = 'stopped' -DEPENDENCIES = ['homekit_controller'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit_controller/light.py b/homeassistant/components/homekit_controller/light.py index cb9259df4a992d..f02a94c799ddd9 100644 --- a/homeassistant/components/homekit_controller/light.py +++ b/homeassistant/components/homekit_controller/light.py @@ -7,7 +7,6 @@ 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 0d0275fda164e7..48190b660fbeb5 100644 --- a/homeassistant/components/homekit_controller/lock.py +++ b/homeassistant/components/homekit_controller/lock.py @@ -7,7 +7,6 @@ from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit_controller/sensor.py b/homeassistant/components/homekit_controller/sensor.py index 8cbc8f248bafe0..5b9e61a86483ce 100644 --- a/homeassistant/components/homekit_controller/sensor.py +++ b/homeassistant/components/homekit_controller/sensor.py @@ -3,7 +3,6 @@ from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] HUMIDITY_ICON = 'mdi-water-percent' TEMP_C_ICON = "mdi-temperature-celsius" diff --git a/homeassistant/components/homekit_controller/switch.py b/homeassistant/components/homekit_controller/switch.py index 34e83c06526758..eb913bc1708292 100644 --- a/homeassistant/components/homekit_controller/switch.py +++ b/homeassistant/components/homekit_controller/switch.py @@ -5,7 +5,6 @@ from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] OUTLET_IN_USE = "outlet_in_use" diff --git a/homeassistant/components/homematic/__init__.py b/homeassistant/components/homematic/__init__.py index a8109af5ed8f84..81f543133558c0 100644 --- a/homeassistant/components/homematic/__init__.py +++ b/homeassistant/components/homematic/__init__.py @@ -14,7 +14,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyhomematic==0.1.58'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematic/binary_sensor.py b/homeassistant/components/homematic/binary_sensor.py index 7bf260a9bdc385..b38ac973ca79ed 100644 --- a/homeassistant/components/homematic/binary_sensor.py +++ b/homeassistant/components/homematic/binary_sensor.py @@ -8,7 +8,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematic'] SENSOR_TYPES_CLASS = { 'IPShutterContact': 'opening', diff --git a/homeassistant/components/homematic/climate.py b/homeassistant/components/homematic/climate.py index 146cad1bc4ca75..5efb8f026f2510 100644 --- a/homeassistant/components/homematic/climate.py +++ b/homeassistant/components/homematic/climate.py @@ -9,7 +9,6 @@ from . import ATTR_DISCOVER_DEVICES, HM_ATTRIBUTE_SUPPORT, HMDevice -DEPENDENCIES = ['homematic'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematic/cover.py b/homeassistant/components/homematic/cover.py index 33b764dc31fa21..c438c8875e2d99 100644 --- a/homeassistant/components/homematic/cover.py +++ b/homeassistant/components/homematic/cover.py @@ -9,7 +9,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematic'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/homematic/light.py b/homeassistant/components/homematic/light.py index c3601461173783..b5182f78806c35 100644 --- a/homeassistant/components/homematic/light.py +++ b/homeassistant/components/homematic/light.py @@ -9,7 +9,6 @@ _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 3c0ca040c5f522..7b6c7d85b5657b 100644 --- a/homeassistant/components/homematic/lock.py +++ b/homeassistant/components/homematic/lock.py @@ -8,7 +8,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematic'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/homematic/notify.py b/homeassistant/components/homematic/notify.py index 9054c1fa0ad6ca..41b5e4da3d404f 100644 --- a/homeassistant/components/homematic/notify.py +++ b/homeassistant/components/homematic/notify.py @@ -13,7 +13,6 @@ 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), diff --git a/homeassistant/components/homematic/sensor.py b/homeassistant/components/homematic/sensor.py index 401d11f70c849b..be9643c48cd5cd 100644 --- a/homeassistant/components/homematic/sensor.py +++ b/homeassistant/components/homematic/sensor.py @@ -7,7 +7,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematic'] HM_STATE_HA_CAST = { 'RotaryHandleSensor': {0: 'closed', 1: 'tilted', 2: 'open'}, diff --git a/homeassistant/components/homematic/switch.py b/homeassistant/components/homematic/switch.py index 393ad09b3104ef..f67c5b87965131 100644 --- a/homeassistant/components/homematic/switch.py +++ b/homeassistant/components/homematic/switch.py @@ -8,7 +8,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematic'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/homematicip_cloud/__init__.py b/homeassistant/components/homematicip_cloud/__init__.py index 1330a2750ae6db..5f05fef4036f8f 100644 --- a/homeassistant/components/homematicip_cloud/__init__.py +++ b/homeassistant/components/homematicip_cloud/__init__.py @@ -15,7 +15,6 @@ from .device import HomematicipGenericDevice # noqa: F401 from .hap import HomematicipAuth, HomematicipHAP # noqa: F401 -REQUIREMENTS = ['homematicip==0.10.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematicip_cloud/alarm_control_panel.py b/homeassistant/components/homematicip_cloud/alarm_control_panel.py index df0201340ed127..fc21f4f90568b6 100644 --- a/homeassistant/components/homematicip_cloud/alarm_control_panel.py +++ b/homeassistant/components/homematicip_cloud/alarm_control_panel.py @@ -10,7 +10,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematicip_cloud'] async def async_setup_platform( diff --git a/homeassistant/components/homematicip_cloud/binary_sensor.py b/homeassistant/components/homematicip_cloud/binary_sensor.py index 44c17282dda03d..19ed4c3dfddbfa 100644 --- a/homeassistant/components/homematicip_cloud/binary_sensor.py +++ b/homeassistant/components/homematicip_cloud/binary_sensor.py @@ -6,7 +6,6 @@ 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/cover.py b/homeassistant/components/homematicip_cloud/cover.py index 735e8789670452..96b2ef05301922 100644 --- a/homeassistant/components/homematicip_cloud/cover.py +++ b/homeassistant/components/homematicip_cloud/cover.py @@ -5,7 +5,6 @@ from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice -DEPENDENCIES = ['homematicip_cloud'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematicip_cloud/light.py b/homeassistant/components/homematicip_cloud/light.py index f5bac66388c6d5..7728c921ac0ae8 100644 --- a/homeassistant/components/homematicip_cloud/light.py +++ b/homeassistant/components/homematicip_cloud/light.py @@ -7,7 +7,6 @@ from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice -DEPENDENCIES = ['homematicip_cloud'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematicip_cloud/sensor.py b/homeassistant/components/homematicip_cloud/sensor.py index 5f345f419fac09..d1660ffd8786cf 100644 --- a/homeassistant/components/homematicip_cloud/sensor.py +++ b/homeassistant/components/homematicip_cloud/sensor.py @@ -9,7 +9,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematicip_cloud'] ATTR_TEMPERATURE_OFFSET = 'temperature_offset' ATTR_WIND_DIRECTION = 'wind_direction' diff --git a/homeassistant/components/homematicip_cloud/switch.py b/homeassistant/components/homematicip_cloud/switch.py index f9713cd8c006cc..2dfbd2ad0199f6 100644 --- a/homeassistant/components/homematicip_cloud/switch.py +++ b/homeassistant/components/homematicip_cloud/switch.py @@ -6,7 +6,6 @@ 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 ba3157471f9c80..767137e3d8f72f 100644 --- a/homeassistant/components/homematicip_cloud/weather.py +++ b/homeassistant/components/homematicip_cloud/weather.py @@ -7,7 +7,6 @@ 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 d0769ed25e6193..06aed7e1561590 100644 --- a/homeassistant/components/homeworks/__init__.py +++ b/homeassistant/components/homeworks/__init__.py @@ -12,7 +12,6 @@ async_dispatcher_connect, dispatcher_send) from homeassistant.util import slugify -REQUIREMENTS = ['pyhomeworks==0.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homeworks/light.py b/homeassistant/components/homeworks/light.py index ca41dff9834b44..c161daae8838a8 100644 --- a/homeassistant/components/homeworks/light.py +++ b/homeassistant/components/homeworks/light.py @@ -11,7 +11,6 @@ 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 7460ed6e9d0a8c..aea0983e6abdac 100644 --- a/homeassistant/components/honeywell/climate.py +++ b/homeassistant/components/honeywell/climate.py @@ -15,7 +15,6 @@ 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__) diff --git a/homeassistant/components/horizon/media_player.py b/homeassistant/components/horizon/media_player.py index 51168e4ef2e1a7..3e3184c71acbce 100644 --- a/homeassistant/components/horizon/media_player.py +++ b/homeassistant/components/horizon/media_player.py @@ -16,7 +16,6 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['horimote==0.4.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hp_ilo/sensor.py b/homeassistant/components/hp_ilo/sensor.py index a017f0ee3e8c08..014d3ac96f39a3 100644 --- a/homeassistant/components/hp_ilo/sensor.py +++ b/homeassistant/components/hp_ilo/sensor.py @@ -13,7 +13,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['python-hpilo==3.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/html5/notify.py b/homeassistant/components/html5/notify.py index fa7bf660b79f59..2ce01e8e84df07 100644 --- a/homeassistant/components/html5/notify.py +++ b/homeassistant/components/html5/notify.py @@ -24,9 +24,7 @@ ATTR_DATA, ATTR_TARGET, ATTR_TITLE, ATTR_TITLE_DEFAULT, DOMAIN, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['pywebpush==1.9.2'] -DEPENDENCIES = ['frontend'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/http/__init__.py b/homeassistant/components/http/__init__.py index 0bcf3f85ff7932..28d2b00ae3f758 100644 --- a/homeassistant/components/http/__init__.py +++ b/homeassistant/components/http/__init__.py @@ -29,7 +29,6 @@ from .static import CACHE_HEADERS, CachingStaticResource from .view import HomeAssistantView # noqa -REQUIREMENTS = ['aiohttp_cors==0.7.0'] DOMAIN = 'http' diff --git a/homeassistant/components/htu21d/sensor.py b/homeassistant/components/htu21d/sensor.py index 17182bb833d8c6..c88f72b1440867 100644 --- a/homeassistant/components/htu21d/sensor.py +++ b/homeassistant/components/htu21d/sensor.py @@ -12,8 +12,6 @@ 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__) diff --git a/homeassistant/components/huawei_lte/__init__.py b/homeassistant/components/huawei_lte/__init__.py index a462b1b3072f18..a0bfb528203533 100644 --- a/homeassistant/components/huawei_lte/__init__.py +++ b/homeassistant/components/huawei_lte/__init__.py @@ -19,7 +19,6 @@ # 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) diff --git a/homeassistant/components/huawei_lte/device_tracker.py b/homeassistant/components/huawei_lte/device_tracker.py index 69bf42fb3fe5a5..0ab2c60d649c70 100644 --- a/homeassistant/components/huawei_lte/device_tracker.py +++ b/homeassistant/components/huawei_lte/device_tracker.py @@ -11,7 +11,6 @@ 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 5e20a774c25d2a..9e8a098aa38dc7 100644 --- a/homeassistant/components/huawei_lte/notify.py +++ b/homeassistant/components/huawei_lte/notify.py @@ -11,7 +11,6 @@ from ..huawei_lte import DATA_KEY -DEPENDENCIES = ['huawei_lte'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/huawei_lte/sensor.py b/homeassistant/components/huawei_lte/sensor.py index 42ad4b52f8d815..f4acde2c85f874 100644 --- a/homeassistant/components/huawei_lte/sensor.py +++ b/homeassistant/components/huawei_lte/sensor.py @@ -16,7 +16,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['huawei_lte'] DEFAULT_NAME_TEMPLATE = 'Huawei {} {}' diff --git a/homeassistant/components/hue/__init__.py b/homeassistant/components/hue/__init__.py index 8f5c27f6516e8d..8927bd86be5024 100644 --- a/homeassistant/components/hue/__init__.py +++ b/homeassistant/components/hue/__init__.py @@ -14,7 +14,6 @@ # Loading the config flow file will register the flow from .config_flow import configured_hosts -REQUIREMENTS = ['aiohue==1.9.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hue/light.py b/homeassistant/components/hue/light.py index 0725c86bd954e0..3ba92ef12a7cce 100644 --- a/homeassistant/components/hue/light.py +++ b/homeassistant/components/hue/light.py @@ -16,7 +16,6 @@ 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 7f0709aa6c1cd6..31264cd9e9a044 100644 --- a/homeassistant/components/hunterdouglas_powerview/scene.py +++ b/homeassistant/components/hunterdouglas_powerview/scene.py @@ -10,7 +10,6 @@ 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 9c7baf6db2e2dd..324092eadd0427 100644 --- a/homeassistant/components/hydrawise/__init__.py +++ b/homeassistant/components/hydrawise/__init__.py @@ -14,7 +14,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['hydrawiser==0.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hydrawise/binary_sensor.py b/homeassistant/components/hydrawise/binary_sensor.py index 85a51d3649eb55..5897dc5e219170 100644 --- a/homeassistant/components/hydrawise/binary_sensor.py +++ b/homeassistant/components/hydrawise/binary_sensor.py @@ -12,7 +12,6 @@ BINARY_SENSORS, DATA_HYDRAWISE, DEVICE_MAP, DEVICE_MAP_INDEX, HydrawiseEntity) -DEPENDENCIES = ['hydrawise'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hydrawise/sensor.py b/homeassistant/components/hydrawise/sensor.py index fc15a54ed60963..aa5046ba875b86 100644 --- a/homeassistant/components/hydrawise/sensor.py +++ b/homeassistant/components/hydrawise/sensor.py @@ -10,7 +10,6 @@ from . import ( DATA_HYDRAWISE, DEVICE_MAP, DEVICE_MAP_INDEX, SENSORS, HydrawiseEntity) -DEPENDENCIES = ['hydrawise'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hydrawise/switch.py b/homeassistant/components/hydrawise/switch.py index dcbd5274a6237d..fef3e6d133dd60 100644 --- a/homeassistant/components/hydrawise/switch.py +++ b/homeassistant/components/hydrawise/switch.py @@ -12,7 +12,6 @@ DEFAULT_WATERING_TIME, DEVICE_MAP, DEVICE_MAP_INDEX, SWITCHES, HydrawiseEntity) -DEPENDENCIES = ['hydrawise'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hydroquebec/sensor.py b/homeassistant/components/hydroquebec/sensor.py index 5f0fd9e01aded9..ef4349b993254c 100644 --- a/homeassistant/components/hydroquebec/sensor.py +++ b/homeassistant/components/hydroquebec/sensor.py @@ -20,7 +20,6 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyhydroquebec==2.2.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ialarm/alarm_control_panel.py b/homeassistant/components/ialarm/alarm_control_panel.py index 8152c2496e603c..89aafd2361ee0e 100644 --- a/homeassistant/components/ialarm/alarm_control_panel.py +++ b/homeassistant/components/ialarm/alarm_control_panel.py @@ -12,7 +12,6 @@ STATE_ALARM_TRIGGERED) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyialarm==0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/icloud/device_tracker.py b/homeassistant/components/icloud/device_tracker.py index 1d0e0d2fafb0f6..d55a62d7962627 100644 --- a/homeassistant/components/icloud/device_tracker.py +++ b/homeassistant/components/icloud/device_tracker.py @@ -17,7 +17,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pyicloud==0.9.1'] CONF_ACCOUNTNAME = 'account_name' CONF_MAX_INTERVAL = 'max_interval' diff --git a/homeassistant/components/idteck_prox/__init__.py b/homeassistant/components/idteck_prox/__init__.py index 3de7aa7cc8c5fa..4f4a2d624cdf87 100644 --- a/homeassistant/components/idteck_prox/__init__.py +++ b/homeassistant/components/idteck_prox/__init__.py @@ -7,7 +7,6 @@ from homeassistant.const import ( CONF_HOST, CONF_PORT, CONF_NAME, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['rfk101py==0.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ifttt/__init__.py b/homeassistant/components/ifttt/__init__.py index bad3984ea5bd20..8f5ff061d1dfee 100644 --- a/homeassistant/components/ifttt/__init__.py +++ b/homeassistant/components/ifttt/__init__.py @@ -9,8 +9,6 @@ from homeassistant.helpers import config_entry_flow import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyfttt==0.3'] -DEPENDENCIES = ['webhook'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ifttt/alarm_control_panel.py b/homeassistant/components/ifttt/alarm_control_panel.py index 3f806173196897..a45ac1961ce535 100644 --- a/homeassistant/components/ifttt/alarm_control_panel.py +++ b/homeassistant/components/ifttt/alarm_control_panel.py @@ -15,7 +15,6 @@ from . import ATTR_EVENT, DOMAIN as IFTTT_DOMAIN, SERVICE_TRIGGER -DEPENDENCIES = ['ifttt'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/iglo/light.py b/homeassistant/components/iglo/light.py index 6851141efb46be..e0375fd9035cc2 100644 --- a/homeassistant/components/iglo/light.py +++ b/homeassistant/components/iglo/light.py @@ -12,7 +12,6 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['iglo==1.2.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ihc/__init__.py b/homeassistant/components/ihc/__init__.py index 102acd82551c4f..43c842e3bee6b7 100644 --- a/homeassistant/components/ihc/__init__.py +++ b/homeassistant/components/ihc/__init__.py @@ -21,7 +21,6 @@ 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__) diff --git a/homeassistant/components/ihc/binary_sensor.py b/homeassistant/components/ihc/binary_sensor.py index 69e3e1685af8c8..048778c56fd31e 100644 --- a/homeassistant/components/ihc/binary_sensor.py +++ b/homeassistant/components/ihc/binary_sensor.py @@ -6,7 +6,6 @@ from .const import CONF_INVERTING from .ihcdevice import IHCDevice -DEPENDENCIES = ['ihc'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/ihc/light.py b/homeassistant/components/ihc/light.py index ad6d0fb6511859..e80dce5bfa1549 100644 --- a/homeassistant/components/ihc/light.py +++ b/homeassistant/components/ihc/light.py @@ -9,7 +9,6 @@ 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 fd1f2cee53a846..f2ce55f599741c 100644 --- a/homeassistant/components/ihc/sensor.py +++ b/homeassistant/components/ihc/sensor.py @@ -5,7 +5,6 @@ from . import IHC_CONTROLLER, IHC_DATA, IHC_INFO from .ihcdevice import IHCDevice -DEPENDENCIES = ['ihc'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/ihc/switch.py b/homeassistant/components/ihc/switch.py index e2189492b8f435..11ff8273014d4c 100644 --- a/homeassistant/components/ihc/switch.py +++ b/homeassistant/components/ihc/switch.py @@ -6,7 +6,6 @@ from .ihcdevice import IHCDevice from .util import async_pulse, async_set_bool -DEPENDENCIES = ['ihc'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/image_processing/__init__.py b/homeassistant/components/image_processing/__init__.py index e5193985629629..ccabda86dfa6ed 100644 --- a/homeassistant/components/image_processing/__init__.py +++ b/homeassistant/components/image_processing/__init__.py @@ -17,7 +17,6 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'image_processing' -DEPENDENCIES = ['camera'] SCAN_INTERVAL = timedelta(seconds=10) diff --git a/homeassistant/components/imap/sensor.py b/homeassistant/components/imap/sensor.py index 5ff23eb8e5d5c4..c04b3a73fa960a 100644 --- a/homeassistant/components/imap/sensor.py +++ b/homeassistant/components/imap/sensor.py @@ -15,7 +15,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['aioimaplib==0.7.15'] CONF_SERVER = 'server' CONF_FOLDER = 'folder' diff --git a/homeassistant/components/influxdb/__init__.py b/homeassistant/components/influxdb/__init__.py index 551996983c8004..48766edff3721a 100644 --- a/homeassistant/components/influxdb/__init__.py +++ b/homeassistant/components/influxdb/__init__.py @@ -18,7 +18,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity_values import EntityValues -REQUIREMENTS = ['influxdb==5.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/influxdb/sensor.py b/homeassistant/components/influxdb/sensor.py index 3bec7e3c657780..ba9a613f87cee7 100644 --- a/homeassistant/components/influxdb/sensor.py +++ b/homeassistant/components/influxdb/sensor.py @@ -18,7 +18,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['influxdb==5.2.0'] DEFAULT_HOST = 'localhost' DEFAULT_PORT = 8086 diff --git a/homeassistant/components/insteon/__init__.py b/homeassistant/components/insteon/__init__.py index a462ac0f63efe3..bb66aab5c30ce9 100644 --- a/homeassistant/components/insteon/__init__.py +++ b/homeassistant/components/insteon/__init__.py @@ -13,7 +13,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['insteonplm==0.15.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/insteon/binary_sensor.py b/homeassistant/components/insteon/binary_sensor.py index 6f1e56756394f0..e230eed4ac5231 100644 --- a/homeassistant/components/insteon/binary_sensor.py +++ b/homeassistant/components/insteon/binary_sensor.py @@ -7,7 +7,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['insteon'] SENSOR_TYPES = { 'openClosedSensor': 'opening', diff --git a/homeassistant/components/insteon/cover.py b/homeassistant/components/insteon/cover.py index 1bb316152a9db9..da339bb4b65a09 100644 --- a/homeassistant/components/insteon/cover.py +++ b/homeassistant/components/insteon/cover.py @@ -10,7 +10,6 @@ _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 26a56d6df98b3b..23bd195ea51420 100644 --- a/homeassistant/components/insteon/fan.py +++ b/homeassistant/components/insteon/fan.py @@ -10,7 +10,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['insteon'] SPEED_TO_HEX = { SPEED_OFF: 0x00, diff --git a/homeassistant/components/insteon/light.py b/homeassistant/components/insteon/light.py index 676c053325c65f..330b0d372922ad 100644 --- a/homeassistant/components/insteon/light.py +++ b/homeassistant/components/insteon/light.py @@ -8,7 +8,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['insteon'] MAX_BRIGHTNESS = 255 diff --git a/homeassistant/components/insteon/sensor.py b/homeassistant/components/insteon/sensor.py index edea87e1f738aa..e54085ef48ba6a 100644 --- a/homeassistant/components/insteon/sensor.py +++ b/homeassistant/components/insteon/sensor.py @@ -5,7 +5,6 @@ from . import InsteonEntity -DEPENDENCIES = ['insteon'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/insteon/switch.py b/homeassistant/components/insteon/switch.py index 4fdcdb20bb2847..02b923e3b38c64 100644 --- a/homeassistant/components/insteon/switch.py +++ b/homeassistant/components/insteon/switch.py @@ -5,7 +5,6 @@ from . import InsteonEntity -DEPENDENCIES = ['insteon'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ios/__init__.py b/homeassistant/components/ios/__init__.py index cc8bd62293a18b..8bd0a90d4e5dda 100644 --- a/homeassistant/components/ios/__init__.py +++ b/homeassistant/components/ios/__init__.py @@ -17,7 +17,6 @@ DOMAIN = 'ios' -DEPENDENCIES = ['device_tracker', 'http', 'zeroconf'] CONF_PUSH = 'push' CONF_PUSH_CATEGORIES = 'categories' diff --git a/homeassistant/components/ios/notify.py b/homeassistant/components/ios/notify.py index 1f8aade4ec17a8..86773ca659f458 100644 --- a/homeassistant/components/ios/notify.py +++ b/homeassistant/components/ios/notify.py @@ -14,7 +14,6 @@ PUSH_URL = "https://ios-push.home-assistant.io/push" -DEPENDENCIES = ["ios"] # pylint: disable=invalid-name diff --git a/homeassistant/components/ios/sensor.py b/homeassistant/components/ios/sensor.py index 404b313368cebe..bf234c192a64ff 100644 --- a/homeassistant/components/ios/sensor.py +++ b/homeassistant/components/ios/sensor.py @@ -3,7 +3,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.icon import icon_for_battery_level -DEPENDENCIES = ['ios'] SENSOR_TYPES = { 'level': ['Battery Level', '%'], diff --git a/homeassistant/components/iota/__init__.py b/homeassistant/components/iota/__init__.py index e28de61aad0174..ea2fcdc90eb7a6 100644 --- a/homeassistant/components/iota/__init__.py +++ b/homeassistant/components/iota/__init__.py @@ -8,7 +8,6 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyota==2.0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/iota/sensor.py b/homeassistant/components/iota/sensor.py index 2955828aff5a77..36de3f31961a59 100644 --- a/homeassistant/components/iota/sensor.py +++ b/homeassistant/components/iota/sensor.py @@ -15,7 +15,6 @@ 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 01ac2194f355e7..6acdac85540189 100644 --- a/homeassistant/components/iperf3/__init__.py +++ b/homeassistant/components/iperf3/__init__.py @@ -12,7 +12,6 @@ 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 db9aafcdf4bb19..09595ee67fba0a 100644 --- a/homeassistant/components/iperf3/sensor.py +++ b/homeassistant/components/iperf3/sensor.py @@ -6,7 +6,6 @@ from . import ATTR_VERSION, DATA_UPDATED, DOMAIN as IPERF3_DOMAIN, SENSOR_TYPES -DEPENDENCIES = ['iperf3'] ATTRIBUTION = 'Data retrieved using Iperf3' diff --git a/homeassistant/components/ipma/weather.py b/homeassistant/components/ipma/weather.py index 7122957ad12d95..dafee5df526e8b 100644 --- a/homeassistant/components/ipma/weather.py +++ b/homeassistant/components/ipma/weather.py @@ -15,7 +15,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['pyipma==1.2.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/irish_rail_transport/sensor.py b/homeassistant/components/irish_rail_transport/sensor.py index e17ecfde59da5b..40d3a5809a4d85 100644 --- a/homeassistant/components/irish_rail_transport/sensor.py +++ b/homeassistant/components/irish_rail_transport/sensor.py @@ -9,7 +9,6 @@ from homeassistant.const import CONF_NAME, ATTR_ATTRIBUTION from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyirishrail==0.0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/islamic_prayer_times/sensor.py b/homeassistant/components/islamic_prayer_times/sensor.py index 9efbc237e30a5e..1614b568df70e9 100644 --- a/homeassistant/components/islamic_prayer_times/sensor.py +++ b/homeassistant/components/islamic_prayer_times/sensor.py @@ -11,7 +11,6 @@ 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__) diff --git a/homeassistant/components/iss/binary_sensor.py b/homeassistant/components/iss/binary_sensor.py index 381bc16791826e..4c87609ff29268 100644 --- a/homeassistant/components/iss/binary_sensor.py +++ b/homeassistant/components/iss/binary_sensor.py @@ -12,7 +12,6 @@ CONF_NAME, ATTR_LONGITUDE, ATTR_LATITUDE, CONF_SHOW_ON_MAP) from homeassistant.util import Throttle -REQUIREMENTS = ['pyiss==1.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/isy994/__init__.py b/homeassistant/components/isy994/__init__.py index 4eaa71deececa5..a6f34691ce5cab 100644 --- a/homeassistant/components/isy994/__init__.py +++ b/homeassistant/components/isy994/__init__.py @@ -12,7 +12,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.typing import ConfigType, Dict -REQUIREMENTS = ['PyISY==1.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/itach/remote.py b/homeassistant/components/itach/remote.py index beb773838fb17d..209fd952ae4ddb 100644 --- a/homeassistant/components/itach/remote.py +++ b/homeassistant/components/itach/remote.py @@ -10,7 +10,6 @@ CONF_DEVICES) from homeassistant.components.remote import PLATFORM_SCHEMA -REQUIREMENTS = ['pyitachip2ir==0.0.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/jewish_calendar/sensor.py b/homeassistant/components/jewish_calendar/sensor.py index 478bbed98fa6c7..c8e03662ff708c 100644 --- a/homeassistant/components/jewish_calendar/sensor.py +++ b/homeassistant/components/jewish_calendar/sensor.py @@ -11,7 +11,6 @@ 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__) diff --git a/homeassistant/components/joaoapps_join/__init__.py b/homeassistant/components/joaoapps_join/__init__.py index f1371deed2bdf5..ff7aab36223d66 100644 --- a/homeassistant/components/joaoapps_join/__init__.py +++ b/homeassistant/components/joaoapps_join/__init__.py @@ -6,7 +6,6 @@ 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__) diff --git a/homeassistant/components/joaoapps_join/notify.py b/homeassistant/components/joaoapps_join/notify.py index 0137520049d423..124f730ce017df 100644 --- a/homeassistant/components/joaoapps_join/notify.py +++ b/homeassistant/components/joaoapps_join/notify.py @@ -7,7 +7,6 @@ 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__) diff --git a/homeassistant/components/juicenet/__init__.py b/homeassistant/components/juicenet/__init__.py index f62331d1502ea0..ddce80e91efaec 100644 --- a/homeassistant/components/juicenet/__init__.py +++ b/homeassistant/components/juicenet/__init__.py @@ -8,7 +8,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-juicenet==0.0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/juicenet/sensor.py b/homeassistant/components/juicenet/sensor.py index 6b55e539547d24..4a612fb64e9a1d 100644 --- a/homeassistant/components/juicenet/sensor.py +++ b/homeassistant/components/juicenet/sensor.py @@ -8,7 +8,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['juicenet'] SENSOR_TYPES = { 'status': ['Charging Status', None], diff --git a/homeassistant/components/keenetic_ndms2/device_tracker.py b/homeassistant/components/keenetic_ndms2/device_tracker.py index f873507112dc62..93daa6d59c4e74 100644 --- a/homeassistant/components/keenetic_ndms2/device_tracker.py +++ b/homeassistant/components/keenetic_ndms2/device_tracker.py @@ -10,7 +10,6 @@ CONF_HOST, CONF_PORT, CONF_PASSWORD, CONF_USERNAME ) -REQUIREMENTS = ['ndms2_client==0.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/keyboard/__init__.py b/homeassistant/components/keyboard/__init__.py index 44accca2f56a7e..04c9987554e325 100644 --- a/homeassistant/components/keyboard/__init__.py +++ b/homeassistant/components/keyboard/__init__.py @@ -6,7 +6,6 @@ SERVICE_MEDIA_PREVIOUS_TRACK, SERVICE_VOLUME_DOWN, SERVICE_VOLUME_MUTE, SERVICE_VOLUME_UP) -REQUIREMENTS = ['pyuserinput==0.1.11'] DOMAIN = 'keyboard' diff --git a/homeassistant/components/keyboard_remote/__init__.py b/homeassistant/components/keyboard_remote/__init__.py index e786fe458a8460..6e0cab7f4ebf30 100644 --- a/homeassistant/components/keyboard_remote/__init__.py +++ b/homeassistant/components/keyboard_remote/__init__.py @@ -11,7 +11,6 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['evdev==0.6.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/kira/__init__.py b/homeassistant/components/kira/__init__.py index d60d8e0cfeb10a..1811cbfb19f3dd 100644 --- a/homeassistant/components/kira/__init__.py +++ b/homeassistant/components/kira/__init__.py @@ -12,7 +12,6 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pykira==0.1.1'] DOMAIN = 'kira' diff --git a/homeassistant/components/kiwi/lock.py b/homeassistant/components/kiwi/lock.py index 0b5806425d95a7..ed7dc251cf3514 100644 --- a/homeassistant/components/kiwi/lock.py +++ b/homeassistant/components/kiwi/lock.py @@ -11,7 +11,6 @@ from homeassistant.helpers.event import async_call_later from homeassistant.core import callback -REQUIREMENTS = ['kiwiki-client==0.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/knx/__init__.py b/homeassistant/components/knx/__init__.py index ea5b18b7ede91a..8ff6ecdbd5ffc7 100644 --- a/homeassistant/components/knx/__init__.py +++ b/homeassistant/components/knx/__init__.py @@ -11,7 +11,6 @@ from homeassistant.helpers.event import async_track_state_change from homeassistant.helpers.script import Script -REQUIREMENTS = ['xknx==0.10.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/knx/binary_sensor.py b/homeassistant/components/knx/binary_sensor.py index 8ee21e24c5e978..7ac01d6be86725 100644 --- a/homeassistant/components/knx/binary_sensor.py +++ b/homeassistant/components/knx/binary_sensor.py @@ -22,7 +22,6 @@ 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, diff --git a/homeassistant/components/knx/climate.py b/homeassistant/components/knx/climate.py index e11e5449326bf5..9ac2511edbae24 100644 --- a/homeassistant/components/knx/climate.py +++ b/homeassistant/components/knx/climate.py @@ -39,7 +39,6 @@ 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 = { diff --git a/homeassistant/components/knx/cover.py b/homeassistant/components/knx/cover.py index b2b287d1e87d23..f58d09e46286b3 100644 --- a/homeassistant/components/knx/cover.py +++ b/homeassistant/components/knx/cover.py @@ -25,7 +25,6 @@ DEFAULT_TRAVEL_TIME = 25 DEFAULT_NAME = 'KNX Cover' -DEPENDENCIES = ['knx'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, diff --git a/homeassistant/components/knx/light.py b/homeassistant/components/knx/light.py index cf59f1fc135b3b..b94d91514af40e 100644 --- a/homeassistant/components/knx/light.py +++ b/homeassistant/components/knx/light.py @@ -30,7 +30,6 @@ 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 742252d187426f..66ea24d5930489 100644 --- a/homeassistant/components/knx/notify.py +++ b/homeassistant/components/knx/notify.py @@ -11,7 +11,6 @@ DEFAULT_NAME = 'KNX Notify' -DEPENDENCIES = ['knx'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADDRESS): cv.string, diff --git a/homeassistant/components/knx/scene.py b/homeassistant/components/knx/scene.py index 4bf186c28ff7d4..6faff9c4853526 100644 --- a/homeassistant/components/knx/scene.py +++ b/homeassistant/components/knx/scene.py @@ -11,7 +11,6 @@ CONF_SCENE_NUMBER = 'scene_number' DEFAULT_NAME = 'KNX SCENE' -DEPENDENCIES = ['knx'] PLATFORM_SCHEMA = vol.Schema({ vol.Required(CONF_PLATFORM): 'knx', diff --git a/homeassistant/components/knx/sensor.py b/homeassistant/components/knx/sensor.py index 7ddafe53be44b0..a28916f922046b 100644 --- a/homeassistant/components/knx/sensor.py +++ b/homeassistant/components/knx/sensor.py @@ -10,7 +10,6 @@ from . import ATTR_DISCOVER_DEVICES, DATA_KNX DEFAULT_NAME = 'KNX Sensor' -DEPENDENCIES = ['knx'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADDRESS): cv.string, diff --git a/homeassistant/components/knx/switch.py b/homeassistant/components/knx/switch.py index e3beff39677954..6b3890555a57a9 100644 --- a/homeassistant/components/knx/switch.py +++ b/homeassistant/components/knx/switch.py @@ -11,7 +11,6 @@ CONF_STATE_ADDRESS = 'state_address' DEFAULT_NAME = 'KNX Switch' -DEPENDENCIES = ['knx'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADDRESS): cv.string, diff --git a/homeassistant/components/kodi/media_player.py b/homeassistant/components/kodi/media_player.py index 81c93dba2ac417..47c2ce29cf3f65 100644 --- a/homeassistant/components/kodi/media_player.py +++ b/homeassistant/components/kodi/media_player.py @@ -31,7 +31,6 @@ 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__) diff --git a/homeassistant/components/kodi/notify.py b/homeassistant/components/kodi/notify.py index f6ee2c47b96b7c..72e2c2b647a0db 100644 --- a/homeassistant/components/kodi/notify.py +++ b/homeassistant/components/kodi/notify.py @@ -14,7 +14,6 @@ ATTR_DATA, ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['jsonrpc-async==0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/konnected/__init__.py b/homeassistant/components/konnected/__init__.py index 276e395817c0d5..97e90ffbceed63 100644 --- a/homeassistant/components/konnected/__init__.py +++ b/homeassistant/components/konnected/__init__.py @@ -32,7 +32,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['konnected==0.1.5'] _BINARY_SENSOR_SCHEMA = vol.All( vol.Schema({ @@ -96,7 +95,6 @@ extra=vol.ALLOW_EXTRA, ) -DEPENDENCIES = ['http'] async def async_setup(hass, config): diff --git a/homeassistant/components/konnected/binary_sensor.py b/homeassistant/components/konnected/binary_sensor.py index 1fbfbea1861c25..d2cf179f63265e 100644 --- a/homeassistant/components/konnected/binary_sensor.py +++ b/homeassistant/components/konnected/binary_sensor.py @@ -12,7 +12,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['konnected'] async def async_setup_platform( diff --git a/homeassistant/components/konnected/sensor.py b/homeassistant/components/konnected/sensor.py index a48d1a58619600..ca4480b5329f0d 100644 --- a/homeassistant/components/konnected/sensor.py +++ b/homeassistant/components/konnected/sensor.py @@ -13,7 +13,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['konnected'] SENSOR_TYPES = { DEVICE_CLASS_TEMPERATURE: ['Temperature', TEMP_CELSIUS], diff --git a/homeassistant/components/konnected/switch.py b/homeassistant/components/konnected/switch.py index 3db602215b968d..53dcb17c2866c4 100644 --- a/homeassistant/components/konnected/switch.py +++ b/homeassistant/components/konnected/switch.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['konnected'] async def async_setup_platform( diff --git a/homeassistant/components/kwb/sensor.py b/homeassistant/components/kwb/sensor.py index bad0ea3cdede51..4c1c948daf4c24 100644 --- a/homeassistant/components/kwb/sensor.py +++ b/homeassistant/components/kwb/sensor.py @@ -9,7 +9,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pykwb==0.0.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lacrosse/sensor.py b/homeassistant/components/lacrosse/sensor.py index 9240343a5e3e69..d3325cee8175f0 100644 --- a/homeassistant/components/lacrosse/sensor.py +++ b/homeassistant/components/lacrosse/sensor.py @@ -14,7 +14,6 @@ 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__) diff --git a/homeassistant/components/lametric/__init__.py b/homeassistant/components/lametric/__init__.py index 0c3c8b08dd732e..b40d7ba2211de9 100644 --- a/homeassistant/components/lametric/__init__.py +++ b/homeassistant/components/lametric/__init__.py @@ -5,7 +5,6 @@ import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['lmnotify==0.0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lametric/notify.py b/homeassistant/components/lametric/notify.py index 358bb056b00e33..f484e5551f6feb 100644 --- a/homeassistant/components/lametric/notify.py +++ b/homeassistant/components/lametric/notify.py @@ -11,7 +11,6 @@ from . import DOMAIN as LAMETRIC_DOMAIN -REQUIREMENTS = ['lmnotify==0.0.4'] _LOGGER = logging.getLogger(__name__) @@ -21,7 +20,6 @@ CONF_LIFETIME = 'lifetime' CONF_PRIORITY = 'priority' -DEPENDENCIES = ['lametric'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_ICON, default='a7956'): cv.string, diff --git a/homeassistant/components/lastfm/sensor.py b/homeassistant/components/lastfm/sensor.py index e4e28eff4f1819..846d65b4433b4c 100644 --- a/homeassistant/components/lastfm/sensor.py +++ b/homeassistant/components/lastfm/sensor.py @@ -9,7 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pylast==3.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/launch_library/sensor.py b/homeassistant/components/launch_library/sensor.py index 4b42ddba268b0b..d60e13d5561a4a 100644 --- a/homeassistant/components/launch_library/sensor.py +++ b/homeassistant/components/launch_library/sensor.py @@ -10,7 +10,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['pylaunches==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lcn/__init__.py b/homeassistant/components/lcn/__init__.py index 44f69c261b9c88..42c7d4e951e771 100644 --- a/homeassistant/components/lcn/__init__.py +++ b/homeassistant/components/lcn/__init__.py @@ -20,7 +20,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pypck==0.5.9'] def has_unique_connection_names(connections): diff --git a/homeassistant/components/lcn/binary_sensor.py b/homeassistant/components/lcn/binary_sensor.py index 0ffa2e50d8b21d..387ddf6050a757 100755 --- a/homeassistant/components/lcn/binary_sensor.py +++ b/homeassistant/components/lcn/binary_sensor.py @@ -6,7 +6,6 @@ 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, diff --git a/homeassistant/components/lcn/cover.py b/homeassistant/components/lcn/cover.py index a32ff7c23f4605..0c8ac85d4475a2 100755 --- a/homeassistant/components/lcn/cover.py +++ b/homeassistant/components/lcn/cover.py @@ -5,7 +5,6 @@ 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, diff --git a/homeassistant/components/lcn/light.py b/homeassistant/components/lcn/light.py index 00b78259354e51..115cf1a510a9a1 100644 --- a/homeassistant/components/lcn/light.py +++ b/homeassistant/components/lcn/light.py @@ -9,7 +9,6 @@ CONF_CONNECTIONS, CONF_DIMMABLE, CONF_OUTPUT, CONF_TRANSITION, DATA_LCN, OUTPUT_PORTS) -DEPENDENCIES = ['lcn'] async def async_setup_platform( diff --git a/homeassistant/components/lcn/sensor.py b/homeassistant/components/lcn/sensor.py index 5e50d092ada05d..500a5204ab31a6 100755 --- a/homeassistant/components/lcn/sensor.py +++ b/homeassistant/components/lcn/sensor.py @@ -6,7 +6,6 @@ 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, diff --git a/homeassistant/components/lcn/switch.py b/homeassistant/components/lcn/switch.py index 7c375f4a598c79..98cc9aa2468b27 100755 --- a/homeassistant/components/lcn/switch.py +++ b/homeassistant/components/lcn/switch.py @@ -5,7 +5,6 @@ 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, diff --git a/homeassistant/components/lg_netcast/media_player.py b/homeassistant/components/lg_netcast/media_player.py index 12fee5fae96eda..0a186fc9e8f869 100644 --- a/homeassistant/components/lg_netcast/media_player.py +++ b/homeassistant/components/lg_netcast/media_player.py @@ -17,7 +17,6 @@ STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pylgnetcast-homeassistant==0.2.0.dev0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lg_soundbar/media_player.py b/homeassistant/components/lg_soundbar/media_player.py index 2e2481a462b5a9..656ec8df31b0de 100644 --- a/homeassistant/components/lg_soundbar/media_player.py +++ b/homeassistant/components/lg_soundbar/media_player.py @@ -9,7 +9,6 @@ from homeassistant.const import STATE_ON -REQUIREMENTS = ['temescal==0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lifx/__init__.py b/homeassistant/components/lifx/__init__.py index 82802bab4af75c..53718402db9838 100644 --- a/homeassistant/components/lifx/__init__.py +++ b/homeassistant/components/lifx/__init__.py @@ -8,7 +8,6 @@ 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 014ca9ae6c80b5..47d86858fd1e5a 100644 --- a/homeassistant/components/lifx/light.py +++ b/homeassistant/components/lifx/light.py @@ -30,8 +30,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lifx'] -REQUIREMENTS = ['aiolifx_effects==0.2.1'] SCAN_INTERVAL = timedelta(seconds=10) diff --git a/homeassistant/components/lifx_legacy/light.py b/homeassistant/components/lifx_legacy/light.py index 6c5f68937f88a5..d818d8a0094ca1 100644 --- a/homeassistant/components/lifx_legacy/light.py +++ b/homeassistant/components/lifx_legacy/light.py @@ -22,7 +22,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['liffylights==0.9.4'] BYTE_MAX = 255 diff --git a/homeassistant/components/light/__init__.py b/homeassistant/components/light/__init__.py index db2e9ce0197b50..f9ce6eb05d4158 100644 --- a/homeassistant/components/light/__init__.py +++ b/homeassistant/components/light/__init__.py @@ -24,7 +24,6 @@ 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 f6e11352265dcf..2bf7381c6f192a 100644 --- a/homeassistant/components/lightwave/__init__.py +++ b/homeassistant/components/lightwave/__init__.py @@ -5,7 +5,6 @@ CONF_SWITCHES) from homeassistant.helpers.discovery import async_load_platform -REQUIREMENTS = ['lightwave==0.15'] LIGHTWAVE_LINK = 'lightwave_link' diff --git a/homeassistant/components/lightwave/light.py b/homeassistant/components/lightwave/light.py index f22533d2548dca..5a984187917bfa 100644 --- a/homeassistant/components/lightwave/light.py +++ b/homeassistant/components/lightwave/light.py @@ -5,7 +5,6 @@ from . import LIGHTWAVE_LINK -DEPENDENCIES = ['lightwave'] MAX_BRIGHTNESS = 255 diff --git a/homeassistant/components/lightwave/switch.py b/homeassistant/components/lightwave/switch.py index dfa93b4b151844..d40d85c344d6ee 100644 --- a/homeassistant/components/lightwave/switch.py +++ b/homeassistant/components/lightwave/switch.py @@ -4,7 +4,6 @@ from . import LIGHTWAVE_LINK -DEPENDENCIES = ['lightwave'] async def async_setup_platform( diff --git a/homeassistant/components/limitlessled/light.py b/homeassistant/components/limitlessled/light.py index 4f187afa1d75df..1ae9fed5987964 100644 --- a/homeassistant/components/limitlessled/light.py +++ b/homeassistant/components/limitlessled/light.py @@ -15,7 +15,6 @@ 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__) diff --git a/homeassistant/components/linksys_ap/device_tracker.py b/homeassistant/components/linksys_ap/device_tracker.py index 46cc78d4e4ae36..e1231a0f8412c1 100644 --- a/homeassistant/components/linksys_ap/device_tracker.py +++ b/homeassistant/components/linksys_ap/device_tracker.py @@ -14,7 +14,6 @@ INTERFACES = 2 DEFAULT_TIMEOUT = 10 -REQUIREMENTS = ['beautifulsoup4==4.7.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/linky/sensor.py b/homeassistant/components/linky/sensor.py index 35f85f15ed6332..63f7aaf5423382 100644 --- a/homeassistant/components/linky/sensor.py +++ b/homeassistant/components/linky/sensor.py @@ -12,7 +12,6 @@ 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 8bbd98c0acf778..46a83db3d524ea 100644 --- a/homeassistant/components/linode/__init__.py +++ b/homeassistant/components/linode/__init__.py @@ -8,7 +8,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['linode-api==4.1.9b1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/linode/binary_sensor.py b/homeassistant/components/linode/binary_sensor.py index 19455917dbb28b..4b6d22fd171ff9 100644 --- a/homeassistant/components/linode/binary_sensor.py +++ b/homeassistant/components/linode/binary_sensor.py @@ -16,7 +16,6 @@ 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 e5f97ef756e403..d66a5021590451 100644 --- a/homeassistant/components/linode/switch.py +++ b/homeassistant/components/linode/switch.py @@ -13,7 +13,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['linode'] DEFAULT_NAME = 'Node' diff --git a/homeassistant/components/linux_battery/sensor.py b/homeassistant/components/linux_battery/sensor.py index 7164315de8ea42..5a23a125894bab 100644 --- a/homeassistant/components/linux_battery/sensor.py +++ b/homeassistant/components/linux_battery/sensor.py @@ -9,7 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['batinfo==0.4.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lirc/__init__.py b/homeassistant/components/lirc/__init__.py index 0f00eda20072c0..71de31156abbea 100644 --- a/homeassistant/components/lirc/__init__.py +++ b/homeassistant/components/lirc/__init__.py @@ -9,7 +9,6 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_STOP, EVENT_HOMEASSISTANT_START) -REQUIREMENTS = ['python-lirc==1.2.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/litejet/__init__.py b/homeassistant/components/litejet/__init__.py index b4e8e45fa0b742..31ffc8fedb1cfe 100644 --- a/homeassistant/components/litejet/__init__.py +++ b/homeassistant/components/litejet/__init__.py @@ -7,7 +7,6 @@ from homeassistant.helpers import discovery from homeassistant.const import CONF_PORT -REQUIREMENTS = ['pylitejet==0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/litejet/light.py b/homeassistant/components/litejet/light.py index e52e50ed21a858..02a507ad6eb8c6 100644 --- a/homeassistant/components/litejet/light.py +++ b/homeassistant/components/litejet/light.py @@ -7,7 +7,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['litejet'] ATTR_NUMBER = 'number' diff --git a/homeassistant/components/litejet/scene.py b/homeassistant/components/litejet/scene.py index 2563c9ceb0c480..ddacaa7fd9a05e 100644 --- a/homeassistant/components/litejet/scene.py +++ b/homeassistant/components/litejet/scene.py @@ -4,7 +4,6 @@ from homeassistant.components import litejet from homeassistant.components.scene import Scene -DEPENDENCIES = ['litejet'] ATTR_NUMBER = 'number' diff --git a/homeassistant/components/litejet/switch.py b/homeassistant/components/litejet/switch.py index 9972dcb9f44797..b8bad78fee11e0 100644 --- a/homeassistant/components/litejet/switch.py +++ b/homeassistant/components/litejet/switch.py @@ -4,7 +4,6 @@ from homeassistant.components import litejet from homeassistant.components.switch import SwitchDevice -DEPENDENCIES = ['litejet'] ATTR_NUMBER = 'number' diff --git a/homeassistant/components/liveboxplaytv/media_player.py b/homeassistant/components/liveboxplaytv/media_player.py index 1ee9931d233c0d..96f2f81ddf9c28 100644 --- a/homeassistant/components/liveboxplaytv/media_player.py +++ b/homeassistant/components/liveboxplaytv/media_player.py @@ -18,7 +18,6 @@ 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__) diff --git a/homeassistant/components/locative/__init__.py b/homeassistant/components/locative/__init__.py index 335ae4cfe1eae9..9d2d62b856b1a0 100644 --- a/homeassistant/components/locative/__init__.py +++ b/homeassistant/components/locative/__init__.py @@ -16,7 +16,6 @@ _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 51135f4e21a941..4831bf9420dbf4 100644 --- a/homeassistant/components/locative/device_tracker.py +++ b/homeassistant/components/locative/device_tracker.py @@ -10,7 +10,6 @@ _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 fe5286ba813daf..598de7961a51f8 100644 --- a/homeassistant/components/lock/__init__.py +++ b/homeassistant/components/lock/__init__.py @@ -19,7 +19,6 @@ 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 7a0fb5e2654b3a..550f2c9bb620c2 100644 --- a/homeassistant/components/logbook/__init__.py +++ b/homeassistant/components/logbook/__init__.py @@ -31,7 +31,6 @@ CONF_ENTITIES = 'entities' CONTINUOUS_DOMAINS = ['proximity', 'sensor'] -DEPENDENCIES = ['recorder', 'frontend'] DOMAIN = 'logbook' diff --git a/homeassistant/components/logi_circle/__init__.py b/homeassistant/components/logi_circle/__init__.py index 433895293f441d..1d4b931bd7c30f 100644 --- a/homeassistant/components/logi_circle/__init__.py +++ b/homeassistant/components/logi_circle/__init__.py @@ -20,7 +20,6 @@ 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 b69f23ac19dc7e..adfc71e1f9e1b2 100644 --- a/homeassistant/components/logi_circle/camera.py +++ b/homeassistant/components/logi_circle/camera.py @@ -15,7 +15,6 @@ RECORDING_MODE_KEY, SIGNAL_LOGI_CIRCLE_RECONFIGURE, SIGNAL_LOGI_CIRCLE_RECORD, SIGNAL_LOGI_CIRCLE_SNAPSHOT) -DEPENDENCIES = ['logi_circle', 'ffmpeg'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/logi_circle/sensor.py b/homeassistant/components/logi_circle/sensor.py index 01d5492eea7ce7..866a6fd1ec3ecf 100644 --- a/homeassistant/components/logi_circle/sensor.py +++ b/homeassistant/components/logi_circle/sensor.py @@ -11,7 +11,6 @@ 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 c2502e2ab2be60..196ef65d95322a 100644 --- a/homeassistant/components/london_underground/sensor.py +++ b/homeassistant/components/london_underground/sensor.py @@ -9,7 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['london-tube-status==0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/loopenergy/sensor.py b/homeassistant/components/loopenergy/sensor.py index 23bdf48f64506d..d3f316717e9c3f 100644 --- a/homeassistant/components/loopenergy/sensor.py +++ b/homeassistant/components/loopenergy/sensor.py @@ -12,7 +12,6 @@ _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 77273d89d42033..b4039deb893857 100644 --- a/homeassistant/components/luci/device_tracker.py +++ b/homeassistant/components/luci/device_tracker.py @@ -9,7 +9,6 @@ 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__) diff --git a/homeassistant/components/luftdaten/__init__.py b/homeassistant/components/luftdaten/__init__.py index 125cefb90265d6..25b0c76e3f07ca 100644 --- a/homeassistant/components/luftdaten/__init__.py +++ b/homeassistant/components/luftdaten/__init__.py @@ -17,7 +17,6 @@ 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__) diff --git a/homeassistant/components/luftdaten/sensor.py b/homeassistant/components/luftdaten/sensor.py index 107673bac45214..8a93437981ae4d 100644 --- a/homeassistant/components/luftdaten/sensor.py +++ b/homeassistant/components/luftdaten/sensor.py @@ -14,7 +14,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['luftdaten'] async def async_setup_platform( diff --git a/homeassistant/components/lupusec/__init__.py b/homeassistant/components/lupusec/__init__.py index 8a5f098f741929..94b44db3e4c0c9 100644 --- a/homeassistant/components/lupusec/__init__.py +++ b/homeassistant/components/lupusec/__init__.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['lupupy==0.0.17'] DOMAIN = 'lupusec' diff --git a/homeassistant/components/lupusec/alarm_control_panel.py b/homeassistant/components/lupusec/alarm_control_panel.py index 0a88f3bd552fc4..97910afbd74dd7 100644 --- a/homeassistant/components/lupusec/alarm_control_panel.py +++ b/homeassistant/components/lupusec/alarm_control_panel.py @@ -8,7 +8,6 @@ from . import DOMAIN as LUPUSEC_DOMAIN, LupusecDevice -DEPENDENCIES = ['lupusec'] ICON = 'mdi:security' diff --git a/homeassistant/components/lupusec/binary_sensor.py b/homeassistant/components/lupusec/binary_sensor.py index 2c3f5e0e0b86e0..49fd8211292701 100644 --- a/homeassistant/components/lupusec/binary_sensor.py +++ b/homeassistant/components/lupusec/binary_sensor.py @@ -7,7 +7,6 @@ from . import DOMAIN as LUPUSEC_DOMAIN, LupusecDevice -DEPENDENCIES = ['lupusec'] SCAN_INTERVAL = timedelta(seconds=2) diff --git a/homeassistant/components/lupusec/switch.py b/homeassistant/components/lupusec/switch.py index 0d86ea0a3650bf..39de3a4ca62525 100644 --- a/homeassistant/components/lupusec/switch.py +++ b/homeassistant/components/lupusec/switch.py @@ -6,7 +6,6 @@ from . import DOMAIN as LUPUSEC_DOMAIN, LupusecDevice -DEPENDENCIES = ['lupusec'] SCAN_INTERVAL = timedelta(seconds=2) diff --git a/homeassistant/components/lutron/__init__.py b/homeassistant/components/lutron/__init__.py index f642e96d8f6433..6579f8194a7f37 100644 --- a/homeassistant/components/lutron/__init__.py +++ b/homeassistant/components/lutron/__init__.py @@ -10,7 +10,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import slugify -REQUIREMENTS = ['pylutron==0.2.0'] DOMAIN = 'lutron' diff --git a/homeassistant/components/lutron/cover.py b/homeassistant/components/lutron/cover.py index da7f69095fc436..f694258b756beb 100644 --- a/homeassistant/components/lutron/cover.py +++ b/homeassistant/components/lutron/cover.py @@ -9,7 +9,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/lutron/light.py b/homeassistant/components/lutron/light.py index 5f3fd4787fd3ef..bf398ba9d5eb5b 100644 --- a/homeassistant/components/lutron/light.py +++ b/homeassistant/components/lutron/light.py @@ -8,7 +8,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/lutron/scene.py b/homeassistant/components/lutron/scene.py index a2d18c6d242407..376e2a38d69891 100644 --- a/homeassistant/components/lutron/scene.py +++ b/homeassistant/components/lutron/scene.py @@ -7,7 +7,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/lutron/switch.py b/homeassistant/components/lutron/switch.py index b42c0d930bc834..5e325e9166ba61 100644 --- a/homeassistant/components/lutron/switch.py +++ b/homeassistant/components/lutron/switch.py @@ -7,7 +7,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/lutron_caseta/__init__.py b/homeassistant/components/lutron_caseta/__init__.py index 61c005f60b2d22..4ae05671654ebe 100644 --- a/homeassistant/components/lutron_caseta/__init__.py +++ b/homeassistant/components/lutron_caseta/__init__.py @@ -8,7 +8,6 @@ from homeassistant.helpers import discovery from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pylutron-caseta==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lutron_caseta/cover.py b/homeassistant/components/lutron_caseta/cover.py index d970f5282ff003..75a7349749a373 100644 --- a/homeassistant/components/lutron_caseta/cover.py +++ b/homeassistant/components/lutron_caseta/cover.py @@ -9,7 +9,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron_caseta'] async def async_setup_platform( diff --git a/homeassistant/components/lutron_caseta/light.py b/homeassistant/components/lutron_caseta/light.py index d883da73c9161a..7f4e5241de6bbb 100644 --- a/homeassistant/components/lutron_caseta/light.py +++ b/homeassistant/components/lutron_caseta/light.py @@ -10,7 +10,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron_caseta'] async def async_setup_platform( diff --git a/homeassistant/components/lutron_caseta/scene.py b/homeassistant/components/lutron_caseta/scene.py index 2e7059a56fc0a2..9792ddfec7e0fc 100644 --- a/homeassistant/components/lutron_caseta/scene.py +++ b/homeassistant/components/lutron_caseta/scene.py @@ -7,7 +7,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron_caseta'] async def async_setup_platform( diff --git a/homeassistant/components/lutron_caseta/switch.py b/homeassistant/components/lutron_caseta/switch.py index 54c670913576ce..d6c522bc26e4e7 100644 --- a/homeassistant/components/lutron_caseta/switch.py +++ b/homeassistant/components/lutron_caseta/switch.py @@ -7,7 +7,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron_caseta'] async def async_setup_platform( diff --git a/homeassistant/components/lw12wifi/light.py b/homeassistant/components/lw12wifi/light.py index 5d9b7635ad2dd1..4165649a7d8452 100644 --- a/homeassistant/components/lw12wifi/light.py +++ b/homeassistant/components/lw12wifi/light.py @@ -16,7 +16,6 @@ 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 98d79cd970b965..946b34d27979fa 100644 --- a/homeassistant/components/lyft/sensor.py +++ b/homeassistant/components/lyft/sensor.py @@ -9,7 +9,6 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['lyft_rides==0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/magicseaweed/sensor.py b/homeassistant/components/magicseaweed/sensor.py index 4c09d1e09e04f0..b43f8233be2642 100644 --- a/homeassistant/components/magicseaweed/sensor.py +++ b/homeassistant/components/magicseaweed/sensor.py @@ -11,7 +11,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['magicseaweed==1.0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mailbox/__init__.py b/homeassistant/components/mailbox/__init__.py index 1907a1e9e978a7..8f8511464641ce 100644 --- a/homeassistant/components/mailbox/__init__.py +++ b/homeassistant/components/mailbox/__init__.py @@ -18,7 +18,6 @@ _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 2a941d8bf505b8..2f89904f12b6be 100644 --- a/homeassistant/components/mailgun/__init__.py +++ b/homeassistant/components/mailgun/__init__.py @@ -15,7 +15,6 @@ 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 b9f5bf0b10000f..f26584c4ac8cd4 100644 --- a/homeassistant/components/mailgun/notify.py +++ b/homeassistant/components/mailgun/notify.py @@ -11,11 +11,9 @@ 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 8057a8993473f1..bb5bac9d43c0ec 100644 --- a/homeassistant/components/manual_mqtt/alarm_control_panel.py +++ b/homeassistant/components/manual_mqtt/alarm_control_panel.py @@ -83,7 +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', diff --git a/homeassistant/components/mastodon/notify.py b/homeassistant/components/mastodon/notify.py index c1a91b8312ea1f..b68c8be61df662 100644 --- a/homeassistant/components/mastodon/notify.py +++ b/homeassistant/components/mastodon/notify.py @@ -9,7 +9,6 @@ from homeassistant.components.notify import (PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['Mastodon.py==1.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/matrix/__init__.py b/homeassistant/components/matrix/__init__.py index 4b3c1bf4d76965..063b1216ae4784 100644 --- a/homeassistant/components/matrix/__init__.py +++ b/homeassistant/components/matrix/__init__.py @@ -14,7 +14,6 @@ from homeassistant.util.json import load_json, save_json from homeassistant.exceptions import HomeAssistantError -REQUIREMENTS = ['matrix-client==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/matrix/notify.py b/homeassistant/components/matrix/notify.py index f1f53268c2ba85..637050d4514afc 100644 --- a/homeassistant/components/matrix/notify.py +++ b/homeassistant/components/matrix/notify.py @@ -13,7 +13,6 @@ 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 c398ccbde4f41e..d6811e1281ba6e 100644 --- a/homeassistant/components/maxcube/__init__.py +++ b/homeassistant/components/maxcube/__init__.py @@ -10,7 +10,6 @@ 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__) diff --git a/homeassistant/components/media_extractor/__init__.py b/homeassistant/components/media_extractor/__init__.py index f44075816affd2..2e42a410397927 100644 --- a/homeassistant/components/media_extractor/__init__.py +++ b/homeassistant/components/media_extractor/__init__.py @@ -12,7 +12,6 @@ ATTR_ENTITY_ID) from homeassistant.helpers import config_validation as cv -REQUIREMENTS = ['youtube_dl==2019.04.07'] _LOGGER = logging.getLogger(__name__) @@ -20,7 +19,6 @@ 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 5bc2d640e2bd56..628b140eb65f89 100644 --- a/homeassistant/components/media_player/__init__.py +++ b/homeassistant/components/media_player/__init__.py @@ -51,7 +51,6 @@ _LOGGER = logging.getLogger(__name__) _RND = SystemRandom() -DEPENDENCIES = ['http'] ENTITY_ID_FORMAT = DOMAIN + '.{}' diff --git a/homeassistant/components/mediaroom/media_player.py b/homeassistant/components/mediaroom/media_player.py index acbc0462722a59..ccf5e5f5b453b0 100644 --- a/homeassistant/components/mediaroom/media_player.py +++ b/homeassistant/components/mediaroom/media_player.py @@ -19,7 +19,6 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_connect, dispatcher_send) -REQUIREMENTS = ['pymediaroom==0.6.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/melissa/__init__.py b/homeassistant/components/melissa/__init__.py index 2037caa11c334f..c93644f68484f0 100644 --- a/homeassistant/components/melissa/__init__.py +++ b/homeassistant/components/melissa/__init__.py @@ -7,7 +7,6 @@ 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__) diff --git a/homeassistant/components/melissa/climate.py b/homeassistant/components/melissa/climate.py index 79d94a419912a5..257d2addf99bb6 100644 --- a/homeassistant/components/melissa/climate.py +++ b/homeassistant/components/melissa/climate.py @@ -13,7 +13,6 @@ from . import DATA_MELISSA -DEPENDENCIES = ['melissa'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/meraki/device_tracker.py b/homeassistant/components/meraki/device_tracker.py index d12aff1127a0d9..edca1fbd494ca7 100644 --- a/homeassistant/components/meraki/device_tracker.py +++ b/homeassistant/components/meraki/device_tracker.py @@ -18,7 +18,6 @@ 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 c801de34a9a6ae..5b67d980c7c0b2 100644 --- a/homeassistant/components/message_bird/notify.py +++ b/homeassistant/components/message_bird/notify.py @@ -9,7 +9,6 @@ from homeassistant.components.notify import (ATTR_TARGET, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['messagebird==1.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/met/weather.py b/homeassistant/components/met/weather.py index 6c9613ac5d2838..b8d7ecb87fe09b 100644 --- a/homeassistant/components/met/weather.py +++ b/homeassistant/components/met/weather.py @@ -13,7 +13,6 @@ async_call_later, async_track_utc_time_change) import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pyMetno==0.4.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/meteo_france/__init__.py b/homeassistant/components/meteo_france/__init__.py index e084cff3c79c73..f3984ffe923914 100644 --- a/homeassistant/components/meteo_france/__init__.py +++ b/homeassistant/components/meteo_france/__init__.py @@ -9,7 +9,6 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.util import Throttle -REQUIREMENTS = ['meteofrance==0.3.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/metoffice/sensor.py b/homeassistant/components/metoffice/sensor.py index 6c4e91517dac6f..d969bf51e38990 100644 --- a/homeassistant/components/metoffice/sensor.py +++ b/homeassistant/components/metoffice/sensor.py @@ -14,7 +14,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['datapoint==0.4.3'] ATTR_LAST_UPDATE = 'last_update' ATTR_SENSOR_ID = 'sensor_id' diff --git a/homeassistant/components/metoffice/weather.py b/homeassistant/components/metoffice/weather.py index a67dcdcdbd67c7..cab1565138697c 100644 --- a/homeassistant/components/metoffice/weather.py +++ b/homeassistant/components/metoffice/weather.py @@ -10,7 +10,6 @@ from .sensor import ATTRIBUTION, CONDITION_CLASSES, MetOfficeCurrentData -REQUIREMENTS = ['datapoint==0.4.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mfi/sensor.py b/homeassistant/components/mfi/sensor.py index 36f9d1a829c25c..9d4b9cb1b2dd19 100644 --- a/homeassistant/components/mfi/sensor.py +++ b/homeassistant/components/mfi/sensor.py @@ -11,7 +11,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['mficlient==0.3.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mfi/switch.py b/homeassistant/components/mfi/switch.py index 818081f7a2ed69..e83ae792d47f50 100644 --- a/homeassistant/components/mfi/switch.py +++ b/homeassistant/components/mfi/switch.py @@ -10,7 +10,6 @@ CONF_VERIFY_SSL) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['mficlient==0.3.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mhz19/sensor.py b/homeassistant/components/mhz19/sensor.py index 3aa82950fa7b8a..99b9e4f6d00434 100644 --- a/homeassistant/components/mhz19/sensor.py +++ b/homeassistant/components/mhz19/sensor.py @@ -12,7 +12,6 @@ from homeassistant.util.temperature import celsius_to_fahrenheit from homeassistant.util import Throttle -REQUIREMENTS = ['pmsensor==0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/microsoft/tts.py b/homeassistant/components/microsoft/tts.py index 9fe31ef495eced..b74daf09a01d46 100644 --- a/homeassistant/components/microsoft/tts.py +++ b/homeassistant/components/microsoft/tts.py @@ -15,7 +15,6 @@ CONF_PITCH = 'pitch' CONF_CONTOUR = 'contour' -REQUIREMENTS = ["pycsspeechtts==1.0.2"] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/microsoft_face/__init__.py b/homeassistant/components/microsoft_face/__init__.py index 9b3ee960fb23c8..25b74698da6c81 100644 --- a/homeassistant/components/microsoft_face/__init__.py +++ b/homeassistant/components/microsoft_face/__init__.py @@ -25,7 +25,6 @@ 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 91eae07e9928bf..5caba408cc8af0 100644 --- a/homeassistant/components/microsoft_face_detect/image_processing.py +++ b/homeassistant/components/microsoft_face_detect/image_processing.py @@ -11,7 +11,6 @@ from homeassistant.exceptions import HomeAssistantError import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['microsoft_face'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/microsoft_face_identify/image_processing.py b/homeassistant/components/microsoft_face_identify/image_processing.py index 52baa3617e82a4..340eaaaa998991 100644 --- a/homeassistant/components/microsoft_face_identify/image_processing.py +++ b/homeassistant/components/microsoft_face_identify/image_processing.py @@ -12,7 +12,6 @@ from homeassistant.exceptions import HomeAssistantError import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['microsoft_face'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/miflora/sensor.py b/homeassistant/components/miflora/sensor.py index 04595b0daeb148..3a23f7d74a8fbe 100644 --- a/homeassistant/components/miflora/sensor.py +++ b/homeassistant/components/miflora/sensor.py @@ -11,7 +11,6 @@ CONF_SCAN_INTERVAL, EVENT_HOMEASSISTANT_START) from homeassistant.core import callback -REQUIREMENTS = ['miflora==0.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mikrotik/device_tracker.py b/homeassistant/components/mikrotik/device_tracker.py index 7d376b431bbd82..77485ff5e775f3 100644 --- a/homeassistant/components/mikrotik/device_tracker.py +++ b/homeassistant/components/mikrotik/device_tracker.py @@ -11,7 +11,6 @@ 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__) diff --git a/homeassistant/components/mill/climate.py b/homeassistant/components/mill/climate.py index cb6d47a52b0826..8fd2803577ef7a 100644 --- a/homeassistant/components/mill/climate.py +++ b/homeassistant/components/mill/climate.py @@ -15,7 +15,6 @@ 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__) diff --git a/homeassistant/components/mitemp_bt/sensor.py b/homeassistant/components/mitemp_bt/sensor.py index cea2c6a55dbd6f..7d4740b7714c90 100644 --- a/homeassistant/components/mitemp_bt/sensor.py +++ b/homeassistant/components/mitemp_bt/sensor.py @@ -12,7 +12,6 @@ ) -REQUIREMENTS = ['mitemp_bt==0.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mobile_app/__init__.py b/homeassistant/components/mobile_app/__init__.py index a4ae78959cf367..814498fc837f21 100644 --- a/homeassistant/components/mobile_app/__init__.py +++ b/homeassistant/components/mobile_app/__init__.py @@ -15,9 +15,7 @@ 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): diff --git a/homeassistant/components/mobile_app/binary_sensor.py b/homeassistant/components/mobile_app/binary_sensor.py index 50943bb6504d8b..c69880e9befc5b 100644 --- a/homeassistant/components/mobile_app/binary_sensor.py +++ b/homeassistant/components/mobile_app/binary_sensor.py @@ -13,7 +13,6 @@ from .entity import MobileAppEntity, sensor_id -DEPENDENCIES = ['mobile_app'] async def async_setup_entry(hass, config_entry, async_add_entities): diff --git a/homeassistant/components/mobile_app/notify.py b/homeassistant/components/mobile_app/notify.py index 8d2ac1b97ecef4..0a2e68ab547628 100644 --- a/homeassistant/components/mobile_app/notify.py +++ b/homeassistant/components/mobile_app/notify.py @@ -22,7 +22,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mobile_app'] def push_registrations(hass): diff --git a/homeassistant/components/mobile_app/sensor.py b/homeassistant/components/mobile_app/sensor.py index 64ad69c5758ecc..f38a6941c268db 100644 --- a/homeassistant/components/mobile_app/sensor.py +++ b/homeassistant/components/mobile_app/sensor.py @@ -12,7 +12,6 @@ from .entity import MobileAppEntity, sensor_id -DEPENDENCIES = ['mobile_app'] async def async_setup_entry(hass, config_entry, async_add_entities): diff --git a/homeassistant/components/mochad/__init__.py b/homeassistant/components/mochad/__init__.py index e10adf693fe70d..83b01a6e466752 100644 --- a/homeassistant/components/mochad/__init__.py +++ b/homeassistant/components/mochad/__init__.py @@ -9,7 +9,6 @@ EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) from homeassistant.const import (CONF_HOST, CONF_PORT) -REQUIREMENTS = ['pymochad==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mochad/light.py b/homeassistant/components/mochad/light.py index d2e1a567d27501..a38645f141d643 100644 --- a/homeassistant/components/mochad/light.py +++ b/homeassistant/components/mochad/light.py @@ -12,7 +12,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mochad'] CONF_BRIGHTNESS_LEVELS = 'brightness_levels' diff --git a/homeassistant/components/mochad/switch.py b/homeassistant/components/mochad/switch.py index 03fd2db07bf2fe..5a14d1624ee402 100644 --- a/homeassistant/components/mochad/switch.py +++ b/homeassistant/components/mochad/switch.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mochad'] PLATFORM_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/modbus/__init__.py b/homeassistant/components/modbus/__init__.py index 0500a904cb9c86..5962c74ee5ca77 100644 --- a/homeassistant/components/modbus/__init__.py +++ b/homeassistant/components/modbus/__init__.py @@ -9,7 +9,6 @@ CONF_TYPE, EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pymodbus==1.5.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/modbus/binary_sensor.py b/homeassistant/components/modbus/binary_sensor.py index 0c10548452a01d..b0288bc0b909df 100644 --- a/homeassistant/components/modbus/binary_sensor.py +++ b/homeassistant/components/modbus/binary_sensor.py @@ -15,7 +15,6 @@ CONF_COIL = 'coil' CONF_COILS = 'coils' -DEPENDENCIES = ['modbus'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_COILS): [{ diff --git a/homeassistant/components/modbus/climate.py b/homeassistant/components/modbus/climate.py index 4d2b86903e770d..c469450c4962e5 100644 --- a/homeassistant/components/modbus/climate.py +++ b/homeassistant/components/modbus/climate.py @@ -22,7 +22,6 @@ DATA_TYPE_INT = 'int' DATA_TYPE_UINT = 'uint' DATA_TYPE_FLOAT = 'float' -DEPENDENCIES = ['modbus'] SUPPORT_FLAGS = SUPPORT_TARGET_TEMPERATURE diff --git a/homeassistant/components/modbus/sensor.py b/homeassistant/components/modbus/sensor.py index 10e11a9a656263..955146c1af1da2 100644 --- a/homeassistant/components/modbus/sensor.py +++ b/homeassistant/components/modbus/sensor.py @@ -29,7 +29,6 @@ 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 69c5e3e483888a..c313963f5815aa 100644 --- a/homeassistant/components/modbus/switch.py +++ b/homeassistant/components/modbus/switch.py @@ -24,7 +24,6 @@ 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 b87f4840334d4f..3a33d28fdc2318 100644 --- a/homeassistant/components/modem_callerid/sensor.py +++ b/homeassistant/components/modem_callerid/sensor.py @@ -9,7 +9,6 @@ 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' diff --git a/homeassistant/components/monoprice/media_player.py b/homeassistant/components/monoprice/media_player.py index edffd6ac7ce825..0d5e913043d163 100644 --- a/homeassistant/components/monoprice/media_player.py +++ b/homeassistant/components/monoprice/media_player.py @@ -13,7 +13,6 @@ 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__) diff --git a/homeassistant/components/mopar/__init__.py b/homeassistant/components/mopar/__init__.py index 4ee9f3219b483a..ef798d146add60 100644 --- a/homeassistant/components/mopar/__init__.py +++ b/homeassistant/components/mopar/__init__.py @@ -18,7 +18,6 @@ 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 aa2e0161813188..1ded2bb4405758 100644 --- a/homeassistant/components/mopar/lock.py +++ b/homeassistant/components/mopar/lock.py @@ -7,7 +7,6 @@ ) 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 0d6e5765fda9aa..f09c0bdbea9f30 100644 --- a/homeassistant/components/mopar/sensor.py +++ b/homeassistant/components/mopar/sensor.py @@ -10,7 +10,6 @@ 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 352cdafbd417ab..43a16fbbb8f833 100644 --- a/homeassistant/components/mopar/switch.py +++ b/homeassistant/components/mopar/switch.py @@ -5,7 +5,6 @@ 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 8cbc1406e0bc4a..d4a11156098304 100644 --- a/homeassistant/components/mpd/media_player.py +++ b/homeassistant/components/mpd/media_player.py @@ -20,7 +20,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['python-mpd2==1.0.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mqtt/__init__.py b/homeassistant/components/mqtt/__init__.py index 4f9ad990105853..25f7c9c519bb69 100644 --- a/homeassistant/components/mqtt/__init__.py +++ b/homeassistant/components/mqtt/__init__.py @@ -40,7 +40,6 @@ CONF_BROKER, CONF_DISCOVERY, DEFAULT_DISCOVERY, CONF_STATE_TOPIC, ATTR_DISCOVERY_HASH) -REQUIREMENTS = ['paho-mqtt==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mqtt/alarm_control_panel.py b/homeassistant/components/mqtt/alarm_control_panel.py index 03a2ac8e3887fa..ada853cdf6be49 100644 --- a/homeassistant/components/mqtt/alarm_control_panel.py +++ b/homeassistant/components/mqtt/alarm_control_panel.py @@ -37,7 +37,6 @@ 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, diff --git a/homeassistant/components/mqtt/binary_sensor.py b/homeassistant/components/mqtt/binary_sensor.py index 95daad9b262868..60fcfc0c8a6f11 100644 --- a/homeassistant/components/mqtt/binary_sensor.py +++ b/homeassistant/components/mqtt/binary_sensor.py @@ -29,7 +29,6 @@ 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, diff --git a/homeassistant/components/mqtt/camera.py b/homeassistant/components/mqtt/camera.py index f651050b6c8596..88debcffd016b8 100644 --- a/homeassistant/components/mqtt/camera.py +++ b/homeassistant/components/mqtt/camera.py @@ -23,7 +23,6 @@ CONF_TOPIC = 'topic' DEFAULT_NAME = 'MQTT Camera' -DEPENDENCIES = ['mqtt'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, diff --git a/homeassistant/components/mqtt/climate.py b/homeassistant/components/mqtt/climate.py index 17d32984bb528d..583389eef2a459 100644 --- a/homeassistant/components/mqtt/climate.py +++ b/homeassistant/components/mqtt/climate.py @@ -31,7 +31,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] DEFAULT_NAME = 'MQTT HVAC' diff --git a/homeassistant/components/mqtt/cover.py b/homeassistant/components/mqtt/cover.py index 5cb7300f0efcb4..6ec09d00d8a1c4 100644 --- a/homeassistant/components/mqtt/cover.py +++ b/homeassistant/components/mqtt/cover.py @@ -25,7 +25,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] CONF_GET_POSITION_TOPIC = 'position_topic' CONF_SET_POSITION_TEMPLATE = 'set_position_template' diff --git a/homeassistant/components/mqtt/device_tracker.py b/homeassistant/components/mqtt/device_tracker.py index 659c6315b2150a..289a1f4a31648e 100644 --- a/homeassistant/components/mqtt/device_tracker.py +++ b/homeassistant/components/mqtt/device_tracker.py @@ -11,7 +11,6 @@ from . import CONF_QOS -DEPENDENCIES = ['mqtt'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mqtt/fan.py b/homeassistant/components/mqtt/fan.py index d86390ee31de17..a6d13028cef5f5 100644 --- a/homeassistant/components/mqtt/fan.py +++ b/homeassistant/components/mqtt/fan.py @@ -23,7 +23,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] CONF_STATE_VALUE_TEMPLATE = 'state_value_template' CONF_SPEED_STATE_TOPIC = 'speed_state_topic' diff --git a/homeassistant/components/mqtt/light/__init__.py b/homeassistant/components/mqtt/light/__init__.py index 4ff6efb8643960..bb41f0e42e2e2e 100644 --- a/homeassistant/components/mqtt/light/__init__.py +++ b/homeassistant/components/mqtt/light/__init__.py @@ -17,7 +17,6 @@ _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 d5aa4480139215..7041dd6ef9da39 100644 --- a/homeassistant/components/mqtt/light/schema_basic.py +++ b/homeassistant/components/mqtt/light/schema_basic.py @@ -30,7 +30,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] CONF_BRIGHTNESS_COMMAND_TOPIC = 'brightness_command_topic' CONF_BRIGHTNESS_SCALE = 'brightness_scale' diff --git a/homeassistant/components/mqtt/light/schema_json.py b/homeassistant/components/mqtt/light/schema_json.py index a52f3c58d0efc9..4a4624bf4897f0 100644 --- a/homeassistant/components/mqtt/light/schema_json.py +++ b/homeassistant/components/mqtt/light/schema_json.py @@ -35,7 +35,6 @@ DOMAIN = 'mqtt_json' -DEPENDENCIES = ['mqtt'] DEFAULT_BRIGHTNESS = False DEFAULT_COLOR_TEMP = False diff --git a/homeassistant/components/mqtt/light/schema_template.py b/homeassistant/components/mqtt/light/schema_template.py index 49cba082401d16..48477109fcfb33 100644 --- a/homeassistant/components/mqtt/light/schema_template.py +++ b/homeassistant/components/mqtt/light/schema_template.py @@ -30,7 +30,6 @@ 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 235eacc94540cf..24844fbb1f5f04 100644 --- a/homeassistant/components/mqtt/lock.py +++ b/homeassistant/components/mqtt/lock.py @@ -27,7 +27,6 @@ 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, diff --git a/homeassistant/components/mqtt/sensor.py b/homeassistant/components/mqtt/sensor.py index b6419ea2c24b36..976a03c3ea1faa 100644 --- a/homeassistant/components/mqtt/sensor.py +++ b/homeassistant/components/mqtt/sensor.py @@ -32,7 +32,6 @@ 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, diff --git a/homeassistant/components/mqtt/server.py b/homeassistant/components/mqtt/server.py index d7d36add517f6e..39da84efba4a3f 100644 --- a/homeassistant/components/mqtt/server.py +++ b/homeassistant/components/mqtt/server.py @@ -8,11 +8,9 @@ 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({ diff --git a/homeassistant/components/mqtt/switch.py b/homeassistant/components/mqtt/switch.py index 20d28b6496ca8b..272b3cfb272321 100644 --- a/homeassistant/components/mqtt/switch.py +++ b/homeassistant/components/mqtt/switch.py @@ -22,7 +22,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] DEFAULT_NAME = 'MQTT Switch' DEFAULT_PAYLOAD_ON = 'ON' diff --git a/homeassistant/components/mqtt/vacuum.py b/homeassistant/components/mqtt/vacuum.py index 23a5e34b3caff5..0806b7679038b2 100644 --- a/homeassistant/components/mqtt/vacuum.py +++ b/homeassistant/components/mqtt/vacuum.py @@ -22,7 +22,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] SERVICE_TO_STRING = { SUPPORT_TURN_ON: 'turn_on', diff --git a/homeassistant/components/mqtt_eventstream/__init__.py b/homeassistant/components/mqtt_eventstream/__init__.py index fb6a94f1870d73..06c8f0b459dc22 100644 --- a/homeassistant/components/mqtt_eventstream/__init__.py +++ b/homeassistant/components/mqtt_eventstream/__init__.py @@ -15,7 +15,6 @@ from homeassistant.helpers.json import JSONEncoder DOMAIN = 'mqtt_eventstream' -DEPENDENCIES = ['mqtt'] CONF_PUBLISH_TOPIC = 'publish_topic' CONF_SUBSCRIBE_TOPIC = 'subscribe_topic' diff --git a/homeassistant/components/mqtt_json/device_tracker.py b/homeassistant/components/mqtt_json/device_tracker.py index 6059b26bcbdc11..ffd6f1c6693e0a 100644 --- a/homeassistant/components/mqtt_json/device_tracker.py +++ b/homeassistant/components/mqtt_json/device_tracker.py @@ -13,7 +13,6 @@ CONF_DEVICES, ATTR_GPS_ACCURACY, ATTR_LATITUDE, ATTR_LONGITUDE, ATTR_BATTERY_LEVEL) -DEPENDENCIES = ['mqtt'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mqtt_room/sensor.py b/homeassistant/components/mqtt_room/sensor.py index 961769711a4d6c..3f85f955e058dd 100644 --- a/homeassistant/components/mqtt_room/sensor.py +++ b/homeassistant/components/mqtt_room/sensor.py @@ -17,7 +17,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] ATTR_DEVICE_ID = 'device_id' ATTR_DISTANCE = 'distance' diff --git a/homeassistant/components/mqtt_statestream/__init__.py b/homeassistant/components/mqtt_statestream/__init__.py index 18a70bf75bb3a8..0d594822e05764 100644 --- a/homeassistant/components/mqtt_statestream/__init__.py +++ b/homeassistant/components/mqtt_statestream/__init__.py @@ -16,7 +16,6 @@ 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 978c9ad34eb436..f4e3b225816a03 100644 --- a/homeassistant/components/mvglive/sensor.py +++ b/homeassistant/components/mvglive/sensor.py @@ -11,7 +11,6 @@ from homeassistant.const import ( CONF_NAME, ATTR_ATTRIBUTION) -REQUIREMENTS = ['PyMVGLive==1.1.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mychevy/__init__.py b/homeassistant/components/mychevy/__init__.py index e6fd7f19c2a3ab..dc8104aaa0c84d 100644 --- a/homeassistant/components/mychevy/__init__.py +++ b/homeassistant/components/mychevy/__init__.py @@ -11,7 +11,6 @@ from homeassistant.helpers import discovery from homeassistant.util import Throttle -REQUIREMENTS = ['mychevy==1.2.0'] DOMAIN = 'mychevy' UPDATE_TOPIC = DOMAIN diff --git a/homeassistant/components/mycroft/__init__.py b/homeassistant/components/mycroft/__init__.py index 29f6383f686b1e..37d20eb8735d4c 100644 --- a/homeassistant/components/mycroft/__init__.py +++ b/homeassistant/components/mycroft/__init__.py @@ -7,7 +7,6 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['mycroftapi==2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mycroft/notify.py b/homeassistant/components/mycroft/notify.py index d66be629f17b09..9697a5961a402e 100644 --- a/homeassistant/components/mycroft/notify.py +++ b/homeassistant/components/mycroft/notify.py @@ -3,7 +3,6 @@ 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 5b926a183f72c9..395e5d4e9596f0 100644 --- a/homeassistant/components/myq/cover.py +++ b/homeassistant/components/myq/cover.py @@ -11,7 +11,6 @@ ) 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 7ca21ac582a001..e7252647706894 100644 --- a/homeassistant/components/mysensors/__init__.py +++ b/homeassistant/components/mysensors/__init__.py @@ -17,7 +17,6 @@ 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__) diff --git a/homeassistant/components/mystrom/binary_sensor.py b/homeassistant/components/mystrom/binary_sensor.py index 42245dc4df3e85..d1916d0f8edeeb 100644 --- a/homeassistant/components/mystrom/binary_sensor.py +++ b/homeassistant/components/mystrom/binary_sensor.py @@ -7,7 +7,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['http'] async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/mystrom/light.py b/homeassistant/components/mystrom/light.py index f9b8dcd203b60c..a0adbdb18e78ea 100644 --- a/homeassistant/components/mystrom/light.py +++ b/homeassistant/components/mystrom/light.py @@ -10,7 +10,6 @@ ATTR_HS_COLOR) from homeassistant.const import CONF_HOST, CONF_MAC, CONF_NAME -REQUIREMENTS = ['python-mystrom==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mystrom/switch.py b/homeassistant/components/mystrom/switch.py index a25517eea911db..e6ff2ea20c9989 100644 --- a/homeassistant/components/mystrom/switch.py +++ b/homeassistant/components/mystrom/switch.py @@ -7,7 +7,6 @@ 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' diff --git a/homeassistant/components/mythicbeastsdns/__init__.py b/homeassistant/components/mythicbeastsdns/__init__.py index 4db53bf0407cf4..85e9205655a2d5 100644 --- a/homeassistant/components/mythicbeastsdns/__init__.py +++ b/homeassistant/components/mythicbeastsdns/__init__.py @@ -11,7 +11,6 @@ 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__) diff --git a/homeassistant/components/n26/__init__.py b/homeassistant/components/n26/__init__.py index 8f4ade9c87f6ea..6b14c5927d3fe4 100644 --- a/homeassistant/components/n26/__init__.py +++ b/homeassistant/components/n26/__init__.py @@ -12,7 +12,6 @@ from .const import DATA, DOMAIN -REQUIREMENTS = ['n26==0.2.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/n26/sensor.py b/homeassistant/components/n26/sensor.py index 682cd5dae68575..ac9ca27fc3c514 100644 --- a/homeassistant/components/n26/sensor.py +++ b/homeassistant/components/n26/sensor.py @@ -8,7 +8,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['n26'] SCAN_INTERVAL = DEFAULT_SCAN_INTERVAL diff --git a/homeassistant/components/n26/switch.py b/homeassistant/components/n26/switch.py index 0e7455ea7030c8..1da6bf2f42686b 100644 --- a/homeassistant/components/n26/switch.py +++ b/homeassistant/components/n26/switch.py @@ -8,7 +8,6 @@ _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 8c5a14a35243c8..6066f0e76917f6 100644 --- a/homeassistant/components/nad/media_player.py +++ b/homeassistant/components/nad/media_player.py @@ -11,7 +11,6 @@ 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__) diff --git a/homeassistant/components/namecheapdns/__init__.py b/homeassistant/components/namecheapdns/__init__.py index f86e7d18556786..51c1cc93f280ab 100644 --- a/homeassistant/components/namecheapdns/__init__.py +++ b/homeassistant/components/namecheapdns/__init__.py @@ -9,7 +9,6 @@ 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__) diff --git a/homeassistant/components/nanoleaf/light.py b/homeassistant/components/nanoleaf/light.py index 60457e21f9a67d..4f3a295cb6d621 100644 --- a/homeassistant/components/nanoleaf/light.py +++ b/homeassistant/components/nanoleaf/light.py @@ -15,7 +15,6 @@ 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__) diff --git a/homeassistant/components/neato/__init__.py b/homeassistant/components/neato/__init__.py index bb717b8d230b22..009f6fa2b62b15 100644 --- a/homeassistant/components/neato/__init__.py +++ b/homeassistant/components/neato/__init__.py @@ -10,7 +10,6 @@ from homeassistant.helpers import discovery from homeassistant.util import Throttle -REQUIREMENTS = ['pybotvac==0.0.13'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/neato/camera.py b/homeassistant/components/neato/camera.py index f8106c3e645ebc..59e321618fb460 100644 --- a/homeassistant/components/neato/camera.py +++ b/homeassistant/components/neato/camera.py @@ -8,7 +8,6 @@ _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 ea60f9492e22a7..f9ea60f84c189f 100644 --- a/homeassistant/components/neato/switch.py +++ b/homeassistant/components/neato/switch.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['neato'] SCAN_INTERVAL = timedelta(minutes=10) diff --git a/homeassistant/components/neato/vacuum.py b/homeassistant/components/neato/vacuum.py index 3575301ea97e6b..85cb280697147c 100644 --- a/homeassistant/components/neato/vacuum.py +++ b/homeassistant/components/neato/vacuum.py @@ -21,7 +21,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['neato'] SCAN_INTERVAL = timedelta(minutes=5) diff --git a/homeassistant/components/nederlandse_spoorwegen/sensor.py b/homeassistant/components/nederlandse_spoorwegen/sensor.py index 224d16e4869b9a..6f3ea8246b3776 100644 --- a/homeassistant/components/nederlandse_spoorwegen/sensor.py +++ b/homeassistant/components/nederlandse_spoorwegen/sensor.py @@ -12,7 +12,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['nsapi==2.7.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nello/lock.py b/homeassistant/components/nello/lock.py index efb7719e2013fd..4e5f5b7a5c8250 100644 --- a/homeassistant/components/nello/lock.py +++ b/homeassistant/components/nello/lock.py @@ -8,7 +8,6 @@ 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__) diff --git a/homeassistant/components/ness_alarm/__init__.py b/homeassistant/components/ness_alarm/__init__.py index 97896f9aa3f9ec..dc4292af41f2fc 100644 --- a/homeassistant/components/ness_alarm/__init__.py +++ b/homeassistant/components/ness_alarm/__init__.py @@ -13,7 +13,6 @@ 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__) diff --git a/homeassistant/components/ness_alarm/alarm_control_panel.py b/homeassistant/components/ness_alarm/alarm_control_panel.py index 618297ef9a5216..508cb15e0a142a 100644 --- a/homeassistant/components/ness_alarm/alarm_control_panel.py +++ b/homeassistant/components/ness_alarm/alarm_control_panel.py @@ -13,7 +13,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ness_alarm'] async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/ness_alarm/binary_sensor.py b/homeassistant/components/ness_alarm/binary_sensor.py index 2bed9eb64042bf..6d9486577a72f4 100644 --- a/homeassistant/components/ness_alarm/binary_sensor.py +++ b/homeassistant/components/ness_alarm/binary_sensor.py @@ -9,7 +9,6 @@ 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 21aaa2109a10c4..11d20ec6b2fd80 100644 --- a/homeassistant/components/nest/__init__.py +++ b/homeassistant/components/nest/__init__.py @@ -22,7 +22,6 @@ 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 aa56bfbf29d50c..60e1bc90a22f34 100644 --- a/homeassistant/components/nest/binary_sensor.py +++ b/homeassistant/components/nest/binary_sensor.py @@ -10,7 +10,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['nest'] BINARY_TYPES = {'online': 'connectivity'} diff --git a/homeassistant/components/nest/camera.py b/homeassistant/components/nest/camera.py index 8b450e02b46777..98053f27669778 100644 --- a/homeassistant/components/nest/camera.py +++ b/homeassistant/components/nest/camera.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['nest'] NEST_BRAND = 'Nest' diff --git a/homeassistant/components/nest/climate.py b/homeassistant/components/nest/climate.py index cd9a7cb71b634d..4707d8d0f8c30c 100644 --- a/homeassistant/components/nest/climate.py +++ b/homeassistant/components/nest/climate.py @@ -16,7 +16,6 @@ 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 ecae83e303c2a9..6f66ae4b02aeb2 100644 --- a/homeassistant/components/nest/sensor.py +++ b/homeassistant/components/nest/sensor.py @@ -8,7 +8,6 @@ from . import CONF_SENSORS, DATA_NEST, DATA_NEST_CONFIG, NestSensorDevice -DEPENDENCIES = ['nest'] SENSOR_TYPES = ['humidity', 'operation_mode', 'hvac_state'] diff --git a/homeassistant/components/netatmo/__init__.py b/homeassistant/components/netatmo/__init__.py index 2036e55b3a88ad..7f82bb5177c7d3 100644 --- a/homeassistant/components/netatmo/__init__.py +++ b/homeassistant/components/netatmo/__init__.py @@ -12,8 +12,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['pyatmo==1.9'] -DEPENDENCIES = ['webhook'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netatmo/binary_sensor.py b/homeassistant/components/netatmo/binary_sensor.py index a11ce6bddf710a..cb959d71b64aad 100644 --- a/homeassistant/components/netatmo/binary_sensor.py +++ b/homeassistant/components/netatmo/binary_sensor.py @@ -12,7 +12,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['netatmo'] # These are the available sensors mapped to binary_sensor class WELCOME_SENSOR_TYPES = { diff --git a/homeassistant/components/netatmo/camera.py b/homeassistant/components/netatmo/camera.py index 6b80c3061b567e..3b27c2e054ceef 100644 --- a/homeassistant/components/netatmo/camera.py +++ b/homeassistant/components/netatmo/camera.py @@ -11,7 +11,6 @@ from . import CameraData -DEPENDENCIES = ['netatmo'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netatmo/climate.py b/homeassistant/components/netatmo/climate.py index d0537c5912b18a..87c5bfd9653b7e 100644 --- a/homeassistant/components/netatmo/climate.py +++ b/homeassistant/components/netatmo/climate.py @@ -14,7 +14,6 @@ STATE_OFF, TEMP_CELSIUS, ATTR_TEMPERATURE, CONF_NAME) from homeassistant.util import Throttle -DEPENDENCIES = ['netatmo'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netatmo/sensor.py b/homeassistant/components/netatmo/sensor.py index 307b76ca434bd4..dc481c017badc7 100644 --- a/homeassistant/components/netatmo/sensor.py +++ b/homeassistant/components/netatmo/sensor.py @@ -17,7 +17,6 @@ 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 3480534436da6b..a84c90e42cc069 100644 --- a/homeassistant/components/netatmo_public/sensor.py +++ b/homeassistant/components/netatmo_public/sensor.py @@ -14,7 +14,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['netatmo'] CONF_AREAS = 'areas' CONF_LAT_NE = 'lat_ne' diff --git a/homeassistant/components/netdata/sensor.py b/homeassistant/components/netdata/sensor.py index 6d99722a4162d4..be80fda81dec93 100644 --- a/homeassistant/components/netdata/sensor.py +++ b/homeassistant/components/netdata/sensor.py @@ -13,7 +13,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['netdata==0.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netgear/device_tracker.py b/homeassistant/components/netgear/device_tracker.py index ce8c2d6066d3d4..40c09ed9b7ec2e 100644 --- a/homeassistant/components/netgear/device_tracker.py +++ b/homeassistant/components/netgear/device_tracker.py @@ -10,7 +10,6 @@ CONF_HOST, CONF_PASSWORD, CONF_USERNAME, CONF_PORT, CONF_SSL, CONF_DEVICES, CONF_EXCLUDE) -REQUIREMENTS = ['pynetgear==0.5.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netgear_lte/__init__.py b/homeassistant/components/netgear_lte/__init__.py index c0f248a3dd5205..fe07526e0eddd8 100644 --- a/homeassistant/components/netgear_lte/__init__.py +++ b/homeassistant/components/netgear_lte/__init__.py @@ -24,7 +24,6 @@ from . import sensor_types -REQUIREMENTS = ['eternalegypt==0.0.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netgear_lte/binary_sensor.py b/homeassistant/components/netgear_lte/binary_sensor.py index a26c8538ea5be9..d7f766572468f8 100644 --- a/homeassistant/components/netgear_lte/binary_sensor.py +++ b/homeassistant/components/netgear_lte/binary_sensor.py @@ -7,7 +7,6 @@ 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 fba1a335ace333..9497dd9f84d31d 100644 --- a/homeassistant/components/netgear_lte/notify.py +++ b/homeassistant/components/netgear_lte/notify.py @@ -8,7 +8,6 @@ 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 238a5f9b72d3d6..f45c37f8f8c4ec 100644 --- a/homeassistant/components/netgear_lte/sensor.py +++ b/homeassistant/components/netgear_lte/sensor.py @@ -8,7 +8,6 @@ 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 27a7dfbd5e7de5..9bcb69f93bc860 100644 --- a/homeassistant/components/netio/switch.py +++ b/homeassistant/components/netio/switch.py @@ -14,7 +14,6 @@ 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__) @@ -25,7 +24,6 @@ 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 9e12465c69b078..a24221ccb59855 100644 --- a/homeassistant/components/neurio_energy/sensor.py +++ b/homeassistant/components/neurio_energy/sensor.py @@ -13,7 +13,6 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['neurio==0.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/niko_home_control/light.py b/homeassistant/components/niko_home_control/light.py index 00e8dc838a6c0d..ecc9aed15548d3 100644 --- a/homeassistant/components/niko_home_control/light.py +++ b/homeassistant/components/niko_home_control/light.py @@ -9,7 +9,6 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['niko-home-control==0.1.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nilu/air_quality.py b/homeassistant/components/nilu/air_quality.py index 979d5736d6a20d..3c082ad456d4d6 100644 --- a/homeassistant/components/nilu/air_quality.py +++ b/homeassistant/components/nilu/air_quality.py @@ -11,7 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['niluclient==0.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nissan_leaf/__init__.py b/homeassistant/components/nissan_leaf/__init__.py index cb101c0a5309c5..f1120ee8622fc9 100644 --- a/homeassistant/components/nissan_leaf/__init__.py +++ b/homeassistant/components/nissan_leaf/__init__.py @@ -16,7 +16,6 @@ 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__) diff --git a/homeassistant/components/nissan_leaf/binary_sensor.py b/homeassistant/components/nissan_leaf/binary_sensor.py index 5c71cf1fc513a9..f358e3e3e07abe 100644 --- a/homeassistant/components/nissan_leaf/binary_sensor.py +++ b/homeassistant/components/nissan_leaf/binary_sensor.py @@ -7,7 +7,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['nissan_leaf'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/nissan_leaf/device_tracker.py b/homeassistant/components/nissan_leaf/device_tracker.py index 95f6fcdcaf16c0..8e6d584e6e57b8 100644 --- a/homeassistant/components/nissan_leaf/device_tracker.py +++ b/homeassistant/components/nissan_leaf/device_tracker.py @@ -8,7 +8,6 @@ _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 682f482b4888f2..f409e5774f2ea9 100644 --- a/homeassistant/components/nissan_leaf/sensor.py +++ b/homeassistant/components/nissan_leaf/sensor.py @@ -12,7 +12,6 @@ _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 e6d72103a6c6c4..d6cbe4868df778 100644 --- a/homeassistant/components/nissan_leaf/switch.py +++ b/homeassistant/components/nissan_leaf/switch.py @@ -7,7 +7,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['nissan_leaf'] def setup_platform(hass, config, add_devices, discovery_info=None): diff --git a/homeassistant/components/nmap_tracker/device_tracker.py b/homeassistant/components/nmap_tracker/device_tracker.py index e553d323b72306..c2f6ba761af18a 100644 --- a/homeassistant/components/nmap_tracker/device_tracker.py +++ b/homeassistant/components/nmap_tracker/device_tracker.py @@ -13,7 +13,6 @@ DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOSTS -REQUIREMENTS = ['python-nmap==0.6.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nmbs/sensor.py b/homeassistant/components/nmbs/sensor.py index 034c37530b355e..f601334e5e24ea 100644 --- a/homeassistant/components/nmbs/sensor.py +++ b/homeassistant/components/nmbs/sensor.py @@ -23,7 +23,6 @@ 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, diff --git a/homeassistant/components/noaa_tides/sensor.py b/homeassistant/components/noaa_tides/sensor.py index 0c4bde94f5770f..57a5ebedec4380 100644 --- a/homeassistant/components/noaa_tides/sensor.py +++ b/homeassistant/components/noaa_tides/sensor.py @@ -10,7 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['py_noaa==0.3.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/norway_air/air_quality.py b/homeassistant/components/norway_air/air_quality.py index 06ed68801f89c7..7dcc8dfefd5534 100644 --- a/homeassistant/components/norway_air/air_quality.py +++ b/homeassistant/components/norway_air/air_quality.py @@ -12,7 +12,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['pyMetno==0.4.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nsw_fuel_station/sensor.py b/homeassistant/components/nsw_fuel_station/sensor.py index ce4337fc93ab6c..c1bba1e8f75538 100644 --- a/homeassistant/components/nsw_fuel_station/sensor.py +++ b/homeassistant/components/nsw_fuel_station/sensor.py @@ -11,7 +11,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['nsw-fuel-api-client==1.0.10'] _LOGGER = logging.getLogger(__name__) 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 38491feb32f406..ab9354543a1264 100644 --- a/homeassistant/components/nsw_rural_fire_service_feed/geo_location.py +++ b/homeassistant/components/nsw_rural_fire_service_feed/geo_location.py @@ -16,7 +16,6 @@ async_dispatcher_connect, dispatcher_send) from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['geojson_client==0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nuheat/__init__.py b/homeassistant/components/nuheat/__init__.py index 4ea37339ef35f3..02e011aab6231a 100644 --- a/homeassistant/components/nuheat/__init__.py +++ b/homeassistant/components/nuheat/__init__.py @@ -7,7 +7,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers import discovery -REQUIREMENTS = ["nuheat==0.3.0"] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nuheat/climate.py b/homeassistant/components/nuheat/climate.py index 32adc1d216f3c5..3c90a25eb76224 100644 --- a/homeassistant/components/nuheat/climate.py +++ b/homeassistant/components/nuheat/climate.py @@ -15,7 +15,6 @@ from . import DOMAIN as NUHEAT_DOMAIN -DEPENDENCIES = ["nuheat"] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nuimo_controller/__init__.py b/homeassistant/components/nuimo_controller/__init__.py index 70509469d2bcf9..3a8e1c72531815 100644 --- a/homeassistant/components/nuimo_controller/__init__.py +++ b/homeassistant/components/nuimo_controller/__init__.py @@ -8,9 +8,6 @@ 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__) diff --git a/homeassistant/components/nuki/lock.py b/homeassistant/components/nuki/lock.py index ef49d4b97dd955..4806ce1c01edd0 100644 --- a/homeassistant/components/nuki/lock.py +++ b/homeassistant/components/nuki/lock.py @@ -10,7 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.service import extract_entity_ids -REQUIREMENTS = ['pynuki==1.3.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nut/sensor.py b/homeassistant/components/nut/sensor.py index 43ba06f70eb1b3..8a1679afeef846 100644 --- a/homeassistant/components/nut/sensor.py +++ b/homeassistant/components/nut/sensor.py @@ -14,7 +14,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pynut2==2.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nx584/alarm_control_panel.py b/homeassistant/components/nx584/alarm_control_panel.py index c5e1fede6fd8fd..011f0becd9df73 100644 --- a/homeassistant/components/nx584/alarm_control_panel.py +++ b/homeassistant/components/nx584/alarm_control_panel.py @@ -11,7 +11,6 @@ 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__) diff --git a/homeassistant/components/nx584/binary_sensor.py b/homeassistant/components/nx584/binary_sensor.py index 61f8fb801eac5b..0216be783eb1a1 100644 --- a/homeassistant/components/nx584/binary_sensor.py +++ b/homeassistant/components/nx584/binary_sensor.py @@ -11,7 +11,6 @@ from homeassistant.const import (CONF_HOST, CONF_PORT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pynx584==0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/oasa_telematics/sensor.py b/homeassistant/components/oasa_telematics/sensor.py index 665f2f83f86af7..60c2f9a231b991 100644 --- a/homeassistant/components/oasa_telematics/sensor.py +++ b/homeassistant/components/oasa_telematics/sensor.py @@ -12,7 +12,6 @@ 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 be3381f3bc8a2e..dfc2d9694ec149 100644 --- a/homeassistant/components/octoprint/binary_sensor.py +++ b/homeassistant/components/octoprint/binary_sensor.py @@ -9,7 +9,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['octoprint'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/octoprint/sensor.py b/homeassistant/components/octoprint/sensor.py index f07d88d11da3ff..311d7d66dd74da 100644 --- a/homeassistant/components/octoprint/sensor.py +++ b/homeassistant/components/octoprint/sensor.py @@ -10,7 +10,6 @@ _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 f1e03396b05002..036f9d2439cfbe 100644 --- a/homeassistant/components/oem/climate.py +++ b/homeassistant/components/oem/climate.py @@ -21,7 +21,6 @@ CONF_PORT, TEMP_CELSIUS, CONF_NAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['oemthermostat==1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ohmconnect/sensor.py b/homeassistant/components/ohmconnect/sensor.py index 1d870e4d15a12c..73769faab2c663 100644 --- a/homeassistant/components/ohmconnect/sensor.py +++ b/homeassistant/components/ohmconnect/sensor.py @@ -11,7 +11,6 @@ from homeassistant.util import Throttle from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['defusedxml==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/onboarding/__init__.py b/homeassistant/components/onboarding/__init__.py index f8885962ee7174..9949f36cc4a98d 100644 --- a/homeassistant/components/onboarding/__init__.py +++ b/homeassistant/components/onboarding/__init__.py @@ -4,7 +4,6 @@ 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 64b9684c58c4ec..e28927fd44d48c 100644 --- a/homeassistant/components/onkyo/media_player.py +++ b/homeassistant/components/onkyo/media_player.py @@ -16,7 +16,6 @@ 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__) diff --git a/homeassistant/components/onvif/camera.py b/homeassistant/components/onvif/camera.py index 90222b9cafc06b..6a773a854c9809 100644 --- a/homeassistant/components/onvif/camera.py +++ b/homeassistant/components/onvif/camera.py @@ -20,10 +20,6 @@ _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 10173cdb725c8b..a17ca4ee0ae0e1 100644 --- a/homeassistant/components/opencv/image_processing.py +++ b/homeassistant/components/opencv/image_processing.py @@ -11,7 +11,6 @@ from homeassistant.core import split_entity_id import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['numpy==1.16.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/openevse/sensor.py b/homeassistant/components/openevse/sensor.py index e54b47236c5fe3..7ec796ec3f299f 100644 --- a/homeassistant/components/openevse/sensor.py +++ b/homeassistant/components/openevse/sensor.py @@ -11,7 +11,6 @@ CONF_MONITORED_VARIABLES) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['openevsewifi==0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/openhome/media_player.py b/homeassistant/components/openhome/media_player.py index 03926bce8c5ce8..5af09cd1ecd07e 100644 --- a/homeassistant/components/openhome/media_player.py +++ b/homeassistant/components/openhome/media_player.py @@ -10,7 +10,6 @@ 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 | \ diff --git a/homeassistant/components/opensensemap/air_quality.py b/homeassistant/components/opensensemap/air_quality.py index 5407f65a1d822f..11921926ecf773 100644 --- a/homeassistant/components/opensensemap/air_quality.py +++ b/homeassistant/components/opensensemap/air_quality.py @@ -11,7 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['opensensemap-api==0.1.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/opentherm_gw/__init__.py b/homeassistant/components/opentherm_gw/__init__.py index 1476363c6bd877..82161e3382b0e4 100644 --- a/homeassistant/components/opentherm_gw/__init__.py +++ b/homeassistant/components/opentherm_gw/__init__.py @@ -15,7 +15,6 @@ import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyotgw==0.4b3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/opentherm_gw/binary_sensor.py b/homeassistant/components/opentherm_gw/binary_sensor.py index d0b60a257705a6..24f7324bd806a7 100644 --- a/homeassistant/components/opentherm_gw/binary_sensor.py +++ b/homeassistant/components/opentherm_gw/binary_sensor.py @@ -14,7 +14,6 @@ DEVICE_CLASS_HEAT = 'heat' DEVICE_CLASS_PROBLEM = 'problem' -DEPENDENCIES = ['opentherm_gw'] async def async_setup_platform( diff --git a/homeassistant/components/opentherm_gw/climate.py b/homeassistant/components/opentherm_gw/climate.py index 60f1901d43e96d..90a36b038e6307 100644 --- a/homeassistant/components/opentherm_gw/climate.py +++ b/homeassistant/components/opentherm_gw/climate.py @@ -15,7 +15,6 @@ _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 5c64b8ab719b02..a75a210f62c374 100644 --- a/homeassistant/components/opentherm_gw/sensor.py +++ b/homeassistant/components/opentherm_gw/sensor.py @@ -16,7 +16,6 @@ UNIT_L_MIN = 'L/min' UNIT_PERCENT = '%' -DEPENDENCIES = ['opentherm_gw'] async def async_setup_platform( diff --git a/homeassistant/components/openuv/__init__.py b/homeassistant/components/openuv/__init__.py index 5533beb2faed4b..15312fd77c4f44 100644 --- a/homeassistant/components/openuv/__init__.py +++ b/homeassistant/components/openuv/__init__.py @@ -15,7 +15,6 @@ from .config_flow import configured_instances from .const import DOMAIN -REQUIREMENTS = ['pyopenuv==1.0.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/openuv/binary_sensor.py b/homeassistant/components/openuv/binary_sensor.py index cfc82a7572954d..2b63750abb960a 100644 --- a/homeassistant/components/openuv/binary_sensor.py +++ b/homeassistant/components/openuv/binary_sensor.py @@ -16,7 +16,6 @@ ATTR_PROTECTION_WINDOW_STARTING_TIME = 'start_time' ATTR_PROTECTION_WINDOW_STARTING_UV = 'start_uv' -DEPENDENCIES = ['openuv'] async def async_setup_platform( diff --git a/homeassistant/components/openuv/sensor.py b/homeassistant/components/openuv/sensor.py index 42780d57b3c252..d437f29254b2dc 100644 --- a/homeassistant/components/openuv/sensor.py +++ b/homeassistant/components/openuv/sensor.py @@ -14,7 +14,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['openuv'] ATTR_MAX_UV_TIME = 'time' diff --git a/homeassistant/components/openweathermap/sensor.py b/homeassistant/components/openweathermap/sensor.py index 5de67721e3057f..a98ddf85116e28 100644 --- a/homeassistant/components/openweathermap/sensor.py +++ b/homeassistant/components/openweathermap/sensor.py @@ -12,7 +12,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pyowm==2.10.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/openweathermap/weather.py b/homeassistant/components/openweathermap/weather.py index 8a37bc97575180..a7f145e17ac135 100644 --- a/homeassistant/components/openweathermap/weather.py +++ b/homeassistant/components/openweathermap/weather.py @@ -14,7 +14,6 @@ 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__) diff --git a/homeassistant/components/opple/light.py b/homeassistant/components/opple/light.py index 03e36dc179d43b..169ce1d3a430f0 100644 --- a/homeassistant/components/opple/light.py +++ b/homeassistant/components/opple/light.py @@ -14,7 +14,6 @@ from homeassistant.util.color import \ color_temperature_mired_to_kelvin as mired_to_kelvin -REQUIREMENTS = ['pyoppleio==1.0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/orvibo/switch.py b/homeassistant/components/orvibo/switch.py index c77e24446ec2a6..eed48d290b0308 100644 --- a/homeassistant/components/orvibo/switch.py +++ b/homeassistant/components/orvibo/switch.py @@ -8,7 +8,6 @@ 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__) diff --git a/homeassistant/components/osramlightify/light.py b/homeassistant/components/osramlightify/light.py index b880273fd1e916..c32436bd85b8ee 100644 --- a/homeassistant/components/osramlightify/light.py +++ b/homeassistant/components/osramlightify/light.py @@ -15,7 +15,6 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['lightify==1.0.7.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/otp/sensor.py b/homeassistant/components/otp/sensor.py index 2ac4c51998443e..b79d6ae2a3581d 100644 --- a/homeassistant/components/otp/sensor.py +++ b/homeassistant/components/otp/sensor.py @@ -10,7 +10,6 @@ from homeassistant.const import (CONF_NAME, CONF_TOKEN) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyotp==2.2.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/owlet/__init__.py b/homeassistant/components/owlet/__init__.py index b7ad7ab915240a..d17d7308bd1883 100644 --- a/homeassistant/components/owlet/__init__.py +++ b/homeassistant/components/owlet/__init__.py @@ -11,7 +11,6 @@ SENSOR_BASE_STATION, SENSOR_HEART_RATE, SENSOR_MOVEMENT, SENSOR_OXYGEN_LEVEL) -REQUIREMENTS = ['pyowlet==1.0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/owntracks/__init__.py b/homeassistant/components/owntracks/__init__.py index df6b815e4c5be9..93cd66de05895b 100644 --- a/homeassistant/components/owntracks/__init__.py +++ b/homeassistant/components/owntracks/__init__.py @@ -16,12 +16,10 @@ 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' diff --git a/homeassistant/components/owntracks/device_tracker.py b/homeassistant/components/owntracks/device_tracker.py index 69ea723d84c503..cb5045ea87dbf9 100644 --- a/homeassistant/components/owntracks/device_tracker.py +++ b/homeassistant/components/owntracks/device_tracker.py @@ -10,7 +10,6 @@ from . import DOMAIN as OT_DOMAIN -DEPENDENCIES = ['owntracks'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/panasonic_bluray/media_player.py b/homeassistant/components/panasonic_bluray/media_player.py index ebf71135d343f7..f527ba790cb03f 100644 --- a/homeassistant/components/panasonic_bluray/media_player.py +++ b/homeassistant/components/panasonic_bluray/media_player.py @@ -14,7 +14,6 @@ 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 324becd0bf756d..324d5e59322c71 100644 --- a/homeassistant/components/panasonic_viera/media_player.py +++ b/homeassistant/components/panasonic_viera/media_player.py @@ -14,7 +14,6 @@ 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__) diff --git a/homeassistant/components/pandora/media_player.py b/homeassistant/components/pandora/media_player.py index 32cde430d0e97b..14eb260914a2af 100644 --- a/homeassistant/components/pandora/media_player.py +++ b/homeassistant/components/pandora/media_player.py @@ -16,7 +16,6 @@ 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 7fe2191f4c497c..3042885f321e68 100644 --- a/homeassistant/components/panel_custom/__init__.py +++ b/homeassistant/components/panel_custom/__init__.py @@ -10,7 +10,6 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'panel_custom' -DEPENDENCIES = ['frontend'] CONF_COMPONENT_NAME = 'name' CONF_SIDEBAR_TITLE = 'sidebar_title' diff --git a/homeassistant/components/panel_iframe/__init__.py b/homeassistant/components/panel_iframe/__init__.py index 9319dfcc6adb27..d261052dfaf637 100644 --- a/homeassistant/components/panel_iframe/__init__.py +++ b/homeassistant/components/panel_iframe/__init__.py @@ -4,7 +4,6 @@ from homeassistant.const import CONF_ICON, CONF_URL import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['frontend'] DOMAIN = 'panel_iframe' diff --git a/homeassistant/components/pencom/switch.py b/homeassistant/components/pencom/switch.py index d2c73d70d96deb..c4decde51d08b0 100644 --- a/homeassistant/components/pencom/switch.py +++ b/homeassistant/components/pencom/switch.py @@ -12,7 +12,6 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pencompy==0.0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/philips_js/media_player.py b/homeassistant/components/philips_js/media_player.py index f5eddff8d138dc..bfed905c1e384f 100644 --- a/homeassistant/components/philips_js/media_player.py +++ b/homeassistant/components/philips_js/media_player.py @@ -15,7 +15,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.script import Script -REQUIREMENTS = ['ha-philipsjs==0.0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pi_hole/sensor.py b/homeassistant/components/pi_hole/sensor.py index 805e17ebdff418..73ef7a280e825c 100644 --- a/homeassistant/components/pi_hole/sensor.py +++ b/homeassistant/components/pi_hole/sensor.py @@ -13,7 +13,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['hole==0.3.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/piglow/light.py b/homeassistant/components/piglow/light.py index dc3906b20026cd..38b3e6cc8999c2 100644 --- a/homeassistant/components/piglow/light.py +++ b/homeassistant/components/piglow/light.py @@ -11,7 +11,6 @@ from homeassistant.const import CONF_NAME import homeassistant.util.color as color_util -REQUIREMENTS = ['piglow==1.2.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pilight/__init__.py b/homeassistant/components/pilight/__init__.py index 46be3b3720438b..f3bbfbf409c320 100644 --- a/homeassistant/components/pilight/__init__.py +++ b/homeassistant/components/pilight/__init__.py @@ -14,7 +14,6 @@ EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP, CONF_HOST, CONF_PORT, CONF_WHITELIST, CONF_PROTOCOL) -REQUIREMENTS = ['pilight==0.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pilight/binary_sensor.py b/homeassistant/components/pilight/binary_sensor.py index 131a91b5fc3c0a..852227c486e5c4 100644 --- a/homeassistant/components/pilight/binary_sensor.py +++ b/homeassistant/components/pilight/binary_sensor.py @@ -26,7 +26,6 @@ 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, diff --git a/homeassistant/components/pilight/sensor.py b/homeassistant/components/pilight/sensor.py index c36151c90dce26..c45ed4df54f1e1 100644 --- a/homeassistant/components/pilight/sensor.py +++ b/homeassistant/components/pilight/sensor.py @@ -15,7 +15,6 @@ CONF_VARIABLE = 'variable' DEFAULT_NAME = 'Pilight Sensor' -DEPENDENCIES = ['pilight'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_VARIABLE): cv.string, diff --git a/homeassistant/components/pilight/switch.py b/homeassistant/components/pilight/switch.py index d645d8e3013ce7..b4a248a6205b9a 100644 --- a/homeassistant/components/pilight/switch.py +++ b/homeassistant/components/pilight/switch.py @@ -21,7 +21,6 @@ CONF_UNITCODE = 'unitcode' CONF_ECHO = 'echo' -DEPENDENCIES = ['pilight'] COMMAND_SCHEMA = vol.Schema({ vol.Optional(CONF_PROTOCOL): cv.string, diff --git a/homeassistant/components/pjlink/media_player.py b/homeassistant/components/pjlink/media_player.py index ad7bdc9e77cb20..73cb6db28e1445 100644 --- a/homeassistant/components/pjlink/media_player.py +++ b/homeassistant/components/pjlink/media_player.py @@ -12,7 +12,6 @@ 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__) diff --git a/homeassistant/components/plant/__init__.py b/homeassistant/components/plant/__init__.py index 27324ad57a39a4..a60d2bc7e3a9b4 100644 --- a/homeassistant/components/plant/__init__.py +++ b/homeassistant/components/plant/__init__.py @@ -89,7 +89,6 @@ }) 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 f2af6836e3be4c..845d033ffaf0b1 100644 --- a/homeassistant/components/plex/media_player.py +++ b/homeassistant/components/plex/media_player.py @@ -20,7 +20,6 @@ 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 a3df6fdb41e8fd..69cc1398b23434 100644 --- a/homeassistant/components/plex/sensor.py +++ b/homeassistant/components/plex/sensor.py @@ -11,7 +11,6 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['plexapi==3.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/plum_lightpad/__init__.py b/homeassistant/components/plum_lightpad/__init__.py index 5b99223d25aed7..713d4268227720 100644 --- a/homeassistant/components/plum_lightpad/__init__.py +++ b/homeassistant/components/plum_lightpad/__init__.py @@ -10,7 +10,6 @@ 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__) diff --git a/homeassistant/components/plum_lightpad/light.py b/homeassistant/components/plum_lightpad/light.py index 233539560f4b8a..cdb73409d69d84 100644 --- a/homeassistant/components/plum_lightpad/light.py +++ b/homeassistant/components/plum_lightpad/light.py @@ -5,7 +5,6 @@ from . import PLUM_DATA -DEPENDENCIES = ['plum_lightpad'] async def async_setup_platform( diff --git a/homeassistant/components/pocketcasts/sensor.py b/homeassistant/components/pocketcasts/sensor.py index f09e90120049d9..4dc560abd577b2 100644 --- a/homeassistant/components/pocketcasts/sensor.py +++ b/homeassistant/components/pocketcasts/sensor.py @@ -10,7 +10,6 @@ from homeassistant.const import (CONF_USERNAME, CONF_PASSWORD) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pocketcasts==0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/point/__init__.py b/homeassistant/components/point/__init__.py index dc839756469dd3..a2288a0867982e 100644 --- a/homeassistant/components/point/__init__.py +++ b/homeassistant/components/point/__init__.py @@ -20,11 +20,9 @@ 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 3fc4d1fce3dd54..082ade70ad3d0b 100644 --- a/homeassistant/components/pollen/sensor.py +++ b/homeassistant/components/pollen/sensor.py @@ -13,7 +13,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['numpy==1.16.2', 'pypollencom==2.2.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/postnl/sensor.py b/homeassistant/components/postnl/sensor.py index f9c8019cd31a00..96e6a05e7e3fe4 100644 --- a/homeassistant/components/postnl/sensor.py +++ b/homeassistant/components/postnl/sensor.py @@ -11,7 +11,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['postnl_api==1.0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/prezzibenzina/sensor.py b/homeassistant/components/prezzibenzina/sensor.py index 525de7dad2f837..25121b4488ec1a 100644 --- a/homeassistant/components/prezzibenzina/sensor.py +++ b/homeassistant/components/prezzibenzina/sensor.py @@ -10,7 +10,6 @@ from homeassistant.helpers.config_validation import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['prezzibenzina-py==1.1.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/proliphix/climate.py b/homeassistant/components/proliphix/climate.py index c165334201da2f..f39761541f3438 100644 --- a/homeassistant/components/proliphix/climate.py +++ b/homeassistant/components/proliphix/climate.py @@ -9,7 +9,6 @@ ATTR_TEMPERATURE) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['proliphix==0.4.1'] ATTR_FAN = 'fan' diff --git a/homeassistant/components/prometheus/__init__.py b/homeassistant/components/prometheus/__init__.py index de0de8ae16241f..9a9f47a3d26fd1 100644 --- a/homeassistant/components/prometheus/__init__.py +++ b/homeassistant/components/prometheus/__init__.py @@ -14,14 +14,12 @@ 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 0a617bcec90116..c696c36f94c222 100644 --- a/homeassistant/components/proximity/__init__.py +++ b/homeassistant/components/proximity/__init__.py @@ -25,7 +25,6 @@ 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 fda2cdea60ef8e..2f75c0b13e63b1 100644 --- a/homeassistant/components/proxy/camera.py +++ b/homeassistant/components/proxy/camera.py @@ -12,7 +12,6 @@ from homeassistant.util.async_ import run_coroutine_threadsafe import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pillow==5.4.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ps4/__init__.py b/homeassistant/components/ps4/__init__.py index 191eb223707d99..d8decdca57b8cd 100644 --- a/homeassistant/components/ps4/__init__.py +++ b/homeassistant/components/ps4/__init__.py @@ -9,7 +9,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pyps4-homeassistant==0.5.2'] async def async_setup(hass, config): diff --git a/homeassistant/components/ps4/media_player.py b/homeassistant/components/ps4/media_player.py index 4dc4fa0a317089..e53e9372d583a2 100644 --- a/homeassistant/components/ps4/media_player.py +++ b/homeassistant/components/ps4/media_player.py @@ -17,7 +17,6 @@ from .const import DOMAIN as PS4_DOMAIN, REGIONS as deprecated_regions -DEPENDENCIES = ['ps4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/push/camera.py b/homeassistant/components/push/camera.py index c0424f15898e58..8dc80199e6b8cb 100644 --- a/homeassistant/components/push/camera.py +++ b/homeassistant/components/push/camera.py @@ -17,7 +17,6 @@ from homeassistant.helpers.event import async_track_point_in_utc_time import homeassistant.util.dt as dt_util -DEPENDENCIES = ['webhook'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pushbullet/notify.py b/homeassistant/components/pushbullet/notify.py index 3fc90161ae0cd9..06f1541f30df49 100644 --- a/homeassistant/components/pushbullet/notify.py +++ b/homeassistant/components/pushbullet/notify.py @@ -11,7 +11,6 @@ ATTR_DATA, ATTR_TARGET, ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['pushbullet.py==0.11.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pushbullet/sensor.py b/homeassistant/components/pushbullet/sensor.py index c90f952e7de0d3..3ca9d4791a159b 100644 --- a/homeassistant/components/pushbullet/sensor.py +++ b/homeassistant/components/pushbullet/sensor.py @@ -8,7 +8,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pushbullet.py==0.11.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pushetta/notify.py b/homeassistant/components/pushetta/notify.py index 028b0cfd49212a..d2ea33249c2cae 100644 --- a/homeassistant/components/pushetta/notify.py +++ b/homeassistant/components/pushetta/notify.py @@ -10,7 +10,6 @@ ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pushetta==1.0.15'] CONF_CHANNEL_NAME = 'channel_name' diff --git a/homeassistant/components/pushover/notify.py b/homeassistant/components/pushover/notify.py index 39a1ce5d2f7fdb..d9be3428d59e10 100644 --- a/homeassistant/components/pushover/notify.py +++ b/homeassistant/components/pushover/notify.py @@ -10,7 +10,6 @@ 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 56a82b3912054f..37041f8df8019e 100644 --- a/homeassistant/components/python_script/__init__.py +++ b/homeassistant/components/python_script/__init__.py @@ -13,7 +13,6 @@ from homeassistant.util import sanitize_filename import homeassistant.util.dt as dt_util -REQUIREMENTS = ['restrictedpython==4.0b8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/qbittorrent/sensor.py b/homeassistant/components/qbittorrent/sensor.py index 7e91c0ab276ccd..d6b7a2143bf31d 100644 --- a/homeassistant/components/qbittorrent/sensor.py +++ b/homeassistant/components/qbittorrent/sensor.py @@ -12,7 +12,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['python-qbittorrent==0.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/qnap/sensor.py b/homeassistant/components/qnap/sensor.py index e12f20c25b1903..69389bab875b30 100644 --- a/homeassistant/components/qnap/sensor.py +++ b/homeassistant/components/qnap/sensor.py @@ -13,7 +13,6 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['qnapstats==0.2.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/qrcode/image_processing.py b/homeassistant/components/qrcode/image_processing.py index 46fa78cca7f94f..2c3d2663d1381b 100644 --- a/homeassistant/components/qrcode/image_processing.py +++ b/homeassistant/components/qrcode/image_processing.py @@ -3,7 +3,6 @@ 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): diff --git a/homeassistant/components/quantum_gateway/device_tracker.py b/homeassistant/components/quantum_gateway/device_tracker.py index 3472a4dbb97677..1576266f9cd6a0 100644 --- a/homeassistant/components/quantum_gateway/device_tracker.py +++ b/homeassistant/components/quantum_gateway/device_tracker.py @@ -9,7 +9,6 @@ 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__) diff --git a/homeassistant/components/qwikswitch/__init__.py b/homeassistant/components/qwikswitch/__init__.py index a64685956221fa..fe8a804729b99f 100644 --- a/homeassistant/components/qwikswitch/__init__.py +++ b/homeassistant/components/qwikswitch/__init__.py @@ -14,7 +14,6 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyqwikswitch==0.93'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/qwikswitch/binary_sensor.py b/homeassistant/components/qwikswitch/binary_sensor.py index a92c4d0b435e19..b0f86cf15fcd48 100644 --- a/homeassistant/components/qwikswitch/binary_sensor.py +++ b/homeassistant/components/qwikswitch/binary_sensor.py @@ -6,7 +6,6 @@ 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 cb4df24f9781df..41955212caa66d 100644 --- a/homeassistant/components/qwikswitch/light.py +++ b/homeassistant/components/qwikswitch/light.py @@ -3,7 +3,6 @@ from . import DOMAIN as QWIKSWITCH, QSToggleEntity -DEPENDENCIES = [QWIKSWITCH] async def async_setup_platform(hass, _, add_entities, discovery_info=None): diff --git a/homeassistant/components/qwikswitch/sensor.py b/homeassistant/components/qwikswitch/sensor.py index 8befce4f7e2a3f..1a22b953cf288e 100644 --- a/homeassistant/components/qwikswitch/sensor.py +++ b/homeassistant/components/qwikswitch/sensor.py @@ -5,7 +5,6 @@ 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 4ee5396ae0ce3c..65ca5170e01313 100644 --- a/homeassistant/components/qwikswitch/switch.py +++ b/homeassistant/components/qwikswitch/switch.py @@ -3,7 +3,6 @@ from . import DOMAIN as QWIKSWITCH, QSToggleEntity -DEPENDENCIES = [QWIKSWITCH] async def async_setup_platform(hass, _, add_entities, discovery_info=None): diff --git a/homeassistant/components/rachio/__init__.py b/homeassistant/components/rachio/__init__.py index 64a7a5af4d7412..5f36f08d4aadbe 100644 --- a/homeassistant/components/rachio/__init__.py +++ b/homeassistant/components/rachio/__init__.py @@ -11,7 +11,6 @@ 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__) diff --git a/homeassistant/components/rachio/binary_sensor.py b/homeassistant/components/rachio/binary_sensor.py index ffcaeccacff455..e6be969a42b712 100644 --- a/homeassistant/components/rachio/binary_sensor.py +++ b/homeassistant/components/rachio/binary_sensor.py @@ -10,7 +10,6 @@ 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 483e07e96f4ef3..bfd650f64fb2a7 100644 --- a/homeassistant/components/rachio/switch.py +++ b/homeassistant/components/rachio/switch.py @@ -13,7 +13,6 @@ 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__) diff --git a/homeassistant/components/radiotherm/climate.py b/homeassistant/components/radiotherm/climate.py index 66dfc4cc385529..cda39b8487d9e4 100644 --- a/homeassistant/components/radiotherm/climate.py +++ b/homeassistant/components/radiotherm/climate.py @@ -14,7 +14,6 @@ STATE_OFF) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['radiotherm==2.0.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainbird/__init__.py b/homeassistant/components/rainbird/__init__.py index de0f42fda4a6b8..154245f23a5e31 100644 --- a/homeassistant/components/rainbird/__init__.py +++ b/homeassistant/components/rainbird/__init__.py @@ -6,7 +6,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.const import (CONF_HOST, CONF_PASSWORD) -REQUIREMENTS = ['pyrainbird==0.1.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainbird/sensor.py b/homeassistant/components/rainbird/sensor.py index 0cee202ecb20c8..500859e2b7e9cf 100644 --- a/homeassistant/components/rainbird/sensor.py +++ b/homeassistant/components/rainbird/sensor.py @@ -10,7 +10,6 @@ from . import DATA_RAINBIRD -DEPENDENCIES = ['rainbird'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainbird/switch.py b/homeassistant/components/rainbird/switch.py index 32c7c49ab99b7d..0f85bed361558c 100644 --- a/homeassistant/components/rainbird/switch.py +++ b/homeassistant/components/rainbird/switch.py @@ -12,7 +12,6 @@ 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 c94315f673d9ec..741e5082575f45 100644 --- a/homeassistant/components/raincloud/__init__.py +++ b/homeassistant/components/raincloud/__init__.py @@ -13,7 +13,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['raincloudy==0.0.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/raincloud/binary_sensor.py b/homeassistant/components/raincloud/binary_sensor.py index 6ebad7cc121819..4c21f8ccc20067 100644 --- a/homeassistant/components/raincloud/binary_sensor.py +++ b/homeassistant/components/raincloud/binary_sensor.py @@ -10,7 +10,6 @@ from . import BINARY_SENSORS, DATA_RAINCLOUD, ICON_MAP, RainCloudEntity -DEPENDENCIES = ['raincloud'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/raincloud/sensor.py b/homeassistant/components/raincloud/sensor.py index 6774d48ae99860..ae3b2fc53879fa 100644 --- a/homeassistant/components/raincloud/sensor.py +++ b/homeassistant/components/raincloud/sensor.py @@ -10,7 +10,6 @@ from . import DATA_RAINCLOUD, ICON_MAP, SENSORS, RainCloudEntity -DEPENDENCIES = ['raincloud'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/raincloud/switch.py b/homeassistant/components/raincloud/switch.py index 3901e1e0bd89ce..45a056319e5a8d 100644 --- a/homeassistant/components/raincloud/switch.py +++ b/homeassistant/components/raincloud/switch.py @@ -11,7 +11,6 @@ ALLOWED_WATERING_TIME, ATTRIBUTION, CONF_WATERING_TIME, DATA_RAINCLOUD, DEFAULT_WATERING_TIME, SWITCHES, RainCloudEntity) -DEPENDENCIES = ['raincloud'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainmachine/__init__.py b/homeassistant/components/rainmachine/__init__.py index 2ff5ddcd4aa2ea..6f9693ae692bfd 100644 --- a/homeassistant/components/rainmachine/__init__.py +++ b/homeassistant/components/rainmachine/__init__.py @@ -22,7 +22,6 @@ from .const import ( DATA_CLIENT, DEFAULT_PORT, DEFAULT_SCAN_INTERVAL, DEFAULT_SSL, DOMAIN) -REQUIREMENTS = ['regenmaschine==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainmachine/binary_sensor.py b/homeassistant/components/rainmachine/binary_sensor.py index 4387e6b67bec05..fcccf11e17c4f5 100644 --- a/homeassistant/components/rainmachine/binary_sensor.py +++ b/homeassistant/components/rainmachine/binary_sensor.py @@ -11,7 +11,6 @@ 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 1d438b8035f8e2..08dd67755bb5aa 100644 --- a/homeassistant/components/rainmachine/sensor.py +++ b/homeassistant/components/rainmachine/sensor.py @@ -8,7 +8,6 @@ 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 adcbe5598199f0..ddb43701ad7319 100644 --- a/homeassistant/components/rainmachine/switch.py +++ b/homeassistant/components/rainmachine/switch.py @@ -12,7 +12,6 @@ DATA_CLIENT, DOMAIN as RAINMACHINE_DOMAIN, PROGRAM_UPDATE_TOPIC, ZONE_UPDATE_TOPIC, RainMachineEntity) -DEPENDENCIES = ['rainmachine'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/raspihats/__init__.py b/homeassistant/components/raspihats/__init__.py index 622b98223aad66..16e19d110403de 100644 --- a/homeassistant/components/raspihats/__init__.py +++ b/homeassistant/components/raspihats/__init__.py @@ -6,7 +6,6 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['raspihats==2.2.3', 'smbus-cffi==0.5.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/raspihats/binary_sensor.py b/homeassistant/components/raspihats/binary_sensor.py index 29fa474f781270..db2023c48be0e3 100644 --- a/homeassistant/components/raspihats/binary_sensor.py +++ b/homeassistant/components/raspihats/binary_sensor.py @@ -15,7 +15,6 @@ _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 93538682ad8341..ac76524c1f5b6e 100644 --- a/homeassistant/components/raspihats/switch.py +++ b/homeassistant/components/raspihats/switch.py @@ -14,7 +14,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['raspihats'] _CHANNELS_SCHEMA = vol.Schema([{ vol.Required(CONF_INDEX): cv.positive_int, diff --git a/homeassistant/components/raspyrfm/switch.py b/homeassistant/components/raspyrfm/switch.py index a141721f3e5299..9c44fc850c74c3 100644 --- a/homeassistant/components/raspyrfm/switch.py +++ b/homeassistant/components/raspyrfm/switch.py @@ -9,7 +9,6 @@ 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 1e3803ab866020..2c50dbf99186d6 100644 --- a/homeassistant/components/recollect_waste/sensor.py +++ b/homeassistant/components/recollect_waste/sensor.py @@ -8,7 +8,6 @@ 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' diff --git a/homeassistant/components/recorder/__init__.py b/homeassistant/components/recorder/__init__.py index 0df1fa42ad4913..20e392d65a2c47 100644 --- a/homeassistant/components/recorder/__init__.py +++ b/homeassistant/components/recorder/__init__.py @@ -25,7 +25,6 @@ from .const import DATA_INSTANCE from .util import session_scope -REQUIREMENTS = ['sqlalchemy==1.3.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/recswitch/switch.py b/homeassistant/components/recswitch/switch.py index ed2da8022f8a1e..7c510d7831af05 100644 --- a/homeassistant/components/recswitch/switch.py +++ b/homeassistant/components/recswitch/switch.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pyrecswitch==1.0.2'] DEFAULT_NAME = 'RecSwitch {0}' diff --git a/homeassistant/components/reddit/sensor.py b/homeassistant/components/reddit/sensor.py index 3ba43196551028..264adc17269992 100644 --- a/homeassistant/components/reddit/sensor.py +++ b/homeassistant/components/reddit/sensor.py @@ -9,7 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['praw==6.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rejseplanen/sensor.py b/homeassistant/components/rejseplanen/sensor.py index 7a8cddb6179096..0c611e2c1e4459 100755 --- a/homeassistant/components/rejseplanen/sensor.py +++ b/homeassistant/components/rejseplanen/sensor.py @@ -19,7 +19,6 @@ 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 82619e35a0ebc2..2ccf48cdc51df9 100644 --- a/homeassistant/components/remember_the_milk/__init__.py +++ b/homeassistant/components/remember_the_milk/__init__.py @@ -13,7 +13,6 @@ # 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__) diff --git a/homeassistant/components/remote/__init__.py b/homeassistant/components/remote/__init__.py index de79adc9f0e6b5..f08abf5fd4a4cd 100644 --- a/homeassistant/components/remote/__init__.py +++ b/homeassistant/components/remote/__init__.py @@ -26,7 +26,6 @@ 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 98e80580fea604..d0328cf68c71eb 100644 --- a/homeassistant/components/rflink/__init__.py +++ b/homeassistant/components/rflink/__init__.py @@ -18,7 +18,6 @@ async_dispatcher_send, async_dispatcher_connect) from homeassistant.helpers.restore_state import RestoreEntity -REQUIREMENTS = ['rflink==0.0.37'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rflink/binary_sensor.py b/homeassistant/components/rflink/binary_sensor.py index 4e487eb6e81577..01e67fd91283c9 100644 --- a/homeassistant/components/rflink/binary_sensor.py +++ b/homeassistant/components/rflink/binary_sensor.py @@ -14,7 +14,6 @@ CONF_OFF_DELAY = 'off_delay' DEFAULT_FORCE_UPDATE = False -DEPENDENCIES = ['rflink'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rflink/cover.py b/homeassistant/components/rflink/cover.py index 409d27862f9c3f..49ba46124cb450 100644 --- a/homeassistant/components/rflink/cover.py +++ b/homeassistant/components/rflink/cover.py @@ -13,7 +13,6 @@ 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 112ed4b4f51203..d245b9102c1151 100644 --- a/homeassistant/components/rflink/light.py +++ b/homeassistant/components/rflink/light.py @@ -15,7 +15,6 @@ CONF_SIGNAL_REPETITIONS, DATA_DEVICE_REGISTER, DEVICE_DEFAULTS_SCHEMA, EVENT_KEY_COMMAND, EVENT_KEY_ID, SwitchableRflinkDevice, remove_deprecated) -DEPENDENCIES = ['rflink'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rflink/sensor.py b/homeassistant/components/rflink/sensor.py index c7498ece2416d8..539deafbadac8d 100644 --- a/homeassistant/components/rflink/sensor.py +++ b/homeassistant/components/rflink/sensor.py @@ -15,7 +15,6 @@ EVENT_KEY_UNIT, SIGNAL_AVAILABILITY, SIGNAL_HANDLE_EVENT, TMP_ENTITY, RflinkDevice, remove_deprecated) -DEPENDENCIES = ['rflink'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rflink/switch.py b/homeassistant/components/rflink/switch.py index d5889c797f0e59..7d1d045e79d83b 100644 --- a/homeassistant/components/rflink/switch.py +++ b/homeassistant/components/rflink/switch.py @@ -13,7 +13,6 @@ CONF_NOGROUP_ALIASES, CONF_NOGROUP_ALIASSES, CONF_SIGNAL_REPETITIONS, DEVICE_DEFAULTS_SCHEMA, SwitchableRflinkDevice, remove_deprecated) -DEPENDENCIES = ['rflink'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rfxtrx/__init__.py b/homeassistant/components/rfxtrx/__init__.py index 411f0538bde3db..ca56eee9909575 100644 --- a/homeassistant/components/rfxtrx/__init__.py +++ b/homeassistant/components/rfxtrx/__init__.py @@ -12,7 +12,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import slugify -REQUIREMENTS = ['pyRFXtrx==0.23'] DOMAIN = 'rfxtrx' diff --git a/homeassistant/components/rfxtrx/binary_sensor.py b/homeassistant/components/rfxtrx/binary_sensor.py index d548897fb80ce1..1a8ec351af15a5 100644 --- a/homeassistant/components/rfxtrx/binary_sensor.py +++ b/homeassistant/components/rfxtrx/binary_sensor.py @@ -17,7 +17,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['rfxtrx'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_DEVICES, default={}): { diff --git a/homeassistant/components/rfxtrx/cover.py b/homeassistant/components/rfxtrx/cover.py index 7ac0e2aa43f912..7cd56351ee9498 100644 --- a/homeassistant/components/rfxtrx/cover.py +++ b/homeassistant/components/rfxtrx/cover.py @@ -10,7 +10,6 @@ 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={}): { diff --git a/homeassistant/components/rfxtrx/light.py b/homeassistant/components/rfxtrx/light.py index 3320a67214e2bd..e4a6a6d8c1f9bc 100644 --- a/homeassistant/components/rfxtrx/light.py +++ b/homeassistant/components/rfxtrx/light.py @@ -13,7 +13,6 @@ CONF_AUTOMATIC_ADD, CONF_DEVICES, CONF_FIRE_EVENT, CONF_SIGNAL_REPETITIONS, DEFAULT_SIGNAL_REPETITIONS) -DEPENDENCIES = ['rfxtrx'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rfxtrx/sensor.py b/homeassistant/components/rfxtrx/sensor.py index cc54320cb672eb..3f1a4eef1c11da 100644 --- a/homeassistant/components/rfxtrx/sensor.py +++ b/homeassistant/components/rfxtrx/sensor.py @@ -14,7 +14,6 @@ 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__) diff --git a/homeassistant/components/rfxtrx/switch.py b/homeassistant/components/rfxtrx/switch.py index 908c07ea745795..03831af2e2083b 100644 --- a/homeassistant/components/rfxtrx/switch.py +++ b/homeassistant/components/rfxtrx/switch.py @@ -12,7 +12,6 @@ CONF_AUTOMATIC_ADD, CONF_DEVICES, CONF_FIRE_EVENT, CONF_SIGNAL_REPETITIONS, DEFAULT_SIGNAL_REPETITIONS) -DEPENDENCIES = ['rfxtrx'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ring/__init__.py b/homeassistant/components/ring/__init__.py index 74da7a9d542909..e064c9f9dc49ab 100644 --- a/homeassistant/components/ring/__init__.py +++ b/homeassistant/components/ring/__init__.py @@ -7,7 +7,6 @@ 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__) diff --git a/homeassistant/components/ring/binary_sensor.py b/homeassistant/components/ring/binary_sensor.py index 79de0424d85a85..91e8690b9f7d8a 100644 --- a/homeassistant/components/ring/binary_sensor.py +++ b/homeassistant/components/ring/binary_sensor.py @@ -12,7 +12,6 @@ from . import ATTRIBUTION, DATA_RING, DEFAULT_ENTITY_NAMESPACE -DEPENDENCIES = ['ring'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ring/camera.py b/homeassistant/components/ring/camera.py index 18427b9b6f9788..3873d23a92e27b 100644 --- a/homeassistant/components/ring/camera.py +++ b/homeassistant/components/ring/camera.py @@ -16,7 +16,6 @@ CONF_FFMPEG_ARGUMENTS = 'ffmpeg_arguments' -DEPENDENCIES = ['ring', 'ffmpeg'] FORCE_REFRESH_INTERVAL = timedelta(minutes=45) diff --git a/homeassistant/components/ring/sensor.py b/homeassistant/components/ring/sensor.py index c9cb2f1159a67f..9b2a515826bf3f 100644 --- a/homeassistant/components/ring/sensor.py +++ b/homeassistant/components/ring/sensor.py @@ -13,7 +13,6 @@ from . import ATTRIBUTION, DATA_RING, DEFAULT_ENTITY_NAMESPACE -DEPENDENCIES = ['ring'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ripple/sensor.py b/homeassistant/components/ripple/sensor.py index 54530571c3eab4..39a6922ab0b102 100644 --- a/homeassistant/components/ripple/sensor.py +++ b/homeassistant/components/ripple/sensor.py @@ -8,7 +8,6 @@ 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" diff --git a/homeassistant/components/ritassist/device_tracker.py b/homeassistant/components/ritassist/device_tracker.py index 74bec1b871121f..df213c13ffb2b7 100644 --- a/homeassistant/components/ritassist/device_tracker.py +++ b/homeassistant/components/ritassist/device_tracker.py @@ -9,7 +9,6 @@ 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__) diff --git a/homeassistant/components/rmvtransport/sensor.py b/homeassistant/components/rmvtransport/sensor.py index 7a3afb3f324bca..7330a07045fa9c 100644 --- a/homeassistant/components/rmvtransport/sensor.py +++ b/homeassistant/components/rmvtransport/sensor.py @@ -13,7 +13,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['PyRMVtransport==0.1.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rocketchat/notify.py b/homeassistant/components/rocketchat/notify.py index e404114736a103..7760ca79d2dfe4 100644 --- a/homeassistant/components/rocketchat/notify.py +++ b/homeassistant/components/rocketchat/notify.py @@ -10,7 +10,6 @@ from homeassistant.components.notify import (ATTR_DATA, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['rocketchat-API==0.6.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/roku/__init__.py b/homeassistant/components/roku/__init__.py index 89bb1a9acb8fbd..f3d736beb23879 100644 --- a/homeassistant/components/roku/__init__.py +++ b/homeassistant/components/roku/__init__.py @@ -8,7 +8,6 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-roku==3.1.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/roku/media_player.py b/homeassistant/components/roku/media_player.py index 3cf27af067433d..3c399211ca16ac 100644 --- a/homeassistant/components/roku/media_player.py +++ b/homeassistant/components/roku/media_player.py @@ -10,7 +10,6 @@ from homeassistant.const import (CONF_HOST, STATE_HOME, STATE_IDLE, STATE_PLAYING) -DEPENDENCIES = ['roku'] DEFAULT_PORT = 8060 diff --git a/homeassistant/components/roku/remote.py b/homeassistant/components/roku/remote.py index 5529918010cf45..3b08642d8dad16 100644 --- a/homeassistant/components/roku/remote.py +++ b/homeassistant/components/roku/remote.py @@ -4,7 +4,6 @@ from homeassistant.components import remote from homeassistant.const import (CONF_HOST) -DEPENDENCIES = ['roku'] async def async_setup_platform( diff --git a/homeassistant/components/roomba/vacuum.py b/homeassistant/components/roomba/vacuum.py index fadbe2a82d5254..3a15c21e2f9d91 100644 --- a/homeassistant/components/roomba/vacuum.py +++ b/homeassistant/components/roomba/vacuum.py @@ -14,7 +14,6 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['roombapy==1.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/route53/__init__.py b/homeassistant/components/route53/__init__.py index 725dec8b8e54b2..3ea60778db9dfb 100644 --- a/homeassistant/components/route53/__init__.py +++ b/homeassistant/components/route53/__init__.py @@ -9,7 +9,6 @@ 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__) diff --git a/homeassistant/components/rova/sensor.py b/homeassistant/components/rova/sensor.py index 2c2c36b12457ad..61d29bbc023cfb 100644 --- a/homeassistant/components/rova/sensor.py +++ b/homeassistant/components/rova/sensor.py @@ -12,7 +12,6 @@ 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' diff --git a/homeassistant/components/rpi_gpio/__init__.py b/homeassistant/components/rpi_gpio/__init__.py index b5bd0796f160b8..a7da343afa90c0 100644 --- a/homeassistant/components/rpi_gpio/__init__.py +++ b/homeassistant/components/rpi_gpio/__init__.py @@ -4,7 +4,6 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['RPi.GPIO==0.6.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rpi_gpio/binary_sensor.py b/homeassistant/components/rpi_gpio/binary_sensor.py index 559ae9584049be..aad5ee645a142a 100644 --- a/homeassistant/components/rpi_gpio/binary_sensor.py +++ b/homeassistant/components/rpi_gpio/binary_sensor.py @@ -20,7 +20,6 @@ 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 403f7ec6867afa..a4b56f6f2c931e 100644 --- a/homeassistant/components/rpi_gpio/cover.py +++ b/homeassistant/components/rpi_gpio/cover.py @@ -23,7 +23,6 @@ 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 bdb79d03eec812..702df2bd137e64 100644 --- a/homeassistant/components/rpi_gpio/switch.py +++ b/homeassistant/components/rpi_gpio/switch.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['rpi_gpio'] CONF_PULL_MODE = 'pull_mode' CONF_PORTS = 'ports' diff --git a/homeassistant/components/rpi_gpio_pwm/light.py b/homeassistant/components/rpi_gpio_pwm/light.py index b0b9ef1b763509..262505be2d51d5 100644 --- a/homeassistant/components/rpi_gpio_pwm/light.py +++ b/homeassistant/components/rpi_gpio_pwm/light.py @@ -11,7 +11,6 @@ import homeassistant.util.color as color_util from homeassistant.helpers.restore_state import RestoreEntity -REQUIREMENTS = ['pwmled==1.4.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rpi_pfio/__init__.py b/homeassistant/components/rpi_pfio/__init__.py index b096d9fe98ab7d..b28c9786a0aa70 100644 --- a/homeassistant/components/rpi_pfio/__init__.py +++ b/homeassistant/components/rpi_pfio/__init__.py @@ -4,7 +4,6 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['pifacecommon==4.2.2', 'pifacedigitalio==3.0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rpi_pfio/binary_sensor.py b/homeassistant/components/rpi_pfio/binary_sensor.py index 677ec3bb16f121..589bd1ab775254 100644 --- a/homeassistant/components/rpi_pfio/binary_sensor.py +++ b/homeassistant/components/rpi_pfio/binary_sensor.py @@ -18,7 +18,6 @@ DEFAULT_INVERT_LOGIC = False DEFAULT_SETTLE_TIME = 20 -DEPENDENCIES = ['rpi_pfio'] PORT_SCHEMA = vol.Schema({ vol.Optional(CONF_NAME): cv.string, diff --git a/homeassistant/components/rpi_pfio/switch.py b/homeassistant/components/rpi_pfio/switch.py index fc158bd666f97d..a1cfcb88873240 100644 --- a/homeassistant/components/rpi_pfio/switch.py +++ b/homeassistant/components/rpi_pfio/switch.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['rpi_pfio'] ATTR_INVERT_LOGIC = 'invert_logic' diff --git a/homeassistant/components/rpi_rf/switch.py b/homeassistant/components/rpi_rf/switch.py index d0a2337280296d..afff1a3383dcea 100644 --- a/homeassistant/components/rpi_rf/switch.py +++ b/homeassistant/components/rpi_rf/switch.py @@ -9,7 +9,6 @@ CONF_NAME, CONF_SWITCHES, EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['rpi-rf==0.9.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rss_feed_template/__init__.py b/homeassistant/components/rss_feed_template/__init__.py index 3c93fe2ac83593..984f4ca832e22f 100644 --- a/homeassistant/components/rss_feed_template/__init__.py +++ b/homeassistant/components/rss_feed_template/__init__.py @@ -8,7 +8,6 @@ import homeassistant.helpers.config_validation as cv CONTENT_TYPE_XML = 'text/xml' -DEPENDENCIES = ['http'] DOMAIN = 'rss_feed_template' diff --git a/homeassistant/components/russound_rio/media_player.py b/homeassistant/components/russound_rio/media_player.py index b8f9d29f5cae81..42bd055fdb8f9b 100644 --- a/homeassistant/components/russound_rio/media_player.py +++ b/homeassistant/components/russound_rio/media_player.py @@ -14,7 +14,6 @@ from homeassistant.core import callback import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['russound_rio==0.1.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/russound_rnet/media_player.py b/homeassistant/components/russound_rnet/media_player.py index f489d48a9d53f4..2b23682d6eeae7 100644 --- a/homeassistant/components/russound_rnet/media_player.py +++ b/homeassistant/components/russound_rnet/media_player.py @@ -12,7 +12,6 @@ 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__) diff --git a/homeassistant/components/ruter/sensor.py b/homeassistant/components/ruter/sensor.py index f6fefc96198939..914b0c355a13d3 100644 --- a/homeassistant/components/ruter/sensor.py +++ b/homeassistant/components/ruter/sensor.py @@ -9,7 +9,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['pyruter==1.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sabnzbd/__init__.py b/homeassistant/components/sabnzbd/__init__.py index d070872f85c442..264615ba021d5e 100644 --- a/homeassistant/components/sabnzbd/__init__.py +++ b/homeassistant/components/sabnzbd/__init__.py @@ -15,7 +15,6 @@ 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__) diff --git a/homeassistant/components/sabnzbd/sensor.py b/homeassistant/components/sabnzbd/sensor.py index 4968725a4befc7..3157cdfa208a95 100644 --- a/homeassistant/components/sabnzbd/sensor.py +++ b/homeassistant/components/sabnzbd/sensor.py @@ -6,7 +6,6 @@ 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 1a2a24c3621040..1d8f315dc1c442 100644 --- a/homeassistant/components/samsungtv/media_player.py +++ b/homeassistant/components/samsungtv/media_player.py @@ -18,7 +18,6 @@ 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__) diff --git a/homeassistant/components/satel_integra/__init__.py b/homeassistant/components/satel_integra/__init__.py index 5f5c43d961f552..28260e9432713b 100644 --- a/homeassistant/components/satel_integra/__init__.py +++ b/homeassistant/components/satel_integra/__init__.py @@ -9,7 +9,6 @@ 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 diff --git a/homeassistant/components/satel_integra/alarm_control_panel.py b/homeassistant/components/satel_integra/alarm_control_panel.py index d2d9f47305100d..cd29310eb75d75 100644 --- a/homeassistant/components/satel_integra/alarm_control_panel.py +++ b/homeassistant/components/satel_integra/alarm_control_panel.py @@ -16,7 +16,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['satel_integra'] async def async_setup_platform( diff --git a/homeassistant/components/satel_integra/binary_sensor.py b/homeassistant/components/satel_integra/binary_sensor.py index 0384ff37f14f01..66c1cba2ddc202 100644 --- a/homeassistant/components/satel_integra/binary_sensor.py +++ b/homeassistant/components/satel_integra/binary_sensor.py @@ -9,7 +9,6 @@ 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 e576eca78e872e..3a82eee443ae3f 100644 --- a/homeassistant/components/scrape/sensor.py +++ b/homeassistant/components/scrape/sensor.py @@ -15,7 +15,6 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['beautifulsoup4==4.7.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/script/__init__.py b/homeassistant/components/script/__init__.py index 873a18120ac3ce..b111b12fc8b0ef 100644 --- a/homeassistant/components/script/__init__.py +++ b/homeassistant/components/script/__init__.py @@ -18,7 +18,6 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'script' -DEPENDENCIES = ['group'] ATTR_CAN_CANCEL = 'can_cancel' ATTR_LAST_ACTION = 'last_action' diff --git a/homeassistant/components/scsgate/__init__.py b/homeassistant/components/scsgate/__init__.py index 67421e9a46ad44..a02602fb1aba59 100644 --- a/homeassistant/components/scsgate/__init__.py +++ b/homeassistant/components/scsgate/__init__.py @@ -8,7 +8,6 @@ from homeassistant.core import EVENT_HOMEASSISTANT_STOP import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['scsgate==0.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/scsgate/cover.py b/homeassistant/components/scsgate/cover.py index fc1c16e1ff36d5..33d343fe2988b7 100644 --- a/homeassistant/components/scsgate/cover.py +++ b/homeassistant/components/scsgate/cover.py @@ -10,7 +10,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['scsgate'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_DEVICES): diff --git a/homeassistant/components/scsgate/light.py b/homeassistant/components/scsgate/light.py index 87d7e02b383d1d..43b4b5e6e791fd 100644 --- a/homeassistant/components/scsgate/light.py +++ b/homeassistant/components/scsgate/light.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['scsgate'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_DEVICES): diff --git a/homeassistant/components/scsgate/switch.py b/homeassistant/components/scsgate/switch.py index 2b2bf2de94fc5b..f4204fd8a10646 100644 --- a/homeassistant/components/scsgate/switch.py +++ b/homeassistant/components/scsgate/switch.py @@ -11,7 +11,6 @@ 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 7c7b1054961bf3..55477d33e71d59 100644 --- a/homeassistant/components/season/sensor.py +++ b/homeassistant/components/season/sensor.py @@ -9,7 +9,6 @@ from homeassistant.helpers.entity import Entity from homeassistant import util -REQUIREMENTS = ['ephem==3.7.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sendgrid/notify.py b/homeassistant/components/sendgrid/notify.py index a717c7f24edb0d..22d1b66c037752 100644 --- a/homeassistant/components/sendgrid/notify.py +++ b/homeassistant/components/sendgrid/notify.py @@ -10,7 +10,6 @@ from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['sendgrid==5.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sense/__init__.py b/homeassistant/components/sense/__init__.py index be3ab75b5553cd..9587e3bc4dbe9d 100644 --- a/homeassistant/components/sense/__init__.py +++ b/homeassistant/components/sense/__init__.py @@ -7,7 +7,6 @@ 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__) diff --git a/homeassistant/components/sense/binary_sensor.py b/homeassistant/components/sense/binary_sensor.py index da9bae3cc84788..914ebfce2a80f7 100644 --- a/homeassistant/components/sense/binary_sensor.py +++ b/homeassistant/components/sense/binary_sensor.py @@ -5,7 +5,6 @@ from . import SENSE_DATA -DEPENDENCIES = ['sense'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sense/sensor.py b/homeassistant/components/sense/sensor.py index 0224884e18a5cd..c1f831ebe868e8 100644 --- a/homeassistant/components/sense/sensor.py +++ b/homeassistant/components/sense/sensor.py @@ -15,7 +15,6 @@ CONSUMPTION_NAME = 'Usage' -DEPENDENCIES = ['sense'] ICON = 'mdi:flash' diff --git a/homeassistant/components/sensehat/light.py b/homeassistant/components/sensehat/light.py index c68e77b40a4d8d..809807bd607131 100644 --- a/homeassistant/components/sensehat/light.py +++ b/homeassistant/components/sensehat/light.py @@ -10,7 +10,6 @@ from homeassistant.const import CONF_NAME import homeassistant.util.color as color_util -REQUIREMENTS = ['sense-hat==2.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sensehat/sensor.py b/homeassistant/components/sensehat/sensor.py index 870150c1a987cd..8f241e3c1bc11f 100644 --- a/homeassistant/components/sensehat/sensor.py +++ b/homeassistant/components/sensehat/sensor.py @@ -11,7 +11,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['sense-hat==2.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sensibo/climate.py b/homeassistant/components/sensibo/climate.py index bf06f232427a3f..fea2caa14b4487 100644 --- a/homeassistant/components/sensibo/climate.py +++ b/homeassistant/components/sensibo/climate.py @@ -21,7 +21,6 @@ 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__) diff --git a/homeassistant/components/serial/sensor.py b/homeassistant/components/serial/sensor.py index c01981f90218a7..b0be313af88ba1 100644 --- a/homeassistant/components/serial/sensor.py +++ b/homeassistant/components/serial/sensor.py @@ -10,7 +10,6 @@ CONF_NAME, CONF_VALUE_TEMPLATE, EVENT_HOMEASSISTANT_STOP) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyserial-asyncio==0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/serial_pm/sensor.py b/homeassistant/components/serial_pm/sensor.py index 9ad65f7256fa25..5f64ec2cf9c1c9 100644 --- a/homeassistant/components/serial_pm/sensor.py +++ b/homeassistant/components/serial_pm/sensor.py @@ -8,7 +8,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.sensor import PLATFORM_SCHEMA -REQUIREMENTS = ['pmsensor==0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sesame/lock.py b/homeassistant/components/sesame/lock.py index 263914f389cced..8db69929b34725 100644 --- a/homeassistant/components/sesame/lock.py +++ b/homeassistant/components/sesame/lock.py @@ -9,7 +9,6 @@ STATE_LOCKED, STATE_UNLOCKED) from homeassistant.helpers.typing import ConfigType -REQUIREMENTS = ['pysesame==0.1.0'] ATTR_DEVICE_ID = 'device_id' diff --git a/homeassistant/components/seventeentrack/sensor.py b/homeassistant/components/seventeentrack/sensor.py index ff17d1a4c546fc..95384ecc44dd82 100644 --- a/homeassistant/components/seventeentrack/sensor.py +++ b/homeassistant/components/seventeentrack/sensor.py @@ -12,7 +12,6 @@ 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 438bc36b1bf2de..93b71dc2585f3b 100644 --- a/homeassistant/components/shiftr/__init__.py +++ b/homeassistant/components/shiftr/__init__.py @@ -9,7 +9,6 @@ EVENT_HOMEASSISTANT_STOP) from homeassistant.helpers import state as state_helper -REQUIREMENTS = ['paho-mqtt==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/shodan/sensor.py b/homeassistant/components/shodan/sensor.py index ee64eecf3fe02a..b028ed9f12cf8a 100644 --- a/homeassistant/components/shodan/sensor.py +++ b/homeassistant/components/shodan/sensor.py @@ -9,7 +9,6 @@ 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__) diff --git a/homeassistant/components/shopping_list/__init__.py b/homeassistant/components/shopping_list/__init__.py index 1a036f3661aa38..cfcbfdd4224477 100644 --- a/homeassistant/components/shopping_list/__init__.py +++ b/homeassistant/components/shopping_list/__init__.py @@ -18,7 +18,6 @@ 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 613b1f8c92a16b..72e2af1d227b8c 100644 --- a/homeassistant/components/sht31/sensor.py +++ b/homeassistant/components/sht31/sensor.py @@ -16,8 +16,6 @@ from homeassistant.util import Throttle -REQUIREMENTS = ['Adafruit-GPIO==1.0.3', - 'Adafruit-SHT31==1.0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/simplepush/notify.py b/homeassistant/components/simplepush/notify.py index 081351238d9d0e..9577d1805bdb98 100644 --- a/homeassistant/components/simplepush/notify.py +++ b/homeassistant/components/simplepush/notify.py @@ -9,7 +9,6 @@ from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['simplepush==1.1.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/simplisafe/__init__.py b/homeassistant/components/simplisafe/__init__.py index 359591856a7917..c60ea47f6fd64e 100644 --- a/homeassistant/components/simplisafe/__init__.py +++ b/homeassistant/components/simplisafe/__init__.py @@ -19,7 +19,6 @@ 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__) diff --git a/homeassistant/components/sisyphus/__init__.py b/homeassistant/components/sisyphus/__init__.py index b1bec15d40e8ac..3a5d42b4edcd12 100644 --- a/homeassistant/components/sisyphus/__init__.py +++ b/homeassistant/components/sisyphus/__init__.py @@ -13,7 +13,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import async_load_platform -REQUIREMENTS = ['sisyphus-control==2.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sisyphus/light.py b/homeassistant/components/sisyphus/light.py index 182e5e78198dc1..baeb8f725a3ccd 100644 --- a/homeassistant/components/sisyphus/light.py +++ b/homeassistant/components/sisyphus/light.py @@ -8,7 +8,6 @@ _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 11546c3fd43822..f9680c6673110b 100644 --- a/homeassistant/components/sisyphus/media_player.py +++ b/homeassistant/components/sisyphus/media_player.py @@ -13,7 +13,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['sisyphus'] MEDIA_TYPE_TRACK = 'sisyphus_track' diff --git a/homeassistant/components/skybeacon/sensor.py b/homeassistant/components/skybeacon/sensor.py index 9b8b4872cdce89..6d37e37dd658f8 100644 --- a/homeassistant/components/skybeacon/sensor.py +++ b/homeassistant/components/skybeacon/sensor.py @@ -11,7 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pygatt[GATTTOOL]==3.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/skybell/__init__.py b/homeassistant/components/skybell/__init__.py index 31d1339fbcfc88..81f12841356a82 100644 --- a/homeassistant/components/skybell/__init__.py +++ b/homeassistant/components/skybell/__init__.py @@ -9,7 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['skybellpy==0.3.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/skybell/binary_sensor.py b/homeassistant/components/skybell/binary_sensor.py index 8c2b83552588c5..5075873d3368f9 100644 --- a/homeassistant/components/skybell/binary_sensor.py +++ b/homeassistant/components/skybell/binary_sensor.py @@ -12,7 +12,6 @@ from . import DEFAULT_ENTITY_NAMESPACE, DOMAIN as SKYBELL_DOMAIN, SkybellDevice -DEPENDENCIES = ['skybell'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/skybell/camera.py b/homeassistant/components/skybell/camera.py index 04b03f84bf751d..6ab3def1cdd70b 100644 --- a/homeassistant/components/skybell/camera.py +++ b/homeassistant/components/skybell/camera.py @@ -11,7 +11,6 @@ from . import DOMAIN as SKYBELL_DOMAIN, SkybellDevice -DEPENDENCIES = ['skybell'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/skybell/light.py b/homeassistant/components/skybell/light.py index d413f9df4127dc..9598e6f560b63d 100644 --- a/homeassistant/components/skybell/light.py +++ b/homeassistant/components/skybell/light.py @@ -7,7 +7,6 @@ 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 067e850dfcf1dc..ca29123b2f054f 100644 --- a/homeassistant/components/skybell/sensor.py +++ b/homeassistant/components/skybell/sensor.py @@ -11,7 +11,6 @@ from . import DEFAULT_ENTITY_NAMESPACE, DOMAIN as SKYBELL_DOMAIN, SkybellDevice -DEPENDENCIES = ['skybell'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/skybell/switch.py b/homeassistant/components/skybell/switch.py index 674bbf22a08600..2b4af891db5dba 100644 --- a/homeassistant/components/skybell/switch.py +++ b/homeassistant/components/skybell/switch.py @@ -10,7 +10,6 @@ from . import DEFAULT_ENTITY_NAMESPACE, DOMAIN as SKYBELL_DOMAIN, SkybellDevice -DEPENDENCIES = ['skybell'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/slack/notify.py b/homeassistant/components/slack/notify.py index 026fed0a58ebb2..a3005d5fd0be1f 100644 --- a/homeassistant/components/slack/notify.py +++ b/homeassistant/components/slack/notify.py @@ -12,7 +12,6 @@ ATTR_DATA, ATTR_TARGET, ATTR_TITLE, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['slacker==0.12.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sleepiq/__init__.py b/homeassistant/components/sleepiq/__init__.py index 7a23c6c46095f8..745d58ad50889e 100644 --- a/homeassistant/components/sleepiq/__init__.py +++ b/homeassistant/components/sleepiq/__init__.py @@ -13,7 +13,6 @@ DOMAIN = 'sleepiq' -REQUIREMENTS = ['sleepyq==0.6'] MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=30) diff --git a/homeassistant/components/sleepiq/binary_sensor.py b/homeassistant/components/sleepiq/binary_sensor.py index 11f9e25d8c957e..2fa8d0f6a29cc8 100644 --- a/homeassistant/components/sleepiq/binary_sensor.py +++ b/homeassistant/components/sleepiq/binary_sensor.py @@ -2,7 +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): diff --git a/homeassistant/components/sleepiq/sensor.py b/homeassistant/components/sleepiq/sensor.py index 3de444c332452d..c92c463ea24070 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 a2ec7871f608e0..65d7b9bb487ae9 100644 --- a/homeassistant/components/sma/sensor.py +++ b/homeassistant/components/sma/sensor.py @@ -14,7 +14,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import async_track_time_interval -REQUIREMENTS = ['pysma==0.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/smappee/__init__.py b/homeassistant/components/smappee/__init__.py index 7a495d7b89a375..ba9249765e1e53 100644 --- a/homeassistant/components/smappee/__init__.py +++ b/homeassistant/components/smappee/__init__.py @@ -11,7 +11,6 @@ from homeassistant.helpers.discovery import load_platform import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['smappy==0.2.16'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/smappee/sensor.py b/homeassistant/components/smappee/sensor.py index 98527c769d9036..62b5f78c016c3f 100644 --- a/homeassistant/components/smappee/sensor.py +++ b/homeassistant/components/smappee/sensor.py @@ -7,7 +7,6 @@ from . import DATA_SMAPPEE -DEPENDENCIES = ['smappee'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/smappee/switch.py b/homeassistant/components/smappee/switch.py index 963caf457fe8db..b27d0abe120710 100644 --- a/homeassistant/components/smappee/switch.py +++ b/homeassistant/components/smappee/switch.py @@ -5,7 +5,6 @@ from . import DATA_SMAPPEE -DEPENDENCIES = ['smappee'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/smartthings/__init__.py b/homeassistant/components/smartthings/__init__.py index e5226076f465e9..0ccfc8cb621176 100644 --- a/homeassistant/components/smartthings/__init__.py +++ b/homeassistant/components/smartthings/__init__.py @@ -28,8 +28,6 @@ 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 45101601d5ffb2..1f0901edfeeb98 100644 --- a/homeassistant/components/smartthings/binary_sensor.py +++ b/homeassistant/components/smartthings/binary_sensor.py @@ -6,7 +6,6 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] CAPABILITY_TO_ATTRIB = { 'accelerationSensor': 'acceleration', diff --git a/homeassistant/components/smartthings/climate.py b/homeassistant/components/smartthings/climate.py index bcf2dc02cb03a2..1ad7f4af4822ac 100644 --- a/homeassistant/components/smartthings/climate.py +++ b/homeassistant/components/smartthings/climate.py @@ -17,7 +17,6 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] ATTR_OPERATION_STATE = 'operation_state' MODE_TO_STATE = { diff --git a/homeassistant/components/smartthings/cover.py b/homeassistant/components/smartthings/cover.py index 53602c3643c2d4..fc7f8b884b0a79 100644 --- a/homeassistant/components/smartthings/cover.py +++ b/homeassistant/components/smartthings/cover.py @@ -11,7 +11,6 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] VALUE_TO_STATE = { 'closed': STATE_CLOSED, diff --git a/homeassistant/components/smartthings/fan.py b/homeassistant/components/smartthings/fan.py index e722cd21d65a61..4059a61d6acb66 100644 --- a/homeassistant/components/smartthings/fan.py +++ b/homeassistant/components/smartthings/fan.py @@ -8,7 +8,6 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] VALUE_TO_SPEED = { 0: SPEED_OFF, diff --git a/homeassistant/components/smartthings/light.py b/homeassistant/components/smartthings/light.py index 79a5eabc20a3cd..f50c8040d73978 100644 --- a/homeassistant/components/smartthings/light.py +++ b/homeassistant/components/smartthings/light.py @@ -11,7 +11,6 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] async def async_setup_platform( diff --git a/homeassistant/components/smartthings/lock.py b/homeassistant/components/smartthings/lock.py index c7ab091454cad2..ce2aebafd8263a 100644 --- a/homeassistant/components/smartthings/lock.py +++ b/homeassistant/components/smartthings/lock.py @@ -6,7 +6,6 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] ST_STATE_LOCKED = 'locked' ST_LOCK_ATTR_MAP = { diff --git a/homeassistant/components/smartthings/scene.py b/homeassistant/components/smartthings/scene.py index 9bf3211d8e36e2..3212d0220428b1 100644 --- a/homeassistant/components/smartthings/scene.py +++ b/homeassistant/components/smartthings/scene.py @@ -3,7 +3,6 @@ from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] async def async_setup_platform( diff --git a/homeassistant/components/smartthings/sensor.py b/homeassistant/components/smartthings/sensor.py index 4f7ad1a1398ae4..cb501e283a66c2 100644 --- a/homeassistant/components/smartthings/sensor.py +++ b/homeassistant/components/smartthings/sensor.py @@ -10,7 +10,6 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] Map = namedtuple("map", "attribute name default_unit device_class") diff --git a/homeassistant/components/smartthings/switch.py b/homeassistant/components/smartthings/switch.py index d30aa3a2303e9e..526de983347349 100644 --- a/homeassistant/components/smartthings/switch.py +++ b/homeassistant/components/smartthings/switch.py @@ -6,7 +6,6 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] async def async_setup_platform( diff --git a/homeassistant/components/smhi/__init__.py b/homeassistant/components/smhi/__init__.py index 608ee9b6a6d171..e6bfe0c50a0869 100644 --- a/homeassistant/components/smhi/__init__.py +++ b/homeassistant/components/smhi/__init__.py @@ -6,7 +6,6 @@ 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 fc3399f755ccc5..01e2beadf578b2 100644 --- a/homeassistant/components/smhi/weather.py +++ b/homeassistant/components/smhi/weather.py @@ -19,7 +19,6 @@ from .const import ATTR_SMHI_CLOUDINESS, ENTITY_ID_SENSOR_FORMAT -DEPENDENCIES = ['smhi'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/snapcast/media_player.py b/homeassistant/components/snapcast/media_player.py index b1589c4db51ab3..29f7c7c70d77a9 100644 --- a/homeassistant/components/snapcast/media_player.py +++ b/homeassistant/components/snapcast/media_player.py @@ -14,7 +14,6 @@ STATE_PLAYING, STATE_UNKNOWN) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['snapcast==2.0.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/snips/__init__.py b/homeassistant/components/snips/__init__.py index 0cc96d66b1a1aa..90f5bdffaf8b8c 100644 --- a/homeassistant/components/snips/__init__.py +++ b/homeassistant/components/snips/__init__.py @@ -10,7 +10,6 @@ from homeassistant.components import mqtt DOMAIN = 'snips' -DEPENDENCIES = ['mqtt'] CONF_INTENTS = 'intents' CONF_ACTION = 'action' diff --git a/homeassistant/components/snmp/device_tracker.py b/homeassistant/components/snmp/device_tracker.py index 8a0fe7c6101c98..5bc37b0ac84477 100644 --- a/homeassistant/components/snmp/device_tracker.py +++ b/homeassistant/components/snmp/device_tracker.py @@ -9,7 +9,6 @@ DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST -REQUIREMENTS = ['pysnmp==4.4.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/snmp/sensor.py b/homeassistant/components/snmp/sensor.py index 83d311189885ef..f4a90e55f77fa5 100644 --- a/homeassistant/components/snmp/sensor.py +++ b/homeassistant/components/snmp/sensor.py @@ -11,7 +11,6 @@ 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__) diff --git a/homeassistant/components/snmp/switch.py b/homeassistant/components/snmp/switch.py index fdb3267a3c7c32..3388291471b053 100644 --- a/homeassistant/components/snmp/switch.py +++ b/homeassistant/components/snmp/switch.py @@ -9,7 +9,6 @@ CONF_USERNAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pysnmp==4.4.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sochain/sensor.py b/homeassistant/components/sochain/sensor.py index ef6a53b7091998..3c5d318ac19de8 100644 --- a/homeassistant/components/sochain/sensor.py +++ b/homeassistant/components/sochain/sensor.py @@ -10,7 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['python-sochain-api==0.0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/socialblade/sensor.py b/homeassistant/components/socialblade/sensor.py index 77433ac6d57d4a..1837146ef1bb30 100644 --- a/homeassistant/components/socialblade/sensor.py +++ b/homeassistant/components/socialblade/sensor.py @@ -12,7 +12,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['socialbladeclient==0.2'] CHANNEL_ID = 'channel_id' diff --git a/homeassistant/components/solaredge/sensor.py b/homeassistant/components/solaredge/sensor.py index 6c6d7557282e2f..d8ac8ecc9ea1bd 100644 --- a/homeassistant/components/solaredge/sensor.py +++ b/homeassistant/components/solaredge/sensor.py @@ -14,7 +14,6 @@ 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 c8a6314acaaa50..19d41833510071 100755 --- a/homeassistant/components/somfy_mylink/__init__.py +++ b/homeassistant/components/somfy_mylink/__init__.py @@ -8,7 +8,6 @@ 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 e0b9eae36ebe73..16046d8b4111bf 100755 --- a/homeassistant/components/somfy_mylink/cover.py +++ b/homeassistant/components/somfy_mylink/cover.py @@ -7,7 +7,6 @@ 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 842360484cfd5b..9b1fda6edacea5 100644 --- a/homeassistant/components/songpal/media_player.py +++ b/homeassistant/components/songpal/media_player.py @@ -16,7 +16,6 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-songpal==0.0.9.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sonos/__init__.py b/homeassistant/components/sonos/__init__.py index d5f89cd074ed0d..b661fa26fe7711 100644 --- a/homeassistant/components/sonos/__init__.py +++ b/homeassistant/components/sonos/__init__.py @@ -4,7 +4,6 @@ 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 5b3ffeed75f30b..418ff4e8739c94 100644 --- a/homeassistant/components/sony_projector/switch.py +++ b/homeassistant/components/sony_projector/switch.py @@ -8,7 +8,6 @@ STATE_ON, STATE_OFF, CONF_NAME, CONF_HOST) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pysdcp==1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/soundtouch/media_player.py b/homeassistant/components/soundtouch/media_player.py index 027fad43a4013b..0d3beb9bba9e2d 100644 --- a/homeassistant/components/soundtouch/media_player.py +++ b/homeassistant/components/soundtouch/media_player.py @@ -15,7 +15,6 @@ STATE_UNAVAILABLE) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['libsoundtouch==0.7.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/spaceapi/__init__.py b/homeassistant/components/spaceapi/__init__.py index fb76718f2d5f06..5431cd6260c1d8 100644 --- a/homeassistant/components/spaceapi/__init__.py +++ b/homeassistant/components/spaceapi/__init__.py @@ -45,7 +45,6 @@ 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 8aafb6f12107bd..05c997bdded6ee 100644 --- a/homeassistant/components/spc/__init__.py +++ b/homeassistant/components/spc/__init__.py @@ -7,7 +7,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_send import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyspcwebgw==0.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/speedtestdotnet/__init__.py b/homeassistant/components/speedtestdotnet/__init__.py index 48953874e8c528..675ae9b2e926ef 100644 --- a/homeassistant/components/speedtestdotnet/__init__.py +++ b/homeassistant/components/speedtestdotnet/__init__.py @@ -14,7 +14,6 @@ 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__) diff --git a/homeassistant/components/speedtestdotnet/sensor.py b/homeassistant/components/speedtestdotnet/sensor.py index fb92bb76ac848a..7148bcfb40d8a6 100644 --- a/homeassistant/components/speedtestdotnet/sensor.py +++ b/homeassistant/components/speedtestdotnet/sensor.py @@ -9,7 +9,6 @@ from .const import ( DATA_UPDATED, DOMAIN as SPEEDTESTDOTNET_DOMAIN, SENSOR_TYPES) -DEPENDENCIES = ['speedtestdotnet'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/spider/__init__.py b/homeassistant/components/spider/__init__.py index b565f1834577fd..5b5fb6a6d2df35 100644 --- a/homeassistant/components/spider/__init__.py +++ b/homeassistant/components/spider/__init__.py @@ -9,7 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform -REQUIREMENTS = ['spiderpy==1.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/spider/climate.py b/homeassistant/components/spider/climate.py index 3b612441a88466..c9283fab62e9d2 100644 --- a/homeassistant/components/spider/climate.py +++ b/homeassistant/components/spider/climate.py @@ -10,7 +10,6 @@ from . import DOMAIN as SPIDER_DOMAIN -DEPENDENCIES = ['spider'] FAN_LIST = [ 'Auto', diff --git a/homeassistant/components/spider/switch.py b/homeassistant/components/spider/switch.py index e43762be460f1d..75ca30e288be1f 100644 --- a/homeassistant/components/spider/switch.py +++ b/homeassistant/components/spider/switch.py @@ -5,7 +5,6 @@ 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 fa9cfa687ec3af..2cb5cd27ede91b 100644 --- a/homeassistant/components/spotcrime/sensor.py +++ b/homeassistant/components/spotcrime/sensor.py @@ -15,7 +15,6 @@ from homeassistant.util import slugify import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['spotcrime==1.0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/spotify/media_player.py b/homeassistant/components/spotify/media_player.py index b9252d5035bd9f..7aa3f6c7e020e1 100644 --- a/homeassistant/components/spotify/media_player.py +++ b/homeassistant/components/spotify/media_player.py @@ -16,7 +16,6 @@ from homeassistant.core import callback import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['spotipy-homeassistant==2.4.4.dev1'] _LOGGER = logging.getLogger(__name__) @@ -35,7 +34,6 @@ 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 bc40d5efb4279f..8eba3cb633fa41 100644 --- a/homeassistant/components/sql/sensor.py +++ b/homeassistant/components/sql/sensor.py @@ -15,7 +15,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['sqlalchemy==1.3.0'] CONF_COLUMN_NAME = 'column' CONF_QUERIES = 'queries' diff --git a/homeassistant/components/srp_energy/sensor.py b/homeassistant/components/srp_energy/sensor.py index 0ebae427da138a..e9e52758c57c5f 100644 --- a/homeassistant/components/srp_energy/sensor.py +++ b/homeassistant/components/srp_energy/sensor.py @@ -14,7 +14,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['srpenergy==1.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/starlingbank/sensor.py b/homeassistant/components/starlingbank/sensor.py index 00640ea49632ca..092913fed2e2b7 100644 --- a/homeassistant/components/starlingbank/sensor.py +++ b/homeassistant/components/starlingbank/sensor.py @@ -9,7 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['starlingbank==3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/startca/sensor.py b/homeassistant/components/startca/sensor.py index 1e57a4cf859eba..ca7178c83f2749 100644 --- a/homeassistant/components/startca/sensor.py +++ b/homeassistant/components/startca/sensor.py @@ -14,7 +14,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['xmltodict==0.11.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/statsd/__init__.py b/homeassistant/components/statsd/__init__.py index a8c34d0a8433e1..2a4b507817f5f1 100644 --- a/homeassistant/components/statsd/__init__.py +++ b/homeassistant/components/statsd/__init__.py @@ -8,7 +8,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers import state as state_helper -REQUIREMENTS = ['statsd==3.2.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/steam_online/sensor.py b/homeassistant/components/steam_online/sensor.py index 4b4b73ad8cfd2f..4992e180da4e98 100644 --- a/homeassistant/components/steam_online/sensor.py +++ b/homeassistant/components/steam_online/sensor.py @@ -8,7 +8,6 @@ from homeassistant.const import CONF_API_KEY import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['steamodd==4.21'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/stream/__init__.py b/homeassistant/components/stream/__init__.py index 43debc504e1a15..42280c97d825f5 100644 --- a/homeassistant/components/stream/__init__.py +++ b/homeassistant/components/stream/__init__.py @@ -19,11 +19,9 @@ 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({}), diff --git a/homeassistant/components/stride/notify.py b/homeassistant/components/stride/notify.py index fa08697d798579..e3a53fd2fc3d54 100644 --- a/homeassistant/components/stride/notify.py +++ b/homeassistant/components/stride/notify.py @@ -10,7 +10,6 @@ PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['pystride==0.1.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/swiss_hydrological_data/sensor.py b/homeassistant/components/swiss_hydrological_data/sensor.py index 84964a94cbd141..5ec1596dd14ccb 100644 --- a/homeassistant/components/swiss_hydrological_data/sensor.py +++ b/homeassistant/components/swiss_hydrological_data/sensor.py @@ -10,7 +10,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['swisshydrodata==0.0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/swiss_public_transport/sensor.py b/homeassistant/components/swiss_public_transport/sensor.py index 8d6b7fdee0ea85..77ba5d4376d92d 100644 --- a/homeassistant/components/swiss_public_transport/sensor.py +++ b/homeassistant/components/swiss_public_transport/sensor.py @@ -11,7 +11,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.util.dt as dt_util -REQUIREMENTS = ['python_opendata_transport==0.1.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/switch/__init__.py b/homeassistant/components/switch/__init__.py index 7e89a5369c8453..65b2bb7b92a4a7 100644 --- a/homeassistant/components/switch/__init__.py +++ b/homeassistant/components/switch/__init__.py @@ -16,7 +16,6 @@ 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 3db9b5fd2262bf..da87fb19904602 100644 --- a/homeassistant/components/switchbot/switch.py +++ b/homeassistant/components/switchbot/switch.py @@ -8,7 +8,6 @@ from homeassistant.const import CONF_NAME, CONF_MAC from homeassistant.helpers.restore_state import RestoreEntity -REQUIREMENTS = ['PySwitchbot==0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/switchmate/switch.py b/homeassistant/components/switchmate/switch.py index c14a6ca80879bd..2a2467f7ba6c32 100644 --- a/homeassistant/components/switchmate/switch.py +++ b/homeassistant/components/switchmate/switch.py @@ -8,7 +8,6 @@ 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__) diff --git a/homeassistant/components/syncthru/sensor.py b/homeassistant/components/syncthru/sensor.py index 5596d4ab86adf9..4270ec364131f6 100644 --- a/homeassistant/components/syncthru/sensor.py +++ b/homeassistant/components/syncthru/sensor.py @@ -9,7 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.sensor import PLATFORM_SCHEMA -REQUIREMENTS = ['pysyncthru==0.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/synology/camera.py b/homeassistant/components/synology/camera.py index c452f60cc2a1d2..c4208ab56b7cf5 100644 --- a/homeassistant/components/synology/camera.py +++ b/homeassistant/components/synology/camera.py @@ -14,7 +14,6 @@ async_get_clientsession) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['py-synology==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/synology_srm/device_tracker.py b/homeassistant/components/synology_srm/device_tracker.py index bf5653d681bbb8..ac3a3cdf10f9f8 100644 --- a/homeassistant/components/synology_srm/device_tracker.py +++ b/homeassistant/components/synology_srm/device_tracker.py @@ -13,7 +13,6 @@ CONF_HOST, CONF_USERNAME, CONF_PASSWORD, CONF_PORT, CONF_SSL, CONF_VERIFY_SSL) -REQUIREMENTS = ['synology-srm==0.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/synologydsm/sensor.py b/homeassistant/components/synologydsm/sensor.py index 0d5a253483f9ac..33ce3f95e1500a 100644 --- a/homeassistant/components/synologydsm/sensor.py +++ b/homeassistant/components/synologydsm/sensor.py @@ -13,7 +13,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['python-synology==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/system_health/__init__.py b/homeassistant/components/system_health/__init__.py index 9a171296ce9578..7dbb682b287b84 100644 --- a/homeassistant/components/system_health/__init__.py +++ b/homeassistant/components/system_health/__init__.py @@ -14,7 +14,6 @@ _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 d6877c32f0deee..c5909309ab390e 100644 --- a/homeassistant/components/system_log/__init__.py +++ b/homeassistant/components/system_log/__init__.py @@ -20,7 +20,6 @@ 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 cf65daa439509c..dafc57d39fe28e 100644 --- a/homeassistant/components/systemmonitor/sensor.py +++ b/homeassistant/components/systemmonitor/sensor.py @@ -12,7 +12,6 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['psutil==5.6.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sytadin/sensor.py b/homeassistant/components/sytadin/sensor.py index 517deda7ca2b71..580dc0a6430638 100644 --- a/homeassistant/components/sytadin/sensor.py +++ b/homeassistant/components/sytadin/sensor.py @@ -13,7 +13,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['beautifulsoup4==4.7.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tado/__init__.py b/homeassistant/components/tado/__init__.py index 8d3f541972e50c..8275f445dd0558 100644 --- a/homeassistant/components/tado/__init__.py +++ b/homeassistant/components/tado/__init__.py @@ -10,7 +10,6 @@ from homeassistant.const import CONF_USERNAME, CONF_PASSWORD from homeassistant.util import Throttle -REQUIREMENTS = ['python-tado==0.2.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tahoma/__init__.py b/homeassistant/components/tahoma/__init__.py index 1807667da87dc6..38a5513d8e9c28 100644 --- a/homeassistant/components/tahoma/__init__.py +++ b/homeassistant/components/tahoma/__init__.py @@ -9,7 +9,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['tahoma-api==0.0.14'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tahoma/binary_sensor.py b/homeassistant/components/tahoma/binary_sensor.py index 948c6f90a58895..d7dbd6cbe0e33f 100644 --- a/homeassistant/components/tahoma/binary_sensor.py +++ b/homeassistant/components/tahoma/binary_sensor.py @@ -7,7 +7,6 @@ from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice -DEPENDENCIES = ['tahoma'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tahoma/cover.py b/homeassistant/components/tahoma/cover.py index 85e785f9ca3b44..23521b5cd38240 100644 --- a/homeassistant/components/tahoma/cover.py +++ b/homeassistant/components/tahoma/cover.py @@ -7,7 +7,6 @@ from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice -DEPENDENCIES = ['tahoma'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tahoma/scene.py b/homeassistant/components/tahoma/scene.py index eedb95d1a772c9..359c47ee2de1e7 100644 --- a/homeassistant/components/tahoma/scene.py +++ b/homeassistant/components/tahoma/scene.py @@ -5,7 +5,6 @@ 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 3c03911804ace1..642a323864d016 100644 --- a/homeassistant/components/tahoma/sensor.py +++ b/homeassistant/components/tahoma/sensor.py @@ -7,7 +7,6 @@ from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice -DEPENDENCIES = ['tahoma'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tahoma/switch.py b/homeassistant/components/tahoma/switch.py index 71f00ed8937c7d..68043885191f55 100644 --- a/homeassistant/components/tahoma/switch.py +++ b/homeassistant/components/tahoma/switch.py @@ -6,7 +6,6 @@ from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice -DEPENDENCIES = ['tahoma'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tank_utility/sensor.py b/homeassistant/components/tank_utility/sensor.py index 5389d60ef461db..ebd25b1a3c9565 100644 --- a/homeassistant/components/tank_utility/sensor.py +++ b/homeassistant/components/tank_utility/sensor.py @@ -12,9 +12,6 @@ from homeassistant.helpers.entity import Entity -REQUIREMENTS = [ - "tank_utility==1.4.0" -] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tapsaff/binary_sensor.py b/homeassistant/components/tapsaff/binary_sensor.py index 639e9574ed971e..9b80f49b7db1fa 100644 --- a/homeassistant/components/tapsaff/binary_sensor.py +++ b/homeassistant/components/tapsaff/binary_sensor.py @@ -9,7 +9,6 @@ from homeassistant.const import CONF_NAME import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['tapsaff==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tautulli/sensor.py b/homeassistant/components/tautulli/sensor.py index 44be10749bfa36..3735aefeb847fe 100644 --- a/homeassistant/components/tautulli/sensor.py +++ b/homeassistant/components/tautulli/sensor.py @@ -14,7 +14,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pytautulli==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ted5000/sensor.py b/homeassistant/components/ted5000/sensor.py index fba9866302d984..96a584f27dae92 100644 --- a/homeassistant/components/ted5000/sensor.py +++ b/homeassistant/components/ted5000/sensor.py @@ -12,7 +12,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['xmltodict==0.11.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/telegram/notify.py b/homeassistant/components/telegram/notify.py index 3602bbd24419f7..b941db61a3c339 100644 --- a/homeassistant/components/telegram/notify.py +++ b/homeassistant/components/telegram/notify.py @@ -12,7 +12,6 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'telegram_bot' -DEPENDENCIES = [DOMAIN] ATTR_KEYBOARD = 'keyboard' ATTR_INLINE_KEYBOARD = 'inline_keyboard' diff --git a/homeassistant/components/telegram_bot/__init__.py b/homeassistant/components/telegram_bot/__init__.py index 7d19e8212b6aca..8d940b01dc436f 100644 --- a/homeassistant/components/telegram_bot/__init__.py +++ b/homeassistant/components/telegram_bot/__init__.py @@ -16,7 +16,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.exceptions import TemplateError -REQUIREMENTS = ['python-telegram-bot==11.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/telegram_bot/webhooks.py b/homeassistant/components/telegram_bot/webhooks.py index 424ece81549e2f..17b684724440bb 100644 --- a/homeassistant/components/telegram_bot/webhooks.py +++ b/homeassistant/components/telegram_bot/webhooks.py @@ -15,7 +15,6 @@ CONF_ALLOWED_CHAT_IDS, PLATFORM_SCHEMA, BaseTelegramBotEntity, initialize_bot) -DEPENDENCIES = ['http'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tellduslive/__init__.py b/homeassistant/components/tellduslive/__init__.py index 64f4a0102a1572..6639590246da20 100644 --- a/homeassistant/components/tellduslive/__init__.py +++ b/homeassistant/components/tellduslive/__init__.py @@ -19,7 +19,6 @@ APPLICATION_NAME = 'Home Assistant' -REQUIREMENTS = ['tellduslive==0.10.10'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tellstick/__init__.py b/homeassistant/components/tellstick/__init__.py index c35d2f790273a2..5641544da896ab 100644 --- a/homeassistant/components/tellstick/__init__.py +++ b/homeassistant/components/tellstick/__init__.py @@ -11,7 +11,6 @@ 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__) diff --git a/homeassistant/components/tellstick/sensor.py b/homeassistant/components/tellstick/sensor.py index 0438ad79abca19..40e60cec620f39 100644 --- a/homeassistant/components/tellstick/sensor.py +++ b/homeassistant/components/tellstick/sensor.py @@ -9,7 +9,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['tellstick'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/temper/sensor.py b/homeassistant/components/temper/sensor.py index 1c6cb9fdff4636..8be43f62d1e8e8 100644 --- a/homeassistant/components/temper/sensor.py +++ b/homeassistant/components/temper/sensor.py @@ -8,7 +8,6 @@ _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 4e4a80a525e42e..005b7a665bf255 100644 --- a/homeassistant/components/tensorflow/image_processing.py +++ b/homeassistant/components/tensorflow/image_processing.py @@ -12,7 +12,6 @@ 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__) diff --git a/homeassistant/components/tesla/__init__.py b/homeassistant/components/tesla/__init__.py index 244538f5f462ef..5c6cb75d82ebd5 100644 --- a/homeassistant/components/tesla/__init__.py +++ b/homeassistant/components/tesla/__init__.py @@ -11,7 +11,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import slugify -REQUIREMENTS = ['teslajsonpy==0.0.25'] DOMAIN = 'tesla' diff --git a/homeassistant/components/tesla/binary_sensor.py b/homeassistant/components/tesla/binary_sensor.py index a87239d24308d9..6b451d4fb728f3 100644 --- a/homeassistant/components/tesla/binary_sensor.py +++ b/homeassistant/components/tesla/binary_sensor.py @@ -8,7 +8,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tesla'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/tesla/climate.py b/homeassistant/components/tesla/climate.py index 603ce1a4d61785..615ae4f3d90f93 100644 --- a/homeassistant/components/tesla/climate.py +++ b/homeassistant/components/tesla/climate.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tesla'] OPERATION_LIST = [STATE_ON, STATE_OFF] diff --git a/homeassistant/components/tesla/device_tracker.py b/homeassistant/components/tesla/device_tracker.py index 5a7693d8370665..68d306042cfd53 100644 --- a/homeassistant/components/tesla/device_tracker.py +++ b/homeassistant/components/tesla/device_tracker.py @@ -8,7 +8,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tesla'] def setup_scanner(hass, config, see, discovery_info=None): diff --git a/homeassistant/components/tesla/lock.py b/homeassistant/components/tesla/lock.py index ade394496d6edb..2c41fffe0bfa34 100644 --- a/homeassistant/components/tesla/lock.py +++ b/homeassistant/components/tesla/lock.py @@ -8,7 +8,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tesla'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/tesla/sensor.py b/homeassistant/components/tesla/sensor.py index 99705d3f79336e..0bda0622d4d745 100644 --- a/homeassistant/components/tesla/sensor.py +++ b/homeassistant/components/tesla/sensor.py @@ -11,7 +11,6 @@ _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 e00164ff1a7d52..9b15ca092b41ad 100644 --- a/homeassistant/components/tesla/switch.py +++ b/homeassistant/components/tesla/switch.py @@ -7,7 +7,6 @@ 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 44fa19098236c8..f3bfdd0ff183a9 100644 --- a/homeassistant/components/tfiac/climate.py +++ b/homeassistant/components/tfiac/climate.py @@ -13,7 +13,6 @@ 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) diff --git a/homeassistant/components/thermoworks_smoke/sensor.py b/homeassistant/components/thermoworks_smoke/sensor.py index 0c6cddd9fcd734..954bce905c3900 100644 --- a/homeassistant/components/thermoworks_smoke/sensor.py +++ b/homeassistant/components/thermoworks_smoke/sensor.py @@ -17,7 +17,6 @@ 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__) diff --git a/homeassistant/components/thethingsnetwork/sensor.py b/homeassistant/components/thethingsnetwork/sensor.py index d59b429721b562..ce6f34eaa33884 100644 --- a/homeassistant/components/thethingsnetwork/sensor.py +++ b/homeassistant/components/thethingsnetwork/sensor.py @@ -22,7 +22,6 @@ 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 0fa15e7efb4bf4..df44883c1f3929 100644 --- a/homeassistant/components/thingspeak/__init__.py +++ b/homeassistant/components/thingspeak/__init__.py @@ -9,7 +9,6 @@ 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__) diff --git a/homeassistant/components/thinkingcleaner/sensor.py b/homeassistant/components/thinkingcleaner/sensor.py index f8462435a451b6..62362d5c5770f5 100644 --- a/homeassistant/components/thinkingcleaner/sensor.py +++ b/homeassistant/components/thinkingcleaner/sensor.py @@ -7,7 +7,6 @@ _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 38a96eb029865e..ab62f5ac0a4ee4 100644 --- a/homeassistant/components/thinkingcleaner/switch.py +++ b/homeassistant/components/thinkingcleaner/switch.py @@ -9,7 +9,6 @@ _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 19cf6fe65258ea..6ca3e952103df8 100644 --- a/homeassistant/components/tibber/__init__.py +++ b/homeassistant/components/tibber/__init__.py @@ -11,7 +11,6 @@ from homeassistant.helpers import discovery from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['pyTibber==0.10.1'] DOMAIN = 'tibber' diff --git a/homeassistant/components/tikteck/light.py b/homeassistant/components/tikteck/light.py index 4f5596c71be4d7..4a786cf1ddca7f 100644 --- a/homeassistant/components/tikteck/light.py +++ b/homeassistant/components/tikteck/light.py @@ -10,7 +10,6 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['tikteck==0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tile/device_tracker.py b/homeassistant/components/tile/device_tracker.py index c471c1e23b4d49..af8df9775fdb65 100644 --- a/homeassistant/components/tile/device_tracker.py +++ b/homeassistant/components/tile/device_tracker.py @@ -13,7 +13,6 @@ 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 313935e1221fe8..94f58316f0fde7 100644 --- a/homeassistant/components/todoist/calendar.py +++ b/homeassistant/components/todoist/calendar.py @@ -12,7 +12,6 @@ from homeassistant.helpers.template import DATE_STR_FORMAT from homeassistant.util import Throttle, dt -REQUIREMENTS = ['todoist-python==7.0.17'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tof/sensor.py b/homeassistant/components/tof/sensor.py index a403db036825c8..05c48262445a42 100644 --- a/homeassistant/components/tof/sensor.py +++ b/homeassistant/components/tof/sensor.py @@ -12,9 +12,7 @@ from homeassistant.const import CONF_NAME from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['VL53L1X2==0.1.5'] -DEPENDENCIES = ['rpi_gpio'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/toon/__init__.py b/homeassistant/components/toon/__init__.py index d718b5895e4520..59f8643e912250 100644 --- a/homeassistant/components/toon/__init__.py +++ b/homeassistant/components/toon/__init__.py @@ -16,7 +16,6 @@ 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__) diff --git a/homeassistant/components/toon/binary_sensor.py b/homeassistant/components/toon/binary_sensor.py index 694b7d1d03383b..59cd819f7374ef 100644 --- a/homeassistant/components/toon/binary_sensor.py +++ b/homeassistant/components/toon/binary_sensor.py @@ -12,7 +12,6 @@ ToonBoilerModuleDeviceEntity) from .const import DATA_TOON_CLIENT, DOMAIN -DEPENDENCIES = ['toon'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/toon/climate.py b/homeassistant/components/toon/climate.py index f09dc010c792ad..fd4f5f89840629 100644 --- a/homeassistant/components/toon/climate.py +++ b/homeassistant/components/toon/climate.py @@ -15,7 +15,6 @@ from . import ToonDisplayDeviceEntity from .const import DATA_TOON_CLIENT, DEFAULT_MAX_TEMP, DEFAULT_MIN_TEMP, DOMAIN -DEPENDENCIES = ['toon'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/toon/sensor.py b/homeassistant/components/toon/sensor.py index f58c8ef4840d66..64c8b23a7dc96e 100644 --- a/homeassistant/components/toon/sensor.py +++ b/homeassistant/components/toon/sensor.py @@ -11,7 +11,6 @@ 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__) diff --git a/homeassistant/components/torque/sensor.py b/homeassistant/components/torque/sensor.py index 2f947c178b89ca..01efd49e862864 100644 --- a/homeassistant/components/torque/sensor.py +++ b/homeassistant/components/torque/sensor.py @@ -16,7 +16,6 @@ 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 c56c4ed95a63fe..5dc11258d6e06b 100644 --- a/homeassistant/components/totalconnect/alarm_control_panel.py +++ b/homeassistant/components/totalconnect/alarm_control_panel.py @@ -13,7 +13,6 @@ STATE_ALARM_ARMED_CUSTOM_BYPASS) -REQUIREMENTS = ['total_connect_client==0.25'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/touchline/climate.py b/homeassistant/components/touchline/climate.py index e003ea257d75a9..ca0d1a2d7d9b5e 100644 --- a/homeassistant/components/touchline/climate.py +++ b/homeassistant/components/touchline/climate.py @@ -9,7 +9,6 @@ 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__) diff --git a/homeassistant/components/tplink/__init__.py b/homeassistant/components/tplink/__init__.py index 9fc12db0d63591..3ad78ec7d2b780 100644 --- a/homeassistant/components/tplink/__init__.py +++ b/homeassistant/components/tplink/__init__.py @@ -33,7 +33,6 @@ }), }, extra=vol.ALLOW_EXTRA) -REQUIREMENTS = ['pyHS100==0.3.4'] async def _async_has_devices(hass): diff --git a/homeassistant/components/tplink/device_tracker.py b/homeassistant/components/tplink/device_tracker.py index 7f5c4a37d2451c..d351e7862ec0f3 100644 --- a/homeassistant/components/tplink/device_tracker.py +++ b/homeassistant/components/tplink/device_tracker.py @@ -17,7 +17,6 @@ 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__) diff --git a/homeassistant/components/tplink/light.py b/homeassistant/components/tplink/light.py index 9f13766c4eff9d..1e4a7e3343b98b 100644 --- a/homeassistant/components/tplink/light.py +++ b/homeassistant/components/tplink/light.py @@ -12,7 +12,6 @@ from . import CONF_LIGHT, DOMAIN as TPLINK_DOMAIN -DEPENDENCIES = ['tplink'] PARALLEL_UPDATES = 0 diff --git a/homeassistant/components/tplink/switch.py b/homeassistant/components/tplink/switch.py index a4eeadd1c60a7e..3e46c7997447e2 100644 --- a/homeassistant/components/tplink/switch.py +++ b/homeassistant/components/tplink/switch.py @@ -9,7 +9,6 @@ from . import CONF_SWITCH, DOMAIN as TPLINK_DOMAIN -DEPENDENCIES = ['tplink'] PARALLEL_UPDATES = 0 diff --git a/homeassistant/components/tplink_lte/__init__.py b/homeassistant/components/tplink_lte/__init__.py index ae0b73d1c7c2bf..97c07340a1b7c3 100644 --- a/homeassistant/components/tplink_lte/__init__.py +++ b/homeassistant/components/tplink_lte/__init__.py @@ -14,7 +14,6 @@ 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__) diff --git a/homeassistant/components/tplink_lte/notify.py b/homeassistant/components/tplink_lte/notify.py index 519641ed34bf29..ae4edd61eeecb8 100644 --- a/homeassistant/components/tplink_lte/notify.py +++ b/homeassistant/components/tplink_lte/notify.py @@ -9,7 +9,6 @@ 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 28d13dd4fe6fcc..bebe9c6be77a79 100644 --- a/homeassistant/components/traccar/device_tracker.py +++ b/homeassistant/components/traccar/device_tracker.py @@ -16,7 +16,6 @@ from homeassistant.util import slugify -REQUIREMENTS = ['pytraccar==0.5.0', 'stringcase==1.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/trackr/device_tracker.py b/homeassistant/components/trackr/device_tracker.py index 1322fde7e1ae33..f139be816fe901 100644 --- a/homeassistant/components/trackr/device_tracker.py +++ b/homeassistant/components/trackr/device_tracker.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pytrackr==0.0.5'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_USERNAME): cv.string, diff --git a/homeassistant/components/tradfri/__init__.py b/homeassistant/components/tradfri/__init__.py index b14bc811754350..d48a7ecbf71109 100644 --- a/homeassistant/components/tradfri/__init__.py +++ b/homeassistant/components/tradfri/__init__.py @@ -13,7 +13,6 @@ 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 07ab4806dfcc10..a2b2cdc7c49bd7 100644 --- a/homeassistant/components/tradfri/light.py +++ b/homeassistant/components/tradfri/light.py @@ -17,7 +17,6 @@ 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 acc84a935904d3..b575517101f236 100644 --- a/homeassistant/components/tradfri/sensor.py +++ b/homeassistant/components/tradfri/sensor.py @@ -9,7 +9,6 @@ _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 ef9a9537cffe18..b7826624f525c0 100644 --- a/homeassistant/components/tradfri/switch.py +++ b/homeassistant/components/tradfri/switch.py @@ -9,7 +9,6 @@ _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 bf8f4c803e0392..0439f1b9ec1f7f 100644 --- a/homeassistant/components/trafikverket_weatherstation/sensor.py +++ b/homeassistant/components/trafikverket_weatherstation/sensor.py @@ -16,7 +16,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pytrafikverket==0.1.5.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/transmission/__init__.py b/homeassistant/components/transmission/__init__.py index 25e21dc3d8a090..9fc244735f3c87 100644 --- a/homeassistant/components/transmission/__init__.py +++ b/homeassistant/components/transmission/__init__.py @@ -11,7 +11,6 @@ from homeassistant.helpers.dispatcher import dispatcher_send from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['transmissionrpc==0.11'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/transmission/sensor.py b/homeassistant/components/transmission/sensor.py index dfd4c1950977b0..740d031d05e116 100644 --- a/homeassistant/components/transmission/sensor.py +++ b/homeassistant/components/transmission/sensor.py @@ -9,7 +9,6 @@ from . import DATA_TRANSMISSION, DATA_UPDATED, SENSOR_TYPES -DEPENDENCIES = ['transmission'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/transmission/switch.py b/homeassistant/components/transmission/switch.py index 854a2e727b0b83..1ee41993940063 100644 --- a/homeassistant/components/transmission/switch.py +++ b/homeassistant/components/transmission/switch.py @@ -8,7 +8,6 @@ from . import DATA_TRANSMISSION, DATA_UPDATED -DEPENDENCIES = ['transmission'] _LOGGING = logging.getLogger(__name__) diff --git a/homeassistant/components/transport_nsw/sensor.py b/homeassistant/components/transport_nsw/sensor.py index 3c40bf4f709e77..6e3bef6c23f657 100644 --- a/homeassistant/components/transport_nsw/sensor.py +++ b/homeassistant/components/transport_nsw/sensor.py @@ -9,7 +9,6 @@ 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__) diff --git a/homeassistant/components/travisci/sensor.py b/homeassistant/components/travisci/sensor.py index 99309f7e2b7533..7b52cee1c440ec 100644 --- a/homeassistant/components/travisci/sensor.py +++ b/homeassistant/components/travisci/sensor.py @@ -11,7 +11,6 @@ CONF_MONITORED_CONDITIONS) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['TravisPy==0.3.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/trend/binary_sensor.py b/homeassistant/components/trend/binary_sensor.py index 163703373d3303..5af6d8b54210e3 100644 --- a/homeassistant/components/trend/binary_sensor.py +++ b/homeassistant/components/trend/binary_sensor.py @@ -17,7 +17,6 @@ from homeassistant.helpers.event import async_track_state_change from homeassistant.util import utcnow -REQUIREMENTS = ['numpy==1.16.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tts/__init__.py b/homeassistant/components/tts/__init__.py index 763baa262bed81..cc04ddba70572d 100644 --- a/homeassistant/components/tts/__init__.py +++ b/homeassistant/components/tts/__init__.py @@ -24,7 +24,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.setup import async_prepare_setup_platform -REQUIREMENTS = ['mutagen==1.42.0'] _LOGGER = logging.getLogger(__name__) @@ -43,7 +42,6 @@ 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 117424fd55e17e..1f657d2d58e51b 100644 --- a/homeassistant/components/tuya/__init__.py +++ b/homeassistant/components/tuya/__init__.py @@ -12,7 +12,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['tuyapy==0.1.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tuya/climate.py b/homeassistant/components/tuya/climate.py index b7a10dad8626c3..b6fd3be04edbbb 100644 --- a/homeassistant/components/tuya/climate.py +++ b/homeassistant/components/tuya/climate.py @@ -10,7 +10,6 @@ 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 274f4d9386936f..12dbb3c608ae69 100644 --- a/homeassistant/components/tuya/cover.py +++ b/homeassistant/components/tuya/cover.py @@ -4,7 +4,6 @@ from . import DATA_TUYA, TuyaDevice -DEPENDENCIES = ['tuya'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/tuya/fan.py b/homeassistant/components/tuya/fan.py index 259417869dc2dc..6cedfed49f967b 100644 --- a/homeassistant/components/tuya/fan.py +++ b/homeassistant/components/tuya/fan.py @@ -5,7 +5,6 @@ from . import DATA_TUYA, TuyaDevice -DEPENDENCIES = ['tuya'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/tuya/light.py b/homeassistant/components/tuya/light.py index 17f9b43dcbebc6..541c9312b5c7f3 100644 --- a/homeassistant/components/tuya/light.py +++ b/homeassistant/components/tuya/light.py @@ -6,7 +6,6 @@ from . import DATA_TUYA, TuyaDevice -DEPENDENCIES = ['tuya'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/tuya/scene.py b/homeassistant/components/tuya/scene.py index 24383dca6e4c11..6ff07ac919bbde 100644 --- a/homeassistant/components/tuya/scene.py +++ b/homeassistant/components/tuya/scene.py @@ -3,7 +3,6 @@ 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 c2e32eedc59164..4669ce509f377a 100644 --- a/homeassistant/components/tuya/switch.py +++ b/homeassistant/components/tuya/switch.py @@ -3,7 +3,6 @@ from . import DATA_TUYA, TuyaDevice -DEPENDENCIES = ['tuya'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/twilio/__init__.py b/homeassistant/components/twilio/__init__.py index e7ba06a05f7d3b..78634ac303fb22 100644 --- a/homeassistant/components/twilio/__init__.py +++ b/homeassistant/components/twilio/__init__.py @@ -5,8 +5,6 @@ from homeassistant.const import CONF_WEBHOOK_ID from homeassistant.helpers import config_entry_flow -REQUIREMENTS = ['twilio==6.19.1'] -DEPENDENCIES = ['webhook'] DOMAIN = 'twilio' diff --git a/homeassistant/components/twilio_call/notify.py b/homeassistant/components/twilio_call/notify.py index ab57d7214656b1..8852286299a18a 100644 --- a/homeassistant/components/twilio_call/notify.py +++ b/homeassistant/components/twilio_call/notify.py @@ -12,7 +12,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['twilio'] CONF_FROM_NUMBER = 'from_number' diff --git a/homeassistant/components/twilio_sms/notify.py b/homeassistant/components/twilio_sms/notify.py index a04e397a5688d2..1222862492afec 100644 --- a/homeassistant/components/twilio_sms/notify.py +++ b/homeassistant/components/twilio_sms/notify.py @@ -10,7 +10,6 @@ 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 123de752d51255..f6a56397492976 100644 --- a/homeassistant/components/twitch/sensor.py +++ b/homeassistant/components/twitch/sensor.py @@ -7,7 +7,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-twitch-client==0.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/twitter/notify.py b/homeassistant/components/twitter/notify.py index 54cd591f394575..b590289ea4c709 100644 --- a/homeassistant/components/twitter/notify.py +++ b/homeassistant/components/twitter/notify.py @@ -15,7 +15,6 @@ from homeassistant.components.notify import (ATTR_DATA, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['TwitterAPI==2.5.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ubee/device_tracker.py b/homeassistant/components/ubee/device_tracker.py index f73f58f3a1f258..e9c3314563cc08 100644 --- a/homeassistant/components/ubee/device_tracker.py +++ b/homeassistant/components/ubee/device_tracker.py @@ -9,7 +9,6 @@ CONF_HOST, CONF_PASSWORD, CONF_USERNAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyubee==0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/uber/sensor.py b/homeassistant/components/uber/sensor.py index 87d87de66ee30e..bd96c9683048bb 100644 --- a/homeassistant/components/uber/sensor.py +++ b/homeassistant/components/uber/sensor.py @@ -9,7 +9,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['uber_rides==0.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/unifi/__init__.py b/homeassistant/components/unifi/__init__.py index 7e236789a5c58f..c652c638c967a7 100644 --- a/homeassistant/components/unifi/__init__.py +++ b/homeassistant/components/unifi/__init__.py @@ -16,7 +16,6 @@ DEFAULT_SITE_ID = 'default' DEFAULT_VERIFY_SSL = False -REQUIREMENTS = ['aiounifi==4'] async def async_setup(hass, config): diff --git a/homeassistant/components/unifi/device_tracker.py b/homeassistant/components/unifi/device_tracker.py index 49e28114b17098..f4fc372282e3db 100644 --- a/homeassistant/components/unifi/device_tracker.py +++ b/homeassistant/components/unifi/device_tracker.py @@ -10,7 +10,6 @@ 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' diff --git a/homeassistant/components/unifi/switch.py b/homeassistant/components/unifi/switch.py index e90da2dbcd85fe..514d74f6f82cee 100644 --- a/homeassistant/components/unifi/switch.py +++ b/homeassistant/components/unifi/switch.py @@ -13,7 +13,6 @@ from .const import CONF_CONTROLLER, CONF_SITE_ID, CONTROLLER_ID, DOMAIN -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 29a3c58fab95ef..fcd43d4c34d3d1 100644 --- a/homeassistant/components/unifi_direct/device_tracker.py +++ b/homeassistant/components/unifi_direct/device_tracker.py @@ -11,7 +11,6 @@ CONF_HOST, CONF_PASSWORD, CONF_USERNAME, CONF_PORT) -REQUIREMENTS = ['pexpect==4.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/upc_connect/device_tracker.py b/homeassistant/components/upc_connect/device_tracker.py index 4a583b8349ad15..f9e26fb4db13e1 100644 --- a/homeassistant/components/upc_connect/device_tracker.py +++ b/homeassistant/components/upc_connect/device_tracker.py @@ -13,7 +13,6 @@ 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__) diff --git a/homeassistant/components/upcloud/__init__.py b/homeassistant/components/upcloud/__init__.py index 7981cf948bb9ec..fbe43c4515a502 100644 --- a/homeassistant/components/upcloud/__init__.py +++ b/homeassistant/components/upcloud/__init__.py @@ -14,7 +14,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['upcloud-api==0.4.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/upcloud/binary_sensor.py b/homeassistant/components/upcloud/binary_sensor.py index a0c3c9f34c6fdc..60781e0e989fcf 100644 --- a/homeassistant/components/upcloud/binary_sensor.py +++ b/homeassistant/components/upcloud/binary_sensor.py @@ -11,7 +11,6 @@ _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 7e84adccf5536e..5de9734b8071b6 100644 --- a/homeassistant/components/upcloud/switch.py +++ b/homeassistant/components/upcloud/switch.py @@ -11,7 +11,6 @@ _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 cb2646ea942b56..55052c14687432 100644 --- a/homeassistant/components/updater/__init__.py +++ b/homeassistant/components/updater/__init__.py @@ -18,7 +18,6 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['distro==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/upnp/__init__.py b/homeassistant/components/upnp/__init__.py index 5f4abcb24c7918..1220a6e23883fe 100644 --- a/homeassistant/components/upnp/__init__.py +++ b/homeassistant/components/upnp/__init__.py @@ -23,7 +23,6 @@ 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 86bcee879b9dbd..5e42d1f42a9614 100644 --- a/homeassistant/components/upnp/sensor.py +++ b/homeassistant/components/upnp/sensor.py @@ -12,7 +12,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['upnp'] BYTES_RECEIVED = 'bytes_received' BYTES_SENT = 'bytes_sent' diff --git a/homeassistant/components/ups/sensor.py b/homeassistant/components/ups/sensor.py index 3ed82de41dbb95..75cfa06f94aacb 100644 --- a/homeassistant/components/ups/sensor.py +++ b/homeassistant/components/ups/sensor.py @@ -15,7 +15,6 @@ from homeassistant.util import Throttle, slugify from homeassistant.util.dt import now, parse_date -REQUIREMENTS = ['upsmychoice==1.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/uptimerobot/binary_sensor.py b/homeassistant/components/uptimerobot/binary_sensor.py index 8e11966b6809d4..73aa67d75371eb 100644 --- a/homeassistant/components/uptimerobot/binary_sensor.py +++ b/homeassistant/components/uptimerobot/binary_sensor.py @@ -8,7 +8,6 @@ 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__) diff --git a/homeassistant/components/uscis/sensor.py b/homeassistant/components/uscis/sensor.py index 501c6c9665c909..c30cade6fdcbe8 100644 --- a/homeassistant/components/uscis/sensor.py +++ b/homeassistant/components/uscis/sensor.py @@ -13,7 +13,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['uscisstatus==0.1.1'] DEFAULT_NAME = "USCIS" diff --git a/homeassistant/components/usgs_earthquakes_feed/geo_location.py b/homeassistant/components/usgs_earthquakes_feed/geo_location.py index 1d11b1971ccaaf..e012ac97b6198b 100644 --- a/homeassistant/components/usgs_earthquakes_feed/geo_location.py +++ b/homeassistant/components/usgs_earthquakes_feed/geo_location.py @@ -16,7 +16,6 @@ async_dispatcher_connect, dispatcher_send) from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['geojson_client==0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/usps/__init__.py b/homeassistant/components/usps/__init__.py index 8a7d7d52255fd2..32989e7f6cf7dc 100644 --- a/homeassistant/components/usps/__init__.py +++ b/homeassistant/components/usps/__init__.py @@ -10,7 +10,6 @@ from homeassistant.util import Throttle from homeassistant.util.dt import now -REQUIREMENTS = ['myusps==1.3.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/usps/camera.py b/homeassistant/components/usps/camera.py index 5b5eaca4ce293a..7a9b23e87fd651 100644 --- a/homeassistant/components/usps/camera.py +++ b/homeassistant/components/usps/camera.py @@ -8,7 +8,6 @@ _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 3e5fea5c4ee7f0..dd57d12f08a8f7 100644 --- a/homeassistant/components/usps/sensor.py +++ b/homeassistant/components/usps/sensor.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['usps'] STATUS_DELIVERED = 'delivered' diff --git a/homeassistant/components/uvc/camera.py b/homeassistant/components/uvc/camera.py index 65251054060484..4c07d84b4005c1 100644 --- a/homeassistant/components/uvc/camera.py +++ b/homeassistant/components/uvc/camera.py @@ -10,7 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['uvcclient==0.11.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vacuum/__init__.py b/homeassistant/components/vacuum/__init__.py index 02266986ccfbef..9a8f4908495127 100644 --- a/homeassistant/components/vacuum/__init__.py +++ b/homeassistant/components/vacuum/__init__.py @@ -20,7 +20,6 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'vacuum' -DEPENDENCIES = ['group'] SCAN_INTERVAL = timedelta(seconds=20) diff --git a/homeassistant/components/vasttrafik/sensor.py b/homeassistant/components/vasttrafik/sensor.py index d8e9f1e7675262..9906830ceaf130 100644 --- a/homeassistant/components/vasttrafik/sensor.py +++ b/homeassistant/components/vasttrafik/sensor.py @@ -11,7 +11,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['vtjp==0.1.14'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/velbus/__init__.py b/homeassistant/components/velbus/__init__.py index 4e808dc21ca5ce..b1e96654de8828 100644 --- a/homeassistant/components/velbus/__init__.py +++ b/homeassistant/components/velbus/__init__.py @@ -7,7 +7,6 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['python-velbus==2.0.22'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/velbus/binary_sensor.py b/homeassistant/components/velbus/binary_sensor.py index cbe1350bd4f667..cbcc6d62054caf 100644 --- a/homeassistant/components/velbus/binary_sensor.py +++ b/homeassistant/components/velbus/binary_sensor.py @@ -7,7 +7,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['velbus'] async def async_setup_platform( diff --git a/homeassistant/components/velbus/climate.py b/homeassistant/components/velbus/climate.py index 470524bb6f3dff..ea5574fae13aa2 100644 --- a/homeassistant/components/velbus/climate.py +++ b/homeassistant/components/velbus/climate.py @@ -10,7 +10,6 @@ _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 b176ab76c4b74f..2461659b3b01ca 100644 --- a/homeassistant/components/velbus/cover.py +++ b/homeassistant/components/velbus/cover.py @@ -24,7 +24,6 @@ vol.Required(CONF_COVERS): cv.schema_with_slug_keys(COVER_SCHEMA), }) -DEPENDENCIES = ['velbus'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/velbus/sensor.py b/homeassistant/components/velbus/sensor.py index ad78a795a30b56..e6cfcdf7ca188d 100644 --- a/homeassistant/components/velbus/sensor.py +++ b/homeassistant/components/velbus/sensor.py @@ -5,7 +5,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['velbus'] async def async_setup_platform( diff --git a/homeassistant/components/velbus/switch.py b/homeassistant/components/velbus/switch.py index b5ef89ca48031d..5ea31b2e720ba5 100644 --- a/homeassistant/components/velbus/switch.py +++ b/homeassistant/components/velbus/switch.py @@ -7,7 +7,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['velbus'] async def async_setup_platform( diff --git a/homeassistant/components/velux/__init__.py b/homeassistant/components/velux/__init__.py index a46f62dbd5fcf8..ba623a47d04e9d 100644 --- a/homeassistant/components/velux/__init__.py +++ b/homeassistant/components/velux/__init__.py @@ -12,7 +12,6 @@ SUPPORTED_DOMAINS = ['cover', 'scene'] _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pyvlx==0.2.10'] CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({ diff --git a/homeassistant/components/velux/cover.py b/homeassistant/components/velux/cover.py index 1893909b70608c..21c310477c0753 100644 --- a/homeassistant/components/velux/cover.py +++ b/homeassistant/components/velux/cover.py @@ -6,7 +6,6 @@ from . import DATA_VELUX -DEPENDENCIES = ['velux'] async def async_setup_platform( diff --git a/homeassistant/components/velux/scene.py b/homeassistant/components/velux/scene.py index 614d3f349a2366..5b1f4ab228295d 100644 --- a/homeassistant/components/velux/scene.py +++ b/homeassistant/components/velux/scene.py @@ -3,7 +3,6 @@ from . import _LOGGER, DATA_VELUX -DEPENDENCIES = ['velux'] async def async_setup_platform( diff --git a/homeassistant/components/venstar/climate.py b/homeassistant/components/venstar/climate.py index f3e7542af5ce9f..45905e04d8e150 100644 --- a/homeassistant/components/venstar/climate.py +++ b/homeassistant/components/venstar/climate.py @@ -17,7 +17,6 @@ TEMP_FAHRENHEIT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['venstarcolortouch==0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vera/__init__.py b/homeassistant/components/vera/__init__.py index 3f4c66d238a89b..a8ecd6ec9a2c76 100644 --- a/homeassistant/components/vera/__init__.py +++ b/homeassistant/components/vera/__init__.py @@ -14,7 +14,6 @@ EVENT_HOMEASSISTANT_STOP, CONF_LIGHTS, CONF_EXCLUDE) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyvera==0.2.45'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vera/binary_sensor.py b/homeassistant/components/vera/binary_sensor.py index c81fa31938f554..28881ff5fed5c9 100644 --- a/homeassistant/components/vera/binary_sensor.py +++ b/homeassistant/components/vera/binary_sensor.py @@ -6,7 +6,6 @@ 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 f8ff9c21b89aae..426e44eb1ea67d 100644 --- a/homeassistant/components/vera/climate.py +++ b/homeassistant/components/vera/climate.py @@ -11,7 +11,6 @@ from . import VERA_CONTROLLER, VERA_DEVICES, VeraDevice -DEPENDENCIES = ['vera'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vera/cover.py b/homeassistant/components/vera/cover.py index 4cf2aac3bb4e3c..c1a6637d8d7ec4 100644 --- a/homeassistant/components/vera/cover.py +++ b/homeassistant/components/vera/cover.py @@ -6,7 +6,6 @@ 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 e4e315bb52e87d..c88e1e454017a5 100644 --- a/homeassistant/components/vera/light.py +++ b/homeassistant/components/vera/light.py @@ -10,7 +10,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['vera'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/vera/lock.py b/homeassistant/components/vera/lock.py index 5ace07b87d7087..6735ab6ef64344 100644 --- a/homeassistant/components/vera/lock.py +++ b/homeassistant/components/vera/lock.py @@ -8,7 +8,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['vera'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/vera/scene.py b/homeassistant/components/vera/scene.py index 5000f9bc50f9c8..98b727fc78fe6f 100644 --- a/homeassistant/components/vera/scene.py +++ b/homeassistant/components/vera/scene.py @@ -8,7 +8,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['vera'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/vera/sensor.py b/homeassistant/components/vera/sensor.py index 3c026046b3eea0..f4785c37afe105 100644 --- a/homeassistant/components/vera/sensor.py +++ b/homeassistant/components/vera/sensor.py @@ -11,7 +11,6 @@ _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 f422e49bf42f8e..4d1f907c2c38cc 100644 --- a/homeassistant/components/vera/switch.py +++ b/homeassistant/components/vera/switch.py @@ -8,7 +8,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['vera'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/verisure/__init__.py b/homeassistant/components/verisure/__init__.py index 393a4066002dbf..01d91b6cdc2b0e 100644 --- a/homeassistant/components/verisure/__init__.py +++ b/homeassistant/components/verisure/__init__.py @@ -11,7 +11,6 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['vsure==1.5.2', 'jsonpath==0.75'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/version/sensor.py b/homeassistant/components/version/sensor.py index 7c8f2b1662a151..3841f50b5a7f97 100644 --- a/homeassistant/components/version/sensor.py +++ b/homeassistant/components/version/sensor.py @@ -11,7 +11,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pyhaversion==2.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vesync/switch.py b/homeassistant/components/vesync/switch.py index d37728624ef533..922afc131aa7a3 100644 --- a/homeassistant/components/vesync/switch.py +++ b/homeassistant/components/vesync/switch.py @@ -6,7 +6,6 @@ import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyvesync_v2==0.9.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vizio/media_player.py b/homeassistant/components/vizio/media_player.py index bab54c68a908fa..f032809b796e96 100644 --- a/homeassistant/components/vizio/media_player.py +++ b/homeassistant/components/vizio/media_player.py @@ -15,7 +15,6 @@ 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__) diff --git a/homeassistant/components/vlc/media_player.py b/homeassistant/components/vlc/media_player.py index 41f9b5b16d4efa..1624ec6b017cd1 100644 --- a/homeassistant/components/vlc/media_player.py +++ b/homeassistant/components/vlc/media_player.py @@ -13,7 +13,6 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['python-vlc==1.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/volkszaehler/sensor.py b/homeassistant/components/volkszaehler/sensor.py index 5b808ff3c38dcb..53c3db2cbb19ef 100644 --- a/homeassistant/components/volkszaehler/sensor.py +++ b/homeassistant/components/volkszaehler/sensor.py @@ -14,7 +14,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['volkszaehler==0.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/volvooncall/__init__.py b/homeassistant/components/volvooncall/__init__.py index 36e3959338e746..491273184a6b89 100644 --- a/homeassistant/components/volvooncall/__init__.py +++ b/homeassistant/components/volvooncall/__init__.py @@ -21,7 +21,6 @@ DATA_KEY = DOMAIN -REQUIREMENTS = ['volvooncall==0.8.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vultr/__init__.py b/homeassistant/components/vultr/__init__.py index 9f2efabd412b06..daa1f2760718b3 100644 --- a/homeassistant/components/vultr/__init__.py +++ b/homeassistant/components/vultr/__init__.py @@ -8,7 +8,6 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['vultr==0.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vultr/binary_sensor.py b/homeassistant/components/vultr/binary_sensor.py index 87e8e93bda7b3c..1718d777a18929 100644 --- a/homeassistant/components/vultr/binary_sensor.py +++ b/homeassistant/components/vultr/binary_sensor.py @@ -18,7 +18,6 @@ DEFAULT_DEVICE_CLASS = 'power' DEFAULT_NAME = 'Vultr {}' -DEPENDENCIES = ['vultr'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_SUBSCRIPTION): cv.string, diff --git a/homeassistant/components/vultr/sensor.py b/homeassistant/components/vultr/sensor.py index f7e03dddace4e9..bb0fa4c333d286 100644 --- a/homeassistant/components/vultr/sensor.py +++ b/homeassistant/components/vultr/sensor.py @@ -15,7 +15,6 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Vultr {} {}' -DEPENDENCIES = ['vultr'] MONITORED_CONDITIONS = { ATTR_CURRENT_BANDWIDTH_USED: ['Current Bandwidth Used', 'GB', diff --git a/homeassistant/components/vultr/switch.py b/homeassistant/components/vultr/switch.py index 502aaf9daa8767..3679bfd7c5fb76 100644 --- a/homeassistant/components/vultr/switch.py +++ b/homeassistant/components/vultr/switch.py @@ -16,7 +16,6 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Vultr {}' -DEPENDENCIES = ['vultr'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_SUBSCRIPTION): cv.string, diff --git a/homeassistant/components/w800rf32/__init__.py b/homeassistant/components/w800rf32/__init__.py index d2c0cf6b968fbd..54c17bb1d7b1d0 100644 --- a/homeassistant/components/w800rf32/__init__.py +++ b/homeassistant/components/w800rf32/__init__.py @@ -10,7 +10,6 @@ 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 c942483495306d..caa3771b88e7ad 100644 --- a/homeassistant/components/w800rf32/binary_sensor.py +++ b/homeassistant/components/w800rf32/binary_sensor.py @@ -15,7 +15,6 @@ _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 e6e12ef0afe3d7..a1e5b1f7f5ddee 100644 --- a/homeassistant/components/wake_on_lan/__init__.py +++ b/homeassistant/components/wake_on_lan/__init__.py @@ -7,7 +7,6 @@ from homeassistant.const import CONF_MAC import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['wakeonlan==1.1.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wake_on_lan/switch.py b/homeassistant/components/wake_on_lan/switch.py index c81a476f0f8b2b..6e57843a5e4797 100644 --- a/homeassistant/components/wake_on_lan/switch.py +++ b/homeassistant/components/wake_on_lan/switch.py @@ -10,7 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.script import Script -REQUIREMENTS = ['wakeonlan==1.1.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/waqi/sensor.py b/homeassistant/components/waqi/sensor.py index f3000890de6800..cb79ebf631d071 100644 --- a/homeassistant/components/waqi/sensor.py +++ b/homeassistant/components/waqi/sensor.py @@ -14,7 +14,6 @@ from homeassistant.helpers.config_validation import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['waqiasync==1.0.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/waterfurnace/__init__.py b/homeassistant/components/waterfurnace/__init__.py index 38fd44cd1c7d3b..5e040aabba738d 100644 --- a/homeassistant/components/waterfurnace/__init__.py +++ b/homeassistant/components/waterfurnace/__init__.py @@ -13,7 +13,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers import discovery -REQUIREMENTS = ['waterfurnace==1.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/watson_iot/__init__.py b/homeassistant/components/watson_iot/__init__.py index e9a907ee6d2e1d..3790c9503d8da7 100644 --- a/homeassistant/components/watson_iot/__init__.py +++ b/homeassistant/components/watson_iot/__init__.py @@ -13,7 +13,6 @@ from homeassistant.helpers import state as state_helper import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['ibmiotf==0.3.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/waze_travel_time/sensor.py b/homeassistant/components/waze_travel_time/sensor.py index 984a5800898dd4..5e15c4584df825 100644 --- a/homeassistant/components/waze_travel_time/sensor.py +++ b/homeassistant/components/waze_travel_time/sensor.py @@ -13,7 +13,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['WazeRouteCalculator==0.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/webhook/__init__.py b/homeassistant/components/webhook/__init__.py index 59be3ab1890662..14cf7fcb4654d5 100644 --- a/homeassistant/components/webhook/__init__.py +++ b/homeassistant/components/webhook/__init__.py @@ -12,7 +12,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['http'] DOMAIN = 'webhook' diff --git a/homeassistant/components/webostv/media_player.py b/homeassistant/components/webostv/media_player.py index 35c3c456680d27..ee591be6991800 100644 --- a/homeassistant/components/webostv/media_player.py +++ b/homeassistant/components/webostv/media_player.py @@ -21,7 +21,6 @@ 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 5887586df65d41..b0b44789a64481 100644 --- a/homeassistant/components/webostv/notify.py +++ b/homeassistant/components/webostv/notify.py @@ -8,7 +8,6 @@ ATTR_DATA, BaseNotificationService, PLATFORM_SCHEMA) from homeassistant.const import (CONF_FILENAME, CONF_HOST, CONF_ICON) -REQUIREMENTS = ['pylgtv==0.1.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wemo/__init__.py b/homeassistant/components/wemo/__init__.py index 709b3ec8672755..6b52ebd8e7e5c2 100644 --- a/homeassistant/components/wemo/__init__.py +++ b/homeassistant/components/wemo/__init__.py @@ -11,7 +11,6 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['pywemo==0.4.34'] DOMAIN = 'wemo' diff --git a/homeassistant/components/wemo/binary_sensor.py b/homeassistant/components/wemo/binary_sensor.py index d6c1ad721b9abe..54f8519c8fee0b 100644 --- a/homeassistant/components/wemo/binary_sensor.py +++ b/homeassistant/components/wemo/binary_sensor.py @@ -8,7 +8,6 @@ from homeassistant.components.binary_sensor import BinarySensorDevice from homeassistant.exceptions import PlatformNotReady -DEPENDENCIES = ['wemo'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wemo/fan.py b/homeassistant/components/wemo/fan.py index 29a493bf5bc256..e33465d460f1a5 100644 --- a/homeassistant/components/wemo/fan.py +++ b/homeassistant/components/wemo/fan.py @@ -14,7 +14,6 @@ from homeassistant.exceptions import PlatformNotReady from homeassistant.const import ATTR_ENTITY_ID -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 e0f729fb165e8c..221cc6e521d245 100644 --- a/homeassistant/components/wemo/light.py +++ b/homeassistant/components/wemo/light.py @@ -13,7 +13,6 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.util.color as color_util -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 0a583e49e966a0..2e160bd2097202 100644 --- a/homeassistant/components/wemo/switch.py +++ b/homeassistant/components/wemo/switch.py @@ -12,7 +12,6 @@ from homeassistant.const import ( STATE_OFF, STATE_ON, STATE_STANDBY, STATE_UNKNOWN) -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 e36bdea08c3f63..2a1639428632b4 100644 --- a/homeassistant/components/whois/sensor.py +++ b/homeassistant/components/whois/sensor.py @@ -9,7 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['python-whois==0.7.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wink/__init__.py b/homeassistant/components/wink/__init__.py index 2b03d7711acbd6..69c4f649fc19e6 100644 --- a/homeassistant/components/wink/__init__.py +++ b/homeassistant/components/wink/__init__.py @@ -20,7 +20,6 @@ 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__) diff --git a/homeassistant/components/wink/alarm_control_panel.py b/homeassistant/components/wink/alarm_control_panel.py index 73ca9a3cac4ac0..2458a7f78adc10 100644 --- a/homeassistant/components/wink/alarm_control_panel.py +++ b/homeassistant/components/wink/alarm_control_panel.py @@ -9,7 +9,6 @@ _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 f3757d7bf39624..2a3144202d631a 100644 --- a/homeassistant/components/wink/binary_sensor.py +++ b/homeassistant/components/wink/binary_sensor.py @@ -7,7 +7,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['wink'] # These are the available sensors mapped to binary_sensor class SENSOR_TYPES = { diff --git a/homeassistant/components/wink/climate.py b/homeassistant/components/wink/climate.py index f5e75c1fb8d591..68e8abf6d5c99e 100644 --- a/homeassistant/components/wink/climate.py +++ b/homeassistant/components/wink/climate.py @@ -26,7 +26,6 @@ ATTR_HEAT_ON = 'heat_on' ATTR_COOL_ON = 'cool_on' -DEPENDENCIES = ['wink'] SPEED_LOW = 'low' SPEED_MEDIUM = 'medium' diff --git a/homeassistant/components/wink/cover.py b/homeassistant/components/wink/cover.py index f4c4841c2a2d0e..dce74f3557def2 100644 --- a/homeassistant/components/wink/cover.py +++ b/homeassistant/components/wink/cover.py @@ -3,7 +3,6 @@ from . import DOMAIN, WinkDevice -DEPENDENCIES = ['wink'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/wink/fan.py b/homeassistant/components/wink/fan.py index 52a27eb3c3df19..89f1f7508a4df0 100644 --- a/homeassistant/components/wink/fan.py +++ b/homeassistant/components/wink/fan.py @@ -9,7 +9,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['wink'] SPEED_AUTO = 'auto' SPEED_LOWEST = 'lowest' diff --git a/homeassistant/components/wink/light.py b/homeassistant/components/wink/light.py index 95747bcc1b2c63..e4af8cd92f266b 100644 --- a/homeassistant/components/wink/light.py +++ b/homeassistant/components/wink/light.py @@ -8,7 +8,6 @@ from . import DOMAIN, WinkDevice -DEPENDENCIES = ['wink'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/wink/lock.py b/homeassistant/components/wink/lock.py index 8e6fb9b280530e..eeffecd5bf69bd 100644 --- a/homeassistant/components/wink/lock.py +++ b/homeassistant/components/wink/lock.py @@ -10,7 +10,6 @@ from . import DOMAIN, WinkDevice -DEPENDENCIES = ['wink'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wink/scene.py b/homeassistant/components/wink/scene.py index e77402c4d45880..8cbc8422d7500c 100644 --- a/homeassistant/components/wink/scene.py +++ b/homeassistant/components/wink/scene.py @@ -7,7 +7,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['wink'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/wink/sensor.py b/homeassistant/components/wink/sensor.py index 3dfd704d564a36..4df69b9c3f78cb 100644 --- a/homeassistant/components/wink/sensor.py +++ b/homeassistant/components/wink/sensor.py @@ -7,7 +7,6 @@ _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 6ee777dd1fcccd..11a5eee6b03fae 100644 --- a/homeassistant/components/wink/switch.py +++ b/homeassistant/components/wink/switch.py @@ -5,7 +5,6 @@ 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 28c8cb4d5156c2..8cbc0d20d75705 100644 --- a/homeassistant/components/wirelesstag/__init__.py +++ b/homeassistant/components/wirelesstag/__init__.py @@ -11,7 +11,6 @@ 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 aefa5ed34a9dad..bdbdb455bb9d53 100644 --- a/homeassistant/components/wirelesstag/binary_sensor.py +++ b/homeassistant/components/wirelesstag/binary_sensor.py @@ -14,7 +14,6 @@ DOMAIN as WIRELESSTAG_DOMAIN, SIGNAL_BINARY_EVENT_UPDATE, WirelessTagBaseSensor) -DEPENDENCIES = ['wirelesstag'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wirelesstag/sensor.py b/homeassistant/components/wirelesstag/sensor.py index ca26e07b985ae9..90c46f817e1f9f 100644 --- a/homeassistant/components/wirelesstag/sensor.py +++ b/homeassistant/components/wirelesstag/sensor.py @@ -12,7 +12,6 @@ from . import ( DOMAIN as WIRELESSTAG_DOMAIN, SIGNAL_TAG_UPDATE, WirelessTagBaseSensor) -DEPENDENCIES = ['wirelesstag'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wirelesstag/switch.py b/homeassistant/components/wirelesstag/switch.py index 4a2b64acda1d75..f455e6ef715566 100644 --- a/homeassistant/components/wirelesstag/switch.py +++ b/homeassistant/components/wirelesstag/switch.py @@ -9,7 +9,6 @@ from . import DOMAIN as WIRELESSTAG_DOMAIN, WirelessTagBaseSensor -DEPENDENCIES = ['wirelesstag'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/workday/binary_sensor.py b/homeassistant/components/workday/binary_sensor.py index b505e075018acc..2362108f13818d 100644 --- a/homeassistant/components/workday/binary_sensor.py +++ b/homeassistant/components/workday/binary_sensor.py @@ -9,7 +9,6 @@ from homeassistant.components.binary_sensor import BinarySensorDevice import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['holidays==0.9.10'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wunderlist/__init__.py b/homeassistant/components/wunderlist/__init__.py index d67cf089b5e752..8c395713ef809b 100644 --- a/homeassistant/components/wunderlist/__init__.py +++ b/homeassistant/components/wunderlist/__init__.py @@ -7,7 +7,6 @@ from homeassistant.const import ( CONF_NAME, CONF_ACCESS_TOKEN) -REQUIREMENTS = ['wunderpy2==0.1.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xbox_live/sensor.py b/homeassistant/components/xbox_live/sensor.py index 9f8a02686accb6..b81ae820fffa8f 100644 --- a/homeassistant/components/xbox_live/sensor.py +++ b/homeassistant/components/xbox_live/sensor.py @@ -8,7 +8,6 @@ from homeassistant.const import (CONF_API_KEY, STATE_UNKNOWN) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['xboxapi==0.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xeoma/camera.py b/homeassistant/components/xeoma/camera.py index dd0ee432707718..2b0180c3272f9c 100644 --- a/homeassistant/components/xeoma/camera.py +++ b/homeassistant/components/xeoma/camera.py @@ -8,7 +8,6 @@ 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__) diff --git a/homeassistant/components/xfinity/device_tracker.py b/homeassistant/components/xfinity/device_tracker.py index 04702355de7634..e842c4f3b797cf 100644 --- a/homeassistant/components/xfinity/device_tracker.py +++ b/homeassistant/components/xfinity/device_tracker.py @@ -9,7 +9,6 @@ DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST -REQUIREMENTS = ['xfinity-gateway==0.0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xiaomi/camera.py b/homeassistant/components/xiaomi/camera.py index 98e54d2bc73515..e541936ef0e700 100644 --- a/homeassistant/components/xiaomi/camera.py +++ b/homeassistant/components/xiaomi/camera.py @@ -11,7 +11,6 @@ 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 9b113170f8a751..32d7eef4ec7d79 100644 --- a/homeassistant/components/xiaomi_aqara/__init__.py +++ b/homeassistant/components/xiaomi_aqara/__init__.py @@ -16,7 +16,6 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/device_tracker.py b/homeassistant/components/xiaomi_miio/device_tracker.py index e7ea9fbbb408d9..260e4b47041952 100644 --- a/homeassistant/components/xiaomi_miio/device_tracker.py +++ b/homeassistant/components/xiaomi_miio/device_tracker.py @@ -8,7 +8,6 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/fan.py b/homeassistant/components/xiaomi_miio/fan.py index 51d4780160dacf..f1ca423ed3064a 100644 --- a/homeassistant/components/xiaomi_miio/fan.py +++ b/homeassistant/components/xiaomi_miio/fan.py @@ -13,7 +13,6 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/light.py b/homeassistant/components/xiaomi_miio/light.py index ec07a557342cca..f5cda90ce32db2 100644 --- a/homeassistant/components/xiaomi_miio/light.py +++ b/homeassistant/components/xiaomi_miio/light.py @@ -17,7 +17,6 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/remote.py b/homeassistant/components/xiaomi_miio/remote.py index 450279c18253e2..3471821ef8864f 100644 --- a/homeassistant/components/xiaomi_miio/remote.py +++ b/homeassistant/components/xiaomi_miio/remote.py @@ -17,7 +17,6 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/sensor.py b/homeassistant/components/xiaomi_miio/sensor.py index 41d3ce65b13d84..1d31590c5e0389 100644 --- a/homeassistant/components/xiaomi_miio/sensor.py +++ b/homeassistant/components/xiaomi_miio/sensor.py @@ -9,7 +9,6 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/switch.py b/homeassistant/components/xiaomi_miio/switch.py index d1acce02e47ca9..016b1543ce87da 100644 --- a/homeassistant/components/xiaomi_miio/switch.py +++ b/homeassistant/components/xiaomi_miio/switch.py @@ -12,7 +12,6 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/vacuum.py b/homeassistant/components/xiaomi_miio/vacuum.py index 2673a5b897ccab..47e8c26764e3bf 100644 --- a/homeassistant/components/xiaomi_miio/vacuum.py +++ b/homeassistant/components/xiaomi_miio/vacuum.py @@ -16,7 +16,6 @@ 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__) diff --git a/homeassistant/components/xiaomi_tv/media_player.py b/homeassistant/components/xiaomi_tv/media_player.py index 2c8a2e1ea83b70..7cabde85886dd6 100644 --- a/homeassistant/components/xiaomi_tv/media_player.py +++ b/homeassistant/components/xiaomi_tv/media_player.py @@ -10,7 +10,6 @@ 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" diff --git a/homeassistant/components/xmpp/notify.py b/homeassistant/components/xmpp/notify.py index d8036f5ee1e43a..8ee001a9ef90f6 100644 --- a/homeassistant/components/xmpp/notify.py +++ b/homeassistant/components/xmpp/notify.py @@ -17,7 +17,6 @@ from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['slixmpp==1.4.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xs1/__init__.py b/homeassistant/components/xs1/__init__.py index f67eb8fd15affc..3c2439d826a7f4 100644 --- a/homeassistant/components/xs1/__init__.py +++ b/homeassistant/components/xs1/__init__.py @@ -11,7 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['xs1-api-client==2.3.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xs1/climate.py b/homeassistant/components/xs1/climate.py index 080b87c13469a2..1d12fcc90fa6c9 100644 --- a/homeassistant/components/xs1/climate.py +++ b/homeassistant/components/xs1/climate.py @@ -8,7 +8,6 @@ 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 f5fdcf1fb34503..150c2da1f372a6 100644 --- a/homeassistant/components/xs1/sensor.py +++ b/homeassistant/components/xs1/sensor.py @@ -5,7 +5,6 @@ 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 d8b344fc716a39..030a828d25b85d 100644 --- a/homeassistant/components/xs1/switch.py +++ b/homeassistant/components/xs1/switch.py @@ -7,7 +7,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['xs1'] async def async_setup_platform( diff --git a/homeassistant/components/yale_smart_alarm/alarm_control_panel.py b/homeassistant/components/yale_smart_alarm/alarm_control_panel.py index 1a8e03a6363120..04b3987e25be3b 100755 --- a/homeassistant/components/yale_smart_alarm/alarm_control_panel.py +++ b/homeassistant/components/yale_smart_alarm/alarm_control_panel.py @@ -10,7 +10,6 @@ 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' diff --git a/homeassistant/components/yamaha/media_player.py b/homeassistant/components/yamaha/media_player.py index 53c6b466f6e3a3..834e9fc32cefd8 100644 --- a/homeassistant/components/yamaha/media_player.py +++ b/homeassistant/components/yamaha/media_player.py @@ -18,7 +18,6 @@ STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['rxv==0.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yamaha_musiccast/media_player.py b/homeassistant/components/yamaha_musiccast/media_player.py index 94002a4cc55b27..dd9f4ff9a485f9 100644 --- a/homeassistant/components/yamaha_musiccast/media_player.py +++ b/homeassistant/components/yamaha_musiccast/media_player.py @@ -15,7 +15,6 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pymusiccast==0.1.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yeelight/__init__.py b/homeassistant/components/yeelight/__init__.py index 9b9778fd5d28be..00d4a4947c1ef9 100644 --- a/homeassistant/components/yeelight/__init__.py +++ b/homeassistant/components/yeelight/__init__.py @@ -16,7 +16,6 @@ from homeassistant.helpers.dispatcher import dispatcher_send from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['yeelight==0.4.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yeelight/binary_sensor.py b/homeassistant/components/yeelight/binary_sensor.py index 0b44966f15c439..c3d734300a2c84 100644 --- a/homeassistant/components/yeelight/binary_sensor.py +++ b/homeassistant/components/yeelight/binary_sensor.py @@ -6,7 +6,6 @@ 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 8aa5c3d7300c26..f9040bab32b3a9 100644 --- a/homeassistant/components/yeelight/light.py +++ b/homeassistant/components/yeelight/light.py @@ -22,7 +22,6 @@ YEELIGHT_FLOW_TRANSITION_SCHEMA, ACTION_RECOVER, CONF_FLOW_PARAMS, ATTR_ACTION, ATTR_COUNT) -DEPENDENCIES = ['yeelight'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yeelightsunflower/light.py b/homeassistant/components/yeelightsunflower/light.py index 9252143526bfa5..96265bceb7f4b5 100644 --- a/homeassistant/components/yeelightsunflower/light.py +++ b/homeassistant/components/yeelightsunflower/light.py @@ -10,7 +10,6 @@ from homeassistant.const import CONF_HOST import homeassistant.util.color as color_util -REQUIREMENTS = ['yeelightsunflower==0.0.10'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yessssms/notify.py b/homeassistant/components/yessssms/notify.py index c229c361e2884f..7f97d4487061e4 100644 --- a/homeassistant/components/yessssms/notify.py +++ b/homeassistant/components/yessssms/notify.py @@ -9,7 +9,6 @@ from homeassistant.components.notify import (PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['YesssSMS==0.2.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yi/camera.py b/homeassistant/components/yi/camera.py index 7ed36b97868db6..0dbb42c384ea8b 100644 --- a/homeassistant/components/yi/camera.py +++ b/homeassistant/components/yi/camera.py @@ -12,8 +12,6 @@ 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 4c898a7c9fe64d..12b27fffc0d376 100644 --- a/homeassistant/components/yr/sensor.py +++ b/homeassistant/components/yr/sensor.py @@ -20,7 +20,6 @@ async_call_later) from homeassistant.util import dt as dt_util -REQUIREMENTS = ['xmltodict==0.11.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yweather/sensor.py b/homeassistant/components/yweather/sensor.py index 129532ceb57477..07877d8f270739 100644 --- a/homeassistant/components/yweather/sensor.py +++ b/homeassistant/components/yweather/sensor.py @@ -12,7 +12,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['yahooweather==0.10'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yweather/weather.py b/homeassistant/components/yweather/weather.py index e4eb34a039ac62..9203813a38b882 100644 --- a/homeassistant/components/yweather/weather.py +++ b/homeassistant/components/yweather/weather.py @@ -10,7 +10,6 @@ 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__) diff --git a/homeassistant/components/zabbix/__init__.py b/homeassistant/components/zabbix/__init__.py index f33c60b1c3930b..00e7ceafca3bef 100644 --- a/homeassistant/components/zabbix/__init__.py +++ b/homeassistant/components/zabbix/__init__.py @@ -8,7 +8,6 @@ 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__) diff --git a/homeassistant/components/zabbix/sensor.py b/homeassistant/components/zabbix/sensor.py index ae2e70ede2c426..52f5cbde900b85 100644 --- a/homeassistant/components/zabbix/sensor.py +++ b/homeassistant/components/zabbix/sensor.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zabbix'] _CONF_TRIGGERS = 'triggers' _CONF_HOSTIDS = 'hostids' diff --git a/homeassistant/components/zengge/light.py b/homeassistant/components/zengge/light.py index 8bbd56a483ec12..f98ccd1783107c 100644 --- a/homeassistant/components/zengge/light.py +++ b/homeassistant/components/zengge/light.py @@ -10,7 +10,6 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['zengge==0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/zeroconf/__init__.py b/homeassistant/components/zeroconf/__init__.py index 844246528a60db..76a541432090f5 100644 --- a/homeassistant/components/zeroconf/__init__.py +++ b/homeassistant/components/zeroconf/__init__.py @@ -7,11 +7,9 @@ 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 f69e3b16ebe584..75ea361c379d62 100644 --- a/homeassistant/components/zestimate/sensor.py +++ b/homeassistant/components/zestimate/sensor.py @@ -12,7 +12,6 @@ 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 08362eba082845..37a36cd2c6c442 100644 --- a/homeassistant/components/zha/__init__.py +++ b/homeassistant/components/zha/__init__.py @@ -20,13 +20,6 @@ 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 b4254eb83e7a49..a029efde5fc1ad 100644 --- a/homeassistant/components/zha/binary_sensor.py +++ b/homeassistant/components/zha/binary_sensor.py @@ -14,7 +14,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zha'] # Zigbee Cluster Library Zone Type to Home Assistant device class CLASS_MAPPING = { diff --git a/homeassistant/components/zha/fan.py b/homeassistant/components/zha/fan.py index b80834af1d7d20..89aa6d4b693b4b 100644 --- a/homeassistant/components/zha/fan.py +++ b/homeassistant/components/zha/fan.py @@ -12,7 +12,6 @@ ) from .entity import ZhaEntity -DEPENDENCIES = ['zha'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/zha/light.py b/homeassistant/components/zha/light.py index 12bc12c5f6edb1..a714bc792318a2 100644 --- a/homeassistant/components/zha/light.py +++ b/homeassistant/components/zha/light.py @@ -17,7 +17,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zha'] DEFAULT_DURATION = 5 diff --git a/homeassistant/components/zha/sensor.py b/homeassistant/components/zha/sensor.py index 13932d7dd7ab1b..a4a4d1b8cd832e 100644 --- a/homeassistant/components/zha/sensor.py +++ b/homeassistant/components/zha/sensor.py @@ -16,7 +16,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zha'] # Formatter functions diff --git a/homeassistant/components/zha/switch.py b/homeassistant/components/zha/switch.py index 34c9ab2514d003..c81307dfe913da 100644 --- a/homeassistant/components/zha/switch.py +++ b/homeassistant/components/zha/switch.py @@ -13,7 +13,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zha'] async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/zhong_hong/climate.py b/homeassistant/components/zhong_hong/climate.py index 7fd2b971009e17..753448b8400578 100644 --- a/homeassistant/components/zhong_hong/climate.py +++ b/homeassistant/components/zhong_hong/climate.py @@ -14,7 +14,6 @@ from homeassistant.helpers.dispatcher import (async_dispatcher_connect, async_dispatcher_send) -REQUIREMENTS = ['zhong_hong_hvac==1.0.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/zigbee/__init__.py b/homeassistant/components/zigbee/__init__.py index 0e2d3587829c92..6f399e9f3d46b1 100644 --- a/homeassistant/components/zigbee/__init__.py +++ b/homeassistant/components/zigbee/__init__.py @@ -11,7 +11,6 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_connect, dispatcher_send) -REQUIREMENTS = ['xbee-helper==0.0.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/zigbee/binary_sensor.py b/homeassistant/components/zigbee/binary_sensor.py index ccf4e70df34a18..97ddd0287c71c8 100644 --- a/homeassistant/components/zigbee/binary_sensor.py +++ b/homeassistant/components/zigbee/binary_sensor.py @@ -8,7 +8,6 @@ CONF_ON_STATE = 'on_state' DEFAULT_ON_STATE = 'high' -DEPENDENCIES = ['zigbee'] STATES = ['high', 'low'] diff --git a/homeassistant/components/zigbee/light.py b/homeassistant/components/zigbee/light.py index b9be0d893239d0..8abf1dd8ba3950 100644 --- a/homeassistant/components/zigbee/light.py +++ b/homeassistant/components/zigbee/light.py @@ -8,7 +8,6 @@ CONF_ON_STATE = 'on_state' DEFAULT_ON_STATE = 'high' -DEPENDENCIES = ['zigbee'] STATES = ['high', 'low'] diff --git a/homeassistant/components/zigbee/sensor.py b/homeassistant/components/zigbee/sensor.py index 48301ac9728ee5..712b80376c5f5f 100644 --- a/homeassistant/components/zigbee/sensor.py +++ b/homeassistant/components/zigbee/sensor.py @@ -16,7 +16,6 @@ CONF_MAX_VOLTS = 'max_volts' DEFAULT_VOLTS = 1.2 -DEPENDENCIES = ['zigbee'] TYPES = ['analog', 'temperature'] diff --git a/homeassistant/components/zigbee/switch.py b/homeassistant/components/zigbee/switch.py index ddfd47a047e9c6..26a9e8fac835c3 100644 --- a/homeassistant/components/zigbee/switch.py +++ b/homeassistant/components/zigbee/switch.py @@ -5,12 +5,10 @@ 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 574d08e97a4504..e9474baf50cc50 100644 --- a/homeassistant/components/ziggo_mediabox_xl/media_player.py +++ b/homeassistant/components/ziggo_mediabox_xl/media_player.py @@ -14,7 +14,6 @@ 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__) diff --git a/homeassistant/components/zoneminder/__init__.py b/homeassistant/components/zoneminder/__init__.py index a4d90d523aacca..cb5fb3ed254369 100644 --- a/homeassistant/components/zoneminder/__init__.py +++ b/homeassistant/components/zoneminder/__init__.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['zm-py==0.3.3'] CONF_PATH_ZMS = 'path_zms' diff --git a/homeassistant/components/zoneminder/binary_sensor.py b/homeassistant/components/zoneminder/binary_sensor.py index ce59d4573bea1d..41484a1d8b2947 100644 --- a/homeassistant/components/zoneminder/binary_sensor.py +++ b/homeassistant/components/zoneminder/binary_sensor.py @@ -3,7 +3,6 @@ from . import DOMAIN as ZONEMINDER_DOMAIN -DEPENDENCIES = ['zoneminder'] async def async_setup_platform( diff --git a/homeassistant/components/zoneminder/camera.py b/homeassistant/components/zoneminder/camera.py index fe3333fa3ed274..669c25111aec82 100644 --- a/homeassistant/components/zoneminder/camera.py +++ b/homeassistant/components/zoneminder/camera.py @@ -9,7 +9,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zoneminder'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/zoneminder/sensor.py b/homeassistant/components/zoneminder/sensor.py index e205d921422be2..778a9497f14b23 100644 --- a/homeassistant/components/zoneminder/sensor.py +++ b/homeassistant/components/zoneminder/sensor.py @@ -12,7 +12,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zoneminder'] CONF_INCLUDE_ARCHIVED = "include_archived" diff --git a/homeassistant/components/zoneminder/switch.py b/homeassistant/components/zoneminder/switch.py index 78e72c5fd4a88f..fcc29b7cc80f08 100644 --- a/homeassistant/components/zoneminder/switch.py +++ b/homeassistant/components/zoneminder/switch.py @@ -11,7 +11,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zoneminder'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_COMMAND_ON): cv.string, diff --git a/homeassistant/components/zwave/__init__.py b/homeassistant/components/zwave/__init__.py index 6028e5547c6c79..ae19951e7db56f 100644 --- a/homeassistant/components/zwave/__init__.py +++ b/homeassistant/components/zwave/__init__.py @@ -37,7 +37,6 @@ 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__) From f59496b68ab6978adc4d442527837862193d0ebb Mon Sep 17 00:00:00 2001 From: Tobias Sauerwein Date: Fri, 12 Apr 2019 14:01:19 +0200 Subject: [PATCH 4/8] Revert "Remove dependencies and requirements" This reverts commit 391355ee2cc53cbe6954f940062b18ae34b05621. --- homeassistant/components/abode/__init__.py | 1 + .../components/abode/alarm_control_panel.py | 1 + homeassistant/components/abode/binary_sensor.py | 1 + homeassistant/components/abode/camera.py | 1 + homeassistant/components/abode/cover.py | 1 + homeassistant/components/abode/light.py | 1 + homeassistant/components/abode/lock.py | 1 + homeassistant/components/abode/sensor.py | 1 + homeassistant/components/abode/switch.py | 1 + .../components/acer_projector/switch.py | 1 + homeassistant/components/ads/__init__.py | 1 + homeassistant/components/ads/binary_sensor.py | 1 + homeassistant/components/ads/light.py | 1 + homeassistant/components/ads/sensor.py | 1 + homeassistant/components/ads/switch.py | 1 + homeassistant/components/aftership/sensor.py | 1 + homeassistant/components/airvisual/sensor.py | 1 + .../components/aladdin_connect/cover.py | 1 + .../components/alarmdecoder/__init__.py | 1 + .../alarmdecoder/alarm_control_panel.py | 1 + .../components/alarmdecoder/binary_sensor.py | 1 + homeassistant/components/alarmdecoder/sensor.py | 1 + .../alarmdotcom/alarm_control_panel.py | 1 + homeassistant/components/alexa/__init__.py | 1 + .../components/alpha_vantage/sensor.py | 1 + homeassistant/components/amazon_polly/tts.py | 1 + .../components/ambient_station/__init__.py | 1 + .../components/ambient_station/binary_sensor.py | 1 + .../components/ambient_station/sensor.py | 1 + homeassistant/components/amcrest/__init__.py | 2 ++ .../components/amcrest/binary_sensor.py | 1 + homeassistant/components/amcrest/camera.py | 1 + homeassistant/components/amcrest/sensor.py | 1 + homeassistant/components/amcrest/switch.py | 1 + homeassistant/components/ampio/air_quality.py | 1 + .../components/android_ip_webcam/__init__.py | 1 + .../android_ip_webcam/binary_sensor.py | 1 + .../components/android_ip_webcam/sensor.py | 1 + .../components/android_ip_webcam/switch.py | 1 + .../components/androidtv/media_player.py | 1 + homeassistant/components/anel_pwrctrl/switch.py | 1 + .../components/anthemav/media_player.py | 1 + homeassistant/components/apcupsd/__init__.py | 1 + .../components/apcupsd/binary_sensor.py | 1 + homeassistant/components/apcupsd/sensor.py | 1 + homeassistant/components/api/__init__.py | 1 + homeassistant/components/apns/notify.py | 1 + homeassistant/components/apple_tv/__init__.py | 1 + .../components/apple_tv/media_player.py | 1 + homeassistant/components/apple_tv/remote.py | 1 + homeassistant/components/aqualogic/__init__.py | 1 + homeassistant/components/aqualogic/sensor.py | 1 + homeassistant/components/aqualogic/switch.py | 1 + .../components/aquostv/media_player.py | 1 + homeassistant/components/arduino/__init__.py | 1 + homeassistant/components/arduino/sensor.py | 1 + homeassistant/components/arduino/switch.py | 1 + homeassistant/components/arlo/__init__.py | 1 + .../components/arlo/alarm_control_panel.py | 1 + homeassistant/components/arlo/camera.py | 1 + homeassistant/components/arlo/sensor.py | 1 + .../components/aruba/device_tracker.py | 1 + homeassistant/components/arwn/sensor.py | 1 + .../components/asterisk_cdr/mailbox.py | 1 + .../components/asterisk_mbox/__init__.py | 1 + .../components/asterisk_mbox/mailbox.py | 1 + homeassistant/components/asuswrt/__init__.py | 1 + .../components/asuswrt/device_tracker.py | 1 + homeassistant/components/asuswrt/sensor.py | 1 + homeassistant/components/august/__init__.py | 1 + .../components/august/binary_sensor.py | 1 + homeassistant/components/august/camera.py | 1 + homeassistant/components/august/lock.py | 1 + homeassistant/components/auth/__init__.py | 1 + .../components/automatic/device_tracker.py | 2 ++ homeassistant/components/automation/__init__.py | 1 + homeassistant/components/automation/litejet.py | 1 + homeassistant/components/automation/mqtt.py | 1 + homeassistant/components/avion/light.py | 1 + homeassistant/components/awair/sensor.py | 1 + homeassistant/components/aws/__init__.py | 1 + homeassistant/components/aws/notify.py | 1 + homeassistant/components/axis/__init__.py | 1 + homeassistant/components/axis/binary_sensor.py | 1 + homeassistant/components/axis/camera.py | 1 + homeassistant/components/baidu/tts.py | 1 + homeassistant/components/bbb_gpio/__init__.py | 1 + .../components/bbb_gpio/binary_sensor.py | 1 + homeassistant/components/bbb_gpio/switch.py | 1 + homeassistant/components/bbox/device_tracker.py | 1 + homeassistant/components/bbox/sensor.py | 1 + homeassistant/components/bh1750/sensor.py | 2 ++ homeassistant/components/bitcoin/sensor.py | 1 + .../components/blackbird/media_player.py | 1 + homeassistant/components/blink/__init__.py | 1 + .../components/blink/alarm_control_panel.py | 1 + homeassistant/components/blink/binary_sensor.py | 1 + homeassistant/components/blink/camera.py | 1 + homeassistant/components/blink/sensor.py | 1 + .../components/blinksticklight/light.py | 1 + homeassistant/components/blinkt/light.py | 1 + homeassistant/components/blockchain/sensor.py | 1 + .../components/bloomsky/binary_sensor.py | 1 + homeassistant/components/bloomsky/camera.py | 1 + homeassistant/components/bloomsky/sensor.py | 1 + .../components/bluesound/media_player.py | 1 + .../bluetooth_le_tracker/device_tracker.py | 1 + .../bluetooth_tracker/device_tracker.py | 1 + homeassistant/components/bme280/sensor.py | 2 ++ homeassistant/components/bme680/sensor.py | 2 ++ .../components/bmw_connected_drive/__init__.py | 1 + .../bmw_connected_drive/binary_sensor.py | 1 + .../bmw_connected_drive/device_tracker.py | 1 + .../components/bmw_connected_drive/lock.py | 1 + .../components/bmw_connected_drive/sensor.py | 1 + homeassistant/components/bom/camera.py | 1 + .../components/braviatv/media_player.py | 1 + homeassistant/components/broadlink/sensor.py | 1 + homeassistant/components/broadlink/switch.py | 1 + .../components/brottsplatskartan/sensor.py | 1 + homeassistant/components/brunt/cover.py | 1 + .../components/bt_home_hub_5/device_tracker.py | 1 + .../components/bt_smarthub/device_tracker.py | 1 + homeassistant/components/buienradar/sensor.py | 1 + homeassistant/components/buienradar/weather.py | 1 + homeassistant/components/caldav/calendar.py | 1 + homeassistant/components/calendar/__init__.py | 1 + homeassistant/components/camera/__init__.py | 1 + homeassistant/components/canary/__init__.py | 1 + .../components/canary/alarm_control_panel.py | 1 + homeassistant/components/canary/camera.py | 1 + homeassistant/components/canary/sensor.py | 1 + homeassistant/components/cast/__init__.py | 1 + .../components/channels/media_player.py | 1 + .../components/cisco_ios/device_tracker.py | 1 + .../cisco_mobility_express/device_tracker.py | 1 + .../components/cisco_webex_teams/notify.py | 1 + homeassistant/components/ciscospark/notify.py | 1 + .../components/clementine/media_player.py | 1 + homeassistant/components/cloud/__init__.py | 2 ++ homeassistant/components/cloud/binary_sensor.py | 1 + homeassistant/components/cloudflare/__init__.py | 1 + homeassistant/components/cmus/media_player.py | 1 + homeassistant/components/co2signal/sensor.py | 1 + homeassistant/components/coinbase/__init__.py | 1 + homeassistant/components/coinbase/sensor.py | 1 + .../components/coinmarketcap/sensor.py | 1 + .../components/comfoconnect/__init__.py | 1 + homeassistant/components/comfoconnect/fan.py | 1 + homeassistant/components/comfoconnect/sensor.py | 1 + .../concord232/alarm_control_panel.py | 1 + .../components/concord232/binary_sensor.py | 1 + homeassistant/components/config/__init__.py | 1 + .../components/conversation/__init__.py | 1 + homeassistant/components/coolmaster/climate.py | 1 + homeassistant/components/cover/__init__.py | 1 + .../components/cppm_tracker/device_tracker.py | 1 + homeassistant/components/cpuspeed/sensor.py | 1 + homeassistant/components/crimereports/sensor.py | 1 + homeassistant/components/cups/sensor.py | 1 + homeassistant/components/daikin/__init__.py | 1 + .../components/danfoss_air/__init__.py | 1 + homeassistant/components/darksky/sensor.py | 1 + homeassistant/components/darksky/weather.py | 1 + homeassistant/components/datadog/__init__.py | 1 + homeassistant/components/deconz/__init__.py | 1 + .../components/deconz/binary_sensor.py | 1 + homeassistant/components/deconz/climate.py | 1 + homeassistant/components/deconz/cover.py | 1 + homeassistant/components/deconz/light.py | 1 + homeassistant/components/deconz/scene.py | 1 + homeassistant/components/deconz/sensor.py | 1 + homeassistant/components/deconz/switch.py | 1 + homeassistant/components/decora/light.py | 1 + homeassistant/components/decora_wifi/light.py | 1 + .../components/default_config/__init__.py | 17 +++++++++++++++++ homeassistant/components/deluge/sensor.py | 1 + homeassistant/components/deluge/switch.py | 1 + homeassistant/components/demo/__init__.py | 1 + .../components/denonavr/media_player.py | 1 + .../components/deutsche_bahn/sensor.py | 1 + .../device_sun_light_trigger/__init__.py | 1 + .../components/device_tracker/__init__.py | 1 + homeassistant/components/dht/sensor.py | 1 + homeassistant/components/dialogflow/__init__.py | 1 + .../components/digital_ocean/__init__.py | 1 + .../components/digital_ocean/binary_sensor.py | 1 + .../components/digital_ocean/switch.py | 1 + .../components/digitalloggers/switch.py | 1 + .../components/directv/media_player.py | 1 + homeassistant/components/discogs/sensor.py | 1 + homeassistant/components/discord/notify.py | 1 + homeassistant/components/discovery/__init__.py | 1 + .../dlib_face_detect/image_processing.py | 1 + .../dlib_face_identify/image_processing.py | 1 + homeassistant/components/dlink/switch.py | 1 + .../components/dlna_dmr/media_player.py | 1 + homeassistant/components/dnsip/sensor.py | 1 + homeassistant/components/dominos/__init__.py | 2 ++ homeassistant/components/doorbird/__init__.py | 1 + homeassistant/components/doorbird/camera.py | 1 + homeassistant/components/doorbird/switch.py | 1 + homeassistant/components/dovado/__init__.py | 1 + homeassistant/components/dovado/notify.py | 1 + homeassistant/components/dovado/sensor.py | 1 + homeassistant/components/dsmr/sensor.py | 1 + homeassistant/components/duke_energy/sensor.py | 1 + homeassistant/components/dunehd/media_player.py | 1 + homeassistant/components/dweet/__init__.py | 1 + homeassistant/components/dweet/sensor.py | 1 + homeassistant/components/dyson/__init__.py | 1 + homeassistant/components/dyson/fan.py | 1 + homeassistant/components/dyson/sensor.py | 1 + homeassistant/components/dyson/vacuum.py | 1 + homeassistant/components/ebox/sensor.py | 1 + homeassistant/components/ebusd/__init__.py | 1 + homeassistant/components/ebusd/sensor.py | 1 + .../components/ecoal_boiler/__init__.py | 1 + homeassistant/components/ecoal_boiler/sensor.py | 1 + homeassistant/components/ecoal_boiler/switch.py | 1 + homeassistant/components/ecobee/__init__.py | 1 + .../components/ecobee/binary_sensor.py | 1 + homeassistant/components/ecobee/climate.py | 1 + homeassistant/components/ecobee/notify.py | 1 + homeassistant/components/ecobee/sensor.py | 1 + homeassistant/components/ecobee/weather.py | 1 + homeassistant/components/econet/water_heater.py | 1 + homeassistant/components/ecovacs/__init__.py | 1 + homeassistant/components/ecovacs/vacuum.py | 1 + .../components/eddystone_temperature/sensor.py | 1 + homeassistant/components/edimax/switch.py | 1 + homeassistant/components/edp_redy/__init__.py | 1 + homeassistant/components/edp_redy/sensor.py | 1 + homeassistant/components/edp_redy/switch.py | 1 + .../components/ee_brightbox/device_tracker.py | 1 + homeassistant/components/egardia/__init__.py | 1 + .../components/egardia/alarm_control_panel.py | 1 + .../components/egardia/binary_sensor.py | 1 + .../components/eight_sleep/__init__.py | 1 + .../components/eight_sleep/binary_sensor.py | 1 + homeassistant/components/eight_sleep/sensor.py | 1 + homeassistant/components/eliqonline/sensor.py | 1 + homeassistant/components/elkm1/__init__.py | 1 + .../components/elkm1/alarm_control_panel.py | 1 + homeassistant/components/elkm1/climate.py | 1 + homeassistant/components/elkm1/light.py | 1 + homeassistant/components/elkm1/scene.py | 1 + homeassistant/components/elkm1/sensor.py | 1 + homeassistant/components/elkm1/switch.py | 1 + homeassistant/components/emby/media_player.py | 1 + .../components/emulated_roku/__init__.py | 1 + .../components/enigma2/media_player.py | 1 + homeassistant/components/enocean/__init__.py | 1 + .../components/enocean/binary_sensor.py | 1 + homeassistant/components/enocean/light.py | 1 + homeassistant/components/enocean/sensor.py | 1 + homeassistant/components/enocean/switch.py | 1 + .../components/enphase_envoy/sensor.py | 1 + .../components/entur_public_transport/sensor.py | 1 + homeassistant/components/envirophat/sensor.py | 2 ++ homeassistant/components/envisalink/__init__.py | 1 + .../envisalink/alarm_control_panel.py | 1 + .../components/envisalink/binary_sensor.py | 1 + homeassistant/components/envisalink/sensor.py | 1 + homeassistant/components/ephember/climate.py | 1 + homeassistant/components/epson/media_player.py | 1 + homeassistant/components/eq3btsmart/climate.py | 1 + homeassistant/components/esphome/__init__.py | 1 + .../components/esphome/binary_sensor.py | 1 + homeassistant/components/esphome/camera.py | 1 + homeassistant/components/esphome/climate.py | 1 + homeassistant/components/esphome/cover.py | 1 + homeassistant/components/esphome/fan.py | 1 + homeassistant/components/esphome/light.py | 1 + homeassistant/components/esphome/sensor.py | 1 + homeassistant/components/esphome/switch.py | 1 + homeassistant/components/etherscan/sensor.py | 1 + homeassistant/components/eufy/__init__.py | 1 + homeassistant/components/eufy/light.py | 1 + homeassistant/components/eufy/switch.py | 1 + homeassistant/components/everlights/light.py | 1 + homeassistant/components/evohome/__init__.py | 1 + homeassistant/components/familyhub/camera.py | 1 + homeassistant/components/fan/__init__.py | 1 + homeassistant/components/fastdotcom/__init__.py | 1 + homeassistant/components/fastdotcom/sensor.py | 1 + homeassistant/components/fedex/sensor.py | 1 + homeassistant/components/feedreader/__init__.py | 1 + homeassistant/components/ffmpeg/__init__.py | 1 + homeassistant/components/ffmpeg/camera.py | 1 + .../components/ffmpeg_motion/binary_sensor.py | 1 + .../components/ffmpeg_noise/binary_sensor.py | 1 + homeassistant/components/fibaro/__init__.py | 1 + .../components/fibaro/binary_sensor.py | 1 + homeassistant/components/fibaro/climate.py | 1 + homeassistant/components/fibaro/cover.py | 1 + homeassistant/components/fibaro/light.py | 1 + homeassistant/components/fibaro/scene.py | 1 + homeassistant/components/fibaro/sensor.py | 1 + homeassistant/components/fibaro/switch.py | 1 + homeassistant/components/fido/sensor.py | 1 + homeassistant/components/fints/sensor.py | 1 + homeassistant/components/fitbit/sensor.py | 2 ++ homeassistant/components/fixer/sensor.py | 1 + homeassistant/components/flexit/climate.py | 2 ++ homeassistant/components/flic/binary_sensor.py | 1 + homeassistant/components/flunearyou/sensor.py | 1 + homeassistant/components/flux/switch.py | 1 + homeassistant/components/flux_led/light.py | 1 + .../components/folder_watcher/__init__.py | 1 + homeassistant/components/foobot/sensor.py | 1 + homeassistant/components/foscam/camera.py | 1 + homeassistant/components/foursquare/__init__.py | 1 + homeassistant/components/free_mobile/notify.py | 1 + homeassistant/components/freebox/__init__.py | 1 + .../components/freebox/device_tracker.py | 1 + homeassistant/components/freebox/sensor.py | 1 + homeassistant/components/freebox/switch.py | 1 + .../components/fritz/device_tracker.py | 1 + homeassistant/components/fritzbox/__init__.py | 1 + .../components/fritzbox/binary_sensor.py | 1 + homeassistant/components/fritzbox/climate.py | 1 + homeassistant/components/fritzbox/sensor.py | 1 + homeassistant/components/fritzbox/switch.py | 1 + .../components/fritzbox_callmonitor/sensor.py | 1 + .../components/fritzbox_netmonitor/sensor.py | 1 + homeassistant/components/fritzdect/switch.py | 1 + homeassistant/components/frontend/__init__.py | 3 +++ .../components/frontier_silicon/media_player.py | 1 + homeassistant/components/futurenow/light.py | 1 + homeassistant/components/gc100/__init__.py | 1 + homeassistant/components/gc100/binary_sensor.py | 1 + homeassistant/components/gc100/switch.py | 1 + homeassistant/components/gearbest/sensor.py | 1 + homeassistant/components/geizhals/sensor.py | 1 + .../components/generic_thermostat/climate.py | 1 + .../components/geo_json_events/geo_location.py | 1 + .../components/geo_rss_events/sensor.py | 1 + homeassistant/components/geofency/__init__.py | 1 + .../components/geofency/device_tracker.py | 1 + homeassistant/components/github/sensor.py | 1 + homeassistant/components/gitlab_ci/sensor.py | 1 + homeassistant/components/gitter/sensor.py | 1 + homeassistant/components/glances/sensor.py | 1 + homeassistant/components/gntp/notify.py | 1 + homeassistant/components/goalfeed/__init__.py | 1 + homeassistant/components/gogogate2/cover.py | 1 + homeassistant/components/google/__init__.py | 5 +++++ homeassistant/components/google/tts.py | 1 + .../components/google_assistant/__init__.py | 1 + .../components/google_maps/device_tracker.py | 1 + .../components/google_pubsub/__init__.py | 1 + .../components/google_travel_time/sensor.py | 1 + homeassistant/components/googlehome/__init__.py | 1 + .../components/googlehome/device_tracker.py | 1 + homeassistant/components/googlehome/sensor.py | 1 + homeassistant/components/gpmdp/media_player.py | 1 + homeassistant/components/gpsd/sensor.py | 1 + homeassistant/components/gpslogger/__init__.py | 1 + .../components/gpslogger/device_tracker.py | 1 + .../components/greeneye_monitor/__init__.py | 1 + .../components/greeneye_monitor/sensor.py | 1 + homeassistant/components/greenwave/light.py | 1 + .../components/gstreamer/media_player.py | 1 + homeassistant/components/gtfs/sensor.py | 1 + homeassistant/components/gtt/sensor.py | 1 + homeassistant/components/habitica/__init__.py | 1 + homeassistant/components/hangouts/__init__.py | 1 + homeassistant/components/hangouts/notify.py | 1 + .../harman_kardon_avr/media_player.py | 1 + homeassistant/components/harmony/remote.py | 1 + homeassistant/components/hassio/__init__.py | 1 + homeassistant/components/hdmi_cec/__init__.py | 1 + .../components/hdmi_cec/media_player.py | 1 + homeassistant/components/hdmi_cec/switch.py | 1 + homeassistant/components/heatmiser/climate.py | 1 + homeassistant/components/heos/__init__.py | 1 + homeassistant/components/heos/media_player.py | 1 + .../components/hikvision/binary_sensor.py | 1 + homeassistant/components/hikvisioncam/switch.py | 1 + homeassistant/components/hipchat/notify.py | 1 + homeassistant/components/history/__init__.py | 1 + .../components/history_graph/__init__.py | 1 + .../components/history_stats/sensor.py | 1 + homeassistant/components/hive/__init__.py | 1 + homeassistant/components/hive/binary_sensor.py | 1 + homeassistant/components/hive/climate.py | 1 + homeassistant/components/hive/light.py | 1 + homeassistant/components/hive/sensor.py | 1 + homeassistant/components/hive/switch.py | 1 + homeassistant/components/hlk_sw16/__init__.py | 1 + homeassistant/components/hlk_sw16/switch.py | 1 + homeassistant/components/homekit/__init__.py | 1 + .../components/homekit_controller/__init__.py | 1 + .../homekit_controller/alarm_control_panel.py | 1 + .../homekit_controller/binary_sensor.py | 1 + .../components/homekit_controller/climate.py | 1 + .../components/homekit_controller/cover.py | 1 + .../components/homekit_controller/light.py | 1 + .../components/homekit_controller/lock.py | 1 + .../components/homekit_controller/sensor.py | 1 + .../components/homekit_controller/switch.py | 1 + homeassistant/components/homematic/__init__.py | 1 + .../components/homematic/binary_sensor.py | 1 + homeassistant/components/homematic/climate.py | 1 + homeassistant/components/homematic/cover.py | 1 + homeassistant/components/homematic/light.py | 1 + homeassistant/components/homematic/lock.py | 1 + homeassistant/components/homematic/notify.py | 1 + homeassistant/components/homematic/sensor.py | 1 + homeassistant/components/homematic/switch.py | 1 + .../components/homematicip_cloud/__init__.py | 1 + .../homematicip_cloud/alarm_control_panel.py | 1 + .../homematicip_cloud/binary_sensor.py | 1 + .../components/homematicip_cloud/cover.py | 1 + .../components/homematicip_cloud/light.py | 1 + .../components/homematicip_cloud/sensor.py | 1 + .../components/homematicip_cloud/switch.py | 1 + .../components/homematicip_cloud/weather.py | 1 + homeassistant/components/homeworks/__init__.py | 1 + homeassistant/components/homeworks/light.py | 1 + homeassistant/components/honeywell/climate.py | 1 + .../components/horizon/media_player.py | 1 + homeassistant/components/hp_ilo/sensor.py | 1 + homeassistant/components/html5/notify.py | 2 ++ homeassistant/components/http/__init__.py | 1 + homeassistant/components/htu21d/sensor.py | 2 ++ homeassistant/components/huawei_lte/__init__.py | 1 + .../components/huawei_lte/device_tracker.py | 1 + homeassistant/components/huawei_lte/notify.py | 1 + homeassistant/components/huawei_lte/sensor.py | 1 + homeassistant/components/hue/__init__.py | 1 + homeassistant/components/hue/light.py | 1 + .../components/hunterdouglas_powerview/scene.py | 1 + homeassistant/components/hydrawise/__init__.py | 1 + .../components/hydrawise/binary_sensor.py | 1 + homeassistant/components/hydrawise/sensor.py | 1 + homeassistant/components/hydrawise/switch.py | 1 + homeassistant/components/hydroquebec/sensor.py | 1 + .../components/ialarm/alarm_control_panel.py | 1 + .../components/icloud/device_tracker.py | 1 + .../components/idteck_prox/__init__.py | 1 + homeassistant/components/ifttt/__init__.py | 2 ++ .../components/ifttt/alarm_control_panel.py | 1 + homeassistant/components/iglo/light.py | 1 + homeassistant/components/ihc/__init__.py | 1 + homeassistant/components/ihc/binary_sensor.py | 1 + homeassistant/components/ihc/light.py | 1 + homeassistant/components/ihc/sensor.py | 1 + homeassistant/components/ihc/switch.py | 1 + .../components/image_processing/__init__.py | 1 + homeassistant/components/imap/sensor.py | 1 + homeassistant/components/influxdb/__init__.py | 1 + homeassistant/components/influxdb/sensor.py | 1 + homeassistant/components/insteon/__init__.py | 1 + .../components/insteon/binary_sensor.py | 1 + homeassistant/components/insteon/cover.py | 1 + homeassistant/components/insteon/fan.py | 1 + homeassistant/components/insteon/light.py | 1 + homeassistant/components/insteon/sensor.py | 1 + homeassistant/components/insteon/switch.py | 1 + homeassistant/components/ios/__init__.py | 1 + homeassistant/components/ios/notify.py | 1 + homeassistant/components/ios/sensor.py | 1 + homeassistant/components/iota/__init__.py | 1 + homeassistant/components/iota/sensor.py | 1 + homeassistant/components/iperf3/__init__.py | 1 + homeassistant/components/iperf3/sensor.py | 1 + homeassistant/components/ipma/weather.py | 1 + .../components/irish_rail_transport/sensor.py | 1 + .../components/islamic_prayer_times/sensor.py | 1 + homeassistant/components/iss/binary_sensor.py | 1 + homeassistant/components/isy994/__init__.py | 1 + homeassistant/components/itach/remote.py | 1 + .../components/jewish_calendar/sensor.py | 1 + .../components/joaoapps_join/__init__.py | 1 + .../components/joaoapps_join/notify.py | 1 + homeassistant/components/juicenet/__init__.py | 1 + homeassistant/components/juicenet/sensor.py | 1 + .../components/keenetic_ndms2/device_tracker.py | 1 + homeassistant/components/keyboard/__init__.py | 1 + .../components/keyboard_remote/__init__.py | 1 + homeassistant/components/kira/__init__.py | 1 + homeassistant/components/kiwi/lock.py | 1 + homeassistant/components/knx/__init__.py | 1 + homeassistant/components/knx/binary_sensor.py | 1 + homeassistant/components/knx/climate.py | 1 + homeassistant/components/knx/cover.py | 1 + homeassistant/components/knx/light.py | 1 + homeassistant/components/knx/notify.py | 1 + homeassistant/components/knx/scene.py | 1 + homeassistant/components/knx/sensor.py | 1 + homeassistant/components/knx/switch.py | 1 + homeassistant/components/kodi/media_player.py | 1 + homeassistant/components/kodi/notify.py | 1 + homeassistant/components/konnected/__init__.py | 2 ++ .../components/konnected/binary_sensor.py | 1 + homeassistant/components/konnected/sensor.py | 1 + homeassistant/components/konnected/switch.py | 1 + homeassistant/components/kwb/sensor.py | 1 + homeassistant/components/lacrosse/sensor.py | 1 + homeassistant/components/lametric/__init__.py | 1 + homeassistant/components/lametric/notify.py | 2 ++ homeassistant/components/lastfm/sensor.py | 1 + .../components/launch_library/sensor.py | 1 + homeassistant/components/lcn/__init__.py | 1 + homeassistant/components/lcn/binary_sensor.py | 1 + homeassistant/components/lcn/cover.py | 1 + homeassistant/components/lcn/light.py | 1 + homeassistant/components/lcn/sensor.py | 1 + homeassistant/components/lcn/switch.py | 1 + .../components/lg_netcast/media_player.py | 1 + .../components/lg_soundbar/media_player.py | 1 + homeassistant/components/lifx/__init__.py | 1 + homeassistant/components/lifx/light.py | 2 ++ homeassistant/components/lifx_legacy/light.py | 1 + homeassistant/components/light/__init__.py | 1 + homeassistant/components/lightwave/__init__.py | 1 + homeassistant/components/lightwave/light.py | 1 + homeassistant/components/lightwave/switch.py | 1 + homeassistant/components/limitlessled/light.py | 1 + .../components/linksys_ap/device_tracker.py | 1 + homeassistant/components/linky/sensor.py | 1 + homeassistant/components/linode/__init__.py | 1 + .../components/linode/binary_sensor.py | 1 + homeassistant/components/linode/switch.py | 1 + .../components/linux_battery/sensor.py | 1 + homeassistant/components/lirc/__init__.py | 1 + homeassistant/components/litejet/__init__.py | 1 + homeassistant/components/litejet/light.py | 1 + homeassistant/components/litejet/scene.py | 1 + homeassistant/components/litejet/switch.py | 1 + .../components/liveboxplaytv/media_player.py | 1 + homeassistant/components/locative/__init__.py | 1 + .../components/locative/device_tracker.py | 1 + homeassistant/components/lock/__init__.py | 1 + homeassistant/components/logbook/__init__.py | 1 + .../components/logi_circle/__init__.py | 1 + homeassistant/components/logi_circle/camera.py | 1 + homeassistant/components/logi_circle/sensor.py | 1 + .../components/london_underground/sensor.py | 1 + homeassistant/components/loopenergy/sensor.py | 1 + homeassistant/components/luci/device_tracker.py | 1 + homeassistant/components/luftdaten/__init__.py | 1 + homeassistant/components/luftdaten/sensor.py | 1 + homeassistant/components/lupusec/__init__.py | 1 + .../components/lupusec/alarm_control_panel.py | 1 + .../components/lupusec/binary_sensor.py | 1 + homeassistant/components/lupusec/switch.py | 1 + homeassistant/components/lutron/__init__.py | 1 + homeassistant/components/lutron/cover.py | 1 + homeassistant/components/lutron/light.py | 1 + homeassistant/components/lutron/scene.py | 1 + homeassistant/components/lutron/switch.py | 1 + .../components/lutron_caseta/__init__.py | 1 + homeassistant/components/lutron_caseta/cover.py | 1 + homeassistant/components/lutron_caseta/light.py | 1 + homeassistant/components/lutron_caseta/scene.py | 1 + .../components/lutron_caseta/switch.py | 1 + homeassistant/components/lw12wifi/light.py | 1 + homeassistant/components/lyft/sensor.py | 1 + homeassistant/components/magicseaweed/sensor.py | 1 + homeassistant/components/mailbox/__init__.py | 1 + homeassistant/components/mailgun/__init__.py | 1 + homeassistant/components/mailgun/notify.py | 2 ++ .../manual_mqtt/alarm_control_panel.py | 1 + homeassistant/components/mastodon/notify.py | 1 + homeassistant/components/matrix/__init__.py | 1 + homeassistant/components/matrix/notify.py | 1 + homeassistant/components/maxcube/__init__.py | 1 + .../components/media_extractor/__init__.py | 2 ++ .../components/media_player/__init__.py | 1 + .../components/mediaroom/media_player.py | 1 + homeassistant/components/melissa/__init__.py | 1 + homeassistant/components/melissa/climate.py | 1 + .../components/meraki/device_tracker.py | 1 + homeassistant/components/message_bird/notify.py | 1 + homeassistant/components/met/weather.py | 1 + .../components/meteo_france/__init__.py | 1 + homeassistant/components/metoffice/sensor.py | 1 + homeassistant/components/metoffice/weather.py | 1 + homeassistant/components/mfi/sensor.py | 1 + homeassistant/components/mfi/switch.py | 1 + homeassistant/components/mhz19/sensor.py | 1 + homeassistant/components/microsoft/tts.py | 1 + .../components/microsoft_face/__init__.py | 1 + .../microsoft_face_detect/image_processing.py | 1 + .../microsoft_face_identify/image_processing.py | 1 + homeassistant/components/miflora/sensor.py | 1 + .../components/mikrotik/device_tracker.py | 1 + homeassistant/components/mill/climate.py | 1 + homeassistant/components/mitemp_bt/sensor.py | 1 + homeassistant/components/mobile_app/__init__.py | 2 ++ .../components/mobile_app/binary_sensor.py | 1 + homeassistant/components/mobile_app/notify.py | 1 + homeassistant/components/mobile_app/sensor.py | 1 + homeassistant/components/mochad/__init__.py | 1 + homeassistant/components/mochad/light.py | 1 + homeassistant/components/mochad/switch.py | 1 + homeassistant/components/modbus/__init__.py | 1 + .../components/modbus/binary_sensor.py | 1 + homeassistant/components/modbus/climate.py | 1 + homeassistant/components/modbus/sensor.py | 1 + homeassistant/components/modbus/switch.py | 1 + .../components/modem_callerid/sensor.py | 1 + .../components/monoprice/media_player.py | 1 + homeassistant/components/mopar/__init__.py | 1 + homeassistant/components/mopar/lock.py | 1 + homeassistant/components/mopar/sensor.py | 1 + homeassistant/components/mopar/switch.py | 1 + homeassistant/components/mpd/media_player.py | 1 + homeassistant/components/mqtt/__init__.py | 1 + .../components/mqtt/alarm_control_panel.py | 1 + homeassistant/components/mqtt/binary_sensor.py | 1 + homeassistant/components/mqtt/camera.py | 1 + homeassistant/components/mqtt/climate.py | 1 + homeassistant/components/mqtt/cover.py | 1 + homeassistant/components/mqtt/device_tracker.py | 1 + homeassistant/components/mqtt/fan.py | 1 + homeassistant/components/mqtt/light/__init__.py | 1 + .../components/mqtt/light/schema_basic.py | 1 + .../components/mqtt/light/schema_json.py | 1 + .../components/mqtt/light/schema_template.py | 1 + homeassistant/components/mqtt/lock.py | 1 + homeassistant/components/mqtt/sensor.py | 1 + homeassistant/components/mqtt/server.py | 2 ++ homeassistant/components/mqtt/switch.py | 1 + homeassistant/components/mqtt/vacuum.py | 1 + .../components/mqtt_eventstream/__init__.py | 1 + .../components/mqtt_json/device_tracker.py | 1 + homeassistant/components/mqtt_room/sensor.py | 1 + .../components/mqtt_statestream/__init__.py | 1 + homeassistant/components/mvglive/sensor.py | 1 + homeassistant/components/mychevy/__init__.py | 1 + homeassistant/components/mycroft/__init__.py | 1 + homeassistant/components/mycroft/notify.py | 1 + homeassistant/components/myq/cover.py | 1 + homeassistant/components/mysensors/__init__.py | 1 + .../components/mystrom/binary_sensor.py | 1 + homeassistant/components/mystrom/light.py | 1 + homeassistant/components/mystrom/switch.py | 1 + .../components/mythicbeastsdns/__init__.py | 1 + homeassistant/components/n26/__init__.py | 1 + homeassistant/components/n26/sensor.py | 1 + homeassistant/components/n26/switch.py | 1 + homeassistant/components/nad/media_player.py | 1 + .../components/namecheapdns/__init__.py | 1 + homeassistant/components/nanoleaf/light.py | 1 + homeassistant/components/neato/__init__.py | 1 + homeassistant/components/neato/camera.py | 1 + homeassistant/components/neato/switch.py | 1 + homeassistant/components/neato/vacuum.py | 1 + .../components/nederlandse_spoorwegen/sensor.py | 1 + homeassistant/components/nello/lock.py | 1 + homeassistant/components/ness_alarm/__init__.py | 1 + .../ness_alarm/alarm_control_panel.py | 1 + .../components/ness_alarm/binary_sensor.py | 1 + homeassistant/components/nest/__init__.py | 1 + homeassistant/components/nest/binary_sensor.py | 1 + homeassistant/components/nest/camera.py | 1 + homeassistant/components/nest/climate.py | 1 + homeassistant/components/nest/sensor.py | 1 + homeassistant/components/netatmo/__init__.py | 2 ++ .../components/netatmo/binary_sensor.py | 1 + homeassistant/components/netatmo/camera.py | 1 + homeassistant/components/netatmo/climate.py | 1 + homeassistant/components/netatmo/sensor.py | 1 + .../components/netatmo_public/sensor.py | 1 + homeassistant/components/netdata/sensor.py | 1 + .../components/netgear/device_tracker.py | 1 + .../components/netgear_lte/__init__.py | 1 + .../components/netgear_lte/binary_sensor.py | 1 + homeassistant/components/netgear_lte/notify.py | 1 + homeassistant/components/netgear_lte/sensor.py | 1 + homeassistant/components/netio/switch.py | 2 ++ .../components/neurio_energy/sensor.py | 1 + .../components/niko_home_control/light.py | 1 + homeassistant/components/nilu/air_quality.py | 1 + .../components/nissan_leaf/__init__.py | 1 + .../components/nissan_leaf/binary_sensor.py | 1 + .../components/nissan_leaf/device_tracker.py | 1 + homeassistant/components/nissan_leaf/sensor.py | 1 + homeassistant/components/nissan_leaf/switch.py | 1 + .../components/nmap_tracker/device_tracker.py | 1 + homeassistant/components/nmbs/sensor.py | 1 + homeassistant/components/noaa_tides/sensor.py | 1 + .../components/norway_air/air_quality.py | 1 + .../components/nsw_fuel_station/sensor.py | 1 + .../nsw_rural_fire_service_feed/geo_location.py | 1 + homeassistant/components/nuheat/__init__.py | 1 + homeassistant/components/nuheat/climate.py | 1 + .../components/nuimo_controller/__init__.py | 3 +++ homeassistant/components/nuki/lock.py | 1 + homeassistant/components/nut/sensor.py | 1 + .../components/nx584/alarm_control_panel.py | 1 + homeassistant/components/nx584/binary_sensor.py | 1 + .../components/oasa_telematics/sensor.py | 1 + .../components/octoprint/binary_sensor.py | 1 + homeassistant/components/octoprint/sensor.py | 1 + homeassistant/components/oem/climate.py | 1 + homeassistant/components/ohmconnect/sensor.py | 1 + homeassistant/components/onboarding/__init__.py | 1 + homeassistant/components/onkyo/media_player.py | 1 + homeassistant/components/onvif/camera.py | 4 ++++ .../components/opencv/image_processing.py | 1 + homeassistant/components/openevse/sensor.py | 1 + .../components/openhome/media_player.py | 1 + .../components/opensensemap/air_quality.py | 1 + .../components/opentherm_gw/__init__.py | 1 + .../components/opentherm_gw/binary_sensor.py | 1 + .../components/opentherm_gw/climate.py | 1 + homeassistant/components/opentherm_gw/sensor.py | 1 + homeassistant/components/openuv/__init__.py | 1 + .../components/openuv/binary_sensor.py | 1 + homeassistant/components/openuv/sensor.py | 1 + .../components/openweathermap/sensor.py | 1 + .../components/openweathermap/weather.py | 1 + homeassistant/components/opple/light.py | 1 + homeassistant/components/orvibo/switch.py | 1 + homeassistant/components/osramlightify/light.py | 1 + homeassistant/components/otp/sensor.py | 1 + homeassistant/components/owlet/__init__.py | 1 + homeassistant/components/owntracks/__init__.py | 2 ++ .../components/owntracks/device_tracker.py | 1 + .../components/panasonic_bluray/media_player.py | 1 + .../components/panasonic_viera/media_player.py | 1 + .../components/pandora/media_player.py | 1 + .../components/panel_custom/__init__.py | 1 + .../components/panel_iframe/__init__.py | 1 + homeassistant/components/pencom/switch.py | 1 + .../components/philips_js/media_player.py | 1 + homeassistant/components/pi_hole/sensor.py | 1 + homeassistant/components/piglow/light.py | 1 + homeassistant/components/pilight/__init__.py | 1 + .../components/pilight/binary_sensor.py | 1 + homeassistant/components/pilight/sensor.py | 1 + homeassistant/components/pilight/switch.py | 1 + homeassistant/components/pjlink/media_player.py | 1 + homeassistant/components/plant/__init__.py | 1 + homeassistant/components/plex/media_player.py | 1 + homeassistant/components/plex/sensor.py | 1 + .../components/plum_lightpad/__init__.py | 1 + homeassistant/components/plum_lightpad/light.py | 1 + homeassistant/components/pocketcasts/sensor.py | 1 + homeassistant/components/point/__init__.py | 2 ++ homeassistant/components/pollen/sensor.py | 1 + homeassistant/components/postnl/sensor.py | 1 + .../components/prezzibenzina/sensor.py | 1 + homeassistant/components/proliphix/climate.py | 1 + homeassistant/components/prometheus/__init__.py | 2 ++ homeassistant/components/proximity/__init__.py | 1 + homeassistant/components/proxy/camera.py | 1 + homeassistant/components/ps4/__init__.py | 1 + homeassistant/components/ps4/media_player.py | 1 + homeassistant/components/push/camera.py | 1 + homeassistant/components/pushbullet/notify.py | 1 + homeassistant/components/pushbullet/sensor.py | 1 + homeassistant/components/pushetta/notify.py | 1 + homeassistant/components/pushover/notify.py | 1 + .../components/python_script/__init__.py | 1 + homeassistant/components/qbittorrent/sensor.py | 1 + homeassistant/components/qnap/sensor.py | 1 + .../components/qrcode/image_processing.py | 1 + .../quantum_gateway/device_tracker.py | 1 + homeassistant/components/qwikswitch/__init__.py | 1 + .../components/qwikswitch/binary_sensor.py | 1 + homeassistant/components/qwikswitch/light.py | 1 + homeassistant/components/qwikswitch/sensor.py | 1 + homeassistant/components/qwikswitch/switch.py | 1 + homeassistant/components/rachio/__init__.py | 1 + .../components/rachio/binary_sensor.py | 1 + homeassistant/components/rachio/switch.py | 1 + homeassistant/components/radiotherm/climate.py | 1 + homeassistant/components/rainbird/__init__.py | 1 + homeassistant/components/rainbird/sensor.py | 1 + homeassistant/components/rainbird/switch.py | 1 + homeassistant/components/raincloud/__init__.py | 1 + .../components/raincloud/binary_sensor.py | 1 + homeassistant/components/raincloud/sensor.py | 1 + homeassistant/components/raincloud/switch.py | 1 + .../components/rainmachine/__init__.py | 1 + .../components/rainmachine/binary_sensor.py | 1 + homeassistant/components/rainmachine/sensor.py | 1 + homeassistant/components/rainmachine/switch.py | 1 + homeassistant/components/raspihats/__init__.py | 1 + .../components/raspihats/binary_sensor.py | 1 + homeassistant/components/raspihats/switch.py | 1 + homeassistant/components/raspyrfm/switch.py | 1 + .../components/recollect_waste/sensor.py | 1 + homeassistant/components/recorder/__init__.py | 1 + homeassistant/components/recswitch/switch.py | 1 + homeassistant/components/reddit/sensor.py | 1 + homeassistant/components/rejseplanen/sensor.py | 1 + .../components/remember_the_milk/__init__.py | 1 + homeassistant/components/remote/__init__.py | 1 + homeassistant/components/rflink/__init__.py | 1 + .../components/rflink/binary_sensor.py | 1 + homeassistant/components/rflink/cover.py | 1 + homeassistant/components/rflink/light.py | 1 + homeassistant/components/rflink/sensor.py | 1 + homeassistant/components/rflink/switch.py | 1 + homeassistant/components/rfxtrx/__init__.py | 1 + .../components/rfxtrx/binary_sensor.py | 1 + homeassistant/components/rfxtrx/cover.py | 1 + homeassistant/components/rfxtrx/light.py | 1 + homeassistant/components/rfxtrx/sensor.py | 1 + homeassistant/components/rfxtrx/switch.py | 1 + homeassistant/components/ring/__init__.py | 1 + homeassistant/components/ring/binary_sensor.py | 1 + homeassistant/components/ring/camera.py | 1 + homeassistant/components/ring/sensor.py | 1 + homeassistant/components/ripple/sensor.py | 1 + .../components/ritassist/device_tracker.py | 1 + homeassistant/components/rmvtransport/sensor.py | 1 + homeassistant/components/rocketchat/notify.py | 1 + homeassistant/components/roku/__init__.py | 1 + homeassistant/components/roku/media_player.py | 1 + homeassistant/components/roku/remote.py | 1 + homeassistant/components/roomba/vacuum.py | 1 + homeassistant/components/route53/__init__.py | 1 + homeassistant/components/rova/sensor.py | 1 + homeassistant/components/rpi_gpio/__init__.py | 1 + .../components/rpi_gpio/binary_sensor.py | 1 + homeassistant/components/rpi_gpio/cover.py | 1 + homeassistant/components/rpi_gpio/switch.py | 1 + homeassistant/components/rpi_gpio_pwm/light.py | 1 + homeassistant/components/rpi_pfio/__init__.py | 1 + .../components/rpi_pfio/binary_sensor.py | 1 + homeassistant/components/rpi_pfio/switch.py | 1 + homeassistant/components/rpi_rf/switch.py | 1 + .../components/rss_feed_template/__init__.py | 1 + .../components/russound_rio/media_player.py | 1 + .../components/russound_rnet/media_player.py | 1 + homeassistant/components/ruter/sensor.py | 1 + homeassistant/components/sabnzbd/__init__.py | 1 + homeassistant/components/sabnzbd/sensor.py | 1 + .../components/samsungtv/media_player.py | 1 + .../components/satel_integra/__init__.py | 1 + .../satel_integra/alarm_control_panel.py | 1 + .../components/satel_integra/binary_sensor.py | 1 + homeassistant/components/scrape/sensor.py | 1 + homeassistant/components/script/__init__.py | 1 + homeassistant/components/scsgate/__init__.py | 1 + homeassistant/components/scsgate/cover.py | 1 + homeassistant/components/scsgate/light.py | 1 + homeassistant/components/scsgate/switch.py | 1 + homeassistant/components/season/sensor.py | 1 + homeassistant/components/sendgrid/notify.py | 1 + homeassistant/components/sense/__init__.py | 1 + homeassistant/components/sense/binary_sensor.py | 1 + homeassistant/components/sense/sensor.py | 1 + homeassistant/components/sensehat/light.py | 1 + homeassistant/components/sensehat/sensor.py | 1 + homeassistant/components/sensibo/climate.py | 1 + homeassistant/components/serial/sensor.py | 1 + homeassistant/components/serial_pm/sensor.py | 1 + homeassistant/components/sesame/lock.py | 1 + .../components/seventeentrack/sensor.py | 1 + homeassistant/components/shiftr/__init__.py | 1 + homeassistant/components/shodan/sensor.py | 1 + .../components/shopping_list/__init__.py | 1 + homeassistant/components/sht31/sensor.py | 2 ++ homeassistant/components/simplepush/notify.py | 1 + homeassistant/components/simplisafe/__init__.py | 1 + homeassistant/components/sisyphus/__init__.py | 1 + homeassistant/components/sisyphus/light.py | 1 + .../components/sisyphus/media_player.py | 1 + homeassistant/components/skybeacon/sensor.py | 1 + homeassistant/components/skybell/__init__.py | 1 + .../components/skybell/binary_sensor.py | 1 + homeassistant/components/skybell/camera.py | 1 + homeassistant/components/skybell/light.py | 1 + homeassistant/components/skybell/sensor.py | 1 + homeassistant/components/skybell/switch.py | 1 + homeassistant/components/slack/notify.py | 1 + homeassistant/components/sleepiq/__init__.py | 1 + .../components/sleepiq/binary_sensor.py | 1 + homeassistant/components/sleepiq/sensor.py | 1 + homeassistant/components/sma/sensor.py | 1 + homeassistant/components/smappee/__init__.py | 1 + homeassistant/components/smappee/sensor.py | 1 + homeassistant/components/smappee/switch.py | 1 + .../components/smartthings/__init__.py | 2 ++ .../components/smartthings/binary_sensor.py | 1 + homeassistant/components/smartthings/climate.py | 1 + homeassistant/components/smartthings/cover.py | 1 + homeassistant/components/smartthings/fan.py | 1 + homeassistant/components/smartthings/light.py | 1 + homeassistant/components/smartthings/lock.py | 1 + homeassistant/components/smartthings/scene.py | 1 + homeassistant/components/smartthings/sensor.py | 1 + homeassistant/components/smartthings/switch.py | 1 + homeassistant/components/smhi/__init__.py | 1 + homeassistant/components/smhi/weather.py | 1 + .../components/snapcast/media_player.py | 1 + homeassistant/components/snips/__init__.py | 1 + homeassistant/components/snmp/device_tracker.py | 1 + homeassistant/components/snmp/sensor.py | 1 + homeassistant/components/snmp/switch.py | 1 + homeassistant/components/sochain/sensor.py | 1 + homeassistant/components/socialblade/sensor.py | 1 + homeassistant/components/solaredge/sensor.py | 1 + .../components/somfy_mylink/__init__.py | 1 + homeassistant/components/somfy_mylink/cover.py | 1 + .../components/songpal/media_player.py | 1 + homeassistant/components/sonos/__init__.py | 1 + .../components/sony_projector/switch.py | 1 + .../components/soundtouch/media_player.py | 1 + homeassistant/components/spaceapi/__init__.py | 1 + homeassistant/components/spc/__init__.py | 1 + .../components/speedtestdotnet/__init__.py | 1 + .../components/speedtestdotnet/sensor.py | 1 + homeassistant/components/spider/__init__.py | 1 + homeassistant/components/spider/climate.py | 1 + homeassistant/components/spider/switch.py | 1 + homeassistant/components/spotcrime/sensor.py | 1 + .../components/spotify/media_player.py | 2 ++ homeassistant/components/sql/sensor.py | 1 + homeassistant/components/srp_energy/sensor.py | 1 + homeassistant/components/starlingbank/sensor.py | 1 + homeassistant/components/startca/sensor.py | 1 + homeassistant/components/statsd/__init__.py | 1 + homeassistant/components/steam_online/sensor.py | 1 + homeassistant/components/stream/__init__.py | 2 ++ homeassistant/components/stride/notify.py | 1 + .../swiss_hydrological_data/sensor.py | 1 + .../components/swiss_public_transport/sensor.py | 1 + homeassistant/components/switch/__init__.py | 1 + homeassistant/components/switchbot/switch.py | 1 + homeassistant/components/switchmate/switch.py | 1 + homeassistant/components/syncthru/sensor.py | 1 + homeassistant/components/synology/camera.py | 1 + .../components/synology_srm/device_tracker.py | 1 + homeassistant/components/synologydsm/sensor.py | 1 + .../components/system_health/__init__.py | 1 + homeassistant/components/system_log/__init__.py | 1 + .../components/systemmonitor/sensor.py | 1 + homeassistant/components/sytadin/sensor.py | 1 + homeassistant/components/tado/__init__.py | 1 + homeassistant/components/tahoma/__init__.py | 1 + .../components/tahoma/binary_sensor.py | 1 + homeassistant/components/tahoma/cover.py | 1 + homeassistant/components/tahoma/scene.py | 1 + homeassistant/components/tahoma/sensor.py | 1 + homeassistant/components/tahoma/switch.py | 1 + homeassistant/components/tank_utility/sensor.py | 3 +++ .../components/tapsaff/binary_sensor.py | 1 + homeassistant/components/tautulli/sensor.py | 1 + homeassistant/components/ted5000/sensor.py | 1 + homeassistant/components/telegram/notify.py | 1 + .../components/telegram_bot/__init__.py | 1 + .../components/telegram_bot/webhooks.py | 1 + .../components/tellduslive/__init__.py | 1 + homeassistant/components/tellstick/__init__.py | 1 + homeassistant/components/tellstick/sensor.py | 1 + homeassistant/components/temper/sensor.py | 1 + .../components/tensorflow/image_processing.py | 1 + homeassistant/components/tesla/__init__.py | 1 + homeassistant/components/tesla/binary_sensor.py | 1 + homeassistant/components/tesla/climate.py | 1 + .../components/tesla/device_tracker.py | 1 + homeassistant/components/tesla/lock.py | 1 + homeassistant/components/tesla/sensor.py | 1 + homeassistant/components/tesla/switch.py | 1 + homeassistant/components/tfiac/climate.py | 1 + .../components/thermoworks_smoke/sensor.py | 1 + .../components/thethingsnetwork/sensor.py | 1 + homeassistant/components/thingspeak/__init__.py | 1 + .../components/thinkingcleaner/sensor.py | 1 + .../components/thinkingcleaner/switch.py | 1 + homeassistant/components/tibber/__init__.py | 1 + homeassistant/components/tikteck/light.py | 1 + homeassistant/components/tile/device_tracker.py | 1 + homeassistant/components/todoist/calendar.py | 1 + homeassistant/components/tof/sensor.py | 2 ++ homeassistant/components/toon/__init__.py | 1 + homeassistant/components/toon/binary_sensor.py | 1 + homeassistant/components/toon/climate.py | 1 + homeassistant/components/toon/sensor.py | 1 + homeassistant/components/torque/sensor.py | 1 + .../totalconnect/alarm_control_panel.py | 1 + homeassistant/components/touchline/climate.py | 1 + homeassistant/components/tplink/__init__.py | 1 + .../components/tplink/device_tracker.py | 1 + homeassistant/components/tplink/light.py | 1 + homeassistant/components/tplink/switch.py | 1 + homeassistant/components/tplink_lte/__init__.py | 1 + homeassistant/components/tplink_lte/notify.py | 1 + .../components/traccar/device_tracker.py | 1 + .../components/trackr/device_tracker.py | 1 + homeassistant/components/tradfri/__init__.py | 1 + homeassistant/components/tradfri/light.py | 1 + homeassistant/components/tradfri/sensor.py | 1 + homeassistant/components/tradfri/switch.py | 1 + .../trafikverket_weatherstation/sensor.py | 1 + .../components/transmission/__init__.py | 1 + homeassistant/components/transmission/sensor.py | 1 + homeassistant/components/transmission/switch.py | 1 + .../components/transport_nsw/sensor.py | 1 + homeassistant/components/travisci/sensor.py | 1 + homeassistant/components/trend/binary_sensor.py | 1 + homeassistant/components/tts/__init__.py | 2 ++ homeassistant/components/tuya/__init__.py | 1 + homeassistant/components/tuya/climate.py | 1 + homeassistant/components/tuya/cover.py | 1 + homeassistant/components/tuya/fan.py | 1 + homeassistant/components/tuya/light.py | 1 + homeassistant/components/tuya/scene.py | 1 + homeassistant/components/tuya/switch.py | 1 + homeassistant/components/twilio/__init__.py | 2 ++ homeassistant/components/twilio_call/notify.py | 1 + homeassistant/components/twilio_sms/notify.py | 1 + homeassistant/components/twitch/sensor.py | 1 + homeassistant/components/twitter/notify.py | 1 + homeassistant/components/ubee/device_tracker.py | 1 + homeassistant/components/uber/sensor.py | 1 + homeassistant/components/unifi/__init__.py | 1 + .../components/unifi/device_tracker.py | 1 + homeassistant/components/unifi/switch.py | 1 + .../components/unifi_direct/device_tracker.py | 1 + .../components/upc_connect/device_tracker.py | 1 + homeassistant/components/upcloud/__init__.py | 1 + .../components/upcloud/binary_sensor.py | 1 + homeassistant/components/upcloud/switch.py | 1 + homeassistant/components/updater/__init__.py | 1 + homeassistant/components/upnp/__init__.py | 1 + homeassistant/components/upnp/sensor.py | 1 + homeassistant/components/ups/sensor.py | 1 + .../components/uptimerobot/binary_sensor.py | 1 + homeassistant/components/uscis/sensor.py | 1 + .../usgs_earthquakes_feed/geo_location.py | 1 + homeassistant/components/usps/__init__.py | 1 + homeassistant/components/usps/camera.py | 1 + homeassistant/components/usps/sensor.py | 1 + homeassistant/components/uvc/camera.py | 1 + homeassistant/components/vacuum/__init__.py | 1 + homeassistant/components/vasttrafik/sensor.py | 1 + homeassistant/components/velbus/__init__.py | 1 + .../components/velbus/binary_sensor.py | 1 + homeassistant/components/velbus/climate.py | 1 + homeassistant/components/velbus/cover.py | 1 + homeassistant/components/velbus/sensor.py | 1 + homeassistant/components/velbus/switch.py | 1 + homeassistant/components/velux/__init__.py | 1 + homeassistant/components/velux/cover.py | 1 + homeassistant/components/velux/scene.py | 1 + homeassistant/components/venstar/climate.py | 1 + homeassistant/components/vera/__init__.py | 1 + homeassistant/components/vera/binary_sensor.py | 1 + homeassistant/components/vera/climate.py | 1 + homeassistant/components/vera/cover.py | 1 + homeassistant/components/vera/light.py | 1 + homeassistant/components/vera/lock.py | 1 + homeassistant/components/vera/scene.py | 1 + homeassistant/components/vera/sensor.py | 1 + homeassistant/components/vera/switch.py | 1 + homeassistant/components/verisure/__init__.py | 1 + homeassistant/components/version/sensor.py | 1 + homeassistant/components/vesync/switch.py | 1 + homeassistant/components/vizio/media_player.py | 1 + homeassistant/components/vlc/media_player.py | 1 + homeassistant/components/volkszaehler/sensor.py | 1 + .../components/volvooncall/__init__.py | 1 + homeassistant/components/vultr/__init__.py | 1 + homeassistant/components/vultr/binary_sensor.py | 1 + homeassistant/components/vultr/sensor.py | 1 + homeassistant/components/vultr/switch.py | 1 + homeassistant/components/w800rf32/__init__.py | 1 + .../components/w800rf32/binary_sensor.py | 1 + .../components/wake_on_lan/__init__.py | 1 + homeassistant/components/wake_on_lan/switch.py | 1 + homeassistant/components/waqi/sensor.py | 1 + .../components/waterfurnace/__init__.py | 1 + homeassistant/components/watson_iot/__init__.py | 1 + .../components/waze_travel_time/sensor.py | 1 + homeassistant/components/webhook/__init__.py | 1 + .../components/webostv/media_player.py | 1 + homeassistant/components/webostv/notify.py | 1 + homeassistant/components/wemo/__init__.py | 1 + homeassistant/components/wemo/binary_sensor.py | 1 + homeassistant/components/wemo/fan.py | 1 + homeassistant/components/wemo/light.py | 1 + homeassistant/components/wemo/switch.py | 1 + homeassistant/components/whois/sensor.py | 1 + homeassistant/components/wink/__init__.py | 1 + .../components/wink/alarm_control_panel.py | 1 + homeassistant/components/wink/binary_sensor.py | 1 + homeassistant/components/wink/climate.py | 1 + homeassistant/components/wink/cover.py | 1 + homeassistant/components/wink/fan.py | 1 + homeassistant/components/wink/light.py | 1 + homeassistant/components/wink/lock.py | 1 + homeassistant/components/wink/scene.py | 1 + homeassistant/components/wink/sensor.py | 1 + homeassistant/components/wink/switch.py | 1 + .../components/wirelesstag/__init__.py | 1 + .../components/wirelesstag/binary_sensor.py | 1 + homeassistant/components/wirelesstag/sensor.py | 1 + homeassistant/components/wirelesstag/switch.py | 1 + .../components/workday/binary_sensor.py | 1 + homeassistant/components/wunderlist/__init__.py | 1 + homeassistant/components/xbox_live/sensor.py | 1 + homeassistant/components/xeoma/camera.py | 1 + .../components/xfinity/device_tracker.py | 1 + homeassistant/components/xiaomi/camera.py | 1 + .../components/xiaomi_aqara/__init__.py | 1 + .../components/xiaomi_miio/device_tracker.py | 1 + homeassistant/components/xiaomi_miio/fan.py | 1 + homeassistant/components/xiaomi_miio/light.py | 1 + homeassistant/components/xiaomi_miio/remote.py | 1 + homeassistant/components/xiaomi_miio/sensor.py | 1 + homeassistant/components/xiaomi_miio/switch.py | 1 + homeassistant/components/xiaomi_miio/vacuum.py | 1 + .../components/xiaomi_tv/media_player.py | 1 + homeassistant/components/xmpp/notify.py | 1 + homeassistant/components/xs1/__init__.py | 1 + homeassistant/components/xs1/climate.py | 1 + homeassistant/components/xs1/sensor.py | 1 + homeassistant/components/xs1/switch.py | 1 + .../yale_smart_alarm/alarm_control_panel.py | 1 + homeassistant/components/yamaha/media_player.py | 1 + .../components/yamaha_musiccast/media_player.py | 1 + homeassistant/components/yeelight/__init__.py | 1 + .../components/yeelight/binary_sensor.py | 1 + homeassistant/components/yeelight/light.py | 1 + .../components/yeelightsunflower/light.py | 1 + homeassistant/components/yessssms/notify.py | 1 + homeassistant/components/yi/camera.py | 2 ++ homeassistant/components/yr/sensor.py | 1 + homeassistant/components/yweather/sensor.py | 1 + homeassistant/components/yweather/weather.py | 1 + homeassistant/components/zabbix/__init__.py | 1 + homeassistant/components/zabbix/sensor.py | 1 + homeassistant/components/zengge/light.py | 1 + homeassistant/components/zeroconf/__init__.py | 2 ++ homeassistant/components/zestimate/sensor.py | 1 + homeassistant/components/zha/__init__.py | 7 +++++++ homeassistant/components/zha/binary_sensor.py | 1 + homeassistant/components/zha/fan.py | 1 + homeassistant/components/zha/light.py | 1 + homeassistant/components/zha/sensor.py | 1 + homeassistant/components/zha/switch.py | 1 + homeassistant/components/zhong_hong/climate.py | 1 + homeassistant/components/zigbee/__init__.py | 1 + .../components/zigbee/binary_sensor.py | 1 + homeassistant/components/zigbee/light.py | 1 + homeassistant/components/zigbee/sensor.py | 1 + homeassistant/components/zigbee/switch.py | 2 ++ .../ziggo_mediabox_xl/media_player.py | 1 + homeassistant/components/zoneminder/__init__.py | 1 + .../components/zoneminder/binary_sensor.py | 1 + homeassistant/components/zoneminder/camera.py | 1 + homeassistant/components/zoneminder/sensor.py | 1 + homeassistant/components/zoneminder/switch.py | 1 + homeassistant/components/zwave/__init__.py | 1 + 1155 files changed, 1225 insertions(+) diff --git a/homeassistant/components/abode/__init__.py b/homeassistant/components/abode/__init__.py index 3739eb50533349..591bae1a9cf665 100644 --- a/homeassistant/components/abode/__init__.py +++ b/homeassistant/components/abode/__init__.py @@ -13,6 +13,7 @@ from homeassistant.helpers import discovery from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['abodepy==0.15.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/abode/alarm_control_panel.py b/homeassistant/components/abode/alarm_control_panel.py index 2205d3a3b427bd..d7426e04166dc5 100644 --- a/homeassistant/components/abode/alarm_control_panel.py +++ b/homeassistant/components/abode/alarm_control_panel.py @@ -8,6 +8,7 @@ from . import ATTRIBUTION, DOMAIN as ABODE_DOMAIN, AbodeDevice +DEPENDENCIES = ['abode'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/abode/binary_sensor.py b/homeassistant/components/abode/binary_sensor.py index faf250a3b918e8..874723420ed811 100644 --- a/homeassistant/components/abode/binary_sensor.py +++ b/homeassistant/components/abode/binary_sensor.py @@ -7,6 +7,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['abode'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/abode/camera.py b/homeassistant/components/abode/camera.py index 5c4f1d12dc6baa..d37644eccc397e 100644 --- a/homeassistant/components/abode/camera.py +++ b/homeassistant/components/abode/camera.py @@ -9,6 +9,7 @@ from . import DOMAIN as ABODE_DOMAIN, AbodeDevice +DEPENDENCIES = ['abode'] MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=90) diff --git a/homeassistant/components/abode/cover.py b/homeassistant/components/abode/cover.py index fd34cfa37c19d3..c40159164dc4db 100644 --- a/homeassistant/components/abode/cover.py +++ b/homeassistant/components/abode/cover.py @@ -5,6 +5,7 @@ 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 69928687a6d63e..9e88acce41f053 100644 --- a/homeassistant/components/abode/light.py +++ b/homeassistant/components/abode/light.py @@ -10,6 +10,7 @@ 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 7fbe0c73300e93..0f568a4ace2492 100644 --- a/homeassistant/components/abode/lock.py +++ b/homeassistant/components/abode/lock.py @@ -5,6 +5,7 @@ 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 af187e19adca39..ef6941c76d8b5f 100644 --- a/homeassistant/components/abode/sensor.py +++ b/homeassistant/components/abode/sensor.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['abode'] # Sensor types: Name, icon SENSOR_TYPES = { diff --git a/homeassistant/components/abode/switch.py b/homeassistant/components/abode/switch.py index 5d7262c4f27161..3e3ce031855fd0 100644 --- a/homeassistant/components/abode/switch.py +++ b/homeassistant/components/abode/switch.py @@ -7,6 +7,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['abode'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/acer_projector/switch.py b/homeassistant/components/acer_projector/switch.py index bccd2e36fcb478..df6fb8816aae47 100644 --- a/homeassistant/components/acer_projector/switch.py +++ b/homeassistant/components/acer_projector/switch.py @@ -9,6 +9,7 @@ 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__) diff --git a/homeassistant/components/ads/__init__.py b/homeassistant/components/ads/__init__.py index ffb72b41b2cdbb..92c6ecb3335147 100644 --- a/homeassistant/components/ads/__init__.py +++ b/homeassistant/components/ads/__init__.py @@ -14,6 +14,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['pyads==3.0.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ads/binary_sensor.py b/homeassistant/components/ads/binary_sensor.py index 01916035eeb4c8..baa44cb498fe04 100644 --- a/homeassistant/components/ads/binary_sensor.py +++ b/homeassistant/components/ads/binary_sensor.py @@ -13,6 +13,7 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'ADS binary sensor' +DEPENDENCIES = ['ads'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADS_VAR): cv.string, diff --git a/homeassistant/components/ads/light.py b/homeassistant/components/ads/light.py index 5168f49acdce08..49961565dced77 100644 --- a/homeassistant/components/ads/light.py +++ b/homeassistant/components/ads/light.py @@ -12,6 +12,7 @@ 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 8e186bdcbe9db0..e74b8753d4b042 100644 --- a/homeassistant/components/ads/sensor.py +++ b/homeassistant/components/ads/sensor.py @@ -14,6 +14,7 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = "ADS sensor" +DEPENDENCIES = ['ads'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADS_VAR): cv.string, diff --git a/homeassistant/components/ads/switch.py b/homeassistant/components/ads/switch.py index 161feebddf810b..0dfbeb811a068b 100644 --- a/homeassistant/components/ads/switch.py +++ b/homeassistant/components/ads/switch.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['ads'] DEFAULT_NAME = 'ADS Switch' diff --git a/homeassistant/components/aftership/sensor.py b/homeassistant/components/aftership/sensor.py index 8148589ddd7f78..18bc3cb34304bc 100644 --- a/homeassistant/components/aftership/sensor.py +++ b/homeassistant/components/aftership/sensor.py @@ -11,6 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['pyaftership==0.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/airvisual/sensor.py b/homeassistant/components/airvisual/sensor.py index 55670020133054..7fad7bb35be0ec 100644 --- a/homeassistant/components/airvisual/sensor.py +++ b/homeassistant/components/airvisual/sensor.py @@ -13,6 +13,7 @@ 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 f92cad73f5e657..01146fecbb667c 100644 --- a/homeassistant/components/aladdin_connect/cover.py +++ b/homeassistant/components/aladdin_connect/cover.py @@ -9,6 +9,7 @@ STATE_OPENING, STATE_CLOSING, STATE_OPEN) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['aladdin_connect==0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/alarmdecoder/__init__.py b/homeassistant/components/alarmdecoder/__init__.py index 0c83183e286e6f..5b1296b39de2c3 100644 --- a/homeassistant/components/alarmdecoder/__init__.py +++ b/homeassistant/components/alarmdecoder/__init__.py @@ -10,6 +10,7 @@ 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__) diff --git a/homeassistant/components/alarmdecoder/alarm_control_panel.py b/homeassistant/components/alarmdecoder/alarm_control_panel.py index 4e325839e1e5e5..d7eced933ddbd1 100644 --- a/homeassistant/components/alarmdecoder/alarm_control_panel.py +++ b/homeassistant/components/alarmdecoder/alarm_control_panel.py @@ -13,6 +13,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['alarmdecoder'] SERVICE_ALARM_TOGGLE_CHIME = 'alarmdecoder_alarm_toggle_chime' ALARM_TOGGLE_CHIME_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/alarmdecoder/binary_sensor.py b/homeassistant/components/alarmdecoder/binary_sensor.py index 11b511f24e8c99..09e63b4d664348 100644 --- a/homeassistant/components/alarmdecoder/binary_sensor.py +++ b/homeassistant/components/alarmdecoder/binary_sensor.py @@ -8,6 +8,7 @@ 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__) diff --git a/homeassistant/components/alarmdecoder/sensor.py b/homeassistant/components/alarmdecoder/sensor.py index 3afa4a9b9de52e..88371dad17a345 100644 --- a/homeassistant/components/alarmdecoder/sensor.py +++ b/homeassistant/components/alarmdecoder/sensor.py @@ -7,6 +7,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['alarmdecoder'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/alarmdotcom/alarm_control_panel.py b/homeassistant/components/alarmdotcom/alarm_control_panel.py index facb536d4f7f0f..ea581aca747fc8 100644 --- a/homeassistant/components/alarmdotcom/alarm_control_panel.py +++ b/homeassistant/components/alarmdotcom/alarm_control_panel.py @@ -12,6 +12,7 @@ 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__) diff --git a/homeassistant/components/alexa/__init__.py b/homeassistant/components/alexa/__init__.py index ca9260609cbfe8..062d698d5122a8 100644 --- a/homeassistant/components/alexa/__init__.py +++ b/homeassistant/components/alexa/__init__.py @@ -17,6 +17,7 @@ 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, diff --git a/homeassistant/components/alpha_vantage/sensor.py b/homeassistant/components/alpha_vantage/sensor.py index d22ea3caea16ea..0eb57e5b27aeee 100644 --- a/homeassistant/components/alpha_vantage/sensor.py +++ b/homeassistant/components/alpha_vantage/sensor.py @@ -10,6 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['alpha_vantage==2.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/amazon_polly/tts.py b/homeassistant/components/amazon_polly/tts.py index 2d6c4c69184ab9..d29ae32fb5723f 100644 --- a/homeassistant/components/amazon_polly/tts.py +++ b/homeassistant/components/amazon_polly/tts.py @@ -6,6 +6,7 @@ from homeassistant.components.tts import PLATFORM_SCHEMA, Provider import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['boto3==1.9.16'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ambient_station/__init__.py b/homeassistant/components/ambient_station/__init__.py index 52b344cf9f395b..944d4e14e7d26d 100644 --- a/homeassistant/components/ambient_station/__init__.py +++ b/homeassistant/components/ambient_station/__init__.py @@ -20,6 +20,7 @@ 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__) diff --git a/homeassistant/components/ambient_station/binary_sensor.py b/homeassistant/components/ambient_station/binary_sensor.py index 4afeb4ce5563ef..04a38901683d94 100644 --- a/homeassistant/components/ambient_station/binary_sensor.py +++ b/homeassistant/components/ambient_station/binary_sensor.py @@ -12,6 +12,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['ambient_station'] async def async_setup_platform( diff --git a/homeassistant/components/ambient_station/sensor.py b/homeassistant/components/ambient_station/sensor.py index 9c52acd37c053e..b394dc558e63c6 100644 --- a/homeassistant/components/ambient_station/sensor.py +++ b/homeassistant/components/ambient_station/sensor.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['ambient_station'] async def async_setup_platform( diff --git a/homeassistant/components/amcrest/__init__.py b/homeassistant/components/amcrest/__init__.py index 9f8d78eaf214f6..a4c020efcdfa13 100644 --- a/homeassistant/components/amcrest/__init__.py +++ b/homeassistant/components/amcrest/__init__.py @@ -12,6 +12,8 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['amcrest==1.3.0'] +DEPENDENCIES = ['ffmpeg'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/amcrest/binary_sensor.py b/homeassistant/components/amcrest/binary_sensor.py index 8fefd09075d355..113918ed041c3e 100644 --- a/homeassistant/components/amcrest/binary_sensor.py +++ b/homeassistant/components/amcrest/binary_sensor.py @@ -7,6 +7,7 @@ from homeassistant.const import CONF_NAME, CONF_BINARY_SENSORS from . import DATA_AMCREST, BINARY_SENSORS +DEPENDENCIES = ['amcrest'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/amcrest/camera.py b/homeassistant/components/amcrest/camera.py index 884ea79694fae2..f361c4e0183e6b 100644 --- a/homeassistant/components/amcrest/camera.py +++ b/homeassistant/components/amcrest/camera.py @@ -12,6 +12,7 @@ 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 ee55846cc34444..119520e6a03b5e 100644 --- a/homeassistant/components/amcrest/sensor.py +++ b/homeassistant/components/amcrest/sensor.py @@ -7,6 +7,7 @@ from . import DATA_AMCREST, SENSORS +DEPENDENCIES = ['amcrest'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/amcrest/switch.py b/homeassistant/components/amcrest/switch.py index 9714c78ddaa0c5..0bbd290b3ac253 100644 --- a/homeassistant/components/amcrest/switch.py +++ b/homeassistant/components/amcrest/switch.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['amcrest'] async def async_setup_platform( diff --git a/homeassistant/components/ampio/air_quality.py b/homeassistant/components/ampio/air_quality.py index 6fd11b097150d8..f7aa98aec7c27c 100644 --- a/homeassistant/components/ampio/air_quality.py +++ b/homeassistant/components/ampio/air_quality.py @@ -11,6 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle +REQUIREMENTS = ['asmog==0.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/android_ip_webcam/__init__.py b/homeassistant/components/android_ip_webcam/__init__.py index dc0e500ffe68e4..600efd55a16a1d 100644 --- a/homeassistant/components/android_ip_webcam/__init__.py +++ b/homeassistant/components/android_ip_webcam/__init__.py @@ -21,6 +21,7 @@ from homeassistant.components.mjpeg.camera import ( CONF_MJPEG_URL, CONF_STILL_IMAGE_URL) +REQUIREMENTS = ['pydroid-ipcam==0.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/android_ip_webcam/binary_sensor.py b/homeassistant/components/android_ip_webcam/binary_sensor.py index 13ef1d7acb30e9..c058c44c5034e1 100644 --- a/homeassistant/components/android_ip_webcam/binary_sensor.py +++ b/homeassistant/components/android_ip_webcam/binary_sensor.py @@ -3,6 +3,7 @@ from . import CONF_HOST, CONF_NAME, DATA_IP_WEBCAM, KEY_MAP, AndroidIPCamEntity +DEPENDENCIES = ['android_ip_webcam'] async def async_setup_platform( diff --git a/homeassistant/components/android_ip_webcam/sensor.py b/homeassistant/components/android_ip_webcam/sensor.py index ed364d9f5ec94b..4d29493d64fba7 100644 --- a/homeassistant/components/android_ip_webcam/sensor.py +++ b/homeassistant/components/android_ip_webcam/sensor.py @@ -5,6 +5,7 @@ CONF_HOST, CONF_NAME, CONF_SENSORS, DATA_IP_WEBCAM, ICON_MAP, KEY_MAP, AndroidIPCamEntity) +DEPENDENCIES = ['android_ip_webcam'] async def async_setup_platform( diff --git a/homeassistant/components/android_ip_webcam/switch.py b/homeassistant/components/android_ip_webcam/switch.py index d21755b2f844f1..0304c5747f71ae 100644 --- a/homeassistant/components/android_ip_webcam/switch.py +++ b/homeassistant/components/android_ip_webcam/switch.py @@ -5,6 +5,7 @@ CONF_HOST, CONF_NAME, CONF_SWITCHES, DATA_IP_WEBCAM, ICON_MAP, KEY_MAP, AndroidIPCamEntity) +DEPENDENCIES = ['android_ip_webcam'] async def async_setup_platform( diff --git a/homeassistant/components/androidtv/media_player.py b/homeassistant/components/androidtv/media_player.py index 07edc55be0a12f..706ef6f8402430 100644 --- a/homeassistant/components/androidtv/media_player.py +++ b/homeassistant/components/androidtv/media_player.py @@ -18,6 +18,7 @@ ANDROIDTV_DOMAIN = 'androidtv' +REQUIREMENTS = ['androidtv==0.0.15'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/anel_pwrctrl/switch.py b/homeassistant/components/anel_pwrctrl/switch.py index c034b74b0f091f..b9b3070b97e737 100644 --- a/homeassistant/components/anel_pwrctrl/switch.py +++ b/homeassistant/components/anel_pwrctrl/switch.py @@ -10,6 +10,7 @@ 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__) diff --git a/homeassistant/components/anthemav/media_player.py b/homeassistant/components/anthemav/media_player.py index e03ac240a99f2c..c7ee579bc17cb0 100644 --- a/homeassistant/components/anthemav/media_player.py +++ b/homeassistant/components/anthemav/media_player.py @@ -13,6 +13,7 @@ STATE_ON) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['anthemav==1.1.10'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/apcupsd/__init__.py b/homeassistant/components/apcupsd/__init__.py index 8a9d121e34385c..aab6f6dda018c6 100644 --- a/homeassistant/components/apcupsd/__init__.py +++ b/homeassistant/components/apcupsd/__init__.py @@ -8,6 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle +REQUIREMENTS = ['apcaccess==0.0.13'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/apcupsd/binary_sensor.py b/homeassistant/components/apcupsd/binary_sensor.py index 06adacc00ec1e0..445dab9b0744a0 100644 --- a/homeassistant/components/apcupsd/binary_sensor.py +++ b/homeassistant/components/apcupsd/binary_sensor.py @@ -8,6 +8,7 @@ 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 1e106033b83c92..09f9b324bdd863 100644 --- a/homeassistant/components/apcupsd/sensor.py +++ b/homeassistant/components/apcupsd/sensor.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = [apcupsd.DOMAIN] SENSOR_PREFIX = 'UPS ' SENSOR_TYPES = { diff --git a/homeassistant/components/api/__init__.py b/homeassistant/components/api/__init__.py index 08c753a6193a41..beba17ee2ea03b 100644 --- a/homeassistant/components/api/__init__.py +++ b/homeassistant/components/api/__init__.py @@ -33,6 +33,7 @@ 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 863ae07f0916bb..d7f6559fe7eaad 100644 --- a/homeassistant/components/apns/notify.py +++ b/homeassistant/components/apns/notify.py @@ -13,6 +13,7 @@ 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' diff --git a/homeassistant/components/apple_tv/__init__.py b/homeassistant/components/apple_tv/__init__.py index b055a365e471e9..b265dc533eb85c 100644 --- a/homeassistant/components/apple_tv/__init__.py +++ b/homeassistant/components/apple_tv/__init__.py @@ -11,6 +11,7 @@ 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__) diff --git a/homeassistant/components/apple_tv/media_player.py b/homeassistant/components/apple_tv/media_player.py index 3122c6ab6fb107..e00ce6ed13bcd2 100644 --- a/homeassistant/components/apple_tv/media_player.py +++ b/homeassistant/components/apple_tv/media_player.py @@ -14,6 +14,7 @@ from . import ATTR_ATV, ATTR_POWER, DATA_APPLE_TV, DATA_ENTITIES +DEPENDENCIES = ['apple_tv'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/apple_tv/remote.py b/homeassistant/components/apple_tv/remote.py index 5bd5cc9afc04ea..25b500ac09d6ea 100644 --- a/homeassistant/components/apple_tv/remote.py +++ b/homeassistant/components/apple_tv/remote.py @@ -4,6 +4,7 @@ from . import ATTR_ATV, ATTR_POWER, DATA_APPLE_TV +DEPENDENCIES = ['apple_tv'] async def async_setup_platform( diff --git a/homeassistant/components/aqualogic/__init__.py b/homeassistant/components/aqualogic/__init__.py index 6ffd01e34d6a86..a4f83b573f73b7 100644 --- a/homeassistant/components/aqualogic/__init__.py +++ b/homeassistant/components/aqualogic/__init__.py @@ -11,6 +11,7 @@ EVENT_HOMEASSISTANT_STOP) from homeassistant.helpers import config_validation as cv +REQUIREMENTS = ["aqualogic==1.0"] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/aqualogic/sensor.py b/homeassistant/components/aqualogic/sensor.py index 6dc0ba9d5bc4ad..dc06a2127e941d 100644 --- a/homeassistant/components/aqualogic/sensor.py +++ b/homeassistant/components/aqualogic/sensor.py @@ -14,6 +14,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['aqualogic'] TEMP_UNITS = [TEMP_CELSIUS, TEMP_FAHRENHEIT] PERCENT_UNITS = ['%', '%'] diff --git a/homeassistant/components/aqualogic/switch.py b/homeassistant/components/aqualogic/switch.py index 97125c4f9de150..21e573f944b6d2 100644 --- a/homeassistant/components/aqualogic/switch.py +++ b/homeassistant/components/aqualogic/switch.py @@ -10,6 +10,7 @@ from . import DOMAIN, UPDATE_TOPIC +DEPENDENCIES = ['aqualogic'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/aquostv/media_player.py b/homeassistant/components/aquostv/media_player.py index bd9f5147b7b678..0ffe48d21ec61f 100644 --- a/homeassistant/components/aquostv/media_player.py +++ b/homeassistant/components/aquostv/media_player.py @@ -15,6 +15,7 @@ CONF_USERNAME, STATE_OFF, STATE_ON) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['sharp_aquos_rc==0.3.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/arduino/__init__.py b/homeassistant/components/arduino/__init__.py index f38d23b4047b1d..351122e74f0e0f 100644 --- a/homeassistant/components/arduino/__init__.py +++ b/homeassistant/components/arduino/__init__.py @@ -8,6 +8,7 @@ from homeassistant.const import CONF_PORT import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['PyMata==2.14'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/arduino/sensor.py b/homeassistant/components/arduino/sensor.py index e7674d1c471a8e..ff758ea58470b5 100644 --- a/homeassistant/components/arduino/sensor.py +++ b/homeassistant/components/arduino/sensor.py @@ -14,6 +14,7 @@ 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 d7a596b86ca529..947c5188766cd1 100644 --- a/homeassistant/components/arduino/switch.py +++ b/homeassistant/components/arduino/switch.py @@ -8,6 +8,7 @@ from homeassistant.const import CONF_NAME import homeassistant.helpers.config_validation as cv +DEPENDENCIES = ['arduino'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/arlo/__init__.py b/homeassistant/components/arlo/__init__.py index 2f0a85f2daeacb..cbb720778e5e7e 100644 --- a/homeassistant/components/arlo/__init__.py +++ b/homeassistant/components/arlo/__init__.py @@ -11,6 +11,7 @@ from homeassistant.helpers.event import track_time_interval from homeassistant.helpers.dispatcher import dispatcher_send +REQUIREMENTS = ['pyarlo==0.2.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/arlo/alarm_control_panel.py b/homeassistant/components/arlo/alarm_control_panel.py index 1cd01e30a61692..3557ed125c6cda 100644 --- a/homeassistant/components/arlo/alarm_control_panel.py +++ b/homeassistant/components/arlo/alarm_control_panel.py @@ -22,6 +22,7 @@ CONF_AWAY_MODE_NAME = 'away_mode_name' CONF_NIGHT_MODE_NAME = 'night_mode_name' +DEPENDENCIES = ['arlo'] DISARMED = 'disarmed' diff --git a/homeassistant/components/arlo/camera.py b/homeassistant/components/arlo/camera.py index f42fe007c5246a..d4b00f0062503a 100644 --- a/homeassistant/components/arlo/camera.py +++ b/homeassistant/components/arlo/camera.py @@ -13,6 +13,7 @@ from . import DATA_ARLO, DEFAULT_BRAND, SIGNAL_UPDATE_ARLO +DEPENDENCIES = ['arlo', 'ffmpeg'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/arlo/sensor.py b/homeassistant/components/arlo/sensor.py index c7e67c5ccd7c3c..e08669eb80b60e 100644 --- a/homeassistant/components/arlo/sensor.py +++ b/homeassistant/components/arlo/sensor.py @@ -17,6 +17,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['arlo'] # sensor_type [ description, unit, icon ] SENSOR_TYPES = { diff --git a/homeassistant/components/aruba/device_tracker.py b/homeassistant/components/aruba/device_tracker.py index f5b95112668fc5..ed1fee25a6c837 100644 --- a/homeassistant/components/aruba/device_tracker.py +++ b/homeassistant/components/aruba/device_tracker.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['pexpect==4.6.0'] _DEVICES_REGEX = re.compile( r'(?P([^\s]+)?)\s+' + diff --git a/homeassistant/components/arwn/sensor.py b/homeassistant/components/arwn/sensor.py index 94b552c6eba7e5..aef43c4b401556 100644 --- a/homeassistant/components/arwn/sensor.py +++ b/homeassistant/components/arwn/sensor.py @@ -10,6 +10,7 @@ _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 682d04dc553d0f..db5d4e8d6eef12 100644 --- a/homeassistant/components/asterisk_cdr/mailbox.py +++ b/homeassistant/components/asterisk_cdr/mailbox.py @@ -11,6 +11,7 @@ _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 5520e6f217178f..d8d3b194cd7f16 100644 --- a/homeassistant/components/asterisk_mbox/__init__.py +++ b/homeassistant/components/asterisk_mbox/__init__.py @@ -10,6 +10,7 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_send, dispatcher_connect) +REQUIREMENTS = ['asterisk_mbox==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/asterisk_mbox/mailbox.py b/homeassistant/components/asterisk_mbox/mailbox.py index 97182dbf7ce19a..a3e7c3f4d61c13 100644 --- a/homeassistant/components/asterisk_mbox/mailbox.py +++ b/homeassistant/components/asterisk_mbox/mailbox.py @@ -10,6 +10,7 @@ _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 1d421521cfdf1b..9b004b5bc04fc4 100644 --- a/homeassistant/components/asuswrt/__init__.py +++ b/homeassistant/components/asuswrt/__init__.py @@ -9,6 +9,7 @@ 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__) diff --git a/homeassistant/components/asuswrt/device_tracker.py b/homeassistant/components/asuswrt/device_tracker.py index 4d59b8a0fc99e6..d115e640ffa863 100644 --- a/homeassistant/components/asuswrt/device_tracker.py +++ b/homeassistant/components/asuswrt/device_tracker.py @@ -5,6 +5,7 @@ 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 774fb0d1a64992..ac80a447e28716 100644 --- a/homeassistant/components/asuswrt/sensor.py +++ b/homeassistant/components/asuswrt/sensor.py @@ -5,6 +5,7 @@ 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 ea16b377f07461..8e749dca46e5f7 100644 --- a/homeassistant/components/august/__init__.py +++ b/homeassistant/components/august/__init__.py @@ -15,6 +15,7 @@ _CONFIGURING = {} +REQUIREMENTS = ['py-august==0.7.0'] DEFAULT_TIMEOUT = 10 ACTIVITY_FETCH_LIMIT = 10 diff --git a/homeassistant/components/august/binary_sensor.py b/homeassistant/components/august/binary_sensor.py index 2a5fa9bf56d396..3a69d41177d6c5 100644 --- a/homeassistant/components/august/binary_sensor.py +++ b/homeassistant/components/august/binary_sensor.py @@ -8,6 +8,7 @@ _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 c9a2a5452fa9e1..53a9d78bc60419 100644 --- a/homeassistant/components/august/camera.py +++ b/homeassistant/components/august/camera.py @@ -7,6 +7,7 @@ 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 8a2f994bf7b542..e112eaa2592c31 100644 --- a/homeassistant/components/august/lock.py +++ b/homeassistant/components/august/lock.py @@ -9,6 +9,7 @@ _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 38db92fe3a4e94..d0157158aca6b2 100644 --- a/homeassistant/components/auth/__init__.py +++ b/homeassistant/components/auth/__init__.py @@ -138,6 +138,7 @@ 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({ diff --git a/homeassistant/components/automatic/device_tracker.py b/homeassistant/components/automatic/device_tracker.py index 44086f868fba88..8abd81e63bea6d 100644 --- a/homeassistant/components/automatic/device_tracker.py +++ b/homeassistant/components/automatic/device_tracker.py @@ -18,6 +18,7 @@ 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__) @@ -33,6 +34,7 @@ DATA_REFRESH_TOKEN = 'refresh_token' DEFAULT_SCOPE = ['location', 'trip', 'vehicle:events', 'vehicle:profile'] DEFAULT_TIMEOUT = 5 +DEPENDENCIES = ['http'] EVENT_AUTOMATIC_UPDATE = 'automatic_update' diff --git a/homeassistant/components/automation/__init__.py b/homeassistant/components/automation/__init__.py index fa8b77da768dc2..b1470582d59232 100644 --- a/homeassistant/components/automation/__init__.py +++ b/homeassistant/components/automation/__init__.py @@ -21,6 +21,7 @@ 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 b4a9b246fded86..20c689d74cf438 100644 --- a/homeassistant/components/automation/litejet.py +++ b/homeassistant/components/automation/litejet.py @@ -9,6 +9,7 @@ import homeassistant.util.dt as dt_util from homeassistant.helpers.event import track_point_in_utc_time +DEPENDENCIES = ['litejet'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/automation/mqtt.py b/homeassistant/components/automation/mqtt.py index 4c0ce88c7cf8fb..ff89cd47024c16 100644 --- a/homeassistant/components/automation/mqtt.py +++ b/homeassistant/components/automation/mqtt.py @@ -8,6 +8,7 @@ from homeassistant.const import (CONF_PLATFORM, CONF_PAYLOAD) import homeassistant.helpers.config_validation as cv +DEPENDENCIES = ['mqtt'] CONF_ENCODING = 'encoding' CONF_TOPIC = 'topic' diff --git a/homeassistant/components/avion/light.py b/homeassistant/components/avion/light.py index 956c5142ef6d58..65172025b56b51 100644 --- a/homeassistant/components/avion/light.py +++ b/homeassistant/components/avion/light.py @@ -12,6 +12,7 @@ CONF_USERNAME) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['avion==0.10'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/awair/sensor.py b/homeassistant/components/awair/sensor.py index 4d01baf5e5d8bf..7fdcc6735495c1 100644 --- a/homeassistant/components/awair/sensor.py +++ b/homeassistant/components/awair/sensor.py @@ -15,6 +15,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle, dt +REQUIREMENTS = ['python_awair==0.0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/aws/__init__.py b/homeassistant/components/aws/__init__.py index 9cfe4980d920ae..a15e56e9de89cd 100644 --- a/homeassistant/components/aws/__init__.py +++ b/homeassistant/components/aws/__init__.py @@ -26,6 +26,7 @@ DOMAIN, ) +REQUIREMENTS = ["aiobotocore==0.10.2"] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/aws/notify.py b/homeassistant/components/aws/notify.py index 0e588deaf05cd4..48b80b64ce2ee6 100644 --- a/homeassistant/components/aws/notify.py +++ b/homeassistant/components/aws/notify.py @@ -21,6 +21,7 @@ DATA_SESSIONS, ) +DEPENDENCIES = ["aws"] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/axis/__init__.py b/homeassistant/components/axis/__init__.py index ef172b79d4b459..e9ed37477a5a02 100644 --- a/homeassistant/components/axis/__init__.py +++ b/homeassistant/components/axis/__init__.py @@ -11,6 +11,7 @@ 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), diff --git a/homeassistant/components/axis/binary_sensor.py b/homeassistant/components/axis/binary_sensor.py index c4fa15ad6f05e3..30e0e759a2cda3 100644 --- a/homeassistant/components/axis/binary_sensor.py +++ b/homeassistant/components/axis/binary_sensor.py @@ -11,6 +11,7 @@ from .const import DOMAIN as AXIS_DOMAIN, LOGGER +DEPENDENCIES = [AXIS_DOMAIN] async def async_setup_entry(hass, config_entry, async_add_entities): diff --git a/homeassistant/components/axis/camera.py b/homeassistant/components/axis/camera.py index 63c7c7ef753286..62b694a99bb971 100644 --- a/homeassistant/components/axis/camera.py +++ b/homeassistant/components/axis/camera.py @@ -11,6 +11,7 @@ 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' diff --git a/homeassistant/components/baidu/tts.py b/homeassistant/components/baidu/tts.py index 0774917cc5600d..fbe27591ef535c 100644 --- a/homeassistant/components/baidu/tts.py +++ b/homeassistant/components/baidu/tts.py @@ -7,6 +7,7 @@ from homeassistant.const import CONF_API_KEY import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ["baidu-aip==1.6.6"] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bbb_gpio/__init__.py b/homeassistant/components/bbb_gpio/__init__.py index 99b84fb441305e..7749af8f335c48 100644 --- a/homeassistant/components/bbb_gpio/__init__.py +++ b/homeassistant/components/bbb_gpio/__init__.py @@ -4,6 +4,7 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) +REQUIREMENTS = ['Adafruit_BBIO==1.0.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bbb_gpio/binary_sensor.py b/homeassistant/components/bbb_gpio/binary_sensor.py index b30b2c0244ec4f..1ee371dcc2a6ac 100644 --- a/homeassistant/components/bbb_gpio/binary_sensor.py +++ b/homeassistant/components/bbb_gpio/binary_sensor.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['bbb_gpio'] CONF_PINS = 'pins' CONF_BOUNCETIME = 'bouncetime' diff --git a/homeassistant/components/bbb_gpio/switch.py b/homeassistant/components/bbb_gpio/switch.py index bafab2b9e90635..3ad46fd61aedfd 100644 --- a/homeassistant/components/bbb_gpio/switch.py +++ b/homeassistant/components/bbb_gpio/switch.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['bbb_gpio'] CONF_PINS = 'pins' CONF_INITIAL = 'initial' diff --git a/homeassistant/components/bbox/device_tracker.py b/homeassistant/components/bbox/device_tracker.py index 62dcb045d92577..badbcdc8a0bf56 100644 --- a/homeassistant/components/bbox/device_tracker.py +++ b/homeassistant/components/bbox/device_tracker.py @@ -12,6 +12,7 @@ from homeassistant.util import Throttle import homeassistant.util.dt as dt_util +REQUIREMENTS = ['pybbox==0.0.5-alpha'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bbox/sensor.py b/homeassistant/components/bbox/sensor.py index 78959382cee593..5b3c31d1ddf241 100644 --- a/homeassistant/components/bbox/sensor.py +++ b/homeassistant/components/bbox/sensor.py @@ -12,6 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['pybbox==0.0.5-alpha'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bh1750/sensor.py b/homeassistant/components/bh1750/sensor.py index 7ab48dd55e5f12..e30eededa51b28 100644 --- a/homeassistant/components/bh1750/sensor.py +++ b/homeassistant/components/bh1750/sensor.py @@ -9,6 +9,8 @@ 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__) diff --git a/homeassistant/components/bitcoin/sensor.py b/homeassistant/components/bitcoin/sensor.py index 822240b7965456..3bc14637a87631 100644 --- a/homeassistant/components/bitcoin/sensor.py +++ b/homeassistant/components/bitcoin/sensor.py @@ -10,6 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['blockchain==1.4.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/blackbird/media_player.py b/homeassistant/components/blackbird/media_player.py index 19ecf247a1d005..c66bc412160f0e 100644 --- a/homeassistant/components/blackbird/media_player.py +++ b/homeassistant/components/blackbird/media_player.py @@ -14,6 +14,7 @@ STATE_ON) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pyblackbird==0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/blink/__init__.py b/homeassistant/components/blink/__init__.py index 4633e81d59f516..488209e3689fc3 100644 --- a/homeassistant/components/blink/__init__.py +++ b/homeassistant/components/blink/__init__.py @@ -10,6 +10,7 @@ CONF_BINARY_SENSORS, CONF_SENSORS, CONF_FILENAME, CONF_MONITORED_CONDITIONS, TEMP_FAHRENHEIT) +REQUIREMENTS = ['blinkpy==0.13.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/blink/alarm_control_panel.py b/homeassistant/components/blink/alarm_control_panel.py index 795df522095452..75e645dff5f3f9 100644 --- a/homeassistant/components/blink/alarm_control_panel.py +++ b/homeassistant/components/blink/alarm_control_panel.py @@ -9,6 +9,7 @@ _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 1dfa666d4f48fb..466b73caf5fd5a 100644 --- a/homeassistant/components/blink/binary_sensor.py +++ b/homeassistant/components/blink/binary_sensor.py @@ -4,6 +4,7 @@ from . import BINARY_SENSORS, BLINK_DATA +DEPENDENCIES = ['blink'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/blink/camera.py b/homeassistant/components/blink/camera.py index abb2951f70a381..1da3080e3ff074 100644 --- a/homeassistant/components/blink/camera.py +++ b/homeassistant/components/blink/camera.py @@ -7,6 +7,7 @@ _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 21965624d4b620..0e97db9d7d410d 100644 --- a/homeassistant/components/blink/sensor.py +++ b/homeassistant/components/blink/sensor.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['blink'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/blinksticklight/light.py b/homeassistant/components/blinksticklight/light.py index 851a298f358759..0d4c7b736f3d3d 100644 --- a/homeassistant/components/blinksticklight/light.py +++ b/homeassistant/components/blinksticklight/light.py @@ -10,6 +10,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util +REQUIREMENTS = ['blinkstick==1.1.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/blinkt/light.py b/homeassistant/components/blinkt/light.py index 8442f691a129fa..57d19172614c9f 100644 --- a/homeassistant/components/blinkt/light.py +++ b/homeassistant/components/blinkt/light.py @@ -11,6 +11,7 @@ from homeassistant.const import CONF_NAME import homeassistant.util.color as color_util +REQUIREMENTS = ['blinkt==0.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/blockchain/sensor.py b/homeassistant/components/blockchain/sensor.py index 7a821d437c1ac4..def1dc3309f9a9 100644 --- a/homeassistant/components/blockchain/sensor.py +++ b/homeassistant/components/blockchain/sensor.py @@ -9,6 +9,7 @@ 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__) diff --git a/homeassistant/components/bloomsky/binary_sensor.py b/homeassistant/components/bloomsky/binary_sensor.py index 8df2803364e0f7..c8763524de7631 100644 --- a/homeassistant/components/bloomsky/binary_sensor.py +++ b/homeassistant/components/bloomsky/binary_sensor.py @@ -10,6 +10,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['bloomsky'] SENSOR_TYPES = { 'Rain': 'moisture', diff --git a/homeassistant/components/bloomsky/camera.py b/homeassistant/components/bloomsky/camera.py index 1468ac3eaaf4bc..5cb2e1adfe16ba 100644 --- a/homeassistant/components/bloomsky/camera.py +++ b/homeassistant/components/bloomsky/camera.py @@ -5,6 +5,7 @@ from homeassistant.components.camera import Camera +DEPENDENCIES = ['bloomsky'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/bloomsky/sensor.py b/homeassistant/components/bloomsky/sensor.py index ff01b00910441b..7e6847f0e7ec2e 100644 --- a/homeassistant/components/bloomsky/sensor.py +++ b/homeassistant/components/bloomsky/sensor.py @@ -10,6 +10,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['bloomsky'] # These are the available sensors SENSOR_TYPES = ['Temperature', diff --git a/homeassistant/components/bluesound/media_player.py b/homeassistant/components/bluesound/media_player.py index 47626cf8208c6f..c4cd3572e75c3b 100644 --- a/homeassistant/components/bluesound/media_player.py +++ b/homeassistant/components/bluesound/media_player.py @@ -29,6 +29,7 @@ from homeassistant.util import Throttle import homeassistant.util.dt as dt_util +REQUIREMENTS = ['xmltodict==0.11.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bluetooth_le_tracker/device_tracker.py b/homeassistant/components/bluetooth_le_tracker/device_tracker.py index 2571805c786147..dfb5fa073b93de 100644 --- a/homeassistant/components/bluetooth_le_tracker/device_tracker.py +++ b/homeassistant/components/bluetooth_le_tracker/device_tracker.py @@ -10,6 +10,7 @@ _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 932db65d7af087..3a4aa8880012d1 100644 --- a/homeassistant/components/bluetooth_tracker/device_tracker.py +++ b/homeassistant/components/bluetooth_tracker/device_tracker.py @@ -13,6 +13,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['pybluez==0.22', 'bt_proximity==0.1.2'] BT_PREFIX = 'BT_' diff --git a/homeassistant/components/bme280/sensor.py b/homeassistant/components/bme280/sensor.py index 664bba8646b2eb..73982ecc628bb0 100644 --- a/homeassistant/components/bme280/sensor.py +++ b/homeassistant/components/bme280/sensor.py @@ -13,6 +13,8 @@ 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__) diff --git a/homeassistant/components/bme680/sensor.py b/homeassistant/components/bme680/sensor.py index 2e791c8abef7fc..8f515cc469a265 100644 --- a/homeassistant/components/bme680/sensor.py +++ b/homeassistant/components/bme680/sensor.py @@ -13,6 +13,8 @@ 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__) diff --git a/homeassistant/components/bmw_connected_drive/__init__.py b/homeassistant/components/bmw_connected_drive/__init__.py index f08854a69df8de..e1ac30120d2115 100644 --- a/homeassistant/components/bmw_connected_drive/__init__.py +++ b/homeassistant/components/bmw_connected_drive/__init__.py @@ -9,6 +9,7 @@ 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__) diff --git a/homeassistant/components/bmw_connected_drive/binary_sensor.py b/homeassistant/components/bmw_connected_drive/binary_sensor.py index 698ee1e04808d7..deab157292d2f3 100644 --- a/homeassistant/components/bmw_connected_drive/binary_sensor.py +++ b/homeassistant/components/bmw_connected_drive/binary_sensor.py @@ -6,6 +6,7 @@ from . import DOMAIN as BMW_DOMAIN +DEPENDENCIES = ['bmw_connected_drive'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bmw_connected_drive/device_tracker.py b/homeassistant/components/bmw_connected_drive/device_tracker.py index 4450b146c3e8fb..20e84e33e29bd3 100644 --- a/homeassistant/components/bmw_connected_drive/device_tracker.py +++ b/homeassistant/components/bmw_connected_drive/device_tracker.py @@ -5,6 +5,7 @@ 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 b3766983099896..fe646dcd1c9c10 100644 --- a/homeassistant/components/bmw_connected_drive/lock.py +++ b/homeassistant/components/bmw_connected_drive/lock.py @@ -6,6 +6,7 @@ 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 f4f98adf132e83..03c03f01b4a148 100644 --- a/homeassistant/components/bmw_connected_drive/sensor.py +++ b/homeassistant/components/bmw_connected_drive/sensor.py @@ -9,6 +9,7 @@ from . import DOMAIN as BMW_DOMAIN +DEPENDENCIES = ['bmw_connected_drive'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bom/camera.py b/homeassistant/components/bom/camera.py index d126672d0c4a8d..d3e78034015bc1 100644 --- a/homeassistant/components/bom/camera.py +++ b/homeassistant/components/bom/camera.py @@ -5,6 +5,7 @@ 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' diff --git a/homeassistant/components/braviatv/media_player.py b/homeassistant/components/braviatv/media_player.py index 05098beb65d762..45fdb63a4a9b45 100644 --- a/homeassistant/components/braviatv/media_player.py +++ b/homeassistant/components/braviatv/media_player.py @@ -15,6 +15,7 @@ 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' diff --git a/homeassistant/components/broadlink/sensor.py b/homeassistant/components/broadlink/sensor.py index 1415528be625b4..b3ce245a979ae7 100644 --- a/homeassistant/components/broadlink/sensor.py +++ b/homeassistant/components/broadlink/sensor.py @@ -14,6 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['broadlink==0.9.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/broadlink/switch.py b/homeassistant/components/broadlink/switch.py index 02b06a31384576..8695f70786c6f2 100644 --- a/homeassistant/components/broadlink/switch.py +++ b/homeassistant/components/broadlink/switch.py @@ -17,6 +17,7 @@ from homeassistant.util import Throttle, slugify from homeassistant.util.dt import utcnow +REQUIREMENTS = ['broadlink==0.9.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/brottsplatskartan/sensor.py b/homeassistant/components/brottsplatskartan/sensor.py index 018af3ae7855d3..f990dd1aba1630 100644 --- a/homeassistant/components/brottsplatskartan/sensor.py +++ b/homeassistant/components/brottsplatskartan/sensor.py @@ -12,6 +12,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['brottsplatskartan==0.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/brunt/cover.py b/homeassistant/components/brunt/cover.py index 590973184903b3..dc17cebcec2fd6 100644 --- a/homeassistant/components/brunt/cover.py +++ b/homeassistant/components/brunt/cover.py @@ -13,6 +13,7 @@ ) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['brunt==0.1.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bt_home_hub_5/device_tracker.py b/homeassistant/components/bt_home_hub_5/device_tracker.py index 5897dc22d80598..61853c0af89f0b 100644 --- a/homeassistant/components/bt_home_hub_5/device_tracker.py +++ b/homeassistant/components/bt_home_hub_5/device_tracker.py @@ -8,6 +8,7 @@ DeviceScanner) from homeassistant.const import CONF_HOST +REQUIREMENTS = ['bthomehub5-devicelist==0.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bt_smarthub/device_tracker.py b/homeassistant/components/bt_smarthub/device_tracker.py index 0f896259e4a9e9..5820feda567903 100644 --- a/homeassistant/components/bt_smarthub/device_tracker.py +++ b/homeassistant/components/bt_smarthub/device_tracker.py @@ -8,6 +8,7 @@ DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST +REQUIREMENTS = ['btsmarthub_devicelist==0.1.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/buienradar/sensor.py b/homeassistant/components/buienradar/sensor.py index 3319e5855902f6..754873fa2c914f 100644 --- a/homeassistant/components/buienradar/sensor.py +++ b/homeassistant/components/buienradar/sensor.py @@ -17,6 +17,7 @@ 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__) diff --git a/homeassistant/components/buienradar/weather.py b/homeassistant/components/buienradar/weather.py index 26f652dc73a7c6..86dcb229a78bbd 100644 --- a/homeassistant/components/buienradar/weather.py +++ b/homeassistant/components/buienradar/weather.py @@ -13,6 +13,7 @@ # Reuse data and API logic from the sensor implementation from .sensor import BrData +REQUIREMENTS = ['buienradar==0.91'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/caldav/calendar.py b/homeassistant/components/caldav/calendar.py index 8915039d20fd74..65cb20811b880b 100644 --- a/homeassistant/components/caldav/calendar.py +++ b/homeassistant/components/caldav/calendar.py @@ -12,6 +12,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle, dt +REQUIREMENTS = ['caldav==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/calendar/__init__.py b/homeassistant/components/calendar/__init__.py index 7f4e0bf937300e..aa9e3153fe5bbd 100644 --- a/homeassistant/components/calendar/__init__.py +++ b/homeassistant/components/calendar/__init__.py @@ -22,6 +22,7 @@ DOMAIN = 'calendar' +DEPENDENCIES = ['http'] ENTITY_ID_FORMAT = DOMAIN + '.{}' diff --git a/homeassistant/components/camera/__init__.py b/homeassistant/components/camera/__init__.py index c460e51382e45f..2ddab537acc09e 100644 --- a/homeassistant/components/camera/__init__.py +++ b/homeassistant/components/camera/__init__.py @@ -36,6 +36,7 @@ from .const import DOMAIN, DATA_CAMERA_PREFS from .prefs import CameraPreferences +DEPENDENCIES = ['http'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/canary/__init__.py b/homeassistant/components/canary/__init__.py index 51d6322e7ba703..e53c7e22d2d6dd 100644 --- a/homeassistant/components/canary/__init__.py +++ b/homeassistant/components/canary/__init__.py @@ -10,6 +10,7 @@ from homeassistant.helpers import discovery from homeassistant.util import Throttle +REQUIREMENTS = ['py-canary==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/canary/alarm_control_panel.py b/homeassistant/components/canary/alarm_control_panel.py index 8fb8ebd0e7fbd1..faa7d819a2e91f 100644 --- a/homeassistant/components/canary/alarm_control_panel.py +++ b/homeassistant/components/canary/alarm_control_panel.py @@ -8,6 +8,7 @@ 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 17ecfdceada59d..fc740a46f628d9 100644 --- a/homeassistant/components/canary/camera.py +++ b/homeassistant/components/canary/camera.py @@ -13,6 +13,7 @@ from . import DATA_CANARY, DEFAULT_TIMEOUT +DEPENDENCIES = ['canary', 'ffmpeg'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/canary/sensor.py b/homeassistant/components/canary/sensor.py index cc5955db463b82..fb3aaf78b0a487 100644 --- a/homeassistant/components/canary/sensor.py +++ b/homeassistant/components/canary/sensor.py @@ -6,6 +6,7 @@ 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 71c466e4d3d836..0ec3ac150d7501 100644 --- a/homeassistant/components/cast/__init__.py +++ b/homeassistant/components/cast/__init__.py @@ -2,6 +2,7 @@ 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 d4a107073ac83c..afe29ae079f9ac 100644 --- a/homeassistant/components/channels/media_player.py +++ b/homeassistant/components/channels/media_player.py @@ -15,6 +15,7 @@ STATE_PLAYING) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pychannels==1.0.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cisco_ios/device_tracker.py b/homeassistant/components/cisco_ios/device_tracker.py index 97f8944accc145..d5a64626e89924 100644 --- a/homeassistant/components/cisco_ios/device_tracker.py +++ b/homeassistant/components/cisco_ios/device_tracker.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['pexpect==4.6.0'] PLATFORM_SCHEMA = vol.All( PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/cisco_mobility_express/device_tracker.py b/homeassistant/components/cisco_mobility_express/device_tracker.py index a30ead4f7b2089..a722a994350041 100644 --- a/homeassistant/components/cisco_mobility_express/device_tracker.py +++ b/homeassistant/components/cisco_mobility_express/device_tracker.py @@ -10,6 +10,7 @@ CONF_HOST, CONF_USERNAME, CONF_PASSWORD, CONF_SSL, CONF_VERIFY_SSL) +REQUIREMENTS = ['ciscomobilityexpress==0.1.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cisco_webex_teams/notify.py b/homeassistant/components/cisco_webex_teams/notify.py index 0dac9900eae159..f893d4071b0e6e 100644 --- a/homeassistant/components/cisco_webex_teams/notify.py +++ b/homeassistant/components/cisco_webex_teams/notify.py @@ -8,6 +8,7 @@ from homeassistant.const import (CONF_TOKEN) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['webexteamssdk==1.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ciscospark/notify.py b/homeassistant/components/ciscospark/notify.py index 5bfab7126d912f..2eccb233a3cdd6 100644 --- a/homeassistant/components/ciscospark/notify.py +++ b/homeassistant/components/ciscospark/notify.py @@ -9,6 +9,7 @@ from homeassistant.components.notify import (ATTR_TITLE, PLATFORM_SCHEMA, BaseNotificationService) +REQUIREMENTS = ['ciscosparkapi==0.4.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/clementine/media_player.py b/homeassistant/components/clementine/media_player.py index 6cbe4d918ad739..65c6be19845faa 100644 --- a/homeassistant/components/clementine/media_player.py +++ b/homeassistant/components/clementine/media_player.py @@ -16,6 +16,7 @@ STATE_PAUSED, STATE_PLAYING) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['python-clementine-remote==1.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cloud/__init__.py b/homeassistant/components/cloud/__init__.py index 59008ecc4cefd9..41045ba1f91265 100644 --- a/homeassistant/components/cloud/__init__.py +++ b/homeassistant/components/cloud/__init__.py @@ -24,6 +24,8 @@ CONF_USER_POOL_ID, DOMAIN, MODE_DEV, MODE_PROD) from .prefs import CloudPreferences +REQUIREMENTS = ['hass-nabucasa==0.11'] +DEPENDENCIES = ['http'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cloud/binary_sensor.py b/homeassistant/components/cloud/binary_sensor.py index 5a195b4b4c64d3..19a6528e3218f5 100644 --- a/homeassistant/components/cloud/binary_sensor.py +++ b/homeassistant/components/cloud/binary_sensor.py @@ -6,6 +6,7 @@ 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 2f04adb05d0c6b..363e7c5eeb11dd 100644 --- a/homeassistant/components/cloudflare/__init__.py +++ b/homeassistant/components/cloudflare/__init__.py @@ -8,6 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.event import track_time_interval +REQUIREMENTS = ['pycfdns==0.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cmus/media_player.py b/homeassistant/components/cmus/media_player.py index 17a7c6050a389d..e5134508feaaaa 100644 --- a/homeassistant/components/cmus/media_player.py +++ b/homeassistant/components/cmus/media_player.py @@ -14,6 +14,7 @@ STATE_PLAYING) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pycmus==0.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/co2signal/sensor.py b/homeassistant/components/co2signal/sensor.py index b5b8b306097940..b9ae5e26ebef20 100644 --- a/homeassistant/components/co2signal/sensor.py +++ b/homeassistant/components/co2signal/sensor.py @@ -11,6 +11,7 @@ CONF_COUNTRY_CODE = "country_code" +REQUIREMENTS = ['co2signal==0.4.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/coinbase/__init__.py b/homeassistant/components/coinbase/__init__.py index 09c3bbf3182ac3..40d04eadb3a79e 100644 --- a/homeassistant/components/coinbase/__init__.py +++ b/homeassistant/components/coinbase/__init__.py @@ -9,6 +9,7 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.util import Throttle +REQUIREMENTS = ['coinbase==2.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/coinbase/sensor.py b/homeassistant/components/coinbase/sensor.py index 9470999efbb93b..2483d46b38a095 100644 --- a/homeassistant/components/coinbase/sensor.py +++ b/homeassistant/components/coinbase/sensor.py @@ -17,6 +17,7 @@ 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 94fe6df217c88a..a39f11b5352a0a 100644 --- a/homeassistant/components/coinmarketcap/sensor.py +++ b/homeassistant/components/coinmarketcap/sensor.py @@ -11,6 +11,7 @@ ATTR_ATTRIBUTION, CONF_DISPLAY_CURRENCY) from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['coinmarketcap==5.0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/comfoconnect/__init__.py b/homeassistant/components/comfoconnect/__init__.py index 08ed85184f607b..64ebec18545903 100644 --- a/homeassistant/components/comfoconnect/__init__.py +++ b/homeassistant/components/comfoconnect/__init__.py @@ -9,6 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.dispatcher import dispatcher_send +REQUIREMENTS = ['pycomfoconnect==0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/comfoconnect/fan.py b/homeassistant/components/comfoconnect/fan.py index 0f2410b9028158..88dcffcfd21485 100644 --- a/homeassistant/components/comfoconnect/fan.py +++ b/homeassistant/components/comfoconnect/fan.py @@ -10,6 +10,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['comfoconnect'] SPEED_MAPPING = { 0: SPEED_OFF, diff --git a/homeassistant/components/comfoconnect/sensor.py b/homeassistant/components/comfoconnect/sensor.py index 98dd8591550dfb..edb96b8d279d3d 100644 --- a/homeassistant/components/comfoconnect/sensor.py +++ b/homeassistant/components/comfoconnect/sensor.py @@ -12,6 +12,7 @@ _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 2d35465b7b5cce..a209fba93edfb3 100644 --- a/homeassistant/components/concord232/alarm_control_panel.py +++ b/homeassistant/components/concord232/alarm_control_panel.py @@ -12,6 +12,7 @@ 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__) diff --git a/homeassistant/components/concord232/binary_sensor.py b/homeassistant/components/concord232/binary_sensor.py index b77c01fc8dcfa8..c1a31eb9ead989 100644 --- a/homeassistant/components/concord232/binary_sensor.py +++ b/homeassistant/components/concord232/binary_sensor.py @@ -10,6 +10,7 @@ from homeassistant.const import (CONF_HOST, CONF_PORT) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['concord232==0.15'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/config/__init__.py b/homeassistant/components/config/__init__.py index 3752d5d37bf147..7807c52737091e 100644 --- a/homeassistant/components/config/__init__.py +++ b/homeassistant/components/config/__init__.py @@ -12,6 +12,7 @@ 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 bd577127fa0385..bb2d692f2490b3 100644 --- a/homeassistant/components/conversation/__init__.py +++ b/homeassistant/components/conversation/__init__.py @@ -21,6 +21,7 @@ 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 42dcbcdf344985..77bb9a6b213d29 100644 --- a/homeassistant/components/coolmaster/climate.py +++ b/homeassistant/components/coolmaster/climate.py @@ -13,6 +13,7 @@ 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 8609d3c9cf6402..9bb1aacfaf13ea 100644 --- a/homeassistant/components/cover/__init__.py +++ b/homeassistant/components/cover/__init__.py @@ -22,6 +22,7 @@ _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 e600617436fb18..31d8122692a39e 100755 --- a/homeassistant/components/cppm_tracker/device_tracker.py +++ b/homeassistant/components/cppm_tracker/device_tracker.py @@ -11,6 +11,7 @@ CONF_HOST, CONF_API_KEY ) +REQUIREMENTS = ['clearpasspy==1.0.2'] SCAN_INTERVAL = timedelta(seconds=120) diff --git a/homeassistant/components/cpuspeed/sensor.py b/homeassistant/components/cpuspeed/sensor.py index f12932020f1d44..98d22c20d153b6 100644 --- a/homeassistant/components/cpuspeed/sensor.py +++ b/homeassistant/components/cpuspeed/sensor.py @@ -8,6 +8,7 @@ from homeassistant.const import CONF_NAME from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['py-cpuinfo==5.0.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/crimereports/sensor.py b/homeassistant/components/crimereports/sensor.py index 00524931d66d8e..139346755178e9 100644 --- a/homeassistant/components/crimereports/sensor.py +++ b/homeassistant/components/crimereports/sensor.py @@ -16,6 +16,7 @@ from homeassistant.util.dt import now import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['crimereports==1.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cups/sensor.py b/homeassistant/components/cups/sensor.py index 7da6e74228d468..97f894aed86981 100644 --- a/homeassistant/components/cups/sensor.py +++ b/homeassistant/components/cups/sensor.py @@ -10,6 +10,7 @@ from homeassistant.const import CONF_HOST, CONF_PORT from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['pycups==1.9.73'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/daikin/__init__.py b/homeassistant/components/daikin/__init__.py index e97836c90a651d..8e96ccb87388a9 100644 --- a/homeassistant/components/daikin/__init__.py +++ b/homeassistant/components/daikin/__init__.py @@ -17,6 +17,7 @@ from . import config_flow # noqa pylint_disable=unused-import +REQUIREMENTS = ['pydaikin==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/danfoss_air/__init__.py b/homeassistant/components/danfoss_air/__init__.py index 3ced248c07867a..f4a7b92c17cbb9 100644 --- a/homeassistant/components/danfoss_air/__init__.py +++ b/homeassistant/components/danfoss_air/__init__.py @@ -9,6 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle +REQUIREMENTS = ['pydanfossair==0.0.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/darksky/sensor.py b/homeassistant/components/darksky/sensor.py index 039b58e4be45c4..6aee3457acb381 100644 --- a/homeassistant/components/darksky/sensor.py +++ b/homeassistant/components/darksky/sensor.py @@ -14,6 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['python-forecastio==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/darksky/weather.py b/homeassistant/components/darksky/weather.py index 8479ff7ea8d04a..5b3db4312bfb10 100644 --- a/homeassistant/components/darksky/weather.py +++ b/homeassistant/components/darksky/weather.py @@ -16,6 +16,7 @@ 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__) diff --git a/homeassistant/components/datadog/__init__.py b/homeassistant/components/datadog/__init__.py index 025f0a3c5d09db..3b519514d17b44 100644 --- a/homeassistant/components/datadog/__init__.py +++ b/homeassistant/components/datadog/__init__.py @@ -9,6 +9,7 @@ from homeassistant.helpers import state as state_helper import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['datadog==0.15.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/deconz/__init__.py b/homeassistant/components/deconz/__init__.py index 5db459e3f7afa4..807f82821fb293 100644 --- a/homeassistant/components/deconz/__init__.py +++ b/homeassistant/components/deconz/__init__.py @@ -13,6 +13,7 @@ CONF_MASTER_GATEWAY, DEFAULT_PORT, DOMAIN, _LOGGER) from .gateway import DeconzGateway +REQUIREMENTS = ['pydeconz==54'] CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({ diff --git a/homeassistant/components/deconz/binary_sensor.py b/homeassistant/components/deconz/binary_sensor.py index f503c5281c69d8..70de1fd7cf44ba 100644 --- a/homeassistant/components/deconz/binary_sensor.py +++ b/homeassistant/components/deconz/binary_sensor.py @@ -8,6 +8,7 @@ from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry +DEPENDENCIES = ['deconz'] ATTR_ORIENTATION = 'orientation' ATTR_TILTANGLE = 'tiltangle' diff --git a/homeassistant/components/deconz/climate.py b/homeassistant/components/deconz/climate.py index 9eab3e5f094768..c4327d3c497fec 100644 --- a/homeassistant/components/deconz/climate.py +++ b/homeassistant/components/deconz/climate.py @@ -11,6 +11,7 @@ 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): diff --git a/homeassistant/components/deconz/cover.py b/homeassistant/components/deconz/cover.py index 9f194b63569a00..903c1160eb8226 100644 --- a/homeassistant/components/deconz/cover.py +++ b/homeassistant/components/deconz/cover.py @@ -9,6 +9,7 @@ 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 38998ef2f2d848..b5a2b075f75bdf 100644 --- a/homeassistant/components/deconz/light.py +++ b/homeassistant/components/deconz/light.py @@ -12,6 +12,7 @@ from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry +DEPENDENCIES = ['deconz'] async def async_setup_platform( diff --git a/homeassistant/components/deconz/scene.py b/homeassistant/components/deconz/scene.py index f738b5a205fdff..1ae1e079daa065 100644 --- a/homeassistant/components/deconz/scene.py +++ b/homeassistant/components/deconz/scene.py @@ -6,6 +6,7 @@ from .const import NEW_SCENE from .gateway import get_gateway_from_config_entry +DEPENDENCIES = ['deconz'] async def async_setup_platform( diff --git a/homeassistant/components/deconz/sensor.py b/homeassistant/components/deconz/sensor.py index 0575f6cdfe49e7..7c3109e1f5961f 100644 --- a/homeassistant/components/deconz/sensor.py +++ b/homeassistant/components/deconz/sensor.py @@ -9,6 +9,7 @@ from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry +DEPENDENCIES = ['deconz'] ATTR_CURRENT = 'current' ATTR_DAYLIGHT = 'daylight' diff --git a/homeassistant/components/deconz/switch.py b/homeassistant/components/deconz/switch.py index b1b7a491f98493..b9f959766fc2c2 100644 --- a/homeassistant/components/deconz/switch.py +++ b/homeassistant/components/deconz/switch.py @@ -7,6 +7,7 @@ from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry +DEPENDENCIES = ['deconz'] async def async_setup_platform( diff --git a/homeassistant/components/decora/light.py b/homeassistant/components/decora/light.py index f741aa9043f3f6..fc8b2859c0712d 100644 --- a/homeassistant/components/decora/light.py +++ b/homeassistant/components/decora/light.py @@ -12,6 +12,7 @@ PLATFORM_SCHEMA) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['decora==0.6', 'bluepy==1.1.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/decora_wifi/light.py b/homeassistant/components/decora_wifi/light.py index dbb729685c51ef..b7be6bffb0151a 100644 --- a/homeassistant/components/decora_wifi/light.py +++ b/homeassistant/components/decora_wifi/light.py @@ -12,6 +12,7 @@ EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['decora_wifi==1.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/default_config/__init__.py b/homeassistant/components/default_config/__init__.py index b5919c4d827b9b..6743893888d819 100644 --- a/homeassistant/components/default_config/__init__.py +++ b/homeassistant/components/default_config/__init__.py @@ -5,6 +5,23 @@ 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') diff --git a/homeassistant/components/deluge/sensor.py b/homeassistant/components/deluge/sensor.py index a75dd7febf17c3..32b1c16a47c783 100644 --- a/homeassistant/components/deluge/sensor.py +++ b/homeassistant/components/deluge/sensor.py @@ -11,6 +11,7 @@ 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 0cc68e6f64f24d..d7c60bd96e2932 100644 --- a/homeassistant/components/deluge/switch.py +++ b/homeassistant/components/deluge/switch.py @@ -11,6 +11,7 @@ from homeassistant.helpers.entity import ToggleEntity import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['deluge-client==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/demo/__init__.py b/homeassistant/components/demo/__init__.py index 50d1eebdcd383d..354f0c0e37541a 100644 --- a/homeassistant/components/demo/__init__.py +++ b/homeassistant/components/demo/__init__.py @@ -7,6 +7,7 @@ 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 6b68a06b5c5909..0adafe4f472e2e 100644 --- a/homeassistant/components/denonavr/media_player.py +++ b/homeassistant/components/denonavr/media_player.py @@ -18,6 +18,7 @@ STATE_PAUSED, STATE_PLAYING) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['denonavr==0.7.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/deutsche_bahn/sensor.py b/homeassistant/components/deutsche_bahn/sensor.py index afc388f3da0039..41584b2561fb9d 100644 --- a/homeassistant/components/deutsche_bahn/sensor.py +++ b/homeassistant/components/deutsche_bahn/sensor.py @@ -9,6 +9,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.util.dt as dt_util +REQUIREMENTS = ['schiene==0.23'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/device_sun_light_trigger/__init__.py b/homeassistant/components/device_sun_light_trigger/__init__.py index 5e95e049220095..00adefc6b5c31f 100644 --- a/homeassistant/components/device_sun_light_trigger/__init__.py +++ b/homeassistant/components/device_sun_light_trigger/__init__.py @@ -17,6 +17,7 @@ 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' diff --git a/homeassistant/components/device_tracker/__init__.py b/homeassistant/components/device_tracker/__init__.py index 9a82d1848f3b31..42d301721dad47 100644 --- a/homeassistant/components/device_tracker/__init__.py +++ b/homeassistant/components/device_tracker/__init__.py @@ -35,6 +35,7 @@ _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 9e4cc6ef03c17e..719c2525f0a985 100644 --- a/homeassistant/components/dht/sensor.py +++ b/homeassistant/components/dht/sensor.py @@ -12,6 +12,7 @@ from homeassistant.util import Throttle from homeassistant.util.temperature import celsius_to_fahrenheit +REQUIREMENTS = ['Adafruit-DHT==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dialogflow/__init__.py b/homeassistant/components/dialogflow/__init__.py index a6134d4b19c04d..1536fe3d2362ca 100644 --- a/homeassistant/components/dialogflow/__init__.py +++ b/homeassistant/components/dialogflow/__init__.py @@ -10,6 +10,7 @@ _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 f61366e1e4ed63..7975a6eea0d69c 100644 --- a/homeassistant/components/digital_ocean/__init__.py +++ b/homeassistant/components/digital_ocean/__init__.py @@ -8,6 +8,7 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['python-digitalocean==1.13.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/digital_ocean/binary_sensor.py b/homeassistant/components/digital_ocean/binary_sensor.py index 3751184b9c22a8..d496a09161b91d 100644 --- a/homeassistant/components/digital_ocean/binary_sensor.py +++ b/homeassistant/components/digital_ocean/binary_sensor.py @@ -17,6 +17,7 @@ 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 70f8dd3cd1796a..bc4a6a29b42064 100644 --- a/homeassistant/components/digital_ocean/switch.py +++ b/homeassistant/components/digital_ocean/switch.py @@ -14,6 +14,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['digital_ocean'] DEFAULT_NAME = 'Droplet' diff --git a/homeassistant/components/digitalloggers/switch.py b/homeassistant/components/digitalloggers/switch.py index ebbf0242c68c8b..89973cfad0c828 100644 --- a/homeassistant/components/digitalloggers/switch.py +++ b/homeassistant/components/digitalloggers/switch.py @@ -10,6 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle +REQUIREMENTS = ['dlipower==0.7.165'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/directv/media_player.py b/homeassistant/components/directv/media_player.py index c7a30db55861f1..3a30282bdf49be 100644 --- a/homeassistant/components/directv/media_player.py +++ b/homeassistant/components/directv/media_player.py @@ -15,6 +15,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util +REQUIREMENTS = ['directpy==0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/discogs/sensor.py b/homeassistant/components/discogs/sensor.py index e549001dbd7142..f8d66688b4ff65 100644 --- a/homeassistant/components/discogs/sensor.py +++ b/homeassistant/components/discogs/sensor.py @@ -12,6 +12,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['discogs_client==2.2.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/discord/notify.py b/homeassistant/components/discord/notify.py index be93abfd7ae7ba..cb6fc8329c66b5 100644 --- a/homeassistant/components/discord/notify.py +++ b/homeassistant/components/discord/notify.py @@ -12,6 +12,7 @@ _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 92d925f63e3770..8e3a350c5ca1b0 100644 --- a/homeassistant/components/discovery/__init__.py +++ b/homeassistant/components/discovery/__init__.py @@ -20,6 +20,7 @@ from homeassistant.helpers.discovery import async_load_platform, async_discover import homeassistant.util.dt as dt_util +REQUIREMENTS = ['netdisco==2.6.0'] DOMAIN = 'discovery' diff --git a/homeassistant/components/dlib_face_detect/image_processing.py b/homeassistant/components/dlib_face_detect/image_processing.py index 0f08f2bf254a45..49fbfadff7e779 100644 --- a/homeassistant/components/dlib_face_detect/image_processing.py +++ b/homeassistant/components/dlib_face_detect/image_processing.py @@ -8,6 +8,7 @@ from homeassistant.components.image_processing import ( ImageProcessingFaceEntity, CONF_SOURCE, CONF_ENTITY_ID, CONF_NAME) +REQUIREMENTS = ['face_recognition==1.2.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dlib_face_identify/image_processing.py b/homeassistant/components/dlib_face_identify/image_processing.py index 2bebef81662302..a3b91235125e43 100644 --- a/homeassistant/components/dlib_face_identify/image_processing.py +++ b/homeassistant/components/dlib_face_identify/image_processing.py @@ -10,6 +10,7 @@ CONF_NAME) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['face_recognition==1.2.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dlink/switch.py b/homeassistant/components/dlink/switch.py index b683487dd12812..812fd3882b311b 100644 --- a/homeassistant/components/dlink/switch.py +++ b/homeassistant/components/dlink/switch.py @@ -12,6 +12,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import dt as dt_util +REQUIREMENTS = ['pyW215==0.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dlna_dmr/media_player.py b/homeassistant/components/dlna_dmr/media_player.py index 22cbf25df4c2b5..54c19f70ef324d 100644 --- a/homeassistant/components/dlna_dmr/media_player.py +++ b/homeassistant/components/dlna_dmr/media_player.py @@ -27,6 +27,7 @@ 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__) diff --git a/homeassistant/components/dnsip/sensor.py b/homeassistant/components/dnsip/sensor.py index e4ec0cd69e4cfa..13c9be7bb14fb5 100644 --- a/homeassistant/components/dnsip/sensor.py +++ b/homeassistant/components/dnsip/sensor.py @@ -8,6 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['aiodns==1.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dominos/__init__.py b/homeassistant/components/dominos/__init__.py index cdcdba50c94501..1c8966f3b4b5d9 100644 --- a/homeassistant/components/dominos/__init__.py +++ b/homeassistant/components/dominos/__init__.py @@ -11,6 +11,7 @@ from homeassistant.helpers.entity_component import EntityComponent from homeassistant.util import Throttle +REQUIREMENTS = ['pizzapi==0.0.3'] _LOGGER = logging.getLogger(__name__) @@ -33,6 +34,7 @@ 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, diff --git a/homeassistant/components/doorbird/__init__.py b/homeassistant/components/doorbird/__init__.py index e1f3bb69264241..25a2c5caff91d9 100644 --- a/homeassistant/components/doorbird/__init__.py +++ b/homeassistant/components/doorbird/__init__.py @@ -11,6 +11,7 @@ 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__) diff --git a/homeassistant/components/doorbird/camera.py b/homeassistant/components/doorbird/camera.py index b48f17bb4fb63a..a93b0fbf1948cb 100644 --- a/homeassistant/components/doorbird/camera.py +++ b/homeassistant/components/doorbird/camera.py @@ -11,6 +11,7 @@ from . import DOMAIN as DOORBIRD_DOMAIN +DEPENDENCIES = ['doorbird'] _CAMERA_LAST_VISITOR = "{} Last Ring" _CAMERA_LAST_MOTION = "{} Last Motion" diff --git a/homeassistant/components/doorbird/switch.py b/homeassistant/components/doorbird/switch.py index 37e65821fa881f..ba6f96660d1b2d 100644 --- a/homeassistant/components/doorbird/switch.py +++ b/homeassistant/components/doorbird/switch.py @@ -6,6 +6,7 @@ from . import DOMAIN as DOORBIRD_DOMAIN +DEPENDENCIES = ['doorbird'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dovado/__init__.py b/homeassistant/components/dovado/__init__.py index 78c933e2db128d..df2eed3011a873 100644 --- a/homeassistant/components/dovado/__init__.py +++ b/homeassistant/components/dovado/__init__.py @@ -12,6 +12,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['dovado==0.4.1'] DOMAIN = 'dovado' diff --git a/homeassistant/components/dovado/notify.py b/homeassistant/components/dovado/notify.py index 42e3e521d300a6..59827529ed3ad5 100644 --- a/homeassistant/components/dovado/notify.py +++ b/homeassistant/components/dovado/notify.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['dovado'] def get_service(hass, config, discovery_info=None): diff --git a/homeassistant/components/dovado/sensor.py b/homeassistant/components/dovado/sensor.py index 497302814aa6e7..56c4ee03a3ada9 100644 --- a/homeassistant/components/dovado/sensor.py +++ b/homeassistant/components/dovado/sensor.py @@ -14,6 +14,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['dovado'] MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=30) diff --git a/homeassistant/components/dsmr/sensor.py b/homeassistant/components/dsmr/sensor.py index 825a84d7639f68..74f6cb37fc2ebc 100644 --- a/homeassistant/components/dsmr/sensor.py +++ b/homeassistant/components/dsmr/sensor.py @@ -15,6 +15,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['dsmr_parser==0.12'] CONF_DSMR_VERSION = 'dsmr_version' CONF_RECONNECT_INTERVAL = 'reconnect_interval' diff --git a/homeassistant/components/duke_energy/sensor.py b/homeassistant/components/duke_energy/sensor.py index cb15e2c8f6f1da..9aada34841880a 100644 --- a/homeassistant/components/duke_energy/sensor.py +++ b/homeassistant/components/duke_energy/sensor.py @@ -8,6 +8,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pydukeenergy==0.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dunehd/media_player.py b/homeassistant/components/dunehd/media_player.py index 58e7e06c5ede31..70d96424ced97e 100644 --- a/homeassistant/components/dunehd/media_player.py +++ b/homeassistant/components/dunehd/media_player.py @@ -11,6 +11,7 @@ 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' diff --git a/homeassistant/components/dweet/__init__.py b/homeassistant/components/dweet/__init__.py index 61cd3b78210de1..f8e5b1811632e4 100644 --- a/homeassistant/components/dweet/__init__.py +++ b/homeassistant/components/dweet/__init__.py @@ -10,6 +10,7 @@ from homeassistant.helpers import state as state_helper from homeassistant.util import Throttle +REQUIREMENTS = ['dweepy==0.3.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dweet/sensor.py b/homeassistant/components/dweet/sensor.py index a93337fb92f2c3..d1a64201e6dc48 100644 --- a/homeassistant/components/dweet/sensor.py +++ b/homeassistant/components/dweet/sensor.py @@ -11,6 +11,7 @@ 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__) diff --git a/homeassistant/components/dyson/__init__.py b/homeassistant/components/dyson/__init__.py index 2760bff9e6797d..eccf8aac364c04 100644 --- a/homeassistant/components/dyson/__init__.py +++ b/homeassistant/components/dyson/__init__.py @@ -8,6 +8,7 @@ CONF_DEVICES, CONF_PASSWORD, CONF_TIMEOUT, CONF_USERNAME) from homeassistant.helpers import discovery +REQUIREMENTS = ['libpurecool==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/dyson/fan.py b/homeassistant/components/dyson/fan.py index 03a55f8abbea80..0140378968b60b 100644 --- a/homeassistant/components/dyson/fan.py +++ b/homeassistant/components/dyson/fan.py @@ -27,6 +27,7 @@ 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 0dc98c0630e5b7..2c7a71f5724847 100644 --- a/homeassistant/components/dyson/sensor.py +++ b/homeassistant/components/dyson/sensor.py @@ -6,6 +6,7 @@ from . import DYSON_DEVICES +DEPENDENCIES = ['dyson'] SENSOR_UNITS = { 'air_quality': None, diff --git a/homeassistant/components/dyson/vacuum.py b/homeassistant/components/dyson/vacuum.py index 337f0a949b093b..f1822b4043b461 100644 --- a/homeassistant/components/dyson/vacuum.py +++ b/homeassistant/components/dyson/vacuum.py @@ -15,6 +15,7 @@ ATTR_FULL_CLEAN_TYPE = 'full_clean_type' ATTR_POSITION = 'position' +DEPENDENCIES = ['dyson'] DYSON_360_EYE_DEVICES = "dyson_360_eye_devices" diff --git a/homeassistant/components/ebox/sensor.py b/homeassistant/components/ebox/sensor.py index a97dab5e49a8a5..24458e444dc7a9 100644 --- a/homeassistant/components/ebox/sensor.py +++ b/homeassistant/components/ebox/sensor.py @@ -21,6 +21,7 @@ from homeassistant.exceptions import PlatformNotReady +REQUIREMENTS = ['pyebox==1.1.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ebusd/__init__.py b/homeassistant/components/ebusd/__init__.py index c8af1bd637c095..bc1b3aa9595f9b 100644 --- a/homeassistant/components/ebusd/__init__.py +++ b/homeassistant/components/ebusd/__init__.py @@ -13,6 +13,7 @@ from .const import (DOMAIN, SENSOR_TYPES) +REQUIREMENTS = ['ebusdpy==0.0.16'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ebusd/sensor.py b/homeassistant/components/ebusd/sensor.py index 6840fd6499dcfe..942ba107509a94 100644 --- a/homeassistant/components/ebusd/sensor.py +++ b/homeassistant/components/ebusd/sensor.py @@ -6,6 +6,7 @@ from .const import DOMAIN +DEPENDENCIES = ['ebusd'] TIME_FRAME1_BEGIN = 'time_frame1_begin' TIME_FRAME1_END = 'time_frame1_end' diff --git a/homeassistant/components/ecoal_boiler/__init__.py b/homeassistant/components/ecoal_boiler/__init__.py index 414066f55ce924..6ab9fc3181cb9c 100644 --- a/homeassistant/components/ecoal_boiler/__init__.py +++ b/homeassistant/components/ecoal_boiler/__init__.py @@ -9,6 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform +REQUIREMENTS = ['ecoaliface==0.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ecoal_boiler/sensor.py b/homeassistant/components/ecoal_boiler/sensor.py index 485a6f11bd121f..ef8b39842d9a0f 100644 --- a/homeassistant/components/ecoal_boiler/sensor.py +++ b/homeassistant/components/ecoal_boiler/sensor.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['ecoal_boiler'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/ecoal_boiler/switch.py b/homeassistant/components/ecoal_boiler/switch.py index 7e12e6d028ebc9..db8759a032acc9 100644 --- a/homeassistant/components/ecoal_boiler/switch.py +++ b/homeassistant/components/ecoal_boiler/switch.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['ecoal_boiler'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/ecobee/__init__.py b/homeassistant/components/ecobee/__init__.py index 703718a957f6e5..167132a5f41f16 100644 --- a/homeassistant/components/ecobee/__init__.py +++ b/homeassistant/components/ecobee/__init__.py @@ -11,6 +11,7 @@ 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 3fba43fb7b956f..ca8e551bf5e6f2 100644 --- a/homeassistant/components/ecobee/binary_sensor.py +++ b/homeassistant/components/ecobee/binary_sensor.py @@ -2,6 +2,7 @@ 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 957f264f51e2f8..44a3800afa958f 100644 --- a/homeassistant/components/ecobee/climate.py +++ b/homeassistant/components/ecobee/climate.py @@ -27,6 +27,7 @@ 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 cdefded7c57d81..9824d20b85e98e 100644 --- a/homeassistant/components/ecobee/notify.py +++ b/homeassistant/components/ecobee/notify.py @@ -10,6 +10,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['ecobee'] CONF_INDEX = 'index' diff --git a/homeassistant/components/ecobee/sensor.py b/homeassistant/components/ecobee/sensor.py index da9ad68d729694..1f9fd5cbde8548 100644 --- a/homeassistant/components/ecobee/sensor.py +++ b/homeassistant/components/ecobee/sensor.py @@ -4,6 +4,7 @@ DEVICE_CLASS_HUMIDITY, DEVICE_CLASS_TEMPERATURE, TEMP_FAHRENHEIT) from homeassistant.helpers.entity import Entity +DEPENDENCIES = ['ecobee'] ECOBEE_CONFIG_FILE = 'ecobee.conf' diff --git a/homeassistant/components/ecobee/weather.py b/homeassistant/components/ecobee/weather.py index b58de5bb3d06d6..2ba5f362b7d829 100644 --- a/homeassistant/components/ecobee/weather.py +++ b/homeassistant/components/ecobee/weather.py @@ -7,6 +7,7 @@ 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' diff --git a/homeassistant/components/econet/water_heater.py b/homeassistant/components/econet/water_heater.py index fb85cbfebe2886..90176842bf1175 100644 --- a/homeassistant/components/econet/water_heater.py +++ b/homeassistant/components/econet/water_heater.py @@ -13,6 +13,7 @@ TEMP_FAHRENHEIT) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pyeconet==0.0.10'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ecovacs/__init__.py b/homeassistant/components/ecovacs/__init__.py index f79fc253ffc326..124cae3ca47191 100644 --- a/homeassistant/components/ecovacs/__init__.py +++ b/homeassistant/components/ecovacs/__init__.py @@ -10,6 +10,7 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['sucks==0.9.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ecovacs/vacuum.py b/homeassistant/components/ecovacs/vacuum.py index e0e8c3e8e1664a..b9fe94f2bed0cb 100644 --- a/homeassistant/components/ecovacs/vacuum.py +++ b/homeassistant/components/ecovacs/vacuum.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['ecovacs'] SUPPORT_ECOVACS = ( SUPPORT_BATTERY | SUPPORT_RETURN_HOME | SUPPORT_CLEAN_SPOT | diff --git a/homeassistant/components/eddystone_temperature/sensor.py b/homeassistant/components/eddystone_temperature/sensor.py index 0380860191e127..ae3d498d30c0d9 100644 --- a/homeassistant/components/eddystone_temperature/sensor.py +++ b/homeassistant/components/eddystone_temperature/sensor.py @@ -18,6 +18,7 @@ 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__) diff --git a/homeassistant/components/edimax/switch.py b/homeassistant/components/edimax/switch.py index a1451d4e5d9941..338e6ac932cc4b 100644 --- a/homeassistant/components/edimax/switch.py +++ b/homeassistant/components/edimax/switch.py @@ -8,6 +8,7 @@ CONF_HOST, CONF_NAME, CONF_PASSWORD, CONF_USERNAME) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pyedimax==0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/edp_redy/__init__.py b/homeassistant/components/edp_redy/__init__.py index 65e81354ece183..9b8bfaa437a12d 100644 --- a/homeassistant/components/edp_redy/__init__.py +++ b/homeassistant/components/edp_redy/__init__.py @@ -20,6 +20,7 @@ DATA_UPDATE_TOPIC = '{0}_data_update'.format(DOMAIN) UPDATE_INTERVAL = 60 +REQUIREMENTS = ['edp_redy==0.0.3'] CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({ diff --git a/homeassistant/components/edp_redy/sensor.py b/homeassistant/components/edp_redy/sensor.py index 27def2698477f1..b8f9c031c298c9 100644 --- a/homeassistant/components/edp_redy/sensor.py +++ b/homeassistant/components/edp_redy/sensor.py @@ -8,6 +8,7 @@ _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 5cf6f80fca0b6f..0c92f80ccf6366 100644 --- a/homeassistant/components/edp_redy/switch.py +++ b/homeassistant/components/edp_redy/switch.py @@ -7,6 +7,7 @@ _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 133855e4cf438f..46e4a3c3c24307 100644 --- a/homeassistant/components/ee_brightbox/device_tracker.py +++ b/homeassistant/components/ee_brightbox/device_tracker.py @@ -8,6 +8,7 @@ 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__) diff --git a/homeassistant/components/egardia/__init__.py b/homeassistant/components/egardia/__init__.py index dc27beb9e52eee..fe613824c9512d 100644 --- a/homeassistant/components/egardia/__init__.py +++ b/homeassistant/components/egardia/__init__.py @@ -10,6 +10,7 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pythonegardia==1.0.39'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/egardia/alarm_control_panel.py b/homeassistant/components/egardia/alarm_control_panel.py index 56ceed7a2d5cfe..7fc60d5fb5db6e 100644 --- a/homeassistant/components/egardia/alarm_control_panel.py +++ b/homeassistant/components/egardia/alarm_control_panel.py @@ -13,6 +13,7 @@ CONF_REPORT_SERVER_PORT, EGARDIA_DEVICE, EGARDIA_SERVER, REPORT_SERVER_CODES_IGNORE) +DEPENDENCIES = ['egardia'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/egardia/binary_sensor.py b/homeassistant/components/egardia/binary_sensor.py index d8beb47080280b..d11894ae675666 100644 --- a/homeassistant/components/egardia/binary_sensor.py +++ b/homeassistant/components/egardia/binary_sensor.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['egardia'] EGARDIA_TYPE_TO_DEVICE_CLASS = { 'IR Sensor': 'motion', diff --git a/homeassistant/components/eight_sleep/__init__.py b/homeassistant/components/eight_sleep/__init__.py index dd01027ffba6fc..ca6c8a5a5c6070 100644 --- a/homeassistant/components/eight_sleep/__init__.py +++ b/homeassistant/components/eight_sleep/__init__.py @@ -16,6 +16,7 @@ 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__) diff --git a/homeassistant/components/eight_sleep/binary_sensor.py b/homeassistant/components/eight_sleep/binary_sensor.py index 5e622fe77644b5..a3ca27b570de0c 100644 --- a/homeassistant/components/eight_sleep/binary_sensor.py +++ b/homeassistant/components/eight_sleep/binary_sensor.py @@ -7,6 +7,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['eight_sleep'] async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/eight_sleep/sensor.py b/homeassistant/components/eight_sleep/sensor.py index 9c0d68a778a2ed..a1ad93ec54a3f3 100644 --- a/homeassistant/components/eight_sleep/sensor.py +++ b/homeassistant/components/eight_sleep/sensor.py @@ -5,6 +5,7 @@ CONF_SENSORS, DATA_EIGHT, NAME_MAP, EightSleepHeatEntity, EightSleepUserEntity) +DEPENDENCIES = ['eight_sleep'] ATTR_ROOM_TEMP = 'Room Temperature' ATTR_AVG_ROOM_TEMP = 'Average Room Temperature' diff --git a/homeassistant/components/eliqonline/sensor.py b/homeassistant/components/eliqonline/sensor.py index 95113aa5844c92..198ca327997808 100644 --- a/homeassistant/components/eliqonline/sensor.py +++ b/homeassistant/components/eliqonline/sensor.py @@ -10,6 +10,7 @@ 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__) diff --git a/homeassistant/components/elkm1/__init__.py b/homeassistant/components/elkm1/__init__.py index 26525964edcd69..a0c08bf54299f5 100644 --- a/homeassistant/components/elkm1/__init__.py +++ b/homeassistant/components/elkm1/__init__.py @@ -12,6 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.typing import ConfigType # noqa +REQUIREMENTS = ['elkm1-lib==0.7.13'] DOMAIN = 'elkm1' diff --git a/homeassistant/components/elkm1/alarm_control_panel.py b/homeassistant/components/elkm1/alarm_control_panel.py index b3b34dcd9b82e8..e9155dd17b5bf7 100644 --- a/homeassistant/components/elkm1/alarm_control_panel.py +++ b/homeassistant/components/elkm1/alarm_control_panel.py @@ -12,6 +12,7 @@ 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 e0869907a2600f..93e4aa66b23494 100644 --- a/homeassistant/components/elkm1/climate.py +++ b/homeassistant/components/elkm1/climate.py @@ -9,6 +9,7 @@ from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities +DEPENDENCIES = [ELK_DOMAIN] async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/elkm1/light.py b/homeassistant/components/elkm1/light.py index 7e3ca207026a0e..fe84ab3f251895 100644 --- a/homeassistant/components/elkm1/light.py +++ b/homeassistant/components/elkm1/light.py @@ -4,6 +4,7 @@ from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities +DEPENDENCIES = [ELK_DOMAIN] async def async_setup_platform( diff --git a/homeassistant/components/elkm1/scene.py b/homeassistant/components/elkm1/scene.py index ff72762506c1fd..1d08f4cf96d5f1 100644 --- a/homeassistant/components/elkm1/scene.py +++ b/homeassistant/components/elkm1/scene.py @@ -3,6 +3,7 @@ from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities +DEPENDENCIES = [ELK_DOMAIN] async def async_setup_platform( diff --git a/homeassistant/components/elkm1/sensor.py b/homeassistant/components/elkm1/sensor.py index 6548de416825b5..da27a3ac4b105d 100644 --- a/homeassistant/components/elkm1/sensor.py +++ b/homeassistant/components/elkm1/sensor.py @@ -1,6 +1,7 @@ """Support for control of ElkM1 sensors.""" from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities +DEPENDENCIES = [ELK_DOMAIN] async def async_setup_platform( diff --git a/homeassistant/components/elkm1/switch.py b/homeassistant/components/elkm1/switch.py index 3c0ddb5c81ffab..740a296586502f 100644 --- a/homeassistant/components/elkm1/switch.py +++ b/homeassistant/components/elkm1/switch.py @@ -3,6 +3,7 @@ from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities +DEPENDENCIES = [ELK_DOMAIN] async def async_setup_platform( diff --git a/homeassistant/components/emby/media_player.py b/homeassistant/components/emby/media_player.py index cc5fc07d524536..8a94664f352cbe 100644 --- a/homeassistant/components/emby/media_player.py +++ b/homeassistant/components/emby/media_player.py @@ -17,6 +17,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util +REQUIREMENTS = ['pyemby==1.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/emulated_roku/__init__.py b/homeassistant/components/emulated_roku/__init__.py index f3c990868a2243..ef87e14ec434bf 100644 --- a/homeassistant/components/emulated_roku/__init__.py +++ b/homeassistant/components/emulated_roku/__init__.py @@ -11,6 +11,7 @@ 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, diff --git a/homeassistant/components/enigma2/media_player.py b/homeassistant/components/enigma2/media_player.py index fb5d2111211fce..11c3e0fe3ceab4 100644 --- a/homeassistant/components/enigma2/media_player.py +++ b/homeassistant/components/enigma2/media_player.py @@ -14,6 +14,7 @@ STATE_OFF, STATE_ON, STATE_PLAYING, CONF_PORT) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['openwebifpy==3.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/enocean/__init__.py b/homeassistant/components/enocean/__init__.py index 1432cfd740c83f..8b3c27025cd26e 100644 --- a/homeassistant/components/enocean/__init__.py +++ b/homeassistant/components/enocean/__init__.py @@ -6,6 +6,7 @@ from homeassistant.const import CONF_DEVICE import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['enocean==0.40'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/enocean/binary_sensor.py b/homeassistant/components/enocean/binary_sensor.py index 649bec024e3db3..1fde8c79e401dd 100644 --- a/homeassistant/components/enocean/binary_sensor.py +++ b/homeassistant/components/enocean/binary_sensor.py @@ -12,6 +12,7 @@ _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 26f0008a0ccab6..f574f89f951f77 100644 --- a/homeassistant/components/enocean/light.py +++ b/homeassistant/components/enocean/light.py @@ -15,6 +15,7 @@ CONF_SENDER_ID = 'sender_id' DEFAULT_NAME = 'EnOcean Light' +DEPENDENCIES = ['enocean'] SUPPORT_ENOCEAN = SUPPORT_BRIGHTNESS diff --git a/homeassistant/components/enocean/sensor.py b/homeassistant/components/enocean/sensor.py index 41474c43d48195..8d79de2c50d700 100644 --- a/homeassistant/components/enocean/sensor.py +++ b/homeassistant/components/enocean/sensor.py @@ -12,6 +12,7 @@ _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)]), diff --git a/homeassistant/components/enocean/switch.py b/homeassistant/components/enocean/switch.py index f0b132c9d1c2a8..4dfbafd36b16f6 100644 --- a/homeassistant/components/enocean/switch.py +++ b/homeassistant/components/enocean/switch.py @@ -12,6 +12,7 @@ _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 7077e12d7500a1..2b62732dc9106f 100644 --- a/homeassistant/components/enphase_envoy/sensor.py +++ b/homeassistant/components/enphase_envoy/sensor.py @@ -10,6 +10,7 @@ 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 f58a6e9a5587ec..b2e228676902f3 100644 --- a/homeassistant/components/entur_public_transport/sensor.py +++ b/homeassistant/components/entur_public_transport/sensor.py @@ -14,6 +14,7 @@ from homeassistant.util import Throttle import homeassistant.util.dt as dt_util +REQUIREMENTS = ['enturclient==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/envirophat/sensor.py b/homeassistant/components/envirophat/sensor.py index 40961184b9a099..16cb79406a9b9d 100644 --- a/homeassistant/components/envirophat/sensor.py +++ b/homeassistant/components/envirophat/sensor.py @@ -11,6 +11,8 @@ 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__) diff --git a/homeassistant/components/envisalink/__init__.py b/homeassistant/components/envisalink/__init__.py index 5aa0b8e7fb55ac..c46a26c6f857f3 100644 --- a/homeassistant/components/envisalink/__init__.py +++ b/homeassistant/components/envisalink/__init__.py @@ -12,6 +12,7 @@ from homeassistant.helpers.discovery import async_load_platform from homeassistant.helpers.dispatcher import async_dispatcher_send +REQUIREMENTS = ['pyenvisalink==3.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/envisalink/alarm_control_panel.py b/homeassistant/components/envisalink/alarm_control_panel.py index d5aa0af95f7677..44874c6d5e8445 100644 --- a/homeassistant/components/envisalink/alarm_control_panel.py +++ b/homeassistant/components/envisalink/alarm_control_panel.py @@ -18,6 +18,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['envisalink'] SERVICE_ALARM_KEYPRESS = 'envisalink_alarm_keypress' ATTR_KEYPRESS = 'keypress' diff --git a/homeassistant/components/envisalink/binary_sensor.py b/homeassistant/components/envisalink/binary_sensor.py index 28963bed452976..267bba8cd288ee 100644 --- a/homeassistant/components/envisalink/binary_sensor.py +++ b/homeassistant/components/envisalink/binary_sensor.py @@ -14,6 +14,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['envisalink'] async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/envisalink/sensor.py b/homeassistant/components/envisalink/sensor.py index df1fc9d15ead88..67a601b02a2ff5 100644 --- a/homeassistant/components/envisalink/sensor.py +++ b/homeassistant/components/envisalink/sensor.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['envisalink'] async def async_setup_platform( diff --git a/homeassistant/components/ephember/climate.py b/homeassistant/components/ephember/climate.py index ba51b72d71b2b5..3052dd911ee5de 100644 --- a/homeassistant/components/ephember/climate.py +++ b/homeassistant/components/ephember/climate.py @@ -11,6 +11,7 @@ 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__) diff --git a/homeassistant/components/epson/media_player.py b/homeassistant/components/epson/media_player.py index dc64d443454d28..57bd18e0ee0e50 100644 --- a/homeassistant/components/epson/media_player.py +++ b/homeassistant/components/epson/media_player.py @@ -15,6 +15,7 @@ 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__) diff --git a/homeassistant/components/eq3btsmart/climate.py b/homeassistant/components/eq3btsmart/climate.py index ad3fcc89daf311..f02bd2bc9a55e2 100644 --- a/homeassistant/components/eq3btsmart/climate.py +++ b/homeassistant/components/eq3btsmart/climate.py @@ -13,6 +13,7 @@ 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__) diff --git a/homeassistant/components/esphome/__init__.py b/homeassistant/components/esphome/__init__.py index 1cf2b0e72424f3..9e6f6367cda4fd 100644 --- a/homeassistant/components/esphome/__init__.py +++ b/homeassistant/components/esphome/__init__.py @@ -32,6 +32,7 @@ ServiceCall, UserService DOMAIN = 'esphome' +REQUIREMENTS = ['aioesphomeapi==2.0.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/esphome/binary_sensor.py b/homeassistant/components/esphome/binary_sensor.py index ff3fc2597925d3..2db2f209fa5ac9 100644 --- a/homeassistant/components/esphome/binary_sensor.py +++ b/homeassistant/components/esphome/binary_sensor.py @@ -10,6 +10,7 @@ # 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 bb80ca72724374..319a2c2a4d9150 100644 --- a/homeassistant/components/esphome/camera.py +++ b/homeassistant/components/esphome/camera.py @@ -13,6 +13,7 @@ # 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 e95f9e446337f2..e3cd9e488bf60d 100644 --- a/homeassistant/components/esphome/climate.py +++ b/homeassistant/components/esphome/climate.py @@ -19,6 +19,7 @@ # 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 5eb12aa86ec3bf..68eb4221a931c9 100644 --- a/homeassistant/components/esphome/cover.py +++ b/homeassistant/components/esphome/cover.py @@ -15,6 +15,7 @@ # 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 35938de2455023..973fa85774c0a9 100644 --- a/homeassistant/components/esphome/fan.py +++ b/homeassistant/components/esphome/fan.py @@ -14,6 +14,7 @@ # 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 3d55713b123c68..c84c50010d9482 100644 --- a/homeassistant/components/esphome/light.py +++ b/homeassistant/components/esphome/light.py @@ -17,6 +17,7 @@ # 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 d8ae91e9243228..e4fb7ef82baf85 100644 --- a/homeassistant/components/esphome/sensor.py +++ b/homeassistant/components/esphome/sensor.py @@ -13,6 +13,7 @@ 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 41c5663537c7a7..e736c1df2097f1 100644 --- a/homeassistant/components/esphome/switch.py +++ b/homeassistant/components/esphome/switch.py @@ -12,6 +12,7 @@ # 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 5e29f725c023a2..082295bfea5479 100644 --- a/homeassistant/components/etherscan/sensor.py +++ b/homeassistant/components/etherscan/sensor.py @@ -9,6 +9,7 @@ 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" diff --git a/homeassistant/components/eufy/__init__.py b/homeassistant/components/eufy/__init__.py index 25d3f1ead41ea8..b0bd9109363e39 100644 --- a/homeassistant/components/eufy/__init__.py +++ b/homeassistant/components/eufy/__init__.py @@ -9,6 +9,7 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['lakeside==0.12'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/eufy/light.py b/homeassistant/components/eufy/light.py index 677c672d8e697d..62bc058f1555a8 100644 --- a/homeassistant/components/eufy/light.py +++ b/homeassistant/components/eufy/light.py @@ -11,6 +11,7 @@ color_temperature_mired_to_kelvin as mired_to_kelvin, color_temperature_kelvin_to_mired as kelvin_to_mired) +DEPENDENCIES = ['eufy'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/eufy/switch.py b/homeassistant/components/eufy/switch.py index bd91bd50e82c5a..96d68194107217 100644 --- a/homeassistant/components/eufy/switch.py +++ b/homeassistant/components/eufy/switch.py @@ -3,6 +3,7 @@ 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 9c3c31d3e85009..a628f25ea288f0 100644 --- a/homeassistant/components/everlights/light.py +++ b/homeassistant/components/everlights/light.py @@ -15,6 +15,7 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.exceptions import PlatformNotReady +REQUIREMENTS = ['pyeverlights==0.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/evohome/__init__.py b/homeassistant/components/evohome/__init__.py index 3777285b7ebae7..87a563ecd6d07f 100644 --- a/homeassistant/components/evohome/__init__.py +++ b/homeassistant/components/evohome/__init__.py @@ -19,6 +19,7 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.dispatcher import async_dispatcher_send +REQUIREMENTS = ['evohomeclient==0.3.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/familyhub/camera.py b/homeassistant/components/familyhub/camera.py index 7c75c0962ad258..18aa969132da79 100644 --- a/homeassistant/components/familyhub/camera.py +++ b/homeassistant/components/familyhub/camera.py @@ -10,6 +10,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['python-family-hub-local==0.0.2'] DEFAULT_NAME = 'FamilyHub Camera' diff --git a/homeassistant/components/fan/__init__.py b/homeassistant/components/fan/__init__.py index 23015769f28867..e67ba390a98e53 100644 --- a/homeassistant/components/fan/__init__.py +++ b/homeassistant/components/fan/__init__.py @@ -18,6 +18,7 @@ _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 b469e79310059a..973cc8e36597f1 100644 --- a/homeassistant/components/fastdotcom/__init__.py +++ b/homeassistant/components/fastdotcom/__init__.py @@ -10,6 +10,7 @@ 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 fe47fbc0d1f6c3..37fc0815ddcd93 100644 --- a/homeassistant/components/fastdotcom/sensor.py +++ b/homeassistant/components/fastdotcom/sensor.py @@ -7,6 +7,7 @@ from . import DATA_UPDATED, DOMAIN as FASTDOTCOM_DOMAIN +DEPENDENCIES = ['fastdotcom'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fedex/sensor.py b/homeassistant/components/fedex/sensor.py index c744d8cadaddc6..74ad4f7d0e53c4 100644 --- a/homeassistant/components/fedex/sensor.py +++ b/homeassistant/components/fedex/sensor.py @@ -14,6 +14,7 @@ from homeassistant.util import slugify from homeassistant.util.dt import now, parse_date +REQUIREMENTS = ['fedexdeliverymanager==1.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/feedreader/__init__.py b/homeassistant/components/feedreader/__init__.py index 9a27205fcb3be3..86744bfd39c771 100644 --- a/homeassistant/components/feedreader/__init__.py +++ b/homeassistant/components/feedreader/__init__.py @@ -11,6 +11,7 @@ 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__) diff --git a/homeassistant/components/ffmpeg/__init__.py b/homeassistant/components/ffmpeg/__init__.py index b6e220af83737d..05bc1d991678d0 100644 --- a/homeassistant/components/ffmpeg/__init__.py +++ b/homeassistant/components/ffmpeg/__init__.py @@ -12,6 +12,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['ha-ffmpeg==2.0'] DOMAIN = 'ffmpeg' diff --git a/homeassistant/components/ffmpeg/camera.py b/homeassistant/components/ffmpeg/camera.py index cea6e43331e395..8bca13cfbb7c94 100644 --- a/homeassistant/components/ffmpeg/camera.py +++ b/homeassistant/components/ffmpeg/camera.py @@ -14,6 +14,7 @@ _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 1a77da34f0bfdd..c274d84329e62d 100644 --- a/homeassistant/components/ffmpeg_motion/binary_sensor.py +++ b/homeassistant/components/ffmpeg_motion/binary_sensor.py @@ -12,6 +12,7 @@ CONF_INITIAL_STATE) from homeassistant.const import CONF_NAME +DEPENDENCIES = ['ffmpeg'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ffmpeg_noise/binary_sensor.py b/homeassistant/components/ffmpeg_noise/binary_sensor.py index 01047a67adb03c..7efcc3deda2637 100644 --- a/homeassistant/components/ffmpeg_noise/binary_sensor.py +++ b/homeassistant/components/ffmpeg_noise/binary_sensor.py @@ -12,6 +12,7 @@ CONF_INITIAL_STATE) from homeassistant.const import CONF_NAME +DEPENDENCIES = ['ffmpeg'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fibaro/__init__.py b/homeassistant/components/fibaro/__init__.py index 06580e0c3d1c53..6b37b178a595bb 100644 --- a/homeassistant/components/fibaro/__init__.py +++ b/homeassistant/components/fibaro/__init__.py @@ -13,6 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import convert, slugify +REQUIREMENTS = ['fiblary3==0.1.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fibaro/binary_sensor.py b/homeassistant/components/fibaro/binary_sensor.py index 810b7b31a59e5d..f71a5f3662e8e2 100644 --- a/homeassistant/components/fibaro/binary_sensor.py +++ b/homeassistant/components/fibaro/binary_sensor.py @@ -7,6 +7,7 @@ from . import FIBARO_DEVICES, FibaroDevice +DEPENDENCIES = ['fibaro'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fibaro/climate.py b/homeassistant/components/fibaro/climate.py index cf983e789c8625..0d1ecc3a77f9cf 100644 --- a/homeassistant/components/fibaro/climate.py +++ b/homeassistant/components/fibaro/climate.py @@ -44,6 +44,7 @@ FAN_UP_DOWN = 'up_down' FAN_QUIET = 'quiet' +DEPENDENCIES = ['fibaro'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fibaro/cover.py b/homeassistant/components/fibaro/cover.py index ea1e9f825ec7ac..0f5cc32bc9695b 100644 --- a/homeassistant/components/fibaro/cover.py +++ b/homeassistant/components/fibaro/cover.py @@ -6,6 +6,7 @@ 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 ba5d9265c5bf6d..600b566b36b23c 100644 --- a/homeassistant/components/fibaro/light.py +++ b/homeassistant/components/fibaro/light.py @@ -14,6 +14,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['fibaro'] def scaleto255(value): diff --git a/homeassistant/components/fibaro/scene.py b/homeassistant/components/fibaro/scene.py index 09979a7fae7c7c..93f0cd5b63afd0 100644 --- a/homeassistant/components/fibaro/scene.py +++ b/homeassistant/components/fibaro/scene.py @@ -5,6 +5,7 @@ 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 db9d103d87eb6c..20a37fd3c23756 100644 --- a/homeassistant/components/fibaro/sensor.py +++ b/homeassistant/components/fibaro/sensor.py @@ -22,6 +22,7 @@ ['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 f134b424484de6..024531f62c70e8 100644 --- a/homeassistant/components/fibaro/switch.py +++ b/homeassistant/components/fibaro/switch.py @@ -6,6 +6,7 @@ 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 313e706e759592..00754c5ba68c12 100644 --- a/homeassistant/components/fido/sensor.py +++ b/homeassistant/components/fido/sensor.py @@ -20,6 +20,7 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pyfido==2.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fints/sensor.py b/homeassistant/components/fints/sensor.py index 301483586bbd6a..dce52785fbf269 100644 --- a/homeassistant/components/fints/sensor.py +++ b/homeassistant/components/fints/sensor.py @@ -10,6 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['fints==1.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fitbit/sensor.py b/homeassistant/components/fitbit/sensor.py index fccf38d2e1f953..abbe69c3e1d7db 100644 --- a/homeassistant/components/fitbit/sensor.py +++ b/homeassistant/components/fitbit/sensor.py @@ -17,6 +17,7 @@ from homeassistant.util.json import load_json, save_json +REQUIREMENTS = ['fitbit==0.3.0'] _CONFIGURING = {} _LOGGER = logging.getLogger(__name__) @@ -31,6 +32,7 @@ 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' diff --git a/homeassistant/components/fixer/sensor.py b/homeassistant/components/fixer/sensor.py index 31de52c5b4f2dc..f746d2008e10f3 100644 --- a/homeassistant/components/fixer/sensor.py +++ b/homeassistant/components/fixer/sensor.py @@ -9,6 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['fixerio==1.0.0a0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/flexit/climate.py b/homeassistant/components/flexit/climate.py index d5fc4f1eb458d3..fe7b5ff8e7cd2f 100644 --- a/homeassistant/components/flexit/climate.py +++ b/homeassistant/components/flexit/climate.py @@ -25,6 +25,8 @@ 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, diff --git a/homeassistant/components/flic/binary_sensor.py b/homeassistant/components/flic/binary_sensor.py index e01300ce1ae4ed..083ac01ab4a2d9 100644 --- a/homeassistant/components/flic/binary_sensor.py +++ b/homeassistant/components/flic/binary_sensor.py @@ -11,6 +11,7 @@ from homeassistant.components.binary_sensor import ( BinarySensorDevice, PLATFORM_SCHEMA) +REQUIREMENTS = ['pyflic-homeassistant==0.4.dev0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/flunearyou/sensor.py b/homeassistant/components/flunearyou/sensor.py index 148a3ee41592d2..65de2c6ae43e0d 100644 --- a/homeassistant/components/flunearyou/sensor.py +++ b/homeassistant/components/flunearyou/sensor.py @@ -13,6 +13,7 @@ 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 f020d0e6ea308d..fdd0c09b9d7a60 100644 --- a/homeassistant/components/flux/switch.py +++ b/homeassistant/components/flux/switch.py @@ -42,6 +42,7 @@ MODE_MIRED = 'mired' MODE_RGB = 'rgb' DEFAULT_MODE = MODE_XY +DEPENDENCIES = ['light'] PLATFORM_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/flux_led/light.py b/homeassistant/components/flux_led/light.py index fabf4d1115a17e..0ed14c49ec851c 100644 --- a/homeassistant/components/flux_led/light.py +++ b/homeassistant/components/flux_led/light.py @@ -15,6 +15,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util +REQUIREMENTS = ['flux_led==0.22'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/folder_watcher/__init__.py b/homeassistant/components/folder_watcher/__init__.py index 2a9552437d6c33..babfbd9e9aa61c 100644 --- a/homeassistant/components/folder_watcher/__init__.py +++ b/homeassistant/components/folder_watcher/__init__.py @@ -8,6 +8,7 @@ EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['watchdog==0.8.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/foobot/sensor.py b/homeassistant/components/foobot/sensor.py index 0ecd068cf85a56..2eeca5243a66f5 100644 --- a/homeassistant/components/foobot/sensor.py +++ b/homeassistant/components/foobot/sensor.py @@ -16,6 +16,7 @@ from homeassistant.util import Throttle +REQUIREMENTS = ['foobot_async==0.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/foscam/camera.py b/homeassistant/components/foscam/camera.py index 6b88745217a456..6ce8f1865fcf77 100644 --- a/homeassistant/components/foscam/camera.py +++ b/homeassistant/components/foscam/camera.py @@ -11,6 +11,7 @@ _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 dd8349998886e5..0c5a48049ecc9e 100644 --- a/homeassistant/components/foursquare/__init__.py +++ b/homeassistant/components/foursquare/__init__.py @@ -12,6 +12,7 @@ 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 f99c33911e4745..03beef52357af6 100644 --- a/homeassistant/components/free_mobile/notify.py +++ b/homeassistant/components/free_mobile/notify.py @@ -9,6 +9,7 @@ from homeassistant.components.notify import (PLATFORM_SCHEMA, BaseNotificationService) +REQUIREMENTS = ['freesms==0.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/freebox/__init__.py b/homeassistant/components/freebox/__init__.py index fbc629afaa9f09..7accf7820f4d14 100644 --- a/homeassistant/components/freebox/__init__.py +++ b/homeassistant/components/freebox/__init__.py @@ -9,6 +9,7 @@ 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__) diff --git a/homeassistant/components/freebox/device_tracker.py b/homeassistant/components/freebox/device_tracker.py index 1ded4d43adf66d..5418c1c61a7322 100644 --- a/homeassistant/components/freebox/device_tracker.py +++ b/homeassistant/components/freebox/device_tracker.py @@ -6,6 +6,7 @@ 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 a70d933878c4db..328665ab51cd9b 100644 --- a/homeassistant/components/freebox/sensor.py +++ b/homeassistant/components/freebox/sensor.py @@ -5,6 +5,7 @@ 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 40f3a7862c12ce..4de194fc9023fd 100644 --- a/homeassistant/components/freebox/switch.py +++ b/homeassistant/components/freebox/switch.py @@ -5,6 +5,7 @@ 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 45c7f6630c2f86..3e3e04f44475fb 100644 --- a/homeassistant/components/fritz/device_tracker.py +++ b/homeassistant/components/fritz/device_tracker.py @@ -8,6 +8,7 @@ DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_USERNAME +REQUIREMENTS = ['fritzconnection==0.6.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fritzbox/__init__.py b/homeassistant/components/fritzbox/__init__.py index d40bafee3945d0..81ba019acbc0b0 100644 --- a/homeassistant/components/fritzbox/__init__.py +++ b/homeassistant/components/fritzbox/__init__.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['pyfritzhome==0.4.0'] SUPPORTED_DOMAINS = ['binary_sensor', 'climate', 'switch', 'sensor'] diff --git a/homeassistant/components/fritzbox/binary_sensor.py b/homeassistant/components/fritzbox/binary_sensor.py index 468ff7e87fd5c8..65578c571805e9 100644 --- a/homeassistant/components/fritzbox/binary_sensor.py +++ b/homeassistant/components/fritzbox/binary_sensor.py @@ -7,6 +7,7 @@ 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 8dd87b7b92ae53..e2c9be833ac4d3 100644 --- a/homeassistant/components/fritzbox/climate.py +++ b/homeassistant/components/fritzbox/climate.py @@ -16,6 +16,7 @@ ATTR_STATE_LOCKED, ATTR_STATE_SUMMER_MODE, ATTR_STATE_WINDOW_OPEN, DOMAIN as FRITZBOX_DOMAIN) +DEPENDENCIES = ['fritzbox'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fritzbox/sensor.py b/homeassistant/components/fritzbox/sensor.py index 5467e3423d9f3f..7309f8cc6180a6 100644 --- a/homeassistant/components/fritzbox/sensor.py +++ b/homeassistant/components/fritzbox/sensor.py @@ -9,6 +9,7 @@ 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 1b6bfcb999e296..e227cdaef8a00a 100644 --- a/homeassistant/components/fritzbox/switch.py +++ b/homeassistant/components/fritzbox/switch.py @@ -10,6 +10,7 @@ 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_callmonitor/sensor.py b/homeassistant/components/fritzbox_callmonitor/sensor.py index f6115841d641ac..a6641bc14ad5b5 100644 --- a/homeassistant/components/fritzbox_callmonitor/sensor.py +++ b/homeassistant/components/fritzbox_callmonitor/sensor.py @@ -16,6 +16,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle +REQUIREMENTS = ['fritzconnection==0.6.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fritzbox_netmonitor/sensor.py b/homeassistant/components/fritzbox_netmonitor/sensor.py index 6be5dc746eba00..93f834a894d3b7 100644 --- a/homeassistant/components/fritzbox_netmonitor/sensor.py +++ b/homeassistant/components/fritzbox_netmonitor/sensor.py @@ -11,6 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle +REQUIREMENTS = ['fritzconnection==0.6.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fritzdect/switch.py b/homeassistant/components/fritzdect/switch.py index 8838449c3bcf3d..449ae5a76f13ae 100644 --- a/homeassistant/components/fritzdect/switch.py +++ b/homeassistant/components/fritzdect/switch.py @@ -11,6 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.const import TEMP_CELSIUS, ATTR_TEMPERATURE +REQUIREMENTS = ['fritzhome==1.0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/frontend/__init__.py b/homeassistant/components/frontend/__init__.py index 75e07d1c153508..cfee41dc6ae806 100644 --- a/homeassistant/components/frontend/__init__.py +++ b/homeassistant/components/frontend/__init__.py @@ -21,8 +21,11 @@ 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' diff --git a/homeassistant/components/frontier_silicon/media_player.py b/homeassistant/components/frontier_silicon/media_player.py index bd03308efba6d8..4f28d83e6cfe36 100644 --- a/homeassistant/components/frontier_silicon/media_player.py +++ b/homeassistant/components/frontier_silicon/media_player.py @@ -15,6 +15,7 @@ STATE_PLAYING, STATE_UNKNOWN) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['afsapi==0.0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/futurenow/light.py b/homeassistant/components/futurenow/light.py index 04d68e8676959b..4b570fd0a4dcdb 100644 --- a/homeassistant/components/futurenow/light.py +++ b/homeassistant/components/futurenow/light.py @@ -11,6 +11,7 @@ PLATFORM_SCHEMA) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pyfnip==0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gc100/__init__.py b/homeassistant/components/gc100/__init__.py index ad7d562c67e509..36e9c61b1ba1e1 100644 --- a/homeassistant/components/gc100/__init__.py +++ b/homeassistant/components/gc100/__init__.py @@ -7,6 +7,7 @@ EVENT_HOMEASSISTANT_STOP, CONF_HOST, CONF_PORT) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['python-gc100==1.0.3a'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gc100/binary_sensor.py b/homeassistant/components/gc100/binary_sensor.py index e8343c4229e849..9588506af77666 100644 --- a/homeassistant/components/gc100/binary_sensor.py +++ b/homeassistant/components/gc100/binary_sensor.py @@ -8,6 +8,7 @@ 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 975bc57be63fc2..1ffb2726495ffc 100644 --- a/homeassistant/components/gc100/switch.py +++ b/homeassistant/components/gc100/switch.py @@ -8,6 +8,7 @@ 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 ee0ee6d4e3bffb..e4f85a1892dfc7 100644 --- a/homeassistant/components/gearbest/sensor.py +++ b/homeassistant/components/gearbest/sensor.py @@ -11,6 +11,7 @@ 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 745bf0e4f35c3f..d619d768c234e3 100644 --- a/homeassistant/components/geizhals/sensor.py +++ b/homeassistant/components/geizhals/sensor.py @@ -10,6 +10,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.const import CONF_NAME +REQUIREMENTS = ['geizhals==0.0.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/generic_thermostat/climate.py b/homeassistant/components/generic_thermostat/climate.py index 68ca430183875e..35efa82c8a3c1f 100644 --- a/homeassistant/components/generic_thermostat/climate.py +++ b/homeassistant/components/generic_thermostat/climate.py @@ -23,6 +23,7 @@ _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 143665a120f0d1..e89616126d5f24 100644 --- a/homeassistant/components/geo_json_events/geo_location.py +++ b/homeassistant/components/geo_json_events/geo_location.py @@ -16,6 +16,7 @@ async_dispatcher_connect, dispatcher_send) from homeassistant.helpers.event import track_time_interval +REQUIREMENTS = ['geojson_client==0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/geo_rss_events/sensor.py b/homeassistant/components/geo_rss_events/sensor.py index f11378c459bbaa..f71a60c2e83e89 100644 --- a/homeassistant/components/geo_rss_events/sensor.py +++ b/homeassistant/components/geo_rss_events/sensor.py @@ -20,6 +20,7 @@ CONF_LATITUDE, CONF_LONGITUDE, CONF_RADIUS, CONF_URL) from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['georss_generic_client==0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/geofency/__init__.py b/homeassistant/components/geofency/__init__.py index cc35251be350ef..88b72f02cc2e9f 100644 --- a/homeassistant/components/geofency/__init__.py +++ b/homeassistant/components/geofency/__init__.py @@ -16,6 +16,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'geofency' +DEPENDENCIES = ['webhook'] CONF_MOBILE_BEACONS = 'mobile_beacons' diff --git a/homeassistant/components/geofency/device_tracker.py b/homeassistant/components/geofency/device_tracker.py index 4b519681bd4370..0a1a9d5f32edc6 100644 --- a/homeassistant/components/geofency/device_tracker.py +++ b/homeassistant/components/geofency/device_tracker.py @@ -9,6 +9,7 @@ _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 c34ba032079937..5a86233d561ff7 100644 --- a/homeassistant/components/github/sensor.py +++ b/homeassistant/components/github/sensor.py @@ -9,6 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['PyGithub==1.43.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gitlab_ci/sensor.py b/homeassistant/components/gitlab_ci/sensor.py index 3bb2cce9112f7f..dd574b348d8239 100644 --- a/homeassistant/components/gitlab_ci/sensor.py +++ b/homeassistant/components/gitlab_ci/sensor.py @@ -11,6 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['python-gitlab==1.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gitter/sensor.py b/homeassistant/components/gitter/sensor.py index 27b39e6b14d542..2af9c20fb29094 100644 --- a/homeassistant/components/gitter/sensor.py +++ b/homeassistant/components/gitter/sensor.py @@ -8,6 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['gitterpy==0.1.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/glances/sensor.py b/homeassistant/components/glances/sensor.py index f00bd54c07e521..db8f0397887e89 100644 --- a/homeassistant/components/glances/sensor.py +++ b/homeassistant/components/glances/sensor.py @@ -14,6 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['glances_api==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gntp/notify.py b/homeassistant/components/gntp/notify.py index 8044b6934aa31d..fb3e96e83ab827 100644 --- a/homeassistant/components/gntp/notify.py +++ b/homeassistant/components/gntp/notify.py @@ -10,6 +10,7 @@ from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) +REQUIREMENTS = ['gntp==1.0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/goalfeed/__init__.py b/homeassistant/components/goalfeed/__init__.py index 4a7e4ea980a4c5..6f0149f657a908 100644 --- a/homeassistant/components/goalfeed/__init__.py +++ b/homeassistant/components/goalfeed/__init__.py @@ -9,6 +9,7 @@ # 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 0aaface552a696..4d40ddd2c72ee9 100644 --- a/homeassistant/components/gogogate2/cover.py +++ b/homeassistant/components/gogogate2/cover.py @@ -10,6 +10,7 @@ CONF_IP_ADDRESS, CONF_NAME) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pygogogate2==0.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/google/__init__.py b/homeassistant/components/google/__init__.py index 3f7c4191a5596c..0216094de9b872 100644 --- a/homeassistant/components/google/__init__.py +++ b/homeassistant/components/google/__init__.py @@ -13,6 +13,11 @@ 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__) diff --git a/homeassistant/components/google/tts.py b/homeassistant/components/google/tts.py index 8fff0d98bcdb54..49a945cbbfd241 100644 --- a/homeassistant/components/google/tts.py +++ b/homeassistant/components/google/tts.py @@ -12,6 +12,7 @@ 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__) diff --git a/homeassistant/components/google_assistant/__init__.py b/homeassistant/components/google_assistant/__init__.py index 6118ab219e4d1c..0fd167c2729436 100644 --- a/homeassistant/components/google_assistant/__init__.py +++ b/homeassistant/components/google_assistant/__init__.py @@ -28,6 +28,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['http'] ENTITY_SCHEMA = vol.Schema({ vol.Optional(CONF_NAME): cv.string, diff --git a/homeassistant/components/google_maps/device_tracker.py b/homeassistant/components/google_maps/device_tracker.py index c5d635008498ab..7bc9be00b8cc66 100644 --- a/homeassistant/components/google_maps/device_tracker.py +++ b/homeassistant/components/google_maps/device_tracker.py @@ -14,6 +14,7 @@ from homeassistant.helpers.typing import ConfigType from homeassistant.util import slugify, dt as dt_util +REQUIREMENTS = ['locationsharinglib==3.0.11'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/google_pubsub/__init__.py b/homeassistant/components/google_pubsub/__init__.py index c12c6189bb0663..18c068ea454bcc 100644 --- a/homeassistant/components/google_pubsub/__init__.py +++ b/homeassistant/components/google_pubsub/__init__.py @@ -15,6 +15,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['google-cloud-pubsub==0.39.1'] DOMAIN = 'google_pubsub' diff --git a/homeassistant/components/google_travel_time/sensor.py b/homeassistant/components/google_travel_time/sensor.py index 446c4c5968d393..b448830ab02aa6 100644 --- a/homeassistant/components/google_travel_time/sensor.py +++ b/homeassistant/components/google_travel_time/sensor.py @@ -15,6 +15,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['googlemaps==2.5.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/googlehome/__init__.py b/homeassistant/components/googlehome/__init__.py index ace0227c3c7c44..6ebc2f512b1fef 100644 --- a/homeassistant/components/googlehome/__init__.py +++ b/homeassistant/components/googlehome/__init__.py @@ -10,6 +10,7 @@ _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 35e61cb169ba8d..c024cde0c6ce66 100644 --- a/homeassistant/components/googlehome/device_tracker.py +++ b/homeassistant/components/googlehome/device_tracker.py @@ -10,6 +10,7 @@ _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 f39a2625207f94..4f37740da85ed2 100644 --- a/homeassistant/components/googlehome/sensor.py +++ b/homeassistant/components/googlehome/sensor.py @@ -8,6 +8,7 @@ from . import CLIENT, DOMAIN as GOOGLEHOME_DOMAIN, NAME +DEPENDENCIES = ['googlehome'] SCAN_INTERVAL = timedelta(seconds=10) diff --git a/homeassistant/components/gpmdp/media_player.py b/homeassistant/components/gpmdp/media_player.py index 174d5aadeded81..788126b957f9fc 100644 --- a/homeassistant/components/gpmdp/media_player.py +++ b/homeassistant/components/gpmdp/media_player.py @@ -16,6 +16,7 @@ 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 2bb50265ef9eff..62307cb1011631 100644 --- a/homeassistant/components/gpsd/sensor.py +++ b/homeassistant/components/gpsd/sensor.py @@ -10,6 +10,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['gps3==0.33.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gpslogger/__init__.py b/homeassistant/components/gpslogger/__init__.py index 193b2d84974f2e..6bc9d11a68e088 100644 --- a/homeassistant/components/gpslogger/__init__.py +++ b/homeassistant/components/gpslogger/__init__.py @@ -15,6 +15,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'gpslogger' +DEPENDENCIES = ['webhook'] TRACKER_UPDATE = '{}_tracker_update'.format(DOMAIN) diff --git a/homeassistant/components/gpslogger/device_tracker.py b/homeassistant/components/gpslogger/device_tracker.py index 5b819e1ee546f7..c9496975272811 100644 --- a/homeassistant/components/gpslogger/device_tracker.py +++ b/homeassistant/components/gpslogger/device_tracker.py @@ -10,6 +10,7 @@ _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 f0938f3fecf637..aedc98aac314e6 100644 --- a/homeassistant/components/greeneye_monitor/__init__.py +++ b/homeassistant/components/greeneye_monitor/__init__.py @@ -11,6 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import async_load_platform +REQUIREMENTS = ['greeneye_monitor==1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/greeneye_monitor/sensor.py b/homeassistant/components/greeneye_monitor/sensor.py index a84e9f02210dbd..8321bb768cabf0 100644 --- a/homeassistant/components/greeneye_monitor/sensor.py +++ b/homeassistant/components/greeneye_monitor/sensor.py @@ -23,6 +23,7 @@ _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 a8418a01ac2ee0..b8efe8ae17dcba 100644 --- a/homeassistant/components/greenwave/light.py +++ b/homeassistant/components/greenwave/light.py @@ -10,6 +10,7 @@ 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 e875e88da3d890..094a561d310ea5 100644 --- a/homeassistant/components/gstreamer/media_player.py +++ b/homeassistant/components/gstreamer/media_player.py @@ -11,6 +11,7 @@ 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__) diff --git a/homeassistant/components/gtfs/sensor.py b/homeassistant/components/gtfs/sensor.py index ac100f079877c3..9e89a8ad844de3 100644 --- a/homeassistant/components/gtfs/sensor.py +++ b/homeassistant/components/gtfs/sensor.py @@ -17,6 +17,7 @@ from homeassistant.util import slugify import homeassistant.util.dt as dt_util +REQUIREMENTS = ['pygtfs==0.1.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gtt/sensor.py b/homeassistant/components/gtt/sensor.py index 444f5a05fa61ca..659984fadea8f9 100644 --- a/homeassistant/components/gtt/sensor.py +++ b/homeassistant/components/gtt/sensor.py @@ -9,6 +9,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pygtt==1.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/habitica/__init__.py b/homeassistant/components/habitica/__init__.py index 6abd043f3774d1..23113a1388b4f7 100644 --- a/homeassistant/components/habitica/__init__.py +++ b/homeassistant/components/habitica/__init__.py @@ -9,6 +9,7 @@ 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__) diff --git a/homeassistant/components/hangouts/__init__.py b/homeassistant/components/hangouts/__init__.py index 94d1af74a0de88..29cdc29e5ada6c 100644 --- a/homeassistant/components/hangouts/__init__.py +++ b/homeassistant/components/hangouts/__init__.py @@ -19,6 +19,7 @@ MESSAGE_SCHEMA, SERVICE_RECONNECT, SERVICE_SEND_MESSAGE, SERVICE_UPDATE, TARGETS_SCHEMA) +REQUIREMENTS = ['hangups==0.4.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hangouts/notify.py b/homeassistant/components/hangouts/notify.py index afb1cda8eee175..de9af2e077512b 100644 --- a/homeassistant/components/hangouts/notify.py +++ b/homeassistant/components/hangouts/notify.py @@ -12,6 +12,7 @@ _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 8516f95e0e68f7..cec0ac4f5c8653 100644 --- a/homeassistant/components/harman_kardon_avr/media_player.py +++ b/homeassistant/components/harman_kardon_avr/media_player.py @@ -12,6 +12,7 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_PORT, STATE_OFF, STATE_ON) +REQUIREMENTS = ['hkavr==0.0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/harmony/remote.py b/homeassistant/components/harmony/remote.py index ce1f3d62a3f622..12b3a91e12b675 100644 --- a/homeassistant/components/harmony/remote.py +++ b/homeassistant/components/harmony/remote.py @@ -16,6 +16,7 @@ from homeassistant.exceptions import PlatformNotReady from homeassistant.util import slugify +REQUIREMENTS = ['aioharmony==0.1.11'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hassio/__init__.py b/homeassistant/components/hassio/__init__.py index 2fdb859c320934..e8d04b1596d980 100644 --- a/homeassistant/components/hassio/__init__.py +++ b/homeassistant/components/hassio/__init__.py @@ -25,6 +25,7 @@ _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 359f6e742b5c4c..8eb13c5ab213ae 100644 --- a/homeassistant/components/hdmi_cec/__init__.py +++ b/homeassistant/components/hdmi_cec/__init__.py @@ -17,6 +17,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['pyCEC==0.4.13'] DOMAIN = 'hdmi_cec' diff --git a/homeassistant/components/hdmi_cec/media_player.py b/homeassistant/components/hdmi_cec/media_player.py index d12488bacf10c7..b2d2910e145bbe 100644 --- a/homeassistant/components/hdmi_cec/media_player.py +++ b/homeassistant/components/hdmi_cec/media_player.py @@ -11,6 +11,7 @@ from . import ATTR_NEW, CecDevice +DEPENDENCIES = ['hdmi_cec'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hdmi_cec/switch.py b/homeassistant/components/hdmi_cec/switch.py index 074de13cdc26aa..639f545707ee2b 100644 --- a/homeassistant/components/hdmi_cec/switch.py +++ b/homeassistant/components/hdmi_cec/switch.py @@ -6,6 +6,7 @@ from . import ATTR_NEW, CecDevice +DEPENDENCIES = ['hdmi_cec'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/heatmiser/climate.py b/homeassistant/components/heatmiser/climate.py index adc331372770e1..fc9057bc905699 100644 --- a/homeassistant/components/heatmiser/climate.py +++ b/homeassistant/components/heatmiser/climate.py @@ -10,6 +10,7 @@ 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__) diff --git a/homeassistant/components/heos/__init__.py b/homeassistant/components/heos/__init__.py index ab837c70c4cd6a..084444be4ea87f 100644 --- a/homeassistant/components/heos/__init__.py +++ b/homeassistant/components/heos/__init__.py @@ -19,6 +19,7 @@ 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({ diff --git a/homeassistant/components/heos/media_player.py b/homeassistant/components/heos/media_player.py index fa44a33fe2f15b..72d42f8f66f6bb 100644 --- a/homeassistant/components/heos/media_player.py +++ b/homeassistant/components/heos/media_player.py @@ -17,6 +17,7 @@ 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 | \ diff --git a/homeassistant/components/hikvision/binary_sensor.py b/homeassistant/components/hikvision/binary_sensor.py index f15d67396151b4..a6a82c9ee1b814 100644 --- a/homeassistant/components/hikvision/binary_sensor.py +++ b/homeassistant/components/hikvision/binary_sensor.py @@ -13,6 +13,7 @@ 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 373f84cee0e3a5..6e5dcdac9aae6b 100644 --- a/homeassistant/components/hikvisioncam/switch.py +++ b/homeassistant/components/hikvisioncam/switch.py @@ -10,6 +10,7 @@ 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 b5e959ac4ed6ad..5128b8beea341c 100644 --- a/homeassistant/components/hipchat/notify.py +++ b/homeassistant/components/hipchat/notify.py @@ -10,6 +10,7 @@ PLATFORM_SCHEMA, BaseNotificationService) +REQUIREMENTS = ['hipnotify==1.0.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/history/__init__.py b/homeassistant/components/history/__init__.py index 8a45c1c4132af1..7b07fac19a692d 100644 --- a/homeassistant/components/history/__init__.py +++ b/homeassistant/components/history/__init__.py @@ -19,6 +19,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'history' +DEPENDENCIES = ['recorder', 'http'] CONF_ORDER = 'use_include_order' diff --git a/homeassistant/components/history_graph/__init__.py b/homeassistant/components/history_graph/__init__.py index 8de1873d78ba7a..893f3514d77f93 100644 --- a/homeassistant/components/history_graph/__init__.py +++ b/homeassistant/components/history_graph/__init__.py @@ -8,6 +8,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.entity_component import EntityComponent +DEPENDENCIES = ['history'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/history_stats/sensor.py b/homeassistant/components/history_stats/sensor.py index 27342da285d01c..f1eea4dd693086 100644 --- a/homeassistant/components/history_stats/sensor.py +++ b/homeassistant/components/history_stats/sensor.py @@ -20,6 +20,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'history_stats' +DEPENDENCIES = ['history'] CONF_START = 'start' CONF_END = 'end' diff --git a/homeassistant/components/hive/__init__.py b/homeassistant/components/hive/__init__.py index 21603e35c4f740..934c44028ac27b 100644 --- a/homeassistant/components/hive/__init__.py +++ b/homeassistant/components/hive/__init__.py @@ -8,6 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform +REQUIREMENTS = ['pyhiveapi==0.2.17'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hive/binary_sensor.py b/homeassistant/components/hive/binary_sensor.py index a40ee769eeacd5..a0973f4d8e93a7 100644 --- a/homeassistant/components/hive/binary_sensor.py +++ b/homeassistant/components/hive/binary_sensor.py @@ -3,6 +3,7 @@ from . import DATA_HIVE, DOMAIN +DEPENDENCIES = ['hive'] DEVICETYPE_DEVICE_CLASS = { 'motionsensor': 'motion', diff --git a/homeassistant/components/hive/climate.py b/homeassistant/components/hive/climate.py index b76071084c0776..dac7feb2927fe6 100644 --- a/homeassistant/components/hive/climate.py +++ b/homeassistant/components/hive/climate.py @@ -8,6 +8,7 @@ from . import DATA_HIVE, DOMAIN +DEPENDENCIES = ['hive'] HIVE_TO_HASS_STATE = { 'SCHEDULE': STATE_AUTO, diff --git a/homeassistant/components/hive/light.py b/homeassistant/components/hive/light.py index 9d022e51a04705..3a2176c3eedab7 100644 --- a/homeassistant/components/hive/light.py +++ b/homeassistant/components/hive/light.py @@ -6,6 +6,7 @@ from . import DATA_HIVE, DOMAIN +DEPENDENCIES = ['hive'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/hive/sensor.py b/homeassistant/components/hive/sensor.py index c7f92823432245..e7b7d6b45977aa 100644 --- a/homeassistant/components/hive/sensor.py +++ b/homeassistant/components/hive/sensor.py @@ -4,6 +4,7 @@ from . import DATA_HIVE, DOMAIN +DEPENDENCIES = ['hive'] FRIENDLY_NAMES = { 'Hub_OnlineStatus': 'Hive Hub Status', diff --git a/homeassistant/components/hive/switch.py b/homeassistant/components/hive/switch.py index 6f9e8deb806814..fd4d3d69b50a06 100644 --- a/homeassistant/components/hive/switch.py +++ b/homeassistant/components/hive/switch.py @@ -3,6 +3,7 @@ from . import DATA_HIVE, DOMAIN +DEPENDENCIES = ['hive'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/hlk_sw16/__init__.py b/homeassistant/components/hlk_sw16/__init__.py index fb10b75502419a..acb604bc0103b3 100644 --- a/homeassistant/components/hlk_sw16/__init__.py +++ b/homeassistant/components/hlk_sw16/__init__.py @@ -13,6 +13,7 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_send, async_dispatcher_connect) +REQUIREMENTS = ['hlk-sw16==0.0.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hlk_sw16/switch.py b/homeassistant/components/hlk_sw16/switch.py index fcd70019a8e9e1..164a504fa34406 100644 --- a/homeassistant/components/hlk_sw16/switch.py +++ b/homeassistant/components/hlk_sw16/switch.py @@ -6,6 +6,7 @@ from . import DATA_DEVICE_REGISTER, DOMAIN as HLK_SW16, SW16Device +DEPENDENCIES = [HLK_SW16] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit/__init__.py b/homeassistant/components/homekit/__init__.py index f01344af32f57f..01979f03b9a5f1 100644 --- a/homeassistant/components/homekit/__init__.py +++ b/homeassistant/components/homekit/__init__.py @@ -26,6 +26,7 @@ from .util import ( show_setup_message, validate_entity_config, validate_media_player_features) +REQUIREMENTS = ['HAP-python==2.4.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit_controller/__init__.py b/homeassistant/components/homekit_controller/__init__.py index 6fbf4c6d254167..2a43d0ac9ce5c4 100644 --- a/homeassistant/components/homekit_controller/__init__.py +++ b/homeassistant/components/homekit_controller/__init__.py @@ -12,6 +12,7 @@ ) from .const import DOMAIN # noqa: pylint: disable=unused-import +REQUIREMENTS = ['homekit[IP]==0.13.0'] HOMEKIT_IGNORE = [ 'BSB002', diff --git a/homeassistant/components/homekit_controller/alarm_control_panel.py b/homeassistant/components/homekit_controller/alarm_control_panel.py index b70753834c920b..f9bc25f4237e0c 100644 --- a/homeassistant/components/homekit_controller/alarm_control_panel.py +++ b/homeassistant/components/homekit_controller/alarm_control_panel.py @@ -8,6 +8,7 @@ from . import KNOWN_DEVICES, HomeKitEntity +DEPENDENCIES = ['homekit_controller'] ICON = 'mdi:security' diff --git a/homeassistant/components/homekit_controller/binary_sensor.py b/homeassistant/components/homekit_controller/binary_sensor.py index 7649b24037c3b6..2bd03b18932146 100644 --- a/homeassistant/components/homekit_controller/binary_sensor.py +++ b/homeassistant/components/homekit_controller/binary_sensor.py @@ -5,6 +5,7 @@ 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 e223cbd800a80f..67f1fb72bcfbb5 100644 --- a/homeassistant/components/homekit_controller/climate.py +++ b/homeassistant/components/homekit_controller/climate.py @@ -9,6 +9,7 @@ from . import KNOWN_DEVICES, HomeKitEntity +DEPENDENCIES = ['homekit_controller'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit_controller/cover.py b/homeassistant/components/homekit_controller/cover.py index ad4bb38a26f591..26b7613ed2b6d5 100644 --- a/homeassistant/components/homekit_controller/cover.py +++ b/homeassistant/components/homekit_controller/cover.py @@ -12,6 +12,7 @@ STATE_STOPPED = 'stopped' +DEPENDENCIES = ['homekit_controller'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit_controller/light.py b/homeassistant/components/homekit_controller/light.py index f02a94c799ddd9..cb9259df4a992d 100644 --- a/homeassistant/components/homekit_controller/light.py +++ b/homeassistant/components/homekit_controller/light.py @@ -7,6 +7,7 @@ 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 48190b660fbeb5..0d0275fda164e7 100644 --- a/homeassistant/components/homekit_controller/lock.py +++ b/homeassistant/components/homekit_controller/lock.py @@ -7,6 +7,7 @@ from . import KNOWN_DEVICES, HomeKitEntity +DEPENDENCIES = ['homekit_controller'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit_controller/sensor.py b/homeassistant/components/homekit_controller/sensor.py index 5b9e61a86483ce..8cbc8f248bafe0 100644 --- a/homeassistant/components/homekit_controller/sensor.py +++ b/homeassistant/components/homekit_controller/sensor.py @@ -3,6 +3,7 @@ from . import KNOWN_DEVICES, HomeKitEntity +DEPENDENCIES = ['homekit_controller'] HUMIDITY_ICON = 'mdi-water-percent' TEMP_C_ICON = "mdi-temperature-celsius" diff --git a/homeassistant/components/homekit_controller/switch.py b/homeassistant/components/homekit_controller/switch.py index eb913bc1708292..34e83c06526758 100644 --- a/homeassistant/components/homekit_controller/switch.py +++ b/homeassistant/components/homekit_controller/switch.py @@ -5,6 +5,7 @@ from . import KNOWN_DEVICES, HomeKitEntity +DEPENDENCIES = ['homekit_controller'] OUTLET_IN_USE = "outlet_in_use" diff --git a/homeassistant/components/homematic/__init__.py b/homeassistant/components/homematic/__init__.py index 81f543133558c0..a8109af5ed8f84 100644 --- a/homeassistant/components/homematic/__init__.py +++ b/homeassistant/components/homematic/__init__.py @@ -14,6 +14,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['pyhomematic==0.1.58'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematic/binary_sensor.py b/homeassistant/components/homematic/binary_sensor.py index b38ac973ca79ed..7bf260a9bdc385 100644 --- a/homeassistant/components/homematic/binary_sensor.py +++ b/homeassistant/components/homematic/binary_sensor.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['homematic'] SENSOR_TYPES_CLASS = { 'IPShutterContact': 'opening', diff --git a/homeassistant/components/homematic/climate.py b/homeassistant/components/homematic/climate.py index 5efb8f026f2510..146cad1bc4ca75 100644 --- a/homeassistant/components/homematic/climate.py +++ b/homeassistant/components/homematic/climate.py @@ -9,6 +9,7 @@ from . import ATTR_DISCOVER_DEVICES, HM_ATTRIBUTE_SUPPORT, HMDevice +DEPENDENCIES = ['homematic'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematic/cover.py b/homeassistant/components/homematic/cover.py index c438c8875e2d99..33b764dc31fa21 100644 --- a/homeassistant/components/homematic/cover.py +++ b/homeassistant/components/homematic/cover.py @@ -9,6 +9,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['homematic'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/homematic/light.py b/homeassistant/components/homematic/light.py index b5182f78806c35..c3601461173783 100644 --- a/homeassistant/components/homematic/light.py +++ b/homeassistant/components/homematic/light.py @@ -9,6 +9,7 @@ _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 7b6c7d85b5657b..3c0ca040c5f522 100644 --- a/homeassistant/components/homematic/lock.py +++ b/homeassistant/components/homematic/lock.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['homematic'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/homematic/notify.py b/homeassistant/components/homematic/notify.py index 41b5e4da3d404f..9054c1fa0ad6ca 100644 --- a/homeassistant/components/homematic/notify.py +++ b/homeassistant/components/homematic/notify.py @@ -13,6 +13,7 @@ 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), diff --git a/homeassistant/components/homematic/sensor.py b/homeassistant/components/homematic/sensor.py index be9643c48cd5cd..401d11f70c849b 100644 --- a/homeassistant/components/homematic/sensor.py +++ b/homeassistant/components/homematic/sensor.py @@ -7,6 +7,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['homematic'] HM_STATE_HA_CAST = { 'RotaryHandleSensor': {0: 'closed', 1: 'tilted', 2: 'open'}, diff --git a/homeassistant/components/homematic/switch.py b/homeassistant/components/homematic/switch.py index f67c5b87965131..393ad09b3104ef 100644 --- a/homeassistant/components/homematic/switch.py +++ b/homeassistant/components/homematic/switch.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['homematic'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/homematicip_cloud/__init__.py b/homeassistant/components/homematicip_cloud/__init__.py index 5f05fef4036f8f..1330a2750ae6db 100644 --- a/homeassistant/components/homematicip_cloud/__init__.py +++ b/homeassistant/components/homematicip_cloud/__init__.py @@ -15,6 +15,7 @@ from .device import HomematicipGenericDevice # noqa: F401 from .hap import HomematicipAuth, HomematicipHAP # noqa: F401 +REQUIREMENTS = ['homematicip==0.10.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematicip_cloud/alarm_control_panel.py b/homeassistant/components/homematicip_cloud/alarm_control_panel.py index fc21f4f90568b6..df0201340ed127 100644 --- a/homeassistant/components/homematicip_cloud/alarm_control_panel.py +++ b/homeassistant/components/homematicip_cloud/alarm_control_panel.py @@ -10,6 +10,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['homematicip_cloud'] async def async_setup_platform( diff --git a/homeassistant/components/homematicip_cloud/binary_sensor.py b/homeassistant/components/homematicip_cloud/binary_sensor.py index 19ed4c3dfddbfa..44c17282dda03d 100644 --- a/homeassistant/components/homematicip_cloud/binary_sensor.py +++ b/homeassistant/components/homematicip_cloud/binary_sensor.py @@ -6,6 +6,7 @@ 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/cover.py b/homeassistant/components/homematicip_cloud/cover.py index 96b2ef05301922..735e8789670452 100644 --- a/homeassistant/components/homematicip_cloud/cover.py +++ b/homeassistant/components/homematicip_cloud/cover.py @@ -5,6 +5,7 @@ from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice +DEPENDENCIES = ['homematicip_cloud'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematicip_cloud/light.py b/homeassistant/components/homematicip_cloud/light.py index 7728c921ac0ae8..f5bac66388c6d5 100644 --- a/homeassistant/components/homematicip_cloud/light.py +++ b/homeassistant/components/homematicip_cloud/light.py @@ -7,6 +7,7 @@ from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice +DEPENDENCIES = ['homematicip_cloud'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematicip_cloud/sensor.py b/homeassistant/components/homematicip_cloud/sensor.py index d1660ffd8786cf..5f345f419fac09 100644 --- a/homeassistant/components/homematicip_cloud/sensor.py +++ b/homeassistant/components/homematicip_cloud/sensor.py @@ -9,6 +9,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['homematicip_cloud'] ATTR_TEMPERATURE_OFFSET = 'temperature_offset' ATTR_WIND_DIRECTION = 'wind_direction' diff --git a/homeassistant/components/homematicip_cloud/switch.py b/homeassistant/components/homematicip_cloud/switch.py index 2dfbd2ad0199f6..f9713cd8c006cc 100644 --- a/homeassistant/components/homematicip_cloud/switch.py +++ b/homeassistant/components/homematicip_cloud/switch.py @@ -6,6 +6,7 @@ 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 767137e3d8f72f..ba3157471f9c80 100644 --- a/homeassistant/components/homematicip_cloud/weather.py +++ b/homeassistant/components/homematicip_cloud/weather.py @@ -7,6 +7,7 @@ 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 06aed7e1561590..d0769ed25e6193 100644 --- a/homeassistant/components/homeworks/__init__.py +++ b/homeassistant/components/homeworks/__init__.py @@ -12,6 +12,7 @@ async_dispatcher_connect, dispatcher_send) from homeassistant.util import slugify +REQUIREMENTS = ['pyhomeworks==0.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homeworks/light.py b/homeassistant/components/homeworks/light.py index c161daae8838a8..ca41dff9834b44 100644 --- a/homeassistant/components/homeworks/light.py +++ b/homeassistant/components/homeworks/light.py @@ -11,6 +11,7 @@ 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 aea0983e6abdac..7460ed6e9d0a8c 100644 --- a/homeassistant/components/honeywell/climate.py +++ b/homeassistant/components/honeywell/climate.py @@ -15,6 +15,7 @@ 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__) diff --git a/homeassistant/components/horizon/media_player.py b/homeassistant/components/horizon/media_player.py index 3e3184c71acbce..51168e4ef2e1a7 100644 --- a/homeassistant/components/horizon/media_player.py +++ b/homeassistant/components/horizon/media_player.py @@ -16,6 +16,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['horimote==0.4.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hp_ilo/sensor.py b/homeassistant/components/hp_ilo/sensor.py index 014d3ac96f39a3..a017f0ee3e8c08 100644 --- a/homeassistant/components/hp_ilo/sensor.py +++ b/homeassistant/components/hp_ilo/sensor.py @@ -13,6 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['python-hpilo==3.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/html5/notify.py b/homeassistant/components/html5/notify.py index 2ce01e8e84df07..fa7bf660b79f59 100644 --- a/homeassistant/components/html5/notify.py +++ b/homeassistant/components/html5/notify.py @@ -24,7 +24,9 @@ ATTR_DATA, ATTR_TARGET, ATTR_TITLE, ATTR_TITLE_DEFAULT, DOMAIN, PLATFORM_SCHEMA, BaseNotificationService) +REQUIREMENTS = ['pywebpush==1.9.2'] +DEPENDENCIES = ['frontend'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/http/__init__.py b/homeassistant/components/http/__init__.py index 28d2b00ae3f758..0bcf3f85ff7932 100644 --- a/homeassistant/components/http/__init__.py +++ b/homeassistant/components/http/__init__.py @@ -29,6 +29,7 @@ from .static import CACHE_HEADERS, CachingStaticResource from .view import HomeAssistantView # noqa +REQUIREMENTS = ['aiohttp_cors==0.7.0'] DOMAIN = 'http' diff --git a/homeassistant/components/htu21d/sensor.py b/homeassistant/components/htu21d/sensor.py index c88f72b1440867..17182bb833d8c6 100644 --- a/homeassistant/components/htu21d/sensor.py +++ b/homeassistant/components/htu21d/sensor.py @@ -12,6 +12,8 @@ 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__) diff --git a/homeassistant/components/huawei_lte/__init__.py b/homeassistant/components/huawei_lte/__init__.py index a0bfb528203533..a462b1b3072f18 100644 --- a/homeassistant/components/huawei_lte/__init__.py +++ b/homeassistant/components/huawei_lte/__init__.py @@ -19,6 +19,7 @@ # 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) diff --git a/homeassistant/components/huawei_lte/device_tracker.py b/homeassistant/components/huawei_lte/device_tracker.py index 0ab2c60d649c70..69bf42fb3fe5a5 100644 --- a/homeassistant/components/huawei_lte/device_tracker.py +++ b/homeassistant/components/huawei_lte/device_tracker.py @@ -11,6 +11,7 @@ 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 9e8a098aa38dc7..5e20a774c25d2a 100644 --- a/homeassistant/components/huawei_lte/notify.py +++ b/homeassistant/components/huawei_lte/notify.py @@ -11,6 +11,7 @@ from ..huawei_lte import DATA_KEY +DEPENDENCIES = ['huawei_lte'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/huawei_lte/sensor.py b/homeassistant/components/huawei_lte/sensor.py index f4acde2c85f874..42ad4b52f8d815 100644 --- a/homeassistant/components/huawei_lte/sensor.py +++ b/homeassistant/components/huawei_lte/sensor.py @@ -16,6 +16,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['huawei_lte'] DEFAULT_NAME_TEMPLATE = 'Huawei {} {}' diff --git a/homeassistant/components/hue/__init__.py b/homeassistant/components/hue/__init__.py index 8927bd86be5024..8f5c27f6516e8d 100644 --- a/homeassistant/components/hue/__init__.py +++ b/homeassistant/components/hue/__init__.py @@ -14,6 +14,7 @@ # Loading the config flow file will register the flow from .config_flow import configured_hosts +REQUIREMENTS = ['aiohue==1.9.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hue/light.py b/homeassistant/components/hue/light.py index 3ba92ef12a7cce..0725c86bd954e0 100644 --- a/homeassistant/components/hue/light.py +++ b/homeassistant/components/hue/light.py @@ -16,6 +16,7 @@ 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 31264cd9e9a044..7f0709aa6c1cd6 100644 --- a/homeassistant/components/hunterdouglas_powerview/scene.py +++ b/homeassistant/components/hunterdouglas_powerview/scene.py @@ -10,6 +10,7 @@ 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 324092eadd0427..9c7baf6db2e2dd 100644 --- a/homeassistant/components/hydrawise/__init__.py +++ b/homeassistant/components/hydrawise/__init__.py @@ -14,6 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval +REQUIREMENTS = ['hydrawiser==0.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hydrawise/binary_sensor.py b/homeassistant/components/hydrawise/binary_sensor.py index 5897dc5e219170..85a51d3649eb55 100644 --- a/homeassistant/components/hydrawise/binary_sensor.py +++ b/homeassistant/components/hydrawise/binary_sensor.py @@ -12,6 +12,7 @@ BINARY_SENSORS, DATA_HYDRAWISE, DEVICE_MAP, DEVICE_MAP_INDEX, HydrawiseEntity) +DEPENDENCIES = ['hydrawise'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hydrawise/sensor.py b/homeassistant/components/hydrawise/sensor.py index aa5046ba875b86..fc15a54ed60963 100644 --- a/homeassistant/components/hydrawise/sensor.py +++ b/homeassistant/components/hydrawise/sensor.py @@ -10,6 +10,7 @@ from . import ( DATA_HYDRAWISE, DEVICE_MAP, DEVICE_MAP_INDEX, SENSORS, HydrawiseEntity) +DEPENDENCIES = ['hydrawise'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hydrawise/switch.py b/homeassistant/components/hydrawise/switch.py index fef3e6d133dd60..dcbd5274a6237d 100644 --- a/homeassistant/components/hydrawise/switch.py +++ b/homeassistant/components/hydrawise/switch.py @@ -12,6 +12,7 @@ DEFAULT_WATERING_TIME, DEVICE_MAP, DEVICE_MAP_INDEX, SWITCHES, HydrawiseEntity) +DEPENDENCIES = ['hydrawise'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hydroquebec/sensor.py b/homeassistant/components/hydroquebec/sensor.py index ef4349b993254c..5f0fd9e01aded9 100644 --- a/homeassistant/components/hydroquebec/sensor.py +++ b/homeassistant/components/hydroquebec/sensor.py @@ -20,6 +20,7 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pyhydroquebec==2.2.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ialarm/alarm_control_panel.py b/homeassistant/components/ialarm/alarm_control_panel.py index 89aafd2361ee0e..8152c2496e603c 100644 --- a/homeassistant/components/ialarm/alarm_control_panel.py +++ b/homeassistant/components/ialarm/alarm_control_panel.py @@ -12,6 +12,7 @@ STATE_ALARM_TRIGGERED) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pyialarm==0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/icloud/device_tracker.py b/homeassistant/components/icloud/device_tracker.py index d55a62d7962627..1d0e0d2fafb0f6 100644 --- a/homeassistant/components/icloud/device_tracker.py +++ b/homeassistant/components/icloud/device_tracker.py @@ -17,6 +17,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['pyicloud==0.9.1'] CONF_ACCOUNTNAME = 'account_name' CONF_MAX_INTERVAL = 'max_interval' diff --git a/homeassistant/components/idteck_prox/__init__.py b/homeassistant/components/idteck_prox/__init__.py index 4f4a2d624cdf87..3de7aa7cc8c5fa 100644 --- a/homeassistant/components/idteck_prox/__init__.py +++ b/homeassistant/components/idteck_prox/__init__.py @@ -7,6 +7,7 @@ from homeassistant.const import ( CONF_HOST, CONF_PORT, CONF_NAME, EVENT_HOMEASSISTANT_STOP) +REQUIREMENTS = ['rfk101py==0.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ifttt/__init__.py b/homeassistant/components/ifttt/__init__.py index 8f5ff061d1dfee..bad3984ea5bd20 100644 --- a/homeassistant/components/ifttt/__init__.py +++ b/homeassistant/components/ifttt/__init__.py @@ -9,6 +9,8 @@ from homeassistant.helpers import config_entry_flow import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pyfttt==0.3'] +DEPENDENCIES = ['webhook'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ifttt/alarm_control_panel.py b/homeassistant/components/ifttt/alarm_control_panel.py index a45ac1961ce535..3f806173196897 100644 --- a/homeassistant/components/ifttt/alarm_control_panel.py +++ b/homeassistant/components/ifttt/alarm_control_panel.py @@ -15,6 +15,7 @@ from . import ATTR_EVENT, DOMAIN as IFTTT_DOMAIN, SERVICE_TRIGGER +DEPENDENCIES = ['ifttt'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/iglo/light.py b/homeassistant/components/iglo/light.py index e0375fd9035cc2..6851141efb46be 100644 --- a/homeassistant/components/iglo/light.py +++ b/homeassistant/components/iglo/light.py @@ -12,6 +12,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util +REQUIREMENTS = ['iglo==1.2.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ihc/__init__.py b/homeassistant/components/ihc/__init__.py index 43c842e3bee6b7..102acd82551c4f 100644 --- a/homeassistant/components/ihc/__init__.py +++ b/homeassistant/components/ihc/__init__.py @@ -21,6 +21,7 @@ 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__) diff --git a/homeassistant/components/ihc/binary_sensor.py b/homeassistant/components/ihc/binary_sensor.py index 048778c56fd31e..69e3e1685af8c8 100644 --- a/homeassistant/components/ihc/binary_sensor.py +++ b/homeassistant/components/ihc/binary_sensor.py @@ -6,6 +6,7 @@ from .const import CONF_INVERTING from .ihcdevice import IHCDevice +DEPENDENCIES = ['ihc'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/ihc/light.py b/homeassistant/components/ihc/light.py index e80dce5bfa1549..ad6d0fb6511859 100644 --- a/homeassistant/components/ihc/light.py +++ b/homeassistant/components/ihc/light.py @@ -9,6 +9,7 @@ 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 f2ce55f599741c..fd1f2cee53a846 100644 --- a/homeassistant/components/ihc/sensor.py +++ b/homeassistant/components/ihc/sensor.py @@ -5,6 +5,7 @@ from . import IHC_CONTROLLER, IHC_DATA, IHC_INFO from .ihcdevice import IHCDevice +DEPENDENCIES = ['ihc'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/ihc/switch.py b/homeassistant/components/ihc/switch.py index 11ff8273014d4c..e2189492b8f435 100644 --- a/homeassistant/components/ihc/switch.py +++ b/homeassistant/components/ihc/switch.py @@ -6,6 +6,7 @@ from .ihcdevice import IHCDevice from .util import async_pulse, async_set_bool +DEPENDENCIES = ['ihc'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/image_processing/__init__.py b/homeassistant/components/image_processing/__init__.py index ccabda86dfa6ed..e5193985629629 100644 --- a/homeassistant/components/image_processing/__init__.py +++ b/homeassistant/components/image_processing/__init__.py @@ -17,6 +17,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'image_processing' +DEPENDENCIES = ['camera'] SCAN_INTERVAL = timedelta(seconds=10) diff --git a/homeassistant/components/imap/sensor.py b/homeassistant/components/imap/sensor.py index c04b3a73fa960a..5ff23eb8e5d5c4 100644 --- a/homeassistant/components/imap/sensor.py +++ b/homeassistant/components/imap/sensor.py @@ -15,6 +15,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['aioimaplib==0.7.15'] CONF_SERVER = 'server' CONF_FOLDER = 'folder' diff --git a/homeassistant/components/influxdb/__init__.py b/homeassistant/components/influxdb/__init__.py index 48766edff3721a..551996983c8004 100644 --- a/homeassistant/components/influxdb/__init__.py +++ b/homeassistant/components/influxdb/__init__.py @@ -18,6 +18,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity_values import EntityValues +REQUIREMENTS = ['influxdb==5.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/influxdb/sensor.py b/homeassistant/components/influxdb/sensor.py index ba9a613f87cee7..3bec7e3c657780 100644 --- a/homeassistant/components/influxdb/sensor.py +++ b/homeassistant/components/influxdb/sensor.py @@ -18,6 +18,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['influxdb==5.2.0'] DEFAULT_HOST = 'localhost' DEFAULT_PORT = 8086 diff --git a/homeassistant/components/insteon/__init__.py b/homeassistant/components/insteon/__init__.py index bb66aab5c30ce9..a462ac0f63efe3 100644 --- a/homeassistant/components/insteon/__init__.py +++ b/homeassistant/components/insteon/__init__.py @@ -13,6 +13,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['insteonplm==0.15.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/insteon/binary_sensor.py b/homeassistant/components/insteon/binary_sensor.py index e230eed4ac5231..6f1e56756394f0 100644 --- a/homeassistant/components/insteon/binary_sensor.py +++ b/homeassistant/components/insteon/binary_sensor.py @@ -7,6 +7,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['insteon'] SENSOR_TYPES = { 'openClosedSensor': 'opening', diff --git a/homeassistant/components/insteon/cover.py b/homeassistant/components/insteon/cover.py index da339bb4b65a09..1bb316152a9db9 100644 --- a/homeassistant/components/insteon/cover.py +++ b/homeassistant/components/insteon/cover.py @@ -10,6 +10,7 @@ _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 23bd195ea51420..26a56d6df98b3b 100644 --- a/homeassistant/components/insteon/fan.py +++ b/homeassistant/components/insteon/fan.py @@ -10,6 +10,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['insteon'] SPEED_TO_HEX = { SPEED_OFF: 0x00, diff --git a/homeassistant/components/insteon/light.py b/homeassistant/components/insteon/light.py index 330b0d372922ad..676c053325c65f 100644 --- a/homeassistant/components/insteon/light.py +++ b/homeassistant/components/insteon/light.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['insteon'] MAX_BRIGHTNESS = 255 diff --git a/homeassistant/components/insteon/sensor.py b/homeassistant/components/insteon/sensor.py index e54085ef48ba6a..edea87e1f738aa 100644 --- a/homeassistant/components/insteon/sensor.py +++ b/homeassistant/components/insteon/sensor.py @@ -5,6 +5,7 @@ from . import InsteonEntity +DEPENDENCIES = ['insteon'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/insteon/switch.py b/homeassistant/components/insteon/switch.py index 02b923e3b38c64..4fdcdb20bb2847 100644 --- a/homeassistant/components/insteon/switch.py +++ b/homeassistant/components/insteon/switch.py @@ -5,6 +5,7 @@ from . import InsteonEntity +DEPENDENCIES = ['insteon'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ios/__init__.py b/homeassistant/components/ios/__init__.py index 8bd0a90d4e5dda..cc8bd62293a18b 100644 --- a/homeassistant/components/ios/__init__.py +++ b/homeassistant/components/ios/__init__.py @@ -17,6 +17,7 @@ DOMAIN = 'ios' +DEPENDENCIES = ['device_tracker', 'http', 'zeroconf'] CONF_PUSH = 'push' CONF_PUSH_CATEGORIES = 'categories' diff --git a/homeassistant/components/ios/notify.py b/homeassistant/components/ios/notify.py index 86773ca659f458..1f8aade4ec17a8 100644 --- a/homeassistant/components/ios/notify.py +++ b/homeassistant/components/ios/notify.py @@ -14,6 +14,7 @@ PUSH_URL = "https://ios-push.home-assistant.io/push" +DEPENDENCIES = ["ios"] # pylint: disable=invalid-name diff --git a/homeassistant/components/ios/sensor.py b/homeassistant/components/ios/sensor.py index bf234c192a64ff..404b313368cebe 100644 --- a/homeassistant/components/ios/sensor.py +++ b/homeassistant/components/ios/sensor.py @@ -3,6 +3,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.icon import icon_for_battery_level +DEPENDENCIES = ['ios'] SENSOR_TYPES = { 'level': ['Battery Level', '%'], diff --git a/homeassistant/components/iota/__init__.py b/homeassistant/components/iota/__init__.py index ea2fcdc90eb7a6..e28de61aad0174 100644 --- a/homeassistant/components/iota/__init__.py +++ b/homeassistant/components/iota/__init__.py @@ -8,6 +8,7 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['pyota==2.0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/iota/sensor.py b/homeassistant/components/iota/sensor.py index 36de3f31961a59..2955828aff5a77 100644 --- a/homeassistant/components/iota/sensor.py +++ b/homeassistant/components/iota/sensor.py @@ -15,6 +15,7 @@ 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 6acdac85540189..01ac2194f355e7 100644 --- a/homeassistant/components/iperf3/__init__.py +++ b/homeassistant/components/iperf3/__init__.py @@ -12,6 +12,7 @@ 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 09595ee67fba0a..db9aafcdf4bb19 100644 --- a/homeassistant/components/iperf3/sensor.py +++ b/homeassistant/components/iperf3/sensor.py @@ -6,6 +6,7 @@ from . import ATTR_VERSION, DATA_UPDATED, DOMAIN as IPERF3_DOMAIN, SENSOR_TYPES +DEPENDENCIES = ['iperf3'] ATTRIBUTION = 'Data retrieved using Iperf3' diff --git a/homeassistant/components/ipma/weather.py b/homeassistant/components/ipma/weather.py index dafee5df526e8b..7122957ad12d95 100644 --- a/homeassistant/components/ipma/weather.py +++ b/homeassistant/components/ipma/weather.py @@ -15,6 +15,7 @@ from homeassistant.helpers import config_validation as cv from homeassistant.util import Throttle +REQUIREMENTS = ['pyipma==1.2.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/irish_rail_transport/sensor.py b/homeassistant/components/irish_rail_transport/sensor.py index 40d3a5809a4d85..e17ecfde59da5b 100644 --- a/homeassistant/components/irish_rail_transport/sensor.py +++ b/homeassistant/components/irish_rail_transport/sensor.py @@ -9,6 +9,7 @@ from homeassistant.const import CONF_NAME, ATTR_ATTRIBUTION from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['pyirishrail==0.0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/islamic_prayer_times/sensor.py b/homeassistant/components/islamic_prayer_times/sensor.py index 1614b568df70e9..9efbc237e30a5e 100644 --- a/homeassistant/components/islamic_prayer_times/sensor.py +++ b/homeassistant/components/islamic_prayer_times/sensor.py @@ -11,6 +11,7 @@ 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__) diff --git a/homeassistant/components/iss/binary_sensor.py b/homeassistant/components/iss/binary_sensor.py index 4c87609ff29268..381bc16791826e 100644 --- a/homeassistant/components/iss/binary_sensor.py +++ b/homeassistant/components/iss/binary_sensor.py @@ -12,6 +12,7 @@ CONF_NAME, ATTR_LONGITUDE, ATTR_LATITUDE, CONF_SHOW_ON_MAP) from homeassistant.util import Throttle +REQUIREMENTS = ['pyiss==1.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/isy994/__init__.py b/homeassistant/components/isy994/__init__.py index a6f34691ce5cab..4eaa71deececa5 100644 --- a/homeassistant/components/isy994/__init__.py +++ b/homeassistant/components/isy994/__init__.py @@ -12,6 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.typing import ConfigType, Dict +REQUIREMENTS = ['PyISY==1.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/itach/remote.py b/homeassistant/components/itach/remote.py index 209fd952ae4ddb..beb773838fb17d 100644 --- a/homeassistant/components/itach/remote.py +++ b/homeassistant/components/itach/remote.py @@ -10,6 +10,7 @@ CONF_DEVICES) from homeassistant.components.remote import PLATFORM_SCHEMA +REQUIREMENTS = ['pyitachip2ir==0.0.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/jewish_calendar/sensor.py b/homeassistant/components/jewish_calendar/sensor.py index c8e03662ff708c..478bbed98fa6c7 100644 --- a/homeassistant/components/jewish_calendar/sensor.py +++ b/homeassistant/components/jewish_calendar/sensor.py @@ -11,6 +11,7 @@ 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__) diff --git a/homeassistant/components/joaoapps_join/__init__.py b/homeassistant/components/joaoapps_join/__init__.py index ff7aab36223d66..f1371deed2bdf5 100644 --- a/homeassistant/components/joaoapps_join/__init__.py +++ b/homeassistant/components/joaoapps_join/__init__.py @@ -6,6 +6,7 @@ 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__) diff --git a/homeassistant/components/joaoapps_join/notify.py b/homeassistant/components/joaoapps_join/notify.py index 124f730ce017df..0137520049d423 100644 --- a/homeassistant/components/joaoapps_join/notify.py +++ b/homeassistant/components/joaoapps_join/notify.py @@ -7,6 +7,7 @@ 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__) diff --git a/homeassistant/components/juicenet/__init__.py b/homeassistant/components/juicenet/__init__.py index ddce80e91efaec..f62331d1502ea0 100644 --- a/homeassistant/components/juicenet/__init__.py +++ b/homeassistant/components/juicenet/__init__.py @@ -8,6 +8,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['python-juicenet==0.0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/juicenet/sensor.py b/homeassistant/components/juicenet/sensor.py index 4a612fb64e9a1d..6b55e539547d24 100644 --- a/homeassistant/components/juicenet/sensor.py +++ b/homeassistant/components/juicenet/sensor.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['juicenet'] SENSOR_TYPES = { 'status': ['Charging Status', None], diff --git a/homeassistant/components/keenetic_ndms2/device_tracker.py b/homeassistant/components/keenetic_ndms2/device_tracker.py index 93daa6d59c4e74..f873507112dc62 100644 --- a/homeassistant/components/keenetic_ndms2/device_tracker.py +++ b/homeassistant/components/keenetic_ndms2/device_tracker.py @@ -10,6 +10,7 @@ CONF_HOST, CONF_PORT, CONF_PASSWORD, CONF_USERNAME ) +REQUIREMENTS = ['ndms2_client==0.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/keyboard/__init__.py b/homeassistant/components/keyboard/__init__.py index 04c9987554e325..44accca2f56a7e 100644 --- a/homeassistant/components/keyboard/__init__.py +++ b/homeassistant/components/keyboard/__init__.py @@ -6,6 +6,7 @@ SERVICE_MEDIA_PREVIOUS_TRACK, SERVICE_VOLUME_DOWN, SERVICE_VOLUME_MUTE, SERVICE_VOLUME_UP) +REQUIREMENTS = ['pyuserinput==0.1.11'] DOMAIN = 'keyboard' diff --git a/homeassistant/components/keyboard_remote/__init__.py b/homeassistant/components/keyboard_remote/__init__.py index 6e0cab7f4ebf30..e786fe458a8460 100644 --- a/homeassistant/components/keyboard_remote/__init__.py +++ b/homeassistant/components/keyboard_remote/__init__.py @@ -11,6 +11,7 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) +REQUIREMENTS = ['evdev==0.6.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/kira/__init__.py b/homeassistant/components/kira/__init__.py index 1811cbfb19f3dd..d60d8e0cfeb10a 100644 --- a/homeassistant/components/kira/__init__.py +++ b/homeassistant/components/kira/__init__.py @@ -12,6 +12,7 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pykira==0.1.1'] DOMAIN = 'kira' diff --git a/homeassistant/components/kiwi/lock.py b/homeassistant/components/kiwi/lock.py index ed7dc251cf3514..0b5806425d95a7 100644 --- a/homeassistant/components/kiwi/lock.py +++ b/homeassistant/components/kiwi/lock.py @@ -11,6 +11,7 @@ from homeassistant.helpers.event import async_call_later from homeassistant.core import callback +REQUIREMENTS = ['kiwiki-client==0.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/knx/__init__.py b/homeassistant/components/knx/__init__.py index 8ff6ecdbd5ffc7..ea5b18b7ede91a 100644 --- a/homeassistant/components/knx/__init__.py +++ b/homeassistant/components/knx/__init__.py @@ -11,6 +11,7 @@ from homeassistant.helpers.event import async_track_state_change from homeassistant.helpers.script import Script +REQUIREMENTS = ['xknx==0.10.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/knx/binary_sensor.py b/homeassistant/components/knx/binary_sensor.py index 7ac01d6be86725..8ee21e24c5e978 100644 --- a/homeassistant/components/knx/binary_sensor.py +++ b/homeassistant/components/knx/binary_sensor.py @@ -22,6 +22,7 @@ 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, diff --git a/homeassistant/components/knx/climate.py b/homeassistant/components/knx/climate.py index 9ac2511edbae24..e11e5449326bf5 100644 --- a/homeassistant/components/knx/climate.py +++ b/homeassistant/components/knx/climate.py @@ -39,6 +39,7 @@ 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 = { diff --git a/homeassistant/components/knx/cover.py b/homeassistant/components/knx/cover.py index f58d09e46286b3..b2b287d1e87d23 100644 --- a/homeassistant/components/knx/cover.py +++ b/homeassistant/components/knx/cover.py @@ -25,6 +25,7 @@ DEFAULT_TRAVEL_TIME = 25 DEFAULT_NAME = 'KNX Cover' +DEPENDENCIES = ['knx'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, diff --git a/homeassistant/components/knx/light.py b/homeassistant/components/knx/light.py index b94d91514af40e..cf59f1fc135b3b 100644 --- a/homeassistant/components/knx/light.py +++ b/homeassistant/components/knx/light.py @@ -30,6 +30,7 @@ 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 66ea24d5930489..742252d187426f 100644 --- a/homeassistant/components/knx/notify.py +++ b/homeassistant/components/knx/notify.py @@ -11,6 +11,7 @@ DEFAULT_NAME = 'KNX Notify' +DEPENDENCIES = ['knx'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADDRESS): cv.string, diff --git a/homeassistant/components/knx/scene.py b/homeassistant/components/knx/scene.py index 6faff9c4853526..4bf186c28ff7d4 100644 --- a/homeassistant/components/knx/scene.py +++ b/homeassistant/components/knx/scene.py @@ -11,6 +11,7 @@ CONF_SCENE_NUMBER = 'scene_number' DEFAULT_NAME = 'KNX SCENE' +DEPENDENCIES = ['knx'] PLATFORM_SCHEMA = vol.Schema({ vol.Required(CONF_PLATFORM): 'knx', diff --git a/homeassistant/components/knx/sensor.py b/homeassistant/components/knx/sensor.py index a28916f922046b..7ddafe53be44b0 100644 --- a/homeassistant/components/knx/sensor.py +++ b/homeassistant/components/knx/sensor.py @@ -10,6 +10,7 @@ from . import ATTR_DISCOVER_DEVICES, DATA_KNX DEFAULT_NAME = 'KNX Sensor' +DEPENDENCIES = ['knx'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADDRESS): cv.string, diff --git a/homeassistant/components/knx/switch.py b/homeassistant/components/knx/switch.py index 6b3890555a57a9..e3beff39677954 100644 --- a/homeassistant/components/knx/switch.py +++ b/homeassistant/components/knx/switch.py @@ -11,6 +11,7 @@ CONF_STATE_ADDRESS = 'state_address' DEFAULT_NAME = 'KNX Switch' +DEPENDENCIES = ['knx'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADDRESS): cv.string, diff --git a/homeassistant/components/kodi/media_player.py b/homeassistant/components/kodi/media_player.py index 47c2ce29cf3f65..81c93dba2ac417 100644 --- a/homeassistant/components/kodi/media_player.py +++ b/homeassistant/components/kodi/media_player.py @@ -31,6 +31,7 @@ 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__) diff --git a/homeassistant/components/kodi/notify.py b/homeassistant/components/kodi/notify.py index 72e2c2b647a0db..f6ee2c47b96b7c 100644 --- a/homeassistant/components/kodi/notify.py +++ b/homeassistant/components/kodi/notify.py @@ -14,6 +14,7 @@ ATTR_DATA, ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) +REQUIREMENTS = ['jsonrpc-async==0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/konnected/__init__.py b/homeassistant/components/konnected/__init__.py index 97e90ffbceed63..276e395817c0d5 100644 --- a/homeassistant/components/konnected/__init__.py +++ b/homeassistant/components/konnected/__init__.py @@ -32,6 +32,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['konnected==0.1.5'] _BINARY_SENSOR_SCHEMA = vol.All( vol.Schema({ @@ -95,6 +96,7 @@ extra=vol.ALLOW_EXTRA, ) +DEPENDENCIES = ['http'] async def async_setup(hass, config): diff --git a/homeassistant/components/konnected/binary_sensor.py b/homeassistant/components/konnected/binary_sensor.py index d2cf179f63265e..1fbfbea1861c25 100644 --- a/homeassistant/components/konnected/binary_sensor.py +++ b/homeassistant/components/konnected/binary_sensor.py @@ -12,6 +12,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['konnected'] async def async_setup_platform( diff --git a/homeassistant/components/konnected/sensor.py b/homeassistant/components/konnected/sensor.py index ca4480b5329f0d..a48d1a58619600 100644 --- a/homeassistant/components/konnected/sensor.py +++ b/homeassistant/components/konnected/sensor.py @@ -13,6 +13,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['konnected'] SENSOR_TYPES = { DEVICE_CLASS_TEMPERATURE: ['Temperature', TEMP_CELSIUS], diff --git a/homeassistant/components/konnected/switch.py b/homeassistant/components/konnected/switch.py index 53dcb17c2866c4..3db602215b968d 100644 --- a/homeassistant/components/konnected/switch.py +++ b/homeassistant/components/konnected/switch.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['konnected'] async def async_setup_platform( diff --git a/homeassistant/components/kwb/sensor.py b/homeassistant/components/kwb/sensor.py index 4c1c948daf4c24..bad0ea3cdede51 100644 --- a/homeassistant/components/kwb/sensor.py +++ b/homeassistant/components/kwb/sensor.py @@ -9,6 +9,7 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pykwb==0.0.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lacrosse/sensor.py b/homeassistant/components/lacrosse/sensor.py index d3325cee8175f0..9240343a5e3e69 100644 --- a/homeassistant/components/lacrosse/sensor.py +++ b/homeassistant/components/lacrosse/sensor.py @@ -14,6 +14,7 @@ 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__) diff --git a/homeassistant/components/lametric/__init__.py b/homeassistant/components/lametric/__init__.py index b40d7ba2211de9..0c3c8b08dd732e 100644 --- a/homeassistant/components/lametric/__init__.py +++ b/homeassistant/components/lametric/__init__.py @@ -5,6 +5,7 @@ import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['lmnotify==0.0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lametric/notify.py b/homeassistant/components/lametric/notify.py index f484e5551f6feb..358bb056b00e33 100644 --- a/homeassistant/components/lametric/notify.py +++ b/homeassistant/components/lametric/notify.py @@ -11,6 +11,7 @@ from . import DOMAIN as LAMETRIC_DOMAIN +REQUIREMENTS = ['lmnotify==0.0.4'] _LOGGER = logging.getLogger(__name__) @@ -20,6 +21,7 @@ CONF_LIFETIME = 'lifetime' CONF_PRIORITY = 'priority' +DEPENDENCIES = ['lametric'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_ICON, default='a7956'): cv.string, diff --git a/homeassistant/components/lastfm/sensor.py b/homeassistant/components/lastfm/sensor.py index 846d65b4433b4c..e4e28eff4f1819 100644 --- a/homeassistant/components/lastfm/sensor.py +++ b/homeassistant/components/lastfm/sensor.py @@ -9,6 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['pylast==3.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/launch_library/sensor.py b/homeassistant/components/launch_library/sensor.py index d60e13d5561a4a..4b42ddba268b0b 100644 --- a/homeassistant/components/launch_library/sensor.py +++ b/homeassistant/components/launch_library/sensor.py @@ -10,6 +10,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.aiohttp_client import async_get_clientsession +REQUIREMENTS = ['pylaunches==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lcn/__init__.py b/homeassistant/components/lcn/__init__.py index 42c7d4e951e771..44f69c261b9c88 100644 --- a/homeassistant/components/lcn/__init__.py +++ b/homeassistant/components/lcn/__init__.py @@ -20,6 +20,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['pypck==0.5.9'] def has_unique_connection_names(connections): diff --git a/homeassistant/components/lcn/binary_sensor.py b/homeassistant/components/lcn/binary_sensor.py index 387ddf6050a757..0ffa2e50d8b21d 100755 --- a/homeassistant/components/lcn/binary_sensor.py +++ b/homeassistant/components/lcn/binary_sensor.py @@ -6,6 +6,7 @@ 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, diff --git a/homeassistant/components/lcn/cover.py b/homeassistant/components/lcn/cover.py index 0c8ac85d4475a2..a32ff7c23f4605 100755 --- a/homeassistant/components/lcn/cover.py +++ b/homeassistant/components/lcn/cover.py @@ -5,6 +5,7 @@ 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, diff --git a/homeassistant/components/lcn/light.py b/homeassistant/components/lcn/light.py index 115cf1a510a9a1..00b78259354e51 100644 --- a/homeassistant/components/lcn/light.py +++ b/homeassistant/components/lcn/light.py @@ -9,6 +9,7 @@ CONF_CONNECTIONS, CONF_DIMMABLE, CONF_OUTPUT, CONF_TRANSITION, DATA_LCN, OUTPUT_PORTS) +DEPENDENCIES = ['lcn'] async def async_setup_platform( diff --git a/homeassistant/components/lcn/sensor.py b/homeassistant/components/lcn/sensor.py index 500a5204ab31a6..5e50d092ada05d 100755 --- a/homeassistant/components/lcn/sensor.py +++ b/homeassistant/components/lcn/sensor.py @@ -6,6 +6,7 @@ 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, diff --git a/homeassistant/components/lcn/switch.py b/homeassistant/components/lcn/switch.py index 98cc9aa2468b27..7c375f4a598c79 100755 --- a/homeassistant/components/lcn/switch.py +++ b/homeassistant/components/lcn/switch.py @@ -5,6 +5,7 @@ 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, diff --git a/homeassistant/components/lg_netcast/media_player.py b/homeassistant/components/lg_netcast/media_player.py index 0a186fc9e8f869..12fee5fae96eda 100644 --- a/homeassistant/components/lg_netcast/media_player.py +++ b/homeassistant/components/lg_netcast/media_player.py @@ -17,6 +17,7 @@ STATE_PLAYING) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pylgnetcast-homeassistant==0.2.0.dev0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lg_soundbar/media_player.py b/homeassistant/components/lg_soundbar/media_player.py index 656ec8df31b0de..2e2481a462b5a9 100644 --- a/homeassistant/components/lg_soundbar/media_player.py +++ b/homeassistant/components/lg_soundbar/media_player.py @@ -9,6 +9,7 @@ from homeassistant.const import STATE_ON +REQUIREMENTS = ['temescal==0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lifx/__init__.py b/homeassistant/components/lifx/__init__.py index 53718402db9838..82802bab4af75c 100644 --- a/homeassistant/components/lifx/__init__.py +++ b/homeassistant/components/lifx/__init__.py @@ -8,6 +8,7 @@ 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 47d86858fd1e5a..014ca9ae6c80b5 100644 --- a/homeassistant/components/lifx/light.py +++ b/homeassistant/components/lifx/light.py @@ -30,6 +30,8 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['lifx'] +REQUIREMENTS = ['aiolifx_effects==0.2.1'] SCAN_INTERVAL = timedelta(seconds=10) diff --git a/homeassistant/components/lifx_legacy/light.py b/homeassistant/components/lifx_legacy/light.py index d818d8a0094ca1..6c5f68937f88a5 100644 --- a/homeassistant/components/lifx_legacy/light.py +++ b/homeassistant/components/lifx_legacy/light.py @@ -22,6 +22,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['liffylights==0.9.4'] BYTE_MAX = 255 diff --git a/homeassistant/components/light/__init__.py b/homeassistant/components/light/__init__.py index f9ce6eb05d4158..db2e9ce0197b50 100644 --- a/homeassistant/components/light/__init__.py +++ b/homeassistant/components/light/__init__.py @@ -24,6 +24,7 @@ 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 2bf7381c6f192a..f6e11352265dcf 100644 --- a/homeassistant/components/lightwave/__init__.py +++ b/homeassistant/components/lightwave/__init__.py @@ -5,6 +5,7 @@ CONF_SWITCHES) from homeassistant.helpers.discovery import async_load_platform +REQUIREMENTS = ['lightwave==0.15'] LIGHTWAVE_LINK = 'lightwave_link' diff --git a/homeassistant/components/lightwave/light.py b/homeassistant/components/lightwave/light.py index 5a984187917bfa..f22533d2548dca 100644 --- a/homeassistant/components/lightwave/light.py +++ b/homeassistant/components/lightwave/light.py @@ -5,6 +5,7 @@ from . import LIGHTWAVE_LINK +DEPENDENCIES = ['lightwave'] MAX_BRIGHTNESS = 255 diff --git a/homeassistant/components/lightwave/switch.py b/homeassistant/components/lightwave/switch.py index d40d85c344d6ee..dfa93b4b151844 100644 --- a/homeassistant/components/lightwave/switch.py +++ b/homeassistant/components/lightwave/switch.py @@ -4,6 +4,7 @@ from . import LIGHTWAVE_LINK +DEPENDENCIES = ['lightwave'] async def async_setup_platform( diff --git a/homeassistant/components/limitlessled/light.py b/homeassistant/components/limitlessled/light.py index 1ae9fed5987964..4f187afa1d75df 100644 --- a/homeassistant/components/limitlessled/light.py +++ b/homeassistant/components/limitlessled/light.py @@ -15,6 +15,7 @@ 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__) diff --git a/homeassistant/components/linksys_ap/device_tracker.py b/homeassistant/components/linksys_ap/device_tracker.py index e1231a0f8412c1..46cc78d4e4ae36 100644 --- a/homeassistant/components/linksys_ap/device_tracker.py +++ b/homeassistant/components/linksys_ap/device_tracker.py @@ -14,6 +14,7 @@ INTERFACES = 2 DEFAULT_TIMEOUT = 10 +REQUIREMENTS = ['beautifulsoup4==4.7.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/linky/sensor.py b/homeassistant/components/linky/sensor.py index 63f7aaf5423382..35f85f15ed6332 100644 --- a/homeassistant/components/linky/sensor.py +++ b/homeassistant/components/linky/sensor.py @@ -12,6 +12,7 @@ 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 46a83db3d524ea..8bbd98c0acf778 100644 --- a/homeassistant/components/linode/__init__.py +++ b/homeassistant/components/linode/__init__.py @@ -8,6 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle +REQUIREMENTS = ['linode-api==4.1.9b1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/linode/binary_sensor.py b/homeassistant/components/linode/binary_sensor.py index 4b6d22fd171ff9..19455917dbb28b 100644 --- a/homeassistant/components/linode/binary_sensor.py +++ b/homeassistant/components/linode/binary_sensor.py @@ -16,6 +16,7 @@ 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 d66a5021590451..e5f97ef756e403 100644 --- a/homeassistant/components/linode/switch.py +++ b/homeassistant/components/linode/switch.py @@ -13,6 +13,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['linode'] DEFAULT_NAME = 'Node' diff --git a/homeassistant/components/linux_battery/sensor.py b/homeassistant/components/linux_battery/sensor.py index 5a23a125894bab..7164315de8ea42 100644 --- a/homeassistant/components/linux_battery/sensor.py +++ b/homeassistant/components/linux_battery/sensor.py @@ -9,6 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['batinfo==0.4.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lirc/__init__.py b/homeassistant/components/lirc/__init__.py index 71de31156abbea..0f00eda20072c0 100644 --- a/homeassistant/components/lirc/__init__.py +++ b/homeassistant/components/lirc/__init__.py @@ -9,6 +9,7 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_STOP, EVENT_HOMEASSISTANT_START) +REQUIREMENTS = ['python-lirc==1.2.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/litejet/__init__.py b/homeassistant/components/litejet/__init__.py index 31ffc8fedb1cfe..b4e8e45fa0b742 100644 --- a/homeassistant/components/litejet/__init__.py +++ b/homeassistant/components/litejet/__init__.py @@ -7,6 +7,7 @@ from homeassistant.helpers import discovery from homeassistant.const import CONF_PORT +REQUIREMENTS = ['pylitejet==0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/litejet/light.py b/homeassistant/components/litejet/light.py index 02a507ad6eb8c6..e52e50ed21a858 100644 --- a/homeassistant/components/litejet/light.py +++ b/homeassistant/components/litejet/light.py @@ -7,6 +7,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['litejet'] ATTR_NUMBER = 'number' diff --git a/homeassistant/components/litejet/scene.py b/homeassistant/components/litejet/scene.py index ddacaa7fd9a05e..2563c9ceb0c480 100644 --- a/homeassistant/components/litejet/scene.py +++ b/homeassistant/components/litejet/scene.py @@ -4,6 +4,7 @@ from homeassistant.components import litejet from homeassistant.components.scene import Scene +DEPENDENCIES = ['litejet'] ATTR_NUMBER = 'number' diff --git a/homeassistant/components/litejet/switch.py b/homeassistant/components/litejet/switch.py index b8bad78fee11e0..9972dcb9f44797 100644 --- a/homeassistant/components/litejet/switch.py +++ b/homeassistant/components/litejet/switch.py @@ -4,6 +4,7 @@ from homeassistant.components import litejet from homeassistant.components.switch import SwitchDevice +DEPENDENCIES = ['litejet'] ATTR_NUMBER = 'number' diff --git a/homeassistant/components/liveboxplaytv/media_player.py b/homeassistant/components/liveboxplaytv/media_player.py index 96f2f81ddf9c28..1ee9931d233c0d 100644 --- a/homeassistant/components/liveboxplaytv/media_player.py +++ b/homeassistant/components/liveboxplaytv/media_player.py @@ -18,6 +18,7 @@ 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__) diff --git a/homeassistant/components/locative/__init__.py b/homeassistant/components/locative/__init__.py index 9d2d62b856b1a0..335ae4cfe1eae9 100644 --- a/homeassistant/components/locative/__init__.py +++ b/homeassistant/components/locative/__init__.py @@ -16,6 +16,7 @@ _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 4831bf9420dbf4..51135f4e21a941 100644 --- a/homeassistant/components/locative/device_tracker.py +++ b/homeassistant/components/locative/device_tracker.py @@ -10,6 +10,7 @@ _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 598de7961a51f8..fe5286ba813daf 100644 --- a/homeassistant/components/lock/__init__.py +++ b/homeassistant/components/lock/__init__.py @@ -19,6 +19,7 @@ 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 550f2c9bb620c2..7a0fb5e2654b3a 100644 --- a/homeassistant/components/logbook/__init__.py +++ b/homeassistant/components/logbook/__init__.py @@ -31,6 +31,7 @@ CONF_ENTITIES = 'entities' CONTINUOUS_DOMAINS = ['proximity', 'sensor'] +DEPENDENCIES = ['recorder', 'frontend'] DOMAIN = 'logbook' diff --git a/homeassistant/components/logi_circle/__init__.py b/homeassistant/components/logi_circle/__init__.py index 1d4b931bd7c30f..433895293f441d 100644 --- a/homeassistant/components/logi_circle/__init__.py +++ b/homeassistant/components/logi_circle/__init__.py @@ -20,6 +20,7 @@ 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 adfc71e1f9e1b2..b69f23ac19dc7e 100644 --- a/homeassistant/components/logi_circle/camera.py +++ b/homeassistant/components/logi_circle/camera.py @@ -15,6 +15,7 @@ RECORDING_MODE_KEY, SIGNAL_LOGI_CIRCLE_RECONFIGURE, SIGNAL_LOGI_CIRCLE_RECORD, SIGNAL_LOGI_CIRCLE_SNAPSHOT) +DEPENDENCIES = ['logi_circle', 'ffmpeg'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/logi_circle/sensor.py b/homeassistant/components/logi_circle/sensor.py index 866a6fd1ec3ecf..01d5492eea7ce7 100644 --- a/homeassistant/components/logi_circle/sensor.py +++ b/homeassistant/components/logi_circle/sensor.py @@ -11,6 +11,7 @@ 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 196ef65d95322a..c2502e2ab2be60 100644 --- a/homeassistant/components/london_underground/sensor.py +++ b/homeassistant/components/london_underground/sensor.py @@ -9,6 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['london-tube-status==0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/loopenergy/sensor.py b/homeassistant/components/loopenergy/sensor.py index d3f316717e9c3f..23bdf48f64506d 100644 --- a/homeassistant/components/loopenergy/sensor.py +++ b/homeassistant/components/loopenergy/sensor.py @@ -12,6 +12,7 @@ _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 b4039deb893857..77273d89d42033 100644 --- a/homeassistant/components/luci/device_tracker.py +++ b/homeassistant/components/luci/device_tracker.py @@ -9,6 +9,7 @@ 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__) diff --git a/homeassistant/components/luftdaten/__init__.py b/homeassistant/components/luftdaten/__init__.py index 25b0c76e3f07ca..125cefb90265d6 100644 --- a/homeassistant/components/luftdaten/__init__.py +++ b/homeassistant/components/luftdaten/__init__.py @@ -17,6 +17,7 @@ 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__) diff --git a/homeassistant/components/luftdaten/sensor.py b/homeassistant/components/luftdaten/sensor.py index 8a93437981ae4d..107673bac45214 100644 --- a/homeassistant/components/luftdaten/sensor.py +++ b/homeassistant/components/luftdaten/sensor.py @@ -14,6 +14,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['luftdaten'] async def async_setup_platform( diff --git a/homeassistant/components/lupusec/__init__.py b/homeassistant/components/lupusec/__init__.py index 94b44db3e4c0c9..8a5f098f741929 100644 --- a/homeassistant/components/lupusec/__init__.py +++ b/homeassistant/components/lupusec/__init__.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['lupupy==0.0.17'] DOMAIN = 'lupusec' diff --git a/homeassistant/components/lupusec/alarm_control_panel.py b/homeassistant/components/lupusec/alarm_control_panel.py index 97910afbd74dd7..0a88f3bd552fc4 100644 --- a/homeassistant/components/lupusec/alarm_control_panel.py +++ b/homeassistant/components/lupusec/alarm_control_panel.py @@ -8,6 +8,7 @@ from . import DOMAIN as LUPUSEC_DOMAIN, LupusecDevice +DEPENDENCIES = ['lupusec'] ICON = 'mdi:security' diff --git a/homeassistant/components/lupusec/binary_sensor.py b/homeassistant/components/lupusec/binary_sensor.py index 49fd8211292701..2c3f5e0e0b86e0 100644 --- a/homeassistant/components/lupusec/binary_sensor.py +++ b/homeassistant/components/lupusec/binary_sensor.py @@ -7,6 +7,7 @@ from . import DOMAIN as LUPUSEC_DOMAIN, LupusecDevice +DEPENDENCIES = ['lupusec'] SCAN_INTERVAL = timedelta(seconds=2) diff --git a/homeassistant/components/lupusec/switch.py b/homeassistant/components/lupusec/switch.py index 39de3a4ca62525..0d86ea0a3650bf 100644 --- a/homeassistant/components/lupusec/switch.py +++ b/homeassistant/components/lupusec/switch.py @@ -6,6 +6,7 @@ from . import DOMAIN as LUPUSEC_DOMAIN, LupusecDevice +DEPENDENCIES = ['lupusec'] SCAN_INTERVAL = timedelta(seconds=2) diff --git a/homeassistant/components/lutron/__init__.py b/homeassistant/components/lutron/__init__.py index 6579f8194a7f37..f642e96d8f6433 100644 --- a/homeassistant/components/lutron/__init__.py +++ b/homeassistant/components/lutron/__init__.py @@ -10,6 +10,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import slugify +REQUIREMENTS = ['pylutron==0.2.0'] DOMAIN = 'lutron' diff --git a/homeassistant/components/lutron/cover.py b/homeassistant/components/lutron/cover.py index f694258b756beb..da7f69095fc436 100644 --- a/homeassistant/components/lutron/cover.py +++ b/homeassistant/components/lutron/cover.py @@ -9,6 +9,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['lutron'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/lutron/light.py b/homeassistant/components/lutron/light.py index bf398ba9d5eb5b..5f3fd4787fd3ef 100644 --- a/homeassistant/components/lutron/light.py +++ b/homeassistant/components/lutron/light.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['lutron'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/lutron/scene.py b/homeassistant/components/lutron/scene.py index 376e2a38d69891..a2d18c6d242407 100644 --- a/homeassistant/components/lutron/scene.py +++ b/homeassistant/components/lutron/scene.py @@ -7,6 +7,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['lutron'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/lutron/switch.py b/homeassistant/components/lutron/switch.py index 5e325e9166ba61..b42c0d930bc834 100644 --- a/homeassistant/components/lutron/switch.py +++ b/homeassistant/components/lutron/switch.py @@ -7,6 +7,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['lutron'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/lutron_caseta/__init__.py b/homeassistant/components/lutron_caseta/__init__.py index 4ae05671654ebe..61c005f60b2d22 100644 --- a/homeassistant/components/lutron_caseta/__init__.py +++ b/homeassistant/components/lutron_caseta/__init__.py @@ -8,6 +8,7 @@ from homeassistant.helpers import discovery from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['pylutron-caseta==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lutron_caseta/cover.py b/homeassistant/components/lutron_caseta/cover.py index 75a7349749a373..d970f5282ff003 100644 --- a/homeassistant/components/lutron_caseta/cover.py +++ b/homeassistant/components/lutron_caseta/cover.py @@ -9,6 +9,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['lutron_caseta'] async def async_setup_platform( diff --git a/homeassistant/components/lutron_caseta/light.py b/homeassistant/components/lutron_caseta/light.py index 7f4e5241de6bbb..d883da73c9161a 100644 --- a/homeassistant/components/lutron_caseta/light.py +++ b/homeassistant/components/lutron_caseta/light.py @@ -10,6 +10,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['lutron_caseta'] async def async_setup_platform( diff --git a/homeassistant/components/lutron_caseta/scene.py b/homeassistant/components/lutron_caseta/scene.py index 9792ddfec7e0fc..2e7059a56fc0a2 100644 --- a/homeassistant/components/lutron_caseta/scene.py +++ b/homeassistant/components/lutron_caseta/scene.py @@ -7,6 +7,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['lutron_caseta'] async def async_setup_platform( diff --git a/homeassistant/components/lutron_caseta/switch.py b/homeassistant/components/lutron_caseta/switch.py index d6c522bc26e4e7..54c670913576ce 100644 --- a/homeassistant/components/lutron_caseta/switch.py +++ b/homeassistant/components/lutron_caseta/switch.py @@ -7,6 +7,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['lutron_caseta'] async def async_setup_platform( diff --git a/homeassistant/components/lw12wifi/light.py b/homeassistant/components/lw12wifi/light.py index 4165649a7d8452..5d9b7635ad2dd1 100644 --- a/homeassistant/components/lw12wifi/light.py +++ b/homeassistant/components/lw12wifi/light.py @@ -16,6 +16,7 @@ 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 946b34d27979fa..98d79cd970b965 100644 --- a/homeassistant/components/lyft/sensor.py +++ b/homeassistant/components/lyft/sensor.py @@ -9,6 +9,7 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['lyft_rides==0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/magicseaweed/sensor.py b/homeassistant/components/magicseaweed/sensor.py index b43f8233be2642..4c09d1e09e04f0 100644 --- a/homeassistant/components/magicseaweed/sensor.py +++ b/homeassistant/components/magicseaweed/sensor.py @@ -11,6 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['magicseaweed==1.0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mailbox/__init__.py b/homeassistant/components/mailbox/__init__.py index 8f8511464641ce..1907a1e9e978a7 100644 --- a/homeassistant/components/mailbox/__init__.py +++ b/homeassistant/components/mailbox/__init__.py @@ -18,6 +18,7 @@ _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 2f89904f12b6be..2a941d8bf505b8 100644 --- a/homeassistant/components/mailgun/__init__.py +++ b/homeassistant/components/mailgun/__init__.py @@ -15,6 +15,7 @@ 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 f26584c4ac8cd4..b9f5bf0b10000f 100644 --- a/homeassistant/components/mailgun/notify.py +++ b/homeassistant/components/mailgun/notify.py @@ -11,9 +11,11 @@ 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 bb5bac9d43c0ec..8057a8993473f1 100644 --- a/homeassistant/components/manual_mqtt/alarm_control_panel.py +++ b/homeassistant/components/manual_mqtt/alarm_control_panel.py @@ -83,6 +83,7 @@ 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', diff --git a/homeassistant/components/mastodon/notify.py b/homeassistant/components/mastodon/notify.py index b68c8be61df662..c1a91b8312ea1f 100644 --- a/homeassistant/components/mastodon/notify.py +++ b/homeassistant/components/mastodon/notify.py @@ -9,6 +9,7 @@ from homeassistant.components.notify import (PLATFORM_SCHEMA, BaseNotificationService) +REQUIREMENTS = ['Mastodon.py==1.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/matrix/__init__.py b/homeassistant/components/matrix/__init__.py index 063b1216ae4784..4b3c1bf4d76965 100644 --- a/homeassistant/components/matrix/__init__.py +++ b/homeassistant/components/matrix/__init__.py @@ -14,6 +14,7 @@ from homeassistant.util.json import load_json, save_json from homeassistant.exceptions import HomeAssistantError +REQUIREMENTS = ['matrix-client==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/matrix/notify.py b/homeassistant/components/matrix/notify.py index 637050d4514afc..f1f53268c2ba85 100644 --- a/homeassistant/components/matrix/notify.py +++ b/homeassistant/components/matrix/notify.py @@ -13,6 +13,7 @@ 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 d6811e1281ba6e..c398ccbde4f41e 100644 --- a/homeassistant/components/maxcube/__init__.py +++ b/homeassistant/components/maxcube/__init__.py @@ -10,6 +10,7 @@ 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__) diff --git a/homeassistant/components/media_extractor/__init__.py b/homeassistant/components/media_extractor/__init__.py index 2e42a410397927..f44075816affd2 100644 --- a/homeassistant/components/media_extractor/__init__.py +++ b/homeassistant/components/media_extractor/__init__.py @@ -12,6 +12,7 @@ ATTR_ENTITY_ID) from homeassistant.helpers import config_validation as cv +REQUIREMENTS = ['youtube_dl==2019.04.07'] _LOGGER = logging.getLogger(__name__) @@ -19,6 +20,7 @@ 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 628b140eb65f89..5bc2d640e2bd56 100644 --- a/homeassistant/components/media_player/__init__.py +++ b/homeassistant/components/media_player/__init__.py @@ -51,6 +51,7 @@ _LOGGER = logging.getLogger(__name__) _RND = SystemRandom() +DEPENDENCIES = ['http'] ENTITY_ID_FORMAT = DOMAIN + '.{}' diff --git a/homeassistant/components/mediaroom/media_player.py b/homeassistant/components/mediaroom/media_player.py index ccf5e5f5b453b0..acbc0462722a59 100644 --- a/homeassistant/components/mediaroom/media_player.py +++ b/homeassistant/components/mediaroom/media_player.py @@ -19,6 +19,7 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_connect, dispatcher_send) +REQUIREMENTS = ['pymediaroom==0.6.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/melissa/__init__.py b/homeassistant/components/melissa/__init__.py index c93644f68484f0..2037caa11c334f 100644 --- a/homeassistant/components/melissa/__init__.py +++ b/homeassistant/components/melissa/__init__.py @@ -7,6 +7,7 @@ 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__) diff --git a/homeassistant/components/melissa/climate.py b/homeassistant/components/melissa/climate.py index 257d2addf99bb6..79d94a419912a5 100644 --- a/homeassistant/components/melissa/climate.py +++ b/homeassistant/components/melissa/climate.py @@ -13,6 +13,7 @@ from . import DATA_MELISSA +DEPENDENCIES = ['melissa'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/meraki/device_tracker.py b/homeassistant/components/meraki/device_tracker.py index edca1fbd494ca7..d12aff1127a0d9 100644 --- a/homeassistant/components/meraki/device_tracker.py +++ b/homeassistant/components/meraki/device_tracker.py @@ -18,6 +18,7 @@ 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 5b67d980c7c0b2..c801de34a9a6ae 100644 --- a/homeassistant/components/message_bird/notify.py +++ b/homeassistant/components/message_bird/notify.py @@ -9,6 +9,7 @@ from homeassistant.components.notify import (ATTR_TARGET, PLATFORM_SCHEMA, BaseNotificationService) +REQUIREMENTS = ['messagebird==1.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/met/weather.py b/homeassistant/components/met/weather.py index b8d7ecb87fe09b..6c9613ac5d2838 100644 --- a/homeassistant/components/met/weather.py +++ b/homeassistant/components/met/weather.py @@ -13,6 +13,7 @@ async_call_later, async_track_utc_time_change) import homeassistant.util.dt as dt_util +REQUIREMENTS = ['pyMetno==0.4.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/meteo_france/__init__.py b/homeassistant/components/meteo_france/__init__.py index f3984ffe923914..e084cff3c79c73 100644 --- a/homeassistant/components/meteo_france/__init__.py +++ b/homeassistant/components/meteo_france/__init__.py @@ -9,6 +9,7 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.util import Throttle +REQUIREMENTS = ['meteofrance==0.3.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/metoffice/sensor.py b/homeassistant/components/metoffice/sensor.py index d969bf51e38990..6c4e91517dac6f 100644 --- a/homeassistant/components/metoffice/sensor.py +++ b/homeassistant/components/metoffice/sensor.py @@ -14,6 +14,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['datapoint==0.4.3'] ATTR_LAST_UPDATE = 'last_update' ATTR_SENSOR_ID = 'sensor_id' diff --git a/homeassistant/components/metoffice/weather.py b/homeassistant/components/metoffice/weather.py index cab1565138697c..a67dcdcdbd67c7 100644 --- a/homeassistant/components/metoffice/weather.py +++ b/homeassistant/components/metoffice/weather.py @@ -10,6 +10,7 @@ from .sensor import ATTRIBUTION, CONDITION_CLASSES, MetOfficeCurrentData +REQUIREMENTS = ['datapoint==0.4.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mfi/sensor.py b/homeassistant/components/mfi/sensor.py index 9d4b9cb1b2dd19..36f9d1a829c25c 100644 --- a/homeassistant/components/mfi/sensor.py +++ b/homeassistant/components/mfi/sensor.py @@ -11,6 +11,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['mficlient==0.3.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mfi/switch.py b/homeassistant/components/mfi/switch.py index e83ae792d47f50..818081f7a2ed69 100644 --- a/homeassistant/components/mfi/switch.py +++ b/homeassistant/components/mfi/switch.py @@ -10,6 +10,7 @@ CONF_VERIFY_SSL) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['mficlient==0.3.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mhz19/sensor.py b/homeassistant/components/mhz19/sensor.py index 99b9e4f6d00434..3aa82950fa7b8a 100644 --- a/homeassistant/components/mhz19/sensor.py +++ b/homeassistant/components/mhz19/sensor.py @@ -12,6 +12,7 @@ from homeassistant.util.temperature import celsius_to_fahrenheit from homeassistant.util import Throttle +REQUIREMENTS = ['pmsensor==0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/microsoft/tts.py b/homeassistant/components/microsoft/tts.py index b74daf09a01d46..9fe31ef495eced 100644 --- a/homeassistant/components/microsoft/tts.py +++ b/homeassistant/components/microsoft/tts.py @@ -15,6 +15,7 @@ CONF_PITCH = 'pitch' CONF_CONTOUR = 'contour' +REQUIREMENTS = ["pycsspeechtts==1.0.2"] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/microsoft_face/__init__.py b/homeassistant/components/microsoft_face/__init__.py index 25b74698da6c81..9b3ee960fb23c8 100644 --- a/homeassistant/components/microsoft_face/__init__.py +++ b/homeassistant/components/microsoft_face/__init__.py @@ -25,6 +25,7 @@ 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 5caba408cc8af0..91eae07e9928bf 100644 --- a/homeassistant/components/microsoft_face_detect/image_processing.py +++ b/homeassistant/components/microsoft_face_detect/image_processing.py @@ -11,6 +11,7 @@ from homeassistant.exceptions import HomeAssistantError import homeassistant.helpers.config_validation as cv +DEPENDENCIES = ['microsoft_face'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/microsoft_face_identify/image_processing.py b/homeassistant/components/microsoft_face_identify/image_processing.py index 340eaaaa998991..52baa3617e82a4 100644 --- a/homeassistant/components/microsoft_face_identify/image_processing.py +++ b/homeassistant/components/microsoft_face_identify/image_processing.py @@ -12,6 +12,7 @@ from homeassistant.exceptions import HomeAssistantError import homeassistant.helpers.config_validation as cv +DEPENDENCIES = ['microsoft_face'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/miflora/sensor.py b/homeassistant/components/miflora/sensor.py index 3a23f7d74a8fbe..04595b0daeb148 100644 --- a/homeassistant/components/miflora/sensor.py +++ b/homeassistant/components/miflora/sensor.py @@ -11,6 +11,7 @@ CONF_SCAN_INTERVAL, EVENT_HOMEASSISTANT_START) from homeassistant.core import callback +REQUIREMENTS = ['miflora==0.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mikrotik/device_tracker.py b/homeassistant/components/mikrotik/device_tracker.py index 77485ff5e775f3..7d376b431bbd82 100644 --- a/homeassistant/components/mikrotik/device_tracker.py +++ b/homeassistant/components/mikrotik/device_tracker.py @@ -11,6 +11,7 @@ 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__) diff --git a/homeassistant/components/mill/climate.py b/homeassistant/components/mill/climate.py index 8fd2803577ef7a..cb6d47a52b0826 100644 --- a/homeassistant/components/mill/climate.py +++ b/homeassistant/components/mill/climate.py @@ -15,6 +15,7 @@ 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__) diff --git a/homeassistant/components/mitemp_bt/sensor.py b/homeassistant/components/mitemp_bt/sensor.py index 7d4740b7714c90..cea2c6a55dbd6f 100644 --- a/homeassistant/components/mitemp_bt/sensor.py +++ b/homeassistant/components/mitemp_bt/sensor.py @@ -12,6 +12,7 @@ ) +REQUIREMENTS = ['mitemp_bt==0.0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mobile_app/__init__.py b/homeassistant/components/mobile_app/__init__.py index 814498fc837f21..a4ae78959cf367 100644 --- a/homeassistant/components/mobile_app/__init__.py +++ b/homeassistant/components/mobile_app/__init__.py @@ -15,7 +15,9 @@ 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): diff --git a/homeassistant/components/mobile_app/binary_sensor.py b/homeassistant/components/mobile_app/binary_sensor.py index c69880e9befc5b..50943bb6504d8b 100644 --- a/homeassistant/components/mobile_app/binary_sensor.py +++ b/homeassistant/components/mobile_app/binary_sensor.py @@ -13,6 +13,7 @@ from .entity import MobileAppEntity, sensor_id +DEPENDENCIES = ['mobile_app'] async def async_setup_entry(hass, config_entry, async_add_entities): diff --git a/homeassistant/components/mobile_app/notify.py b/homeassistant/components/mobile_app/notify.py index 0a2e68ab547628..8d2ac1b97ecef4 100644 --- a/homeassistant/components/mobile_app/notify.py +++ b/homeassistant/components/mobile_app/notify.py @@ -22,6 +22,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['mobile_app'] def push_registrations(hass): diff --git a/homeassistant/components/mobile_app/sensor.py b/homeassistant/components/mobile_app/sensor.py index f38a6941c268db..64ad69c5758ecc 100644 --- a/homeassistant/components/mobile_app/sensor.py +++ b/homeassistant/components/mobile_app/sensor.py @@ -12,6 +12,7 @@ from .entity import MobileAppEntity, sensor_id +DEPENDENCIES = ['mobile_app'] async def async_setup_entry(hass, config_entry, async_add_entities): diff --git a/homeassistant/components/mochad/__init__.py b/homeassistant/components/mochad/__init__.py index 83b01a6e466752..e10adf693fe70d 100644 --- a/homeassistant/components/mochad/__init__.py +++ b/homeassistant/components/mochad/__init__.py @@ -9,6 +9,7 @@ EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) from homeassistant.const import (CONF_HOST, CONF_PORT) +REQUIREMENTS = ['pymochad==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mochad/light.py b/homeassistant/components/mochad/light.py index a38645f141d643..d2e1a567d27501 100644 --- a/homeassistant/components/mochad/light.py +++ b/homeassistant/components/mochad/light.py @@ -12,6 +12,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['mochad'] CONF_BRIGHTNESS_LEVELS = 'brightness_levels' diff --git a/homeassistant/components/mochad/switch.py b/homeassistant/components/mochad/switch.py index 5a14d1624ee402..03fd2db07bf2fe 100644 --- a/homeassistant/components/mochad/switch.py +++ b/homeassistant/components/mochad/switch.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['mochad'] PLATFORM_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/modbus/__init__.py b/homeassistant/components/modbus/__init__.py index 5962c74ee5ca77..0500a904cb9c86 100644 --- a/homeassistant/components/modbus/__init__.py +++ b/homeassistant/components/modbus/__init__.py @@ -9,6 +9,7 @@ CONF_TYPE, EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pymodbus==1.5.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/modbus/binary_sensor.py b/homeassistant/components/modbus/binary_sensor.py index b0288bc0b909df..0c10548452a01d 100644 --- a/homeassistant/components/modbus/binary_sensor.py +++ b/homeassistant/components/modbus/binary_sensor.py @@ -15,6 +15,7 @@ CONF_COIL = 'coil' CONF_COILS = 'coils' +DEPENDENCIES = ['modbus'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_COILS): [{ diff --git a/homeassistant/components/modbus/climate.py b/homeassistant/components/modbus/climate.py index c469450c4962e5..4d2b86903e770d 100644 --- a/homeassistant/components/modbus/climate.py +++ b/homeassistant/components/modbus/climate.py @@ -22,6 +22,7 @@ DATA_TYPE_INT = 'int' DATA_TYPE_UINT = 'uint' DATA_TYPE_FLOAT = 'float' +DEPENDENCIES = ['modbus'] SUPPORT_FLAGS = SUPPORT_TARGET_TEMPERATURE diff --git a/homeassistant/components/modbus/sensor.py b/homeassistant/components/modbus/sensor.py index 955146c1af1da2..10e11a9a656263 100644 --- a/homeassistant/components/modbus/sensor.py +++ b/homeassistant/components/modbus/sensor.py @@ -29,6 +29,7 @@ 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 c313963f5815aa..69c5e3e483888a 100644 --- a/homeassistant/components/modbus/switch.py +++ b/homeassistant/components/modbus/switch.py @@ -24,6 +24,7 @@ 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 3a33d28fdc2318..b87f4840334d4f 100644 --- a/homeassistant/components/modem_callerid/sensor.py +++ b/homeassistant/components/modem_callerid/sensor.py @@ -9,6 +9,7 @@ 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' diff --git a/homeassistant/components/monoprice/media_player.py b/homeassistant/components/monoprice/media_player.py index 0d5e913043d163..edffd6ac7ce825 100644 --- a/homeassistant/components/monoprice/media_player.py +++ b/homeassistant/components/monoprice/media_player.py @@ -13,6 +13,7 @@ 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__) diff --git a/homeassistant/components/mopar/__init__.py b/homeassistant/components/mopar/__init__.py index ef798d146add60..4ee9f3219b483a 100644 --- a/homeassistant/components/mopar/__init__.py +++ b/homeassistant/components/mopar/__init__.py @@ -18,6 +18,7 @@ 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 1ded2bb4405758..aa2e0161813188 100644 --- a/homeassistant/components/mopar/lock.py +++ b/homeassistant/components/mopar/lock.py @@ -7,6 +7,7 @@ ) 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 f09c0bdbea9f30..0d6e5765fda9aa 100644 --- a/homeassistant/components/mopar/sensor.py +++ b/homeassistant/components/mopar/sensor.py @@ -10,6 +10,7 @@ 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 43a16fbbb8f833..352cdafbd417ab 100644 --- a/homeassistant/components/mopar/switch.py +++ b/homeassistant/components/mopar/switch.py @@ -5,6 +5,7 @@ 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 d4a11156098304..8cbc1406e0bc4a 100644 --- a/homeassistant/components/mpd/media_player.py +++ b/homeassistant/components/mpd/media_player.py @@ -20,6 +20,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle +REQUIREMENTS = ['python-mpd2==1.0.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mqtt/__init__.py b/homeassistant/components/mqtt/__init__.py index 25f7c9c519bb69..4f9ad990105853 100644 --- a/homeassistant/components/mqtt/__init__.py +++ b/homeassistant/components/mqtt/__init__.py @@ -40,6 +40,7 @@ CONF_BROKER, CONF_DISCOVERY, DEFAULT_DISCOVERY, CONF_STATE_TOPIC, ATTR_DISCOVERY_HASH) +REQUIREMENTS = ['paho-mqtt==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mqtt/alarm_control_panel.py b/homeassistant/components/mqtt/alarm_control_panel.py index ada853cdf6be49..03a2ac8e3887fa 100644 --- a/homeassistant/components/mqtt/alarm_control_panel.py +++ b/homeassistant/components/mqtt/alarm_control_panel.py @@ -37,6 +37,7 @@ 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, diff --git a/homeassistant/components/mqtt/binary_sensor.py b/homeassistant/components/mqtt/binary_sensor.py index 60fcfc0c8a6f11..95daad9b262868 100644 --- a/homeassistant/components/mqtt/binary_sensor.py +++ b/homeassistant/components/mqtt/binary_sensor.py @@ -29,6 +29,7 @@ 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, diff --git a/homeassistant/components/mqtt/camera.py b/homeassistant/components/mqtt/camera.py index 88debcffd016b8..f651050b6c8596 100644 --- a/homeassistant/components/mqtt/camera.py +++ b/homeassistant/components/mqtt/camera.py @@ -23,6 +23,7 @@ CONF_TOPIC = 'topic' DEFAULT_NAME = 'MQTT Camera' +DEPENDENCIES = ['mqtt'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, diff --git a/homeassistant/components/mqtt/climate.py b/homeassistant/components/mqtt/climate.py index 583389eef2a459..17d32984bb528d 100644 --- a/homeassistant/components/mqtt/climate.py +++ b/homeassistant/components/mqtt/climate.py @@ -31,6 +31,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['mqtt'] DEFAULT_NAME = 'MQTT HVAC' diff --git a/homeassistant/components/mqtt/cover.py b/homeassistant/components/mqtt/cover.py index 6ec09d00d8a1c4..5cb7300f0efcb4 100644 --- a/homeassistant/components/mqtt/cover.py +++ b/homeassistant/components/mqtt/cover.py @@ -25,6 +25,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['mqtt'] CONF_GET_POSITION_TOPIC = 'position_topic' CONF_SET_POSITION_TEMPLATE = 'set_position_template' diff --git a/homeassistant/components/mqtt/device_tracker.py b/homeassistant/components/mqtt/device_tracker.py index 289a1f4a31648e..659c6315b2150a 100644 --- a/homeassistant/components/mqtt/device_tracker.py +++ b/homeassistant/components/mqtt/device_tracker.py @@ -11,6 +11,7 @@ from . import CONF_QOS +DEPENDENCIES = ['mqtt'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mqtt/fan.py b/homeassistant/components/mqtt/fan.py index a6d13028cef5f5..d86390ee31de17 100644 --- a/homeassistant/components/mqtt/fan.py +++ b/homeassistant/components/mqtt/fan.py @@ -23,6 +23,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['mqtt'] CONF_STATE_VALUE_TEMPLATE = 'state_value_template' CONF_SPEED_STATE_TOPIC = 'speed_state_topic' diff --git a/homeassistant/components/mqtt/light/__init__.py b/homeassistant/components/mqtt/light/__init__.py index bb41f0e42e2e2e..4ff6efb8643960 100644 --- a/homeassistant/components/mqtt/light/__init__.py +++ b/homeassistant/components/mqtt/light/__init__.py @@ -17,6 +17,7 @@ _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 7041dd6ef9da39..d5aa4480139215 100644 --- a/homeassistant/components/mqtt/light/schema_basic.py +++ b/homeassistant/components/mqtt/light/schema_basic.py @@ -30,6 +30,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['mqtt'] CONF_BRIGHTNESS_COMMAND_TOPIC = 'brightness_command_topic' CONF_BRIGHTNESS_SCALE = 'brightness_scale' diff --git a/homeassistant/components/mqtt/light/schema_json.py b/homeassistant/components/mqtt/light/schema_json.py index 4a4624bf4897f0..a52f3c58d0efc9 100644 --- a/homeassistant/components/mqtt/light/schema_json.py +++ b/homeassistant/components/mqtt/light/schema_json.py @@ -35,6 +35,7 @@ DOMAIN = 'mqtt_json' +DEPENDENCIES = ['mqtt'] DEFAULT_BRIGHTNESS = False DEFAULT_COLOR_TEMP = False diff --git a/homeassistant/components/mqtt/light/schema_template.py b/homeassistant/components/mqtt/light/schema_template.py index 48477109fcfb33..49cba082401d16 100644 --- a/homeassistant/components/mqtt/light/schema_template.py +++ b/homeassistant/components/mqtt/light/schema_template.py @@ -30,6 +30,7 @@ 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 24844fbb1f5f04..235eacc94540cf 100644 --- a/homeassistant/components/mqtt/lock.py +++ b/homeassistant/components/mqtt/lock.py @@ -27,6 +27,7 @@ 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, diff --git a/homeassistant/components/mqtt/sensor.py b/homeassistant/components/mqtt/sensor.py index 976a03c3ea1faa..b6419ea2c24b36 100644 --- a/homeassistant/components/mqtt/sensor.py +++ b/homeassistant/components/mqtt/sensor.py @@ -32,6 +32,7 @@ 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, diff --git a/homeassistant/components/mqtt/server.py b/homeassistant/components/mqtt/server.py index 39da84efba4a3f..d7d36add517f6e 100644 --- a/homeassistant/components/mqtt/server.py +++ b/homeassistant/components/mqtt/server.py @@ -8,9 +8,11 @@ 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({ diff --git a/homeassistant/components/mqtt/switch.py b/homeassistant/components/mqtt/switch.py index 272b3cfb272321..20d28b6496ca8b 100644 --- a/homeassistant/components/mqtt/switch.py +++ b/homeassistant/components/mqtt/switch.py @@ -22,6 +22,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['mqtt'] DEFAULT_NAME = 'MQTT Switch' DEFAULT_PAYLOAD_ON = 'ON' diff --git a/homeassistant/components/mqtt/vacuum.py b/homeassistant/components/mqtt/vacuum.py index 0806b7679038b2..23a5e34b3caff5 100644 --- a/homeassistant/components/mqtt/vacuum.py +++ b/homeassistant/components/mqtt/vacuum.py @@ -22,6 +22,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['mqtt'] SERVICE_TO_STRING = { SUPPORT_TURN_ON: 'turn_on', diff --git a/homeassistant/components/mqtt_eventstream/__init__.py b/homeassistant/components/mqtt_eventstream/__init__.py index 06c8f0b459dc22..fb6a94f1870d73 100644 --- a/homeassistant/components/mqtt_eventstream/__init__.py +++ b/homeassistant/components/mqtt_eventstream/__init__.py @@ -15,6 +15,7 @@ from homeassistant.helpers.json import JSONEncoder DOMAIN = 'mqtt_eventstream' +DEPENDENCIES = ['mqtt'] CONF_PUBLISH_TOPIC = 'publish_topic' CONF_SUBSCRIBE_TOPIC = 'subscribe_topic' diff --git a/homeassistant/components/mqtt_json/device_tracker.py b/homeassistant/components/mqtt_json/device_tracker.py index ffd6f1c6693e0a..6059b26bcbdc11 100644 --- a/homeassistant/components/mqtt_json/device_tracker.py +++ b/homeassistant/components/mqtt_json/device_tracker.py @@ -13,6 +13,7 @@ CONF_DEVICES, ATTR_GPS_ACCURACY, ATTR_LATITUDE, ATTR_LONGITUDE, ATTR_BATTERY_LEVEL) +DEPENDENCIES = ['mqtt'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mqtt_room/sensor.py b/homeassistant/components/mqtt_room/sensor.py index 3f85f955e058dd..961769711a4d6c 100644 --- a/homeassistant/components/mqtt_room/sensor.py +++ b/homeassistant/components/mqtt_room/sensor.py @@ -17,6 +17,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['mqtt'] ATTR_DEVICE_ID = 'device_id' ATTR_DISTANCE = 'distance' diff --git a/homeassistant/components/mqtt_statestream/__init__.py b/homeassistant/components/mqtt_statestream/__init__.py index 0d594822e05764..18a70bf75bb3a8 100644 --- a/homeassistant/components/mqtt_statestream/__init__.py +++ b/homeassistant/components/mqtt_statestream/__init__.py @@ -16,6 +16,7 @@ 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 f4e3b225816a03..978c9ad34eb436 100644 --- a/homeassistant/components/mvglive/sensor.py +++ b/homeassistant/components/mvglive/sensor.py @@ -11,6 +11,7 @@ from homeassistant.const import ( CONF_NAME, ATTR_ATTRIBUTION) +REQUIREMENTS = ['PyMVGLive==1.1.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mychevy/__init__.py b/homeassistant/components/mychevy/__init__.py index dc8104aaa0c84d..e6fd7f19c2a3ab 100644 --- a/homeassistant/components/mychevy/__init__.py +++ b/homeassistant/components/mychevy/__init__.py @@ -11,6 +11,7 @@ from homeassistant.helpers import discovery from homeassistant.util import Throttle +REQUIREMENTS = ['mychevy==1.2.0'] DOMAIN = 'mychevy' UPDATE_TOPIC = DOMAIN diff --git a/homeassistant/components/mycroft/__init__.py b/homeassistant/components/mycroft/__init__.py index 37d20eb8735d4c..29f6383f686b1e 100644 --- a/homeassistant/components/mycroft/__init__.py +++ b/homeassistant/components/mycroft/__init__.py @@ -7,6 +7,7 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['mycroftapi==2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mycroft/notify.py b/homeassistant/components/mycroft/notify.py index 9697a5961a402e..d66be629f17b09 100644 --- a/homeassistant/components/mycroft/notify.py +++ b/homeassistant/components/mycroft/notify.py @@ -3,6 +3,7 @@ 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 395e5d4e9596f0..5b926a183f72c9 100644 --- a/homeassistant/components/myq/cover.py +++ b/homeassistant/components/myq/cover.py @@ -11,6 +11,7 @@ ) 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 e7252647706894..7ca21ac582a001 100644 --- a/homeassistant/components/mysensors/__init__.py +++ b/homeassistant/components/mysensors/__init__.py @@ -17,6 +17,7 @@ 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__) diff --git a/homeassistant/components/mystrom/binary_sensor.py b/homeassistant/components/mystrom/binary_sensor.py index d1916d0f8edeeb..42245dc4df3e85 100644 --- a/homeassistant/components/mystrom/binary_sensor.py +++ b/homeassistant/components/mystrom/binary_sensor.py @@ -7,6 +7,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['http'] async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/mystrom/light.py b/homeassistant/components/mystrom/light.py index a0adbdb18e78ea..f9b8dcd203b60c 100644 --- a/homeassistant/components/mystrom/light.py +++ b/homeassistant/components/mystrom/light.py @@ -10,6 +10,7 @@ ATTR_HS_COLOR) from homeassistant.const import CONF_HOST, CONF_MAC, CONF_NAME +REQUIREMENTS = ['python-mystrom==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mystrom/switch.py b/homeassistant/components/mystrom/switch.py index e6ff2ea20c9989..a25517eea911db 100644 --- a/homeassistant/components/mystrom/switch.py +++ b/homeassistant/components/mystrom/switch.py @@ -7,6 +7,7 @@ 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' diff --git a/homeassistant/components/mythicbeastsdns/__init__.py b/homeassistant/components/mythicbeastsdns/__init__.py index 85e9205655a2d5..4db53bf0407cf4 100644 --- a/homeassistant/components/mythicbeastsdns/__init__.py +++ b/homeassistant/components/mythicbeastsdns/__init__.py @@ -11,6 +11,7 @@ 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__) diff --git a/homeassistant/components/n26/__init__.py b/homeassistant/components/n26/__init__.py index 6b14c5927d3fe4..8f4ade9c87f6ea 100644 --- a/homeassistant/components/n26/__init__.py +++ b/homeassistant/components/n26/__init__.py @@ -12,6 +12,7 @@ from .const import DATA, DOMAIN +REQUIREMENTS = ['n26==0.2.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/n26/sensor.py b/homeassistant/components/n26/sensor.py index ac9ca27fc3c514..682cd5dae68575 100644 --- a/homeassistant/components/n26/sensor.py +++ b/homeassistant/components/n26/sensor.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['n26'] SCAN_INTERVAL = DEFAULT_SCAN_INTERVAL diff --git a/homeassistant/components/n26/switch.py b/homeassistant/components/n26/switch.py index 1da6bf2f42686b..0e7455ea7030c8 100644 --- a/homeassistant/components/n26/switch.py +++ b/homeassistant/components/n26/switch.py @@ -8,6 +8,7 @@ _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 6066f0e76917f6..8c5a14a35243c8 100644 --- a/homeassistant/components/nad/media_player.py +++ b/homeassistant/components/nad/media_player.py @@ -11,6 +11,7 @@ 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__) diff --git a/homeassistant/components/namecheapdns/__init__.py b/homeassistant/components/namecheapdns/__init__.py index 51c1cc93f280ab..f86e7d18556786 100644 --- a/homeassistant/components/namecheapdns/__init__.py +++ b/homeassistant/components/namecheapdns/__init__.py @@ -9,6 +9,7 @@ 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__) diff --git a/homeassistant/components/nanoleaf/light.py b/homeassistant/components/nanoleaf/light.py index 4f3a295cb6d621..60457e21f9a67d 100644 --- a/homeassistant/components/nanoleaf/light.py +++ b/homeassistant/components/nanoleaf/light.py @@ -15,6 +15,7 @@ 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__) diff --git a/homeassistant/components/neato/__init__.py b/homeassistant/components/neato/__init__.py index 009f6fa2b62b15..bb717b8d230b22 100644 --- a/homeassistant/components/neato/__init__.py +++ b/homeassistant/components/neato/__init__.py @@ -10,6 +10,7 @@ from homeassistant.helpers import discovery from homeassistant.util import Throttle +REQUIREMENTS = ['pybotvac==0.0.13'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/neato/camera.py b/homeassistant/components/neato/camera.py index 59e321618fb460..f8106c3e645ebc 100644 --- a/homeassistant/components/neato/camera.py +++ b/homeassistant/components/neato/camera.py @@ -8,6 +8,7 @@ _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 f9ea60f84c189f..ea60f9492e22a7 100644 --- a/homeassistant/components/neato/switch.py +++ b/homeassistant/components/neato/switch.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['neato'] SCAN_INTERVAL = timedelta(minutes=10) diff --git a/homeassistant/components/neato/vacuum.py b/homeassistant/components/neato/vacuum.py index 85cb280697147c..3575301ea97e6b 100644 --- a/homeassistant/components/neato/vacuum.py +++ b/homeassistant/components/neato/vacuum.py @@ -21,6 +21,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['neato'] SCAN_INTERVAL = timedelta(minutes=5) diff --git a/homeassistant/components/nederlandse_spoorwegen/sensor.py b/homeassistant/components/nederlandse_spoorwegen/sensor.py index 6f3ea8246b3776..224d16e4869b9a 100644 --- a/homeassistant/components/nederlandse_spoorwegen/sensor.py +++ b/homeassistant/components/nederlandse_spoorwegen/sensor.py @@ -12,6 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['nsapi==2.7.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nello/lock.py b/homeassistant/components/nello/lock.py index 4e5f5b7a5c8250..efb7719e2013fd 100644 --- a/homeassistant/components/nello/lock.py +++ b/homeassistant/components/nello/lock.py @@ -8,6 +8,7 @@ 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__) diff --git a/homeassistant/components/ness_alarm/__init__.py b/homeassistant/components/ness_alarm/__init__.py index dc4292af41f2fc..97896f9aa3f9ec 100644 --- a/homeassistant/components/ness_alarm/__init__.py +++ b/homeassistant/components/ness_alarm/__init__.py @@ -13,6 +13,7 @@ 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__) diff --git a/homeassistant/components/ness_alarm/alarm_control_panel.py b/homeassistant/components/ness_alarm/alarm_control_panel.py index 508cb15e0a142a..618297ef9a5216 100644 --- a/homeassistant/components/ness_alarm/alarm_control_panel.py +++ b/homeassistant/components/ness_alarm/alarm_control_panel.py @@ -13,6 +13,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['ness_alarm'] async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/ness_alarm/binary_sensor.py b/homeassistant/components/ness_alarm/binary_sensor.py index 6d9486577a72f4..2bed9eb64042bf 100644 --- a/homeassistant/components/ness_alarm/binary_sensor.py +++ b/homeassistant/components/ness_alarm/binary_sensor.py @@ -9,6 +9,7 @@ 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 11d20ec6b2fd80..21aaa2109a10c4 100644 --- a/homeassistant/components/nest/__init__.py +++ b/homeassistant/components/nest/__init__.py @@ -22,6 +22,7 @@ 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 60e1bc90a22f34..aa56bfbf29d50c 100644 --- a/homeassistant/components/nest/binary_sensor.py +++ b/homeassistant/components/nest/binary_sensor.py @@ -10,6 +10,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['nest'] BINARY_TYPES = {'online': 'connectivity'} diff --git a/homeassistant/components/nest/camera.py b/homeassistant/components/nest/camera.py index 98053f27669778..8b450e02b46777 100644 --- a/homeassistant/components/nest/camera.py +++ b/homeassistant/components/nest/camera.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['nest'] NEST_BRAND = 'Nest' diff --git a/homeassistant/components/nest/climate.py b/homeassistant/components/nest/climate.py index 4707d8d0f8c30c..cd9a7cb71b634d 100644 --- a/homeassistant/components/nest/climate.py +++ b/homeassistant/components/nest/climate.py @@ -16,6 +16,7 @@ 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 6f66ae4b02aeb2..ecae83e303c2a9 100644 --- a/homeassistant/components/nest/sensor.py +++ b/homeassistant/components/nest/sensor.py @@ -8,6 +8,7 @@ from . import CONF_SENSORS, DATA_NEST, DATA_NEST_CONFIG, NestSensorDevice +DEPENDENCIES = ['nest'] SENSOR_TYPES = ['humidity', 'operation_mode', 'hvac_state'] diff --git a/homeassistant/components/netatmo/__init__.py b/homeassistant/components/netatmo/__init__.py index 7f82bb5177c7d3..2036e55b3a88ad 100644 --- a/homeassistant/components/netatmo/__init__.py +++ b/homeassistant/components/netatmo/__init__.py @@ -12,6 +12,8 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle +REQUIREMENTS = ['pyatmo==1.9'] +DEPENDENCIES = ['webhook'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netatmo/binary_sensor.py b/homeassistant/components/netatmo/binary_sensor.py index cb959d71b64aad..a11ce6bddf710a 100644 --- a/homeassistant/components/netatmo/binary_sensor.py +++ b/homeassistant/components/netatmo/binary_sensor.py @@ -12,6 +12,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['netatmo'] # These are the available sensors mapped to binary_sensor class WELCOME_SENSOR_TYPES = { diff --git a/homeassistant/components/netatmo/camera.py b/homeassistant/components/netatmo/camera.py index 3b27c2e054ceef..6b80c3061b567e 100644 --- a/homeassistant/components/netatmo/camera.py +++ b/homeassistant/components/netatmo/camera.py @@ -11,6 +11,7 @@ from . import CameraData +DEPENDENCIES = ['netatmo'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netatmo/climate.py b/homeassistant/components/netatmo/climate.py index 87c5bfd9653b7e..d0537c5912b18a 100644 --- a/homeassistant/components/netatmo/climate.py +++ b/homeassistant/components/netatmo/climate.py @@ -14,6 +14,7 @@ STATE_OFF, TEMP_CELSIUS, ATTR_TEMPERATURE, CONF_NAME) from homeassistant.util import Throttle +DEPENDENCIES = ['netatmo'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netatmo/sensor.py b/homeassistant/components/netatmo/sensor.py index dc481c017badc7..307b76ca434bd4 100644 --- a/homeassistant/components/netatmo/sensor.py +++ b/homeassistant/components/netatmo/sensor.py @@ -17,6 +17,7 @@ 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 a84c90e42cc069..3480534436da6b 100644 --- a/homeassistant/components/netatmo_public/sensor.py +++ b/homeassistant/components/netatmo_public/sensor.py @@ -14,6 +14,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['netatmo'] CONF_AREAS = 'areas' CONF_LAT_NE = 'lat_ne' diff --git a/homeassistant/components/netdata/sensor.py b/homeassistant/components/netdata/sensor.py index be80fda81dec93..6d99722a4162d4 100644 --- a/homeassistant/components/netdata/sensor.py +++ b/homeassistant/components/netdata/sensor.py @@ -13,6 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['netdata==0.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netgear/device_tracker.py b/homeassistant/components/netgear/device_tracker.py index 40c09ed9b7ec2e..ce8c2d6066d3d4 100644 --- a/homeassistant/components/netgear/device_tracker.py +++ b/homeassistant/components/netgear/device_tracker.py @@ -10,6 +10,7 @@ CONF_HOST, CONF_PASSWORD, CONF_USERNAME, CONF_PORT, CONF_SSL, CONF_DEVICES, CONF_EXCLUDE) +REQUIREMENTS = ['pynetgear==0.5.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netgear_lte/__init__.py b/homeassistant/components/netgear_lte/__init__.py index fe07526e0eddd8..c0f248a3dd5205 100644 --- a/homeassistant/components/netgear_lte/__init__.py +++ b/homeassistant/components/netgear_lte/__init__.py @@ -24,6 +24,7 @@ from . import sensor_types +REQUIREMENTS = ['eternalegypt==0.0.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netgear_lte/binary_sensor.py b/homeassistant/components/netgear_lte/binary_sensor.py index d7f766572468f8..a26c8538ea5be9 100644 --- a/homeassistant/components/netgear_lte/binary_sensor.py +++ b/homeassistant/components/netgear_lte/binary_sensor.py @@ -7,6 +7,7 @@ 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 9497dd9f84d31d..fba1a335ace333 100644 --- a/homeassistant/components/netgear_lte/notify.py +++ b/homeassistant/components/netgear_lte/notify.py @@ -8,6 +8,7 @@ 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 f45c37f8f8c4ec..238a5f9b72d3d6 100644 --- a/homeassistant/components/netgear_lte/sensor.py +++ b/homeassistant/components/netgear_lte/sensor.py @@ -8,6 +8,7 @@ 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 9bcb69f93bc860..27a7dfbd5e7de5 100644 --- a/homeassistant/components/netio/switch.py +++ b/homeassistant/components/netio/switch.py @@ -14,6 +14,7 @@ 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__) @@ -24,6 +25,7 @@ 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 a24221ccb59855..9e12465c69b078 100644 --- a/homeassistant/components/neurio_energy/sensor.py +++ b/homeassistant/components/neurio_energy/sensor.py @@ -13,6 +13,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util +REQUIREMENTS = ['neurio==0.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/niko_home_control/light.py b/homeassistant/components/niko_home_control/light.py index ecc9aed15548d3..00e8dc838a6c0d 100644 --- a/homeassistant/components/niko_home_control/light.py +++ b/homeassistant/components/niko_home_control/light.py @@ -9,6 +9,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['niko-home-control==0.1.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nilu/air_quality.py b/homeassistant/components/nilu/air_quality.py index 3c082ad456d4d6..979d5736d6a20d 100644 --- a/homeassistant/components/nilu/air_quality.py +++ b/homeassistant/components/nilu/air_quality.py @@ -11,6 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle +REQUIREMENTS = ['niluclient==0.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nissan_leaf/__init__.py b/homeassistant/components/nissan_leaf/__init__.py index f1120ee8622fc9..cb101c0a5309c5 100644 --- a/homeassistant/components/nissan_leaf/__init__.py +++ b/homeassistant/components/nissan_leaf/__init__.py @@ -16,6 +16,7 @@ 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__) diff --git a/homeassistant/components/nissan_leaf/binary_sensor.py b/homeassistant/components/nissan_leaf/binary_sensor.py index f358e3e3e07abe..5c71cf1fc513a9 100644 --- a/homeassistant/components/nissan_leaf/binary_sensor.py +++ b/homeassistant/components/nissan_leaf/binary_sensor.py @@ -7,6 +7,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['nissan_leaf'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/nissan_leaf/device_tracker.py b/homeassistant/components/nissan_leaf/device_tracker.py index 8e6d584e6e57b8..95f6fcdcaf16c0 100644 --- a/homeassistant/components/nissan_leaf/device_tracker.py +++ b/homeassistant/components/nissan_leaf/device_tracker.py @@ -8,6 +8,7 @@ _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 f409e5774f2ea9..682f482b4888f2 100644 --- a/homeassistant/components/nissan_leaf/sensor.py +++ b/homeassistant/components/nissan_leaf/sensor.py @@ -12,6 +12,7 @@ _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 d6cbe4868df778..e6d72103a6c6c4 100644 --- a/homeassistant/components/nissan_leaf/switch.py +++ b/homeassistant/components/nissan_leaf/switch.py @@ -7,6 +7,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['nissan_leaf'] def setup_platform(hass, config, add_devices, discovery_info=None): diff --git a/homeassistant/components/nmap_tracker/device_tracker.py b/homeassistant/components/nmap_tracker/device_tracker.py index c2f6ba761af18a..e553d323b72306 100644 --- a/homeassistant/components/nmap_tracker/device_tracker.py +++ b/homeassistant/components/nmap_tracker/device_tracker.py @@ -13,6 +13,7 @@ DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOSTS +REQUIREMENTS = ['python-nmap==0.6.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nmbs/sensor.py b/homeassistant/components/nmbs/sensor.py index f601334e5e24ea..034c37530b355e 100644 --- a/homeassistant/components/nmbs/sensor.py +++ b/homeassistant/components/nmbs/sensor.py @@ -23,6 +23,7 @@ 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, diff --git a/homeassistant/components/noaa_tides/sensor.py b/homeassistant/components/noaa_tides/sensor.py index 57a5ebedec4380..0c4bde94f5770f 100644 --- a/homeassistant/components/noaa_tides/sensor.py +++ b/homeassistant/components/noaa_tides/sensor.py @@ -10,6 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['py_noaa==0.3.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/norway_air/air_quality.py b/homeassistant/components/norway_air/air_quality.py index 7dcc8dfefd5534..06ed68801f89c7 100644 --- a/homeassistant/components/norway_air/air_quality.py +++ b/homeassistant/components/norway_air/air_quality.py @@ -12,6 +12,7 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession +REQUIREMENTS = ['pyMetno==0.4.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nsw_fuel_station/sensor.py b/homeassistant/components/nsw_fuel_station/sensor.py index c1bba1e8f75538..ce4337fc93ab6c 100644 --- a/homeassistant/components/nsw_fuel_station/sensor.py +++ b/homeassistant/components/nsw_fuel_station/sensor.py @@ -11,6 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['nsw-fuel-api-client==1.0.10'] _LOGGER = logging.getLogger(__name__) 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 ab9354543a1264..38491feb32f406 100644 --- a/homeassistant/components/nsw_rural_fire_service_feed/geo_location.py +++ b/homeassistant/components/nsw_rural_fire_service_feed/geo_location.py @@ -16,6 +16,7 @@ async_dispatcher_connect, dispatcher_send) from homeassistant.helpers.event import track_time_interval +REQUIREMENTS = ['geojson_client==0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nuheat/__init__.py b/homeassistant/components/nuheat/__init__.py index 02e011aab6231a..4ea37339ef35f3 100644 --- a/homeassistant/components/nuheat/__init__.py +++ b/homeassistant/components/nuheat/__init__.py @@ -7,6 +7,7 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers import discovery +REQUIREMENTS = ["nuheat==0.3.0"] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nuheat/climate.py b/homeassistant/components/nuheat/climate.py index 3c90a25eb76224..32adc1d216f3c5 100644 --- a/homeassistant/components/nuheat/climate.py +++ b/homeassistant/components/nuheat/climate.py @@ -15,6 +15,7 @@ from . import DOMAIN as NUHEAT_DOMAIN +DEPENDENCIES = ["nuheat"] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nuimo_controller/__init__.py b/homeassistant/components/nuimo_controller/__init__.py index 3a8e1c72531815..70509469d2bcf9 100644 --- a/homeassistant/components/nuimo_controller/__init__.py +++ b/homeassistant/components/nuimo_controller/__init__.py @@ -8,6 +8,9 @@ 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__) diff --git a/homeassistant/components/nuki/lock.py b/homeassistant/components/nuki/lock.py index 4806ce1c01edd0..ef49d4b97dd955 100644 --- a/homeassistant/components/nuki/lock.py +++ b/homeassistant/components/nuki/lock.py @@ -10,6 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.service import extract_entity_ids +REQUIREMENTS = ['pynuki==1.3.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nut/sensor.py b/homeassistant/components/nut/sensor.py index 8a1679afeef846..43ba06f70eb1b3 100644 --- a/homeassistant/components/nut/sensor.py +++ b/homeassistant/components/nut/sensor.py @@ -14,6 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['pynut2==2.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nx584/alarm_control_panel.py b/homeassistant/components/nx584/alarm_control_panel.py index 011f0becd9df73..c5e1fede6fd8fd 100644 --- a/homeassistant/components/nx584/alarm_control_panel.py +++ b/homeassistant/components/nx584/alarm_control_panel.py @@ -11,6 +11,7 @@ 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__) diff --git a/homeassistant/components/nx584/binary_sensor.py b/homeassistant/components/nx584/binary_sensor.py index 0216be783eb1a1..61f8fb801eac5b 100644 --- a/homeassistant/components/nx584/binary_sensor.py +++ b/homeassistant/components/nx584/binary_sensor.py @@ -11,6 +11,7 @@ from homeassistant.const import (CONF_HOST, CONF_PORT) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pynx584==0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/oasa_telematics/sensor.py b/homeassistant/components/oasa_telematics/sensor.py index 60c2f9a231b991..665f2f83f86af7 100644 --- a/homeassistant/components/oasa_telematics/sensor.py +++ b/homeassistant/components/oasa_telematics/sensor.py @@ -12,6 +12,7 @@ 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 dfc2d9694ec149..be3381f3bc8a2e 100644 --- a/homeassistant/components/octoprint/binary_sensor.py +++ b/homeassistant/components/octoprint/binary_sensor.py @@ -9,6 +9,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['octoprint'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/octoprint/sensor.py b/homeassistant/components/octoprint/sensor.py index 311d7d66dd74da..f07d88d11da3ff 100644 --- a/homeassistant/components/octoprint/sensor.py +++ b/homeassistant/components/octoprint/sensor.py @@ -10,6 +10,7 @@ _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 036f9d2439cfbe..f1e03396b05002 100644 --- a/homeassistant/components/oem/climate.py +++ b/homeassistant/components/oem/climate.py @@ -21,6 +21,7 @@ CONF_PORT, TEMP_CELSIUS, CONF_NAME) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['oemthermostat==1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ohmconnect/sensor.py b/homeassistant/components/ohmconnect/sensor.py index 73769faab2c663..1d870e4d15a12c 100644 --- a/homeassistant/components/ohmconnect/sensor.py +++ b/homeassistant/components/ohmconnect/sensor.py @@ -11,6 +11,7 @@ from homeassistant.util import Throttle from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['defusedxml==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/onboarding/__init__.py b/homeassistant/components/onboarding/__init__.py index 9949f36cc4a98d..f8885962ee7174 100644 --- a/homeassistant/components/onboarding/__init__.py +++ b/homeassistant/components/onboarding/__init__.py @@ -4,6 +4,7 @@ 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 e28927fd44d48c..64b9684c58c4ec 100644 --- a/homeassistant/components/onkyo/media_player.py +++ b/homeassistant/components/onkyo/media_player.py @@ -16,6 +16,7 @@ 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__) diff --git a/homeassistant/components/onvif/camera.py b/homeassistant/components/onvif/camera.py index 6a773a854c9809..90222b9cafc06b 100644 --- a/homeassistant/components/onvif/camera.py +++ b/homeassistant/components/onvif/camera.py @@ -20,6 +20,10 @@ _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 a17ca4ee0ae0e1..10173cdb725c8b 100644 --- a/homeassistant/components/opencv/image_processing.py +++ b/homeassistant/components/opencv/image_processing.py @@ -11,6 +11,7 @@ from homeassistant.core import split_entity_id import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['numpy==1.16.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/openevse/sensor.py b/homeassistant/components/openevse/sensor.py index 7ec796ec3f299f..e54b47236c5fe3 100644 --- a/homeassistant/components/openevse/sensor.py +++ b/homeassistant/components/openevse/sensor.py @@ -11,6 +11,7 @@ CONF_MONITORED_VARIABLES) from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['openevsewifi==0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/openhome/media_player.py b/homeassistant/components/openhome/media_player.py index 5af09cd1ecd07e..03926bce8c5ce8 100644 --- a/homeassistant/components/openhome/media_player.py +++ b/homeassistant/components/openhome/media_player.py @@ -10,6 +10,7 @@ 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 | \ diff --git a/homeassistant/components/opensensemap/air_quality.py b/homeassistant/components/opensensemap/air_quality.py index 11921926ecf773..5407f65a1d822f 100644 --- a/homeassistant/components/opensensemap/air_quality.py +++ b/homeassistant/components/opensensemap/air_quality.py @@ -11,6 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle +REQUIREMENTS = ['opensensemap-api==0.1.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/opentherm_gw/__init__.py b/homeassistant/components/opentherm_gw/__init__.py index 82161e3382b0e4..1476363c6bd877 100644 --- a/homeassistant/components/opentherm_gw/__init__.py +++ b/homeassistant/components/opentherm_gw/__init__.py @@ -15,6 +15,7 @@ import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pyotgw==0.4b3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/opentherm_gw/binary_sensor.py b/homeassistant/components/opentherm_gw/binary_sensor.py index 24f7324bd806a7..d0b60a257705a6 100644 --- a/homeassistant/components/opentherm_gw/binary_sensor.py +++ b/homeassistant/components/opentherm_gw/binary_sensor.py @@ -14,6 +14,7 @@ DEVICE_CLASS_HEAT = 'heat' DEVICE_CLASS_PROBLEM = 'problem' +DEPENDENCIES = ['opentherm_gw'] async def async_setup_platform( diff --git a/homeassistant/components/opentherm_gw/climate.py b/homeassistant/components/opentherm_gw/climate.py index 90a36b038e6307..60f1901d43e96d 100644 --- a/homeassistant/components/opentherm_gw/climate.py +++ b/homeassistant/components/opentherm_gw/climate.py @@ -15,6 +15,7 @@ _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 a75a210f62c374..5c64b8ab719b02 100644 --- a/homeassistant/components/opentherm_gw/sensor.py +++ b/homeassistant/components/opentherm_gw/sensor.py @@ -16,6 +16,7 @@ UNIT_L_MIN = 'L/min' UNIT_PERCENT = '%' +DEPENDENCIES = ['opentherm_gw'] async def async_setup_platform( diff --git a/homeassistant/components/openuv/__init__.py b/homeassistant/components/openuv/__init__.py index 15312fd77c4f44..5533beb2faed4b 100644 --- a/homeassistant/components/openuv/__init__.py +++ b/homeassistant/components/openuv/__init__.py @@ -15,6 +15,7 @@ from .config_flow import configured_instances from .const import DOMAIN +REQUIREMENTS = ['pyopenuv==1.0.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/openuv/binary_sensor.py b/homeassistant/components/openuv/binary_sensor.py index 2b63750abb960a..cfc82a7572954d 100644 --- a/homeassistant/components/openuv/binary_sensor.py +++ b/homeassistant/components/openuv/binary_sensor.py @@ -16,6 +16,7 @@ ATTR_PROTECTION_WINDOW_STARTING_TIME = 'start_time' ATTR_PROTECTION_WINDOW_STARTING_UV = 'start_uv' +DEPENDENCIES = ['openuv'] async def async_setup_platform( diff --git a/homeassistant/components/openuv/sensor.py b/homeassistant/components/openuv/sensor.py index d437f29254b2dc..42780d57b3c252 100644 --- a/homeassistant/components/openuv/sensor.py +++ b/homeassistant/components/openuv/sensor.py @@ -14,6 +14,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['openuv'] ATTR_MAX_UV_TIME = 'time' diff --git a/homeassistant/components/openweathermap/sensor.py b/homeassistant/components/openweathermap/sensor.py index a98ddf85116e28..5de67721e3057f 100644 --- a/homeassistant/components/openweathermap/sensor.py +++ b/homeassistant/components/openweathermap/sensor.py @@ -12,6 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['pyowm==2.10.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/openweathermap/weather.py b/homeassistant/components/openweathermap/weather.py index a7f145e17ac135..8a37bc97575180 100644 --- a/homeassistant/components/openweathermap/weather.py +++ b/homeassistant/components/openweathermap/weather.py @@ -14,6 +14,7 @@ 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__) diff --git a/homeassistant/components/opple/light.py b/homeassistant/components/opple/light.py index 169ce1d3a430f0..03e36dc179d43b 100644 --- a/homeassistant/components/opple/light.py +++ b/homeassistant/components/opple/light.py @@ -14,6 +14,7 @@ from homeassistant.util.color import \ color_temperature_mired_to_kelvin as mired_to_kelvin +REQUIREMENTS = ['pyoppleio==1.0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/orvibo/switch.py b/homeassistant/components/orvibo/switch.py index eed48d290b0308..c77e24446ec2a6 100644 --- a/homeassistant/components/orvibo/switch.py +++ b/homeassistant/components/orvibo/switch.py @@ -8,6 +8,7 @@ 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__) diff --git a/homeassistant/components/osramlightify/light.py b/homeassistant/components/osramlightify/light.py index c32436bd85b8ee..b880273fd1e916 100644 --- a/homeassistant/components/osramlightify/light.py +++ b/homeassistant/components/osramlightify/light.py @@ -15,6 +15,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util +REQUIREMENTS = ['lightify==1.0.7.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/otp/sensor.py b/homeassistant/components/otp/sensor.py index b79d6ae2a3581d..2ac4c51998443e 100644 --- a/homeassistant/components/otp/sensor.py +++ b/homeassistant/components/otp/sensor.py @@ -10,6 +10,7 @@ from homeassistant.const import (CONF_NAME, CONF_TOKEN) from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['pyotp==2.2.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/owlet/__init__.py b/homeassistant/components/owlet/__init__.py index d17d7308bd1883..b7ad7ab915240a 100644 --- a/homeassistant/components/owlet/__init__.py +++ b/homeassistant/components/owlet/__init__.py @@ -11,6 +11,7 @@ SENSOR_BASE_STATION, SENSOR_HEART_RATE, SENSOR_MOVEMENT, SENSOR_OXYGEN_LEVEL) +REQUIREMENTS = ['pyowlet==1.0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/owntracks/__init__.py b/homeassistant/components/owntracks/__init__.py index 93cd66de05895b..df6b815e4c5be9 100644 --- a/homeassistant/components/owntracks/__init__.py +++ b/homeassistant/components/owntracks/__init__.py @@ -16,10 +16,12 @@ 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' diff --git a/homeassistant/components/owntracks/device_tracker.py b/homeassistant/components/owntracks/device_tracker.py index cb5045ea87dbf9..69ea723d84c503 100644 --- a/homeassistant/components/owntracks/device_tracker.py +++ b/homeassistant/components/owntracks/device_tracker.py @@ -10,6 +10,7 @@ from . import DOMAIN as OT_DOMAIN +DEPENDENCIES = ['owntracks'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/panasonic_bluray/media_player.py b/homeassistant/components/panasonic_bluray/media_player.py index f527ba790cb03f..ebf71135d343f7 100644 --- a/homeassistant/components/panasonic_bluray/media_player.py +++ b/homeassistant/components/panasonic_bluray/media_player.py @@ -14,6 +14,7 @@ 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 324d5e59322c71..324becd0bf756d 100644 --- a/homeassistant/components/panasonic_viera/media_player.py +++ b/homeassistant/components/panasonic_viera/media_player.py @@ -14,6 +14,7 @@ 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__) diff --git a/homeassistant/components/pandora/media_player.py b/homeassistant/components/pandora/media_player.py index 14eb260914a2af..32cde430d0e97b 100644 --- a/homeassistant/components/pandora/media_player.py +++ b/homeassistant/components/pandora/media_player.py @@ -16,6 +16,7 @@ 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 3042885f321e68..7fe2191f4c497c 100644 --- a/homeassistant/components/panel_custom/__init__.py +++ b/homeassistant/components/panel_custom/__init__.py @@ -10,6 +10,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'panel_custom' +DEPENDENCIES = ['frontend'] CONF_COMPONENT_NAME = 'name' CONF_SIDEBAR_TITLE = 'sidebar_title' diff --git a/homeassistant/components/panel_iframe/__init__.py b/homeassistant/components/panel_iframe/__init__.py index d261052dfaf637..9319dfcc6adb27 100644 --- a/homeassistant/components/panel_iframe/__init__.py +++ b/homeassistant/components/panel_iframe/__init__.py @@ -4,6 +4,7 @@ from homeassistant.const import CONF_ICON, CONF_URL import homeassistant.helpers.config_validation as cv +DEPENDENCIES = ['frontend'] DOMAIN = 'panel_iframe' diff --git a/homeassistant/components/pencom/switch.py b/homeassistant/components/pencom/switch.py index c4decde51d08b0..d2c73d70d96deb 100644 --- a/homeassistant/components/pencom/switch.py +++ b/homeassistant/components/pencom/switch.py @@ -12,6 +12,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pencompy==0.0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/philips_js/media_player.py b/homeassistant/components/philips_js/media_player.py index bfed905c1e384f..f5eddff8d138dc 100644 --- a/homeassistant/components/philips_js/media_player.py +++ b/homeassistant/components/philips_js/media_player.py @@ -15,6 +15,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.script import Script +REQUIREMENTS = ['ha-philipsjs==0.0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pi_hole/sensor.py b/homeassistant/components/pi_hole/sensor.py index 73ef7a280e825c..805e17ebdff418 100644 --- a/homeassistant/components/pi_hole/sensor.py +++ b/homeassistant/components/pi_hole/sensor.py @@ -13,6 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['hole==0.3.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/piglow/light.py b/homeassistant/components/piglow/light.py index 38b3e6cc8999c2..dc3906b20026cd 100644 --- a/homeassistant/components/piglow/light.py +++ b/homeassistant/components/piglow/light.py @@ -11,6 +11,7 @@ from homeassistant.const import CONF_NAME import homeassistant.util.color as color_util +REQUIREMENTS = ['piglow==1.2.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pilight/__init__.py b/homeassistant/components/pilight/__init__.py index f3bbfbf409c320..46be3b3720438b 100644 --- a/homeassistant/components/pilight/__init__.py +++ b/homeassistant/components/pilight/__init__.py @@ -14,6 +14,7 @@ EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP, CONF_HOST, CONF_PORT, CONF_WHITELIST, CONF_PROTOCOL) +REQUIREMENTS = ['pilight==0.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pilight/binary_sensor.py b/homeassistant/components/pilight/binary_sensor.py index 852227c486e5c4..131a91b5fc3c0a 100644 --- a/homeassistant/components/pilight/binary_sensor.py +++ b/homeassistant/components/pilight/binary_sensor.py @@ -26,6 +26,7 @@ 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, diff --git a/homeassistant/components/pilight/sensor.py b/homeassistant/components/pilight/sensor.py index c45ed4df54f1e1..c36151c90dce26 100644 --- a/homeassistant/components/pilight/sensor.py +++ b/homeassistant/components/pilight/sensor.py @@ -15,6 +15,7 @@ CONF_VARIABLE = 'variable' DEFAULT_NAME = 'Pilight Sensor' +DEPENDENCIES = ['pilight'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_VARIABLE): cv.string, diff --git a/homeassistant/components/pilight/switch.py b/homeassistant/components/pilight/switch.py index b4a248a6205b9a..d645d8e3013ce7 100644 --- a/homeassistant/components/pilight/switch.py +++ b/homeassistant/components/pilight/switch.py @@ -21,6 +21,7 @@ CONF_UNITCODE = 'unitcode' CONF_ECHO = 'echo' +DEPENDENCIES = ['pilight'] COMMAND_SCHEMA = vol.Schema({ vol.Optional(CONF_PROTOCOL): cv.string, diff --git a/homeassistant/components/pjlink/media_player.py b/homeassistant/components/pjlink/media_player.py index 73cb6db28e1445..ad7bdc9e77cb20 100644 --- a/homeassistant/components/pjlink/media_player.py +++ b/homeassistant/components/pjlink/media_player.py @@ -12,6 +12,7 @@ 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__) diff --git a/homeassistant/components/plant/__init__.py b/homeassistant/components/plant/__init__.py index a60d2bc7e3a9b4..27324ad57a39a4 100644 --- a/homeassistant/components/plant/__init__.py +++ b/homeassistant/components/plant/__init__.py @@ -89,6 +89,7 @@ }) 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 845d033ffaf0b1..f2af6836e3be4c 100644 --- a/homeassistant/components/plex/media_player.py +++ b/homeassistant/components/plex/media_player.py @@ -20,6 +20,7 @@ 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 69cc1398b23434..a3df6fdb41e8fd 100644 --- a/homeassistant/components/plex/sensor.py +++ b/homeassistant/components/plex/sensor.py @@ -11,6 +11,7 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['plexapi==3.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/plum_lightpad/__init__.py b/homeassistant/components/plum_lightpad/__init__.py index 713d4268227720..5b99223d25aed7 100644 --- a/homeassistant/components/plum_lightpad/__init__.py +++ b/homeassistant/components/plum_lightpad/__init__.py @@ -10,6 +10,7 @@ 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__) diff --git a/homeassistant/components/plum_lightpad/light.py b/homeassistant/components/plum_lightpad/light.py index cdb73409d69d84..233539560f4b8a 100644 --- a/homeassistant/components/plum_lightpad/light.py +++ b/homeassistant/components/plum_lightpad/light.py @@ -5,6 +5,7 @@ from . import PLUM_DATA +DEPENDENCIES = ['plum_lightpad'] async def async_setup_platform( diff --git a/homeassistant/components/pocketcasts/sensor.py b/homeassistant/components/pocketcasts/sensor.py index 4dc560abd577b2..f09e90120049d9 100644 --- a/homeassistant/components/pocketcasts/sensor.py +++ b/homeassistant/components/pocketcasts/sensor.py @@ -10,6 +10,7 @@ from homeassistant.const import (CONF_USERNAME, CONF_PASSWORD) from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['pocketcasts==0.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/point/__init__.py b/homeassistant/components/point/__init__.py index a2288a0867982e..dc839756469dd3 100644 --- a/homeassistant/components/point/__init__.py +++ b/homeassistant/components/point/__init__.py @@ -20,9 +20,11 @@ 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 082ade70ad3d0b..3fc4d1fce3dd54 100644 --- a/homeassistant/components/pollen/sensor.py +++ b/homeassistant/components/pollen/sensor.py @@ -13,6 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['numpy==1.16.2', 'pypollencom==2.2.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/postnl/sensor.py b/homeassistant/components/postnl/sensor.py index 96e6a05e7e3fe4..f9c8019cd31a00 100644 --- a/homeassistant/components/postnl/sensor.py +++ b/homeassistant/components/postnl/sensor.py @@ -11,6 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['postnl_api==1.0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/prezzibenzina/sensor.py b/homeassistant/components/prezzibenzina/sensor.py index 25121b4488ec1a..525de7dad2f837 100644 --- a/homeassistant/components/prezzibenzina/sensor.py +++ b/homeassistant/components/prezzibenzina/sensor.py @@ -10,6 +10,7 @@ from homeassistant.helpers.config_validation import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['prezzibenzina-py==1.1.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/proliphix/climate.py b/homeassistant/components/proliphix/climate.py index f39761541f3438..c165334201da2f 100644 --- a/homeassistant/components/proliphix/climate.py +++ b/homeassistant/components/proliphix/climate.py @@ -9,6 +9,7 @@ ATTR_TEMPERATURE) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['proliphix==0.4.1'] ATTR_FAN = 'fan' diff --git a/homeassistant/components/prometheus/__init__.py b/homeassistant/components/prometheus/__init__.py index 9a9f47a3d26fd1..de0de8ae16241f 100644 --- a/homeassistant/components/prometheus/__init__.py +++ b/homeassistant/components/prometheus/__init__.py @@ -14,12 +14,14 @@ 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 c696c36f94c222..0a617bcec90116 100644 --- a/homeassistant/components/proximity/__init__.py +++ b/homeassistant/components/proximity/__init__.py @@ -25,6 +25,7 @@ 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 2f75c0b13e63b1..fda2cdea60ef8e 100644 --- a/homeassistant/components/proxy/camera.py +++ b/homeassistant/components/proxy/camera.py @@ -12,6 +12,7 @@ from homeassistant.util.async_ import run_coroutine_threadsafe import homeassistant.util.dt as dt_util +REQUIREMENTS = ['pillow==5.4.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ps4/__init__.py b/homeassistant/components/ps4/__init__.py index d8decdca57b8cd..191eb223707d99 100644 --- a/homeassistant/components/ps4/__init__.py +++ b/homeassistant/components/ps4/__init__.py @@ -9,6 +9,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['pyps4-homeassistant==0.5.2'] async def async_setup(hass, config): diff --git a/homeassistant/components/ps4/media_player.py b/homeassistant/components/ps4/media_player.py index e53e9372d583a2..4dc4fa0a317089 100644 --- a/homeassistant/components/ps4/media_player.py +++ b/homeassistant/components/ps4/media_player.py @@ -17,6 +17,7 @@ from .const import DOMAIN as PS4_DOMAIN, REGIONS as deprecated_regions +DEPENDENCIES = ['ps4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/push/camera.py b/homeassistant/components/push/camera.py index 8dc80199e6b8cb..c0424f15898e58 100644 --- a/homeassistant/components/push/camera.py +++ b/homeassistant/components/push/camera.py @@ -17,6 +17,7 @@ from homeassistant.helpers.event import async_track_point_in_utc_time import homeassistant.util.dt as dt_util +DEPENDENCIES = ['webhook'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pushbullet/notify.py b/homeassistant/components/pushbullet/notify.py index 06f1541f30df49..3fc90161ae0cd9 100644 --- a/homeassistant/components/pushbullet/notify.py +++ b/homeassistant/components/pushbullet/notify.py @@ -11,6 +11,7 @@ ATTR_DATA, ATTR_TARGET, ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) +REQUIREMENTS = ['pushbullet.py==0.11.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pushbullet/sensor.py b/homeassistant/components/pushbullet/sensor.py index 3ca9d4791a159b..c90f952e7de0d3 100644 --- a/homeassistant/components/pushbullet/sensor.py +++ b/homeassistant/components/pushbullet/sensor.py @@ -8,6 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['pushbullet.py==0.11.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/pushetta/notify.py b/homeassistant/components/pushetta/notify.py index d2ea33249c2cae..028b0cfd49212a 100644 --- a/homeassistant/components/pushetta/notify.py +++ b/homeassistant/components/pushetta/notify.py @@ -10,6 +10,7 @@ ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['pushetta==1.0.15'] CONF_CHANNEL_NAME = 'channel_name' diff --git a/homeassistant/components/pushover/notify.py b/homeassistant/components/pushover/notify.py index d9be3428d59e10..39a1ce5d2f7fdb 100644 --- a/homeassistant/components/pushover/notify.py +++ b/homeassistant/components/pushover/notify.py @@ -10,6 +10,7 @@ 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 37041f8df8019e..56a82b3912054f 100644 --- a/homeassistant/components/python_script/__init__.py +++ b/homeassistant/components/python_script/__init__.py @@ -13,6 +13,7 @@ from homeassistant.util import sanitize_filename import homeassistant.util.dt as dt_util +REQUIREMENTS = ['restrictedpython==4.0b8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/qbittorrent/sensor.py b/homeassistant/components/qbittorrent/sensor.py index d6b7a2143bf31d..7e91c0ab276ccd 100644 --- a/homeassistant/components/qbittorrent/sensor.py +++ b/homeassistant/components/qbittorrent/sensor.py @@ -12,6 +12,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.exceptions import PlatformNotReady +REQUIREMENTS = ['python-qbittorrent==0.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/qnap/sensor.py b/homeassistant/components/qnap/sensor.py index 69389bab875b30..e12f20c25b1903 100644 --- a/homeassistant/components/qnap/sensor.py +++ b/homeassistant/components/qnap/sensor.py @@ -13,6 +13,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['qnapstats==0.2.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/qrcode/image_processing.py b/homeassistant/components/qrcode/image_processing.py index 2c3d2663d1381b..46fa78cca7f94f 100644 --- a/homeassistant/components/qrcode/image_processing.py +++ b/homeassistant/components/qrcode/image_processing.py @@ -3,6 +3,7 @@ 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): diff --git a/homeassistant/components/quantum_gateway/device_tracker.py b/homeassistant/components/quantum_gateway/device_tracker.py index 1576266f9cd6a0..3472a4dbb97677 100644 --- a/homeassistant/components/quantum_gateway/device_tracker.py +++ b/homeassistant/components/quantum_gateway/device_tracker.py @@ -9,6 +9,7 @@ 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__) diff --git a/homeassistant/components/qwikswitch/__init__.py b/homeassistant/components/qwikswitch/__init__.py index fe8a804729b99f..a64685956221fa 100644 --- a/homeassistant/components/qwikswitch/__init__.py +++ b/homeassistant/components/qwikswitch/__init__.py @@ -14,6 +14,7 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['pyqwikswitch==0.93'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/qwikswitch/binary_sensor.py b/homeassistant/components/qwikswitch/binary_sensor.py index b0f86cf15fcd48..a92c4d0b435e19 100644 --- a/homeassistant/components/qwikswitch/binary_sensor.py +++ b/homeassistant/components/qwikswitch/binary_sensor.py @@ -6,6 +6,7 @@ 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 41955212caa66d..cb4df24f9781df 100644 --- a/homeassistant/components/qwikswitch/light.py +++ b/homeassistant/components/qwikswitch/light.py @@ -3,6 +3,7 @@ from . import DOMAIN as QWIKSWITCH, QSToggleEntity +DEPENDENCIES = [QWIKSWITCH] async def async_setup_platform(hass, _, add_entities, discovery_info=None): diff --git a/homeassistant/components/qwikswitch/sensor.py b/homeassistant/components/qwikswitch/sensor.py index 1a22b953cf288e..8befce4f7e2a3f 100644 --- a/homeassistant/components/qwikswitch/sensor.py +++ b/homeassistant/components/qwikswitch/sensor.py @@ -5,6 +5,7 @@ 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 65ca5170e01313..4ee5396ae0ce3c 100644 --- a/homeassistant/components/qwikswitch/switch.py +++ b/homeassistant/components/qwikswitch/switch.py @@ -3,6 +3,7 @@ from . import DOMAIN as QWIKSWITCH, QSToggleEntity +DEPENDENCIES = [QWIKSWITCH] async def async_setup_platform(hass, _, add_entities, discovery_info=None): diff --git a/homeassistant/components/rachio/__init__.py b/homeassistant/components/rachio/__init__.py index 5f36f08d4aadbe..64a7a5af4d7412 100644 --- a/homeassistant/components/rachio/__init__.py +++ b/homeassistant/components/rachio/__init__.py @@ -11,6 +11,7 @@ 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__) diff --git a/homeassistant/components/rachio/binary_sensor.py b/homeassistant/components/rachio/binary_sensor.py index e6be969a42b712..ffcaeccacff455 100644 --- a/homeassistant/components/rachio/binary_sensor.py +++ b/homeassistant/components/rachio/binary_sensor.py @@ -10,6 +10,7 @@ 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 bfd650f64fb2a7..483e07e96f4ef3 100644 --- a/homeassistant/components/rachio/switch.py +++ b/homeassistant/components/rachio/switch.py @@ -13,6 +13,7 @@ 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__) diff --git a/homeassistant/components/radiotherm/climate.py b/homeassistant/components/radiotherm/climate.py index cda39b8487d9e4..66dfc4cc385529 100644 --- a/homeassistant/components/radiotherm/climate.py +++ b/homeassistant/components/radiotherm/climate.py @@ -14,6 +14,7 @@ STATE_OFF) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['radiotherm==2.0.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainbird/__init__.py b/homeassistant/components/rainbird/__init__.py index 154245f23a5e31..de0f42fda4a6b8 100644 --- a/homeassistant/components/rainbird/__init__.py +++ b/homeassistant/components/rainbird/__init__.py @@ -6,6 +6,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.const import (CONF_HOST, CONF_PASSWORD) +REQUIREMENTS = ['pyrainbird==0.1.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainbird/sensor.py b/homeassistant/components/rainbird/sensor.py index 500859e2b7e9cf..0cee202ecb20c8 100644 --- a/homeassistant/components/rainbird/sensor.py +++ b/homeassistant/components/rainbird/sensor.py @@ -10,6 +10,7 @@ from . import DATA_RAINBIRD +DEPENDENCIES = ['rainbird'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainbird/switch.py b/homeassistant/components/rainbird/switch.py index 0f85bed361558c..32c7c49ab99b7d 100644 --- a/homeassistant/components/rainbird/switch.py +++ b/homeassistant/components/rainbird/switch.py @@ -12,6 +12,7 @@ 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 741e5082575f45..c94315f673d9ec 100644 --- a/homeassistant/components/raincloud/__init__.py +++ b/homeassistant/components/raincloud/__init__.py @@ -13,6 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval +REQUIREMENTS = ['raincloudy==0.0.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/raincloud/binary_sensor.py b/homeassistant/components/raincloud/binary_sensor.py index 4c21f8ccc20067..6ebad7cc121819 100644 --- a/homeassistant/components/raincloud/binary_sensor.py +++ b/homeassistant/components/raincloud/binary_sensor.py @@ -10,6 +10,7 @@ from . import BINARY_SENSORS, DATA_RAINCLOUD, ICON_MAP, RainCloudEntity +DEPENDENCIES = ['raincloud'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/raincloud/sensor.py b/homeassistant/components/raincloud/sensor.py index ae3b2fc53879fa..6774d48ae99860 100644 --- a/homeassistant/components/raincloud/sensor.py +++ b/homeassistant/components/raincloud/sensor.py @@ -10,6 +10,7 @@ from . import DATA_RAINCLOUD, ICON_MAP, SENSORS, RainCloudEntity +DEPENDENCIES = ['raincloud'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/raincloud/switch.py b/homeassistant/components/raincloud/switch.py index 45a056319e5a8d..3901e1e0bd89ce 100644 --- a/homeassistant/components/raincloud/switch.py +++ b/homeassistant/components/raincloud/switch.py @@ -11,6 +11,7 @@ ALLOWED_WATERING_TIME, ATTRIBUTION, CONF_WATERING_TIME, DATA_RAINCLOUD, DEFAULT_WATERING_TIME, SWITCHES, RainCloudEntity) +DEPENDENCIES = ['raincloud'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainmachine/__init__.py b/homeassistant/components/rainmachine/__init__.py index 6f9693ae692bfd..2ff5ddcd4aa2ea 100644 --- a/homeassistant/components/rainmachine/__init__.py +++ b/homeassistant/components/rainmachine/__init__.py @@ -22,6 +22,7 @@ from .const import ( DATA_CLIENT, DEFAULT_PORT, DEFAULT_SCAN_INTERVAL, DEFAULT_SSL, DOMAIN) +REQUIREMENTS = ['regenmaschine==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainmachine/binary_sensor.py b/homeassistant/components/rainmachine/binary_sensor.py index fcccf11e17c4f5..4387e6b67bec05 100644 --- a/homeassistant/components/rainmachine/binary_sensor.py +++ b/homeassistant/components/rainmachine/binary_sensor.py @@ -11,6 +11,7 @@ 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 08dd67755bb5aa..1d438b8035f8e2 100644 --- a/homeassistant/components/rainmachine/sensor.py +++ b/homeassistant/components/rainmachine/sensor.py @@ -8,6 +8,7 @@ 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 ddb43701ad7319..adcbe5598199f0 100644 --- a/homeassistant/components/rainmachine/switch.py +++ b/homeassistant/components/rainmachine/switch.py @@ -12,6 +12,7 @@ DATA_CLIENT, DOMAIN as RAINMACHINE_DOMAIN, PROGRAM_UPDATE_TOPIC, ZONE_UPDATE_TOPIC, RainMachineEntity) +DEPENDENCIES = ['rainmachine'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/raspihats/__init__.py b/homeassistant/components/raspihats/__init__.py index 16e19d110403de..622b98223aad66 100644 --- a/homeassistant/components/raspihats/__init__.py +++ b/homeassistant/components/raspihats/__init__.py @@ -6,6 +6,7 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) +REQUIREMENTS = ['raspihats==2.2.3', 'smbus-cffi==0.5.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/raspihats/binary_sensor.py b/homeassistant/components/raspihats/binary_sensor.py index db2023c48be0e3..29fa474f781270 100644 --- a/homeassistant/components/raspihats/binary_sensor.py +++ b/homeassistant/components/raspihats/binary_sensor.py @@ -15,6 +15,7 @@ _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 ac76524c1f5b6e..93538682ad8341 100644 --- a/homeassistant/components/raspihats/switch.py +++ b/homeassistant/components/raspihats/switch.py @@ -14,6 +14,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['raspihats'] _CHANNELS_SCHEMA = vol.Schema([{ vol.Required(CONF_INDEX): cv.positive_int, diff --git a/homeassistant/components/raspyrfm/switch.py b/homeassistant/components/raspyrfm/switch.py index 9c44fc850c74c3..a141721f3e5299 100644 --- a/homeassistant/components/raspyrfm/switch.py +++ b/homeassistant/components/raspyrfm/switch.py @@ -9,6 +9,7 @@ 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 2c50dbf99186d6..1e3803ab866020 100644 --- a/homeassistant/components/recollect_waste/sensor.py +++ b/homeassistant/components/recollect_waste/sensor.py @@ -8,6 +8,7 @@ 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' diff --git a/homeassistant/components/recorder/__init__.py b/homeassistant/components/recorder/__init__.py index 20e392d65a2c47..0df1fa42ad4913 100644 --- a/homeassistant/components/recorder/__init__.py +++ b/homeassistant/components/recorder/__init__.py @@ -25,6 +25,7 @@ from .const import DATA_INSTANCE from .util import session_scope +REQUIREMENTS = ['sqlalchemy==1.3.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/recswitch/switch.py b/homeassistant/components/recswitch/switch.py index 7c510d7831af05..ed2da8022f8a1e 100644 --- a/homeassistant/components/recswitch/switch.py +++ b/homeassistant/components/recswitch/switch.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['pyrecswitch==1.0.2'] DEFAULT_NAME = 'RecSwitch {0}' diff --git a/homeassistant/components/reddit/sensor.py b/homeassistant/components/reddit/sensor.py index 264adc17269992..3ba43196551028 100644 --- a/homeassistant/components/reddit/sensor.py +++ b/homeassistant/components/reddit/sensor.py @@ -9,6 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['praw==6.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rejseplanen/sensor.py b/homeassistant/components/rejseplanen/sensor.py index 0c611e2c1e4459..7a8cddb6179096 100755 --- a/homeassistant/components/rejseplanen/sensor.py +++ b/homeassistant/components/rejseplanen/sensor.py @@ -19,6 +19,7 @@ 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 2ccf48cdc51df9..82619e35a0ebc2 100644 --- a/homeassistant/components/remember_the_milk/__init__.py +++ b/homeassistant/components/remember_the_milk/__init__.py @@ -13,6 +13,7 @@ # 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__) diff --git a/homeassistant/components/remote/__init__.py b/homeassistant/components/remote/__init__.py index f08abf5fd4a4cd..de79adc9f0e6b5 100644 --- a/homeassistant/components/remote/__init__.py +++ b/homeassistant/components/remote/__init__.py @@ -26,6 +26,7 @@ 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 d0328cf68c71eb..98e80580fea604 100644 --- a/homeassistant/components/rflink/__init__.py +++ b/homeassistant/components/rflink/__init__.py @@ -18,6 +18,7 @@ async_dispatcher_send, async_dispatcher_connect) from homeassistant.helpers.restore_state import RestoreEntity +REQUIREMENTS = ['rflink==0.0.37'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rflink/binary_sensor.py b/homeassistant/components/rflink/binary_sensor.py index 01e67fd91283c9..4e487eb6e81577 100644 --- a/homeassistant/components/rflink/binary_sensor.py +++ b/homeassistant/components/rflink/binary_sensor.py @@ -14,6 +14,7 @@ CONF_OFF_DELAY = 'off_delay' DEFAULT_FORCE_UPDATE = False +DEPENDENCIES = ['rflink'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rflink/cover.py b/homeassistant/components/rflink/cover.py index 49ba46124cb450..409d27862f9c3f 100644 --- a/homeassistant/components/rflink/cover.py +++ b/homeassistant/components/rflink/cover.py @@ -13,6 +13,7 @@ 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 d245b9102c1151..112ed4b4f51203 100644 --- a/homeassistant/components/rflink/light.py +++ b/homeassistant/components/rflink/light.py @@ -15,6 +15,7 @@ CONF_SIGNAL_REPETITIONS, DATA_DEVICE_REGISTER, DEVICE_DEFAULTS_SCHEMA, EVENT_KEY_COMMAND, EVENT_KEY_ID, SwitchableRflinkDevice, remove_deprecated) +DEPENDENCIES = ['rflink'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rflink/sensor.py b/homeassistant/components/rflink/sensor.py index 539deafbadac8d..c7498ece2416d8 100644 --- a/homeassistant/components/rflink/sensor.py +++ b/homeassistant/components/rflink/sensor.py @@ -15,6 +15,7 @@ EVENT_KEY_UNIT, SIGNAL_AVAILABILITY, SIGNAL_HANDLE_EVENT, TMP_ENTITY, RflinkDevice, remove_deprecated) +DEPENDENCIES = ['rflink'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rflink/switch.py b/homeassistant/components/rflink/switch.py index 7d1d045e79d83b..d5889c797f0e59 100644 --- a/homeassistant/components/rflink/switch.py +++ b/homeassistant/components/rflink/switch.py @@ -13,6 +13,7 @@ CONF_NOGROUP_ALIASES, CONF_NOGROUP_ALIASSES, CONF_SIGNAL_REPETITIONS, DEVICE_DEFAULTS_SCHEMA, SwitchableRflinkDevice, remove_deprecated) +DEPENDENCIES = ['rflink'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rfxtrx/__init__.py b/homeassistant/components/rfxtrx/__init__.py index ca56eee9909575..411f0538bde3db 100644 --- a/homeassistant/components/rfxtrx/__init__.py +++ b/homeassistant/components/rfxtrx/__init__.py @@ -12,6 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import slugify +REQUIREMENTS = ['pyRFXtrx==0.23'] DOMAIN = 'rfxtrx' diff --git a/homeassistant/components/rfxtrx/binary_sensor.py b/homeassistant/components/rfxtrx/binary_sensor.py index 1a8ec351af15a5..d548897fb80ce1 100644 --- a/homeassistant/components/rfxtrx/binary_sensor.py +++ b/homeassistant/components/rfxtrx/binary_sensor.py @@ -17,6 +17,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['rfxtrx'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_DEVICES, default={}): { diff --git a/homeassistant/components/rfxtrx/cover.py b/homeassistant/components/rfxtrx/cover.py index 7cd56351ee9498..7ac0e2aa43f912 100644 --- a/homeassistant/components/rfxtrx/cover.py +++ b/homeassistant/components/rfxtrx/cover.py @@ -10,6 +10,7 @@ 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={}): { diff --git a/homeassistant/components/rfxtrx/light.py b/homeassistant/components/rfxtrx/light.py index e4a6a6d8c1f9bc..3320a67214e2bd 100644 --- a/homeassistant/components/rfxtrx/light.py +++ b/homeassistant/components/rfxtrx/light.py @@ -13,6 +13,7 @@ CONF_AUTOMATIC_ADD, CONF_DEVICES, CONF_FIRE_EVENT, CONF_SIGNAL_REPETITIONS, DEFAULT_SIGNAL_REPETITIONS) +DEPENDENCIES = ['rfxtrx'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rfxtrx/sensor.py b/homeassistant/components/rfxtrx/sensor.py index 3f1a4eef1c11da..cc54320cb672eb 100644 --- a/homeassistant/components/rfxtrx/sensor.py +++ b/homeassistant/components/rfxtrx/sensor.py @@ -14,6 +14,7 @@ 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__) diff --git a/homeassistant/components/rfxtrx/switch.py b/homeassistant/components/rfxtrx/switch.py index 03831af2e2083b..908c07ea745795 100644 --- a/homeassistant/components/rfxtrx/switch.py +++ b/homeassistant/components/rfxtrx/switch.py @@ -12,6 +12,7 @@ CONF_AUTOMATIC_ADD, CONF_DEVICES, CONF_FIRE_EVENT, CONF_SIGNAL_REPETITIONS, DEFAULT_SIGNAL_REPETITIONS) +DEPENDENCIES = ['rfxtrx'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ring/__init__.py b/homeassistant/components/ring/__init__.py index e064c9f9dc49ab..74da7a9d542909 100644 --- a/homeassistant/components/ring/__init__.py +++ b/homeassistant/components/ring/__init__.py @@ -7,6 +7,7 @@ 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__) diff --git a/homeassistant/components/ring/binary_sensor.py b/homeassistant/components/ring/binary_sensor.py index 91e8690b9f7d8a..79de0424d85a85 100644 --- a/homeassistant/components/ring/binary_sensor.py +++ b/homeassistant/components/ring/binary_sensor.py @@ -12,6 +12,7 @@ from . import ATTRIBUTION, DATA_RING, DEFAULT_ENTITY_NAMESPACE +DEPENDENCIES = ['ring'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ring/camera.py b/homeassistant/components/ring/camera.py index 3873d23a92e27b..18427b9b6f9788 100644 --- a/homeassistant/components/ring/camera.py +++ b/homeassistant/components/ring/camera.py @@ -16,6 +16,7 @@ CONF_FFMPEG_ARGUMENTS = 'ffmpeg_arguments' +DEPENDENCIES = ['ring', 'ffmpeg'] FORCE_REFRESH_INTERVAL = timedelta(minutes=45) diff --git a/homeassistant/components/ring/sensor.py b/homeassistant/components/ring/sensor.py index 9b2a515826bf3f..c9cb2f1159a67f 100644 --- a/homeassistant/components/ring/sensor.py +++ b/homeassistant/components/ring/sensor.py @@ -13,6 +13,7 @@ from . import ATTRIBUTION, DATA_RING, DEFAULT_ENTITY_NAMESPACE +DEPENDENCIES = ['ring'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ripple/sensor.py b/homeassistant/components/ripple/sensor.py index 39a6922ab0b102..54530571c3eab4 100644 --- a/homeassistant/components/ripple/sensor.py +++ b/homeassistant/components/ripple/sensor.py @@ -8,6 +8,7 @@ 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" diff --git a/homeassistant/components/ritassist/device_tracker.py b/homeassistant/components/ritassist/device_tracker.py index df213c13ffb2b7..74bec1b871121f 100644 --- a/homeassistant/components/ritassist/device_tracker.py +++ b/homeassistant/components/ritassist/device_tracker.py @@ -9,6 +9,7 @@ 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__) diff --git a/homeassistant/components/rmvtransport/sensor.py b/homeassistant/components/rmvtransport/sensor.py index 7330a07045fa9c..7a3afb3f324bca 100644 --- a/homeassistant/components/rmvtransport/sensor.py +++ b/homeassistant/components/rmvtransport/sensor.py @@ -13,6 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['PyRMVtransport==0.1.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rocketchat/notify.py b/homeassistant/components/rocketchat/notify.py index 7760ca79d2dfe4..e404114736a103 100644 --- a/homeassistant/components/rocketchat/notify.py +++ b/homeassistant/components/rocketchat/notify.py @@ -10,6 +10,7 @@ from homeassistant.components.notify import (ATTR_DATA, PLATFORM_SCHEMA, BaseNotificationService) +REQUIREMENTS = ['rocketchat-API==0.6.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/roku/__init__.py b/homeassistant/components/roku/__init__.py index f3d736beb23879..89bb1a9acb8fbd 100644 --- a/homeassistant/components/roku/__init__.py +++ b/homeassistant/components/roku/__init__.py @@ -8,6 +8,7 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['python-roku==3.1.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/roku/media_player.py b/homeassistant/components/roku/media_player.py index 3c399211ca16ac..3cf27af067433d 100644 --- a/homeassistant/components/roku/media_player.py +++ b/homeassistant/components/roku/media_player.py @@ -10,6 +10,7 @@ from homeassistant.const import (CONF_HOST, STATE_HOME, STATE_IDLE, STATE_PLAYING) +DEPENDENCIES = ['roku'] DEFAULT_PORT = 8060 diff --git a/homeassistant/components/roku/remote.py b/homeassistant/components/roku/remote.py index 3b08642d8dad16..5529918010cf45 100644 --- a/homeassistant/components/roku/remote.py +++ b/homeassistant/components/roku/remote.py @@ -4,6 +4,7 @@ from homeassistant.components import remote from homeassistant.const import (CONF_HOST) +DEPENDENCIES = ['roku'] async def async_setup_platform( diff --git a/homeassistant/components/roomba/vacuum.py b/homeassistant/components/roomba/vacuum.py index 3a15c21e2f9d91..fadbe2a82d5254 100644 --- a/homeassistant/components/roomba/vacuum.py +++ b/homeassistant/components/roomba/vacuum.py @@ -14,6 +14,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['roombapy==1.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/route53/__init__.py b/homeassistant/components/route53/__init__.py index 3ea60778db9dfb..725dec8b8e54b2 100644 --- a/homeassistant/components/route53/__init__.py +++ b/homeassistant/components/route53/__init__.py @@ -9,6 +9,7 @@ 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__) diff --git a/homeassistant/components/rova/sensor.py b/homeassistant/components/rova/sensor.py index 61d29bbc023cfb..2c2c36b12457ad 100644 --- a/homeassistant/components/rova/sensor.py +++ b/homeassistant/components/rova/sensor.py @@ -12,6 +12,7 @@ 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' diff --git a/homeassistant/components/rpi_gpio/__init__.py b/homeassistant/components/rpi_gpio/__init__.py index a7da343afa90c0..b5bd0796f160b8 100644 --- a/homeassistant/components/rpi_gpio/__init__.py +++ b/homeassistant/components/rpi_gpio/__init__.py @@ -4,6 +4,7 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) +REQUIREMENTS = ['RPi.GPIO==0.6.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rpi_gpio/binary_sensor.py b/homeassistant/components/rpi_gpio/binary_sensor.py index aad5ee645a142a..559ae9584049be 100644 --- a/homeassistant/components/rpi_gpio/binary_sensor.py +++ b/homeassistant/components/rpi_gpio/binary_sensor.py @@ -20,6 +20,7 @@ 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 a4b56f6f2c931e..403f7ec6867afa 100644 --- a/homeassistant/components/rpi_gpio/cover.py +++ b/homeassistant/components/rpi_gpio/cover.py @@ -23,6 +23,7 @@ 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 702df2bd137e64..bdb79d03eec812 100644 --- a/homeassistant/components/rpi_gpio/switch.py +++ b/homeassistant/components/rpi_gpio/switch.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['rpi_gpio'] CONF_PULL_MODE = 'pull_mode' CONF_PORTS = 'ports' diff --git a/homeassistant/components/rpi_gpio_pwm/light.py b/homeassistant/components/rpi_gpio_pwm/light.py index 262505be2d51d5..b0b9ef1b763509 100644 --- a/homeassistant/components/rpi_gpio_pwm/light.py +++ b/homeassistant/components/rpi_gpio_pwm/light.py @@ -11,6 +11,7 @@ import homeassistant.util.color as color_util from homeassistant.helpers.restore_state import RestoreEntity +REQUIREMENTS = ['pwmled==1.4.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rpi_pfio/__init__.py b/homeassistant/components/rpi_pfio/__init__.py index b28c9786a0aa70..b096d9fe98ab7d 100644 --- a/homeassistant/components/rpi_pfio/__init__.py +++ b/homeassistant/components/rpi_pfio/__init__.py @@ -4,6 +4,7 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) +REQUIREMENTS = ['pifacecommon==4.2.2', 'pifacedigitalio==3.0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rpi_pfio/binary_sensor.py b/homeassistant/components/rpi_pfio/binary_sensor.py index 589bd1ab775254..677ec3bb16f121 100644 --- a/homeassistant/components/rpi_pfio/binary_sensor.py +++ b/homeassistant/components/rpi_pfio/binary_sensor.py @@ -18,6 +18,7 @@ DEFAULT_INVERT_LOGIC = False DEFAULT_SETTLE_TIME = 20 +DEPENDENCIES = ['rpi_pfio'] PORT_SCHEMA = vol.Schema({ vol.Optional(CONF_NAME): cv.string, diff --git a/homeassistant/components/rpi_pfio/switch.py b/homeassistant/components/rpi_pfio/switch.py index a1cfcb88873240..fc158bd666f97d 100644 --- a/homeassistant/components/rpi_pfio/switch.py +++ b/homeassistant/components/rpi_pfio/switch.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['rpi_pfio'] ATTR_INVERT_LOGIC = 'invert_logic' diff --git a/homeassistant/components/rpi_rf/switch.py b/homeassistant/components/rpi_rf/switch.py index afff1a3383dcea..d0a2337280296d 100644 --- a/homeassistant/components/rpi_rf/switch.py +++ b/homeassistant/components/rpi_rf/switch.py @@ -9,6 +9,7 @@ CONF_NAME, CONF_SWITCHES, EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['rpi-rf==0.9.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rss_feed_template/__init__.py b/homeassistant/components/rss_feed_template/__init__.py index 984f4ca832e22f..3c93fe2ac83593 100644 --- a/homeassistant/components/rss_feed_template/__init__.py +++ b/homeassistant/components/rss_feed_template/__init__.py @@ -8,6 +8,7 @@ import homeassistant.helpers.config_validation as cv CONTENT_TYPE_XML = 'text/xml' +DEPENDENCIES = ['http'] DOMAIN = 'rss_feed_template' diff --git a/homeassistant/components/russound_rio/media_player.py b/homeassistant/components/russound_rio/media_player.py index 42bd055fdb8f9b..b8f9d29f5cae81 100644 --- a/homeassistant/components/russound_rio/media_player.py +++ b/homeassistant/components/russound_rio/media_player.py @@ -14,6 +14,7 @@ from homeassistant.core import callback import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['russound_rio==0.1.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/russound_rnet/media_player.py b/homeassistant/components/russound_rnet/media_player.py index 2b23682d6eeae7..f489d48a9d53f4 100644 --- a/homeassistant/components/russound_rnet/media_player.py +++ b/homeassistant/components/russound_rnet/media_player.py @@ -12,6 +12,7 @@ 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__) diff --git a/homeassistant/components/ruter/sensor.py b/homeassistant/components/ruter/sensor.py index 914b0c355a13d3..f6fefc96198939 100644 --- a/homeassistant/components/ruter/sensor.py +++ b/homeassistant/components/ruter/sensor.py @@ -9,6 +9,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.aiohttp_client import async_get_clientsession +REQUIREMENTS = ['pyruter==1.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sabnzbd/__init__.py b/homeassistant/components/sabnzbd/__init__.py index 264615ba021d5e..d070872f85c442 100644 --- a/homeassistant/components/sabnzbd/__init__.py +++ b/homeassistant/components/sabnzbd/__init__.py @@ -15,6 +15,7 @@ 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__) diff --git a/homeassistant/components/sabnzbd/sensor.py b/homeassistant/components/sabnzbd/sensor.py index 3157cdfa208a95..4968725a4befc7 100644 --- a/homeassistant/components/sabnzbd/sensor.py +++ b/homeassistant/components/sabnzbd/sensor.py @@ -6,6 +6,7 @@ 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 1d8f315dc1c442..1a2a24c3621040 100644 --- a/homeassistant/components/samsungtv/media_player.py +++ b/homeassistant/components/samsungtv/media_player.py @@ -18,6 +18,7 @@ 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__) diff --git a/homeassistant/components/satel_integra/__init__.py b/homeassistant/components/satel_integra/__init__.py index 28260e9432713b..5f5c43d961f552 100644 --- a/homeassistant/components/satel_integra/__init__.py +++ b/homeassistant/components/satel_integra/__init__.py @@ -9,6 +9,7 @@ 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 diff --git a/homeassistant/components/satel_integra/alarm_control_panel.py b/homeassistant/components/satel_integra/alarm_control_panel.py index cd29310eb75d75..d2d9f47305100d 100644 --- a/homeassistant/components/satel_integra/alarm_control_panel.py +++ b/homeassistant/components/satel_integra/alarm_control_panel.py @@ -16,6 +16,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['satel_integra'] async def async_setup_platform( diff --git a/homeassistant/components/satel_integra/binary_sensor.py b/homeassistant/components/satel_integra/binary_sensor.py index 66c1cba2ddc202..0384ff37f14f01 100644 --- a/homeassistant/components/satel_integra/binary_sensor.py +++ b/homeassistant/components/satel_integra/binary_sensor.py @@ -9,6 +9,7 @@ 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 3a82eee443ae3f..e576eca78e872e 100644 --- a/homeassistant/components/scrape/sensor.py +++ b/homeassistant/components/scrape/sensor.py @@ -15,6 +15,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['beautifulsoup4==4.7.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/script/__init__.py b/homeassistant/components/script/__init__.py index b111b12fc8b0ef..873a18120ac3ce 100644 --- a/homeassistant/components/script/__init__.py +++ b/homeassistant/components/script/__init__.py @@ -18,6 +18,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'script' +DEPENDENCIES = ['group'] ATTR_CAN_CANCEL = 'can_cancel' ATTR_LAST_ACTION = 'last_action' diff --git a/homeassistant/components/scsgate/__init__.py b/homeassistant/components/scsgate/__init__.py index a02602fb1aba59..67421e9a46ad44 100644 --- a/homeassistant/components/scsgate/__init__.py +++ b/homeassistant/components/scsgate/__init__.py @@ -8,6 +8,7 @@ from homeassistant.core import EVENT_HOMEASSISTANT_STOP import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['scsgate==0.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/scsgate/cover.py b/homeassistant/components/scsgate/cover.py index 33d343fe2988b7..fc1c16e1ff36d5 100644 --- a/homeassistant/components/scsgate/cover.py +++ b/homeassistant/components/scsgate/cover.py @@ -10,6 +10,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['scsgate'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_DEVICES): diff --git a/homeassistant/components/scsgate/light.py b/homeassistant/components/scsgate/light.py index 43b4b5e6e791fd..87d7e02b383d1d 100644 --- a/homeassistant/components/scsgate/light.py +++ b/homeassistant/components/scsgate/light.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['scsgate'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_DEVICES): diff --git a/homeassistant/components/scsgate/switch.py b/homeassistant/components/scsgate/switch.py index f4204fd8a10646..2b2bf2de94fc5b 100644 --- a/homeassistant/components/scsgate/switch.py +++ b/homeassistant/components/scsgate/switch.py @@ -11,6 +11,7 @@ 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 55477d33e71d59..7c7b1054961bf3 100644 --- a/homeassistant/components/season/sensor.py +++ b/homeassistant/components/season/sensor.py @@ -9,6 +9,7 @@ from homeassistant.helpers.entity import Entity from homeassistant import util +REQUIREMENTS = ['ephem==3.7.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sendgrid/notify.py b/homeassistant/components/sendgrid/notify.py index 22d1b66c037752..a717c7f24edb0d 100644 --- a/homeassistant/components/sendgrid/notify.py +++ b/homeassistant/components/sendgrid/notify.py @@ -10,6 +10,7 @@ from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) +REQUIREMENTS = ['sendgrid==5.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sense/__init__.py b/homeassistant/components/sense/__init__.py index 9587e3bc4dbe9d..be3ab75b5553cd 100644 --- a/homeassistant/components/sense/__init__.py +++ b/homeassistant/components/sense/__init__.py @@ -7,6 +7,7 @@ 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__) diff --git a/homeassistant/components/sense/binary_sensor.py b/homeassistant/components/sense/binary_sensor.py index 914ebfce2a80f7..da9bae3cc84788 100644 --- a/homeassistant/components/sense/binary_sensor.py +++ b/homeassistant/components/sense/binary_sensor.py @@ -5,6 +5,7 @@ from . import SENSE_DATA +DEPENDENCIES = ['sense'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sense/sensor.py b/homeassistant/components/sense/sensor.py index c1f831ebe868e8..0224884e18a5cd 100644 --- a/homeassistant/components/sense/sensor.py +++ b/homeassistant/components/sense/sensor.py @@ -15,6 +15,7 @@ CONSUMPTION_NAME = 'Usage' +DEPENDENCIES = ['sense'] ICON = 'mdi:flash' diff --git a/homeassistant/components/sensehat/light.py b/homeassistant/components/sensehat/light.py index 809807bd607131..c68e77b40a4d8d 100644 --- a/homeassistant/components/sensehat/light.py +++ b/homeassistant/components/sensehat/light.py @@ -10,6 +10,7 @@ from homeassistant.const import CONF_NAME import homeassistant.util.color as color_util +REQUIREMENTS = ['sense-hat==2.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sensehat/sensor.py b/homeassistant/components/sensehat/sensor.py index 8f241e3c1bc11f..870150c1a987cd 100644 --- a/homeassistant/components/sensehat/sensor.py +++ b/homeassistant/components/sensehat/sensor.py @@ -11,6 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['sense-hat==2.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sensibo/climate.py b/homeassistant/components/sensibo/climate.py index fea2caa14b4487..bf06f232427a3f 100644 --- a/homeassistant/components/sensibo/climate.py +++ b/homeassistant/components/sensibo/climate.py @@ -21,6 +21,7 @@ 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__) diff --git a/homeassistant/components/serial/sensor.py b/homeassistant/components/serial/sensor.py index b0be313af88ba1..c01981f90218a7 100644 --- a/homeassistant/components/serial/sensor.py +++ b/homeassistant/components/serial/sensor.py @@ -10,6 +10,7 @@ CONF_NAME, CONF_VALUE_TEMPLATE, EVENT_HOMEASSISTANT_STOP) from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['pyserial-asyncio==0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/serial_pm/sensor.py b/homeassistant/components/serial_pm/sensor.py index 5f64ec2cf9c1c9..9ad65f7256fa25 100644 --- a/homeassistant/components/serial_pm/sensor.py +++ b/homeassistant/components/serial_pm/sensor.py @@ -8,6 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.sensor import PLATFORM_SCHEMA +REQUIREMENTS = ['pmsensor==0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sesame/lock.py b/homeassistant/components/sesame/lock.py index 8db69929b34725..263914f389cced 100644 --- a/homeassistant/components/sesame/lock.py +++ b/homeassistant/components/sesame/lock.py @@ -9,6 +9,7 @@ STATE_LOCKED, STATE_UNLOCKED) from homeassistant.helpers.typing import ConfigType +REQUIREMENTS = ['pysesame==0.1.0'] ATTR_DEVICE_ID = 'device_id' diff --git a/homeassistant/components/seventeentrack/sensor.py b/homeassistant/components/seventeentrack/sensor.py index 95384ecc44dd82..ff17d1a4c546fc 100644 --- a/homeassistant/components/seventeentrack/sensor.py +++ b/homeassistant/components/seventeentrack/sensor.py @@ -12,6 +12,7 @@ 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 93b71dc2585f3b..438bc36b1bf2de 100644 --- a/homeassistant/components/shiftr/__init__.py +++ b/homeassistant/components/shiftr/__init__.py @@ -9,6 +9,7 @@ EVENT_HOMEASSISTANT_STOP) from homeassistant.helpers import state as state_helper +REQUIREMENTS = ['paho-mqtt==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/shodan/sensor.py b/homeassistant/components/shodan/sensor.py index b028ed9f12cf8a..ee64eecf3fe02a 100644 --- a/homeassistant/components/shodan/sensor.py +++ b/homeassistant/components/shodan/sensor.py @@ -9,6 +9,7 @@ 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__) diff --git a/homeassistant/components/shopping_list/__init__.py b/homeassistant/components/shopping_list/__init__.py index cfcbfdd4224477..1a036f3661aa38 100644 --- a/homeassistant/components/shopping_list/__init__.py +++ b/homeassistant/components/shopping_list/__init__.py @@ -18,6 +18,7 @@ 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 72e2af1d227b8c..613b1f8c92a16b 100644 --- a/homeassistant/components/sht31/sensor.py +++ b/homeassistant/components/sht31/sensor.py @@ -16,6 +16,8 @@ from homeassistant.util import Throttle +REQUIREMENTS = ['Adafruit-GPIO==1.0.3', + 'Adafruit-SHT31==1.0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/simplepush/notify.py b/homeassistant/components/simplepush/notify.py index 9577d1805bdb98..081351238d9d0e 100644 --- a/homeassistant/components/simplepush/notify.py +++ b/homeassistant/components/simplepush/notify.py @@ -9,6 +9,7 @@ from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) +REQUIREMENTS = ['simplepush==1.1.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/simplisafe/__init__.py b/homeassistant/components/simplisafe/__init__.py index c60ea47f6fd64e..359591856a7917 100644 --- a/homeassistant/components/simplisafe/__init__.py +++ b/homeassistant/components/simplisafe/__init__.py @@ -19,6 +19,7 @@ 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__) diff --git a/homeassistant/components/sisyphus/__init__.py b/homeassistant/components/sisyphus/__init__.py index 3a5d42b4edcd12..b1bec15d40e8ac 100644 --- a/homeassistant/components/sisyphus/__init__.py +++ b/homeassistant/components/sisyphus/__init__.py @@ -13,6 +13,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import async_load_platform +REQUIREMENTS = ['sisyphus-control==2.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sisyphus/light.py b/homeassistant/components/sisyphus/light.py index baeb8f725a3ccd..182e5e78198dc1 100644 --- a/homeassistant/components/sisyphus/light.py +++ b/homeassistant/components/sisyphus/light.py @@ -8,6 +8,7 @@ _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 f9680c6673110b..11546c3fd43822 100644 --- a/homeassistant/components/sisyphus/media_player.py +++ b/homeassistant/components/sisyphus/media_player.py @@ -13,6 +13,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['sisyphus'] MEDIA_TYPE_TRACK = 'sisyphus_track' diff --git a/homeassistant/components/skybeacon/sensor.py b/homeassistant/components/skybeacon/sensor.py index 6d37e37dd658f8..9b8b4872cdce89 100644 --- a/homeassistant/components/skybeacon/sensor.py +++ b/homeassistant/components/skybeacon/sensor.py @@ -11,6 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['pygatt[GATTTOOL]==3.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/skybell/__init__.py b/homeassistant/components/skybell/__init__.py index 81f12841356a82..31d1339fbcfc88 100644 --- a/homeassistant/components/skybell/__init__.py +++ b/homeassistant/components/skybell/__init__.py @@ -9,6 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['skybellpy==0.3.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/skybell/binary_sensor.py b/homeassistant/components/skybell/binary_sensor.py index 5075873d3368f9..8c2b83552588c5 100644 --- a/homeassistant/components/skybell/binary_sensor.py +++ b/homeassistant/components/skybell/binary_sensor.py @@ -12,6 +12,7 @@ from . import DEFAULT_ENTITY_NAMESPACE, DOMAIN as SKYBELL_DOMAIN, SkybellDevice +DEPENDENCIES = ['skybell'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/skybell/camera.py b/homeassistant/components/skybell/camera.py index 6ab3def1cdd70b..04b03f84bf751d 100644 --- a/homeassistant/components/skybell/camera.py +++ b/homeassistant/components/skybell/camera.py @@ -11,6 +11,7 @@ from . import DOMAIN as SKYBELL_DOMAIN, SkybellDevice +DEPENDENCIES = ['skybell'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/skybell/light.py b/homeassistant/components/skybell/light.py index 9598e6f560b63d..d413f9df4127dc 100644 --- a/homeassistant/components/skybell/light.py +++ b/homeassistant/components/skybell/light.py @@ -7,6 +7,7 @@ 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 ca29123b2f054f..067e850dfcf1dc 100644 --- a/homeassistant/components/skybell/sensor.py +++ b/homeassistant/components/skybell/sensor.py @@ -11,6 +11,7 @@ from . import DEFAULT_ENTITY_NAMESPACE, DOMAIN as SKYBELL_DOMAIN, SkybellDevice +DEPENDENCIES = ['skybell'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/skybell/switch.py b/homeassistant/components/skybell/switch.py index 2b4af891db5dba..674bbf22a08600 100644 --- a/homeassistant/components/skybell/switch.py +++ b/homeassistant/components/skybell/switch.py @@ -10,6 +10,7 @@ from . import DEFAULT_ENTITY_NAMESPACE, DOMAIN as SKYBELL_DOMAIN, SkybellDevice +DEPENDENCIES = ['skybell'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/slack/notify.py b/homeassistant/components/slack/notify.py index a3005d5fd0be1f..026fed0a58ebb2 100644 --- a/homeassistant/components/slack/notify.py +++ b/homeassistant/components/slack/notify.py @@ -12,6 +12,7 @@ ATTR_DATA, ATTR_TARGET, ATTR_TITLE, PLATFORM_SCHEMA, BaseNotificationService) +REQUIREMENTS = ['slacker==0.12.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sleepiq/__init__.py b/homeassistant/components/sleepiq/__init__.py index 745d58ad50889e..7a23c6c46095f8 100644 --- a/homeassistant/components/sleepiq/__init__.py +++ b/homeassistant/components/sleepiq/__init__.py @@ -13,6 +13,7 @@ DOMAIN = 'sleepiq' +REQUIREMENTS = ['sleepyq==0.6'] MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=30) diff --git a/homeassistant/components/sleepiq/binary_sensor.py b/homeassistant/components/sleepiq/binary_sensor.py index 2fa8d0f6a29cc8..11f9e25d8c957e 100644 --- a/homeassistant/components/sleepiq/binary_sensor.py +++ b/homeassistant/components/sleepiq/binary_sensor.py @@ -2,6 +2,7 @@ from homeassistant.components import sleepiq from homeassistant.components.binary_sensor import BinarySensorDevice +DEPENDENCIES = ['sleepiq'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/sleepiq/sensor.py b/homeassistant/components/sleepiq/sensor.py index c92c463ea24070..3de444c332452d 100644 --- a/homeassistant/components/sleepiq/sensor.py +++ b/homeassistant/components/sleepiq/sensor.py @@ -1,6 +1,7 @@ """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 65d7b9bb487ae9..a2ec7871f608e0 100644 --- a/homeassistant/components/sma/sensor.py +++ b/homeassistant/components/sma/sensor.py @@ -14,6 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import async_track_time_interval +REQUIREMENTS = ['pysma==0.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/smappee/__init__.py b/homeassistant/components/smappee/__init__.py index ba9249765e1e53..7a495d7b89a375 100644 --- a/homeassistant/components/smappee/__init__.py +++ b/homeassistant/components/smappee/__init__.py @@ -11,6 +11,7 @@ from homeassistant.helpers.discovery import load_platform import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['smappy==0.2.16'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/smappee/sensor.py b/homeassistant/components/smappee/sensor.py index 62b5f78c016c3f..98527c769d9036 100644 --- a/homeassistant/components/smappee/sensor.py +++ b/homeassistant/components/smappee/sensor.py @@ -7,6 +7,7 @@ from . import DATA_SMAPPEE +DEPENDENCIES = ['smappee'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/smappee/switch.py b/homeassistant/components/smappee/switch.py index b27d0abe120710..963caf457fe8db 100644 --- a/homeassistant/components/smappee/switch.py +++ b/homeassistant/components/smappee/switch.py @@ -5,6 +5,7 @@ from . import DATA_SMAPPEE +DEPENDENCIES = ['smappee'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/smartthings/__init__.py b/homeassistant/components/smartthings/__init__.py index 0ccfc8cb621176..e5226076f465e9 100644 --- a/homeassistant/components/smartthings/__init__.py +++ b/homeassistant/components/smartthings/__init__.py @@ -28,6 +28,8 @@ 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 1f0901edfeeb98..45101601d5ffb2 100644 --- a/homeassistant/components/smartthings/binary_sensor.py +++ b/homeassistant/components/smartthings/binary_sensor.py @@ -6,6 +6,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN +DEPENDENCIES = ['smartthings'] CAPABILITY_TO_ATTRIB = { 'accelerationSensor': 'acceleration', diff --git a/homeassistant/components/smartthings/climate.py b/homeassistant/components/smartthings/climate.py index 1ad7f4af4822ac..bcf2dc02cb03a2 100644 --- a/homeassistant/components/smartthings/climate.py +++ b/homeassistant/components/smartthings/climate.py @@ -17,6 +17,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN +DEPENDENCIES = ['smartthings'] ATTR_OPERATION_STATE = 'operation_state' MODE_TO_STATE = { diff --git a/homeassistant/components/smartthings/cover.py b/homeassistant/components/smartthings/cover.py index fc7f8b884b0a79..53602c3643c2d4 100644 --- a/homeassistant/components/smartthings/cover.py +++ b/homeassistant/components/smartthings/cover.py @@ -11,6 +11,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN +DEPENDENCIES = ['smartthings'] VALUE_TO_STATE = { 'closed': STATE_CLOSED, diff --git a/homeassistant/components/smartthings/fan.py b/homeassistant/components/smartthings/fan.py index 4059a61d6acb66..e722cd21d65a61 100644 --- a/homeassistant/components/smartthings/fan.py +++ b/homeassistant/components/smartthings/fan.py @@ -8,6 +8,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN +DEPENDENCIES = ['smartthings'] VALUE_TO_SPEED = { 0: SPEED_OFF, diff --git a/homeassistant/components/smartthings/light.py b/homeassistant/components/smartthings/light.py index f50c8040d73978..79a5eabc20a3cd 100644 --- a/homeassistant/components/smartthings/light.py +++ b/homeassistant/components/smartthings/light.py @@ -11,6 +11,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN +DEPENDENCIES = ['smartthings'] async def async_setup_platform( diff --git a/homeassistant/components/smartthings/lock.py b/homeassistant/components/smartthings/lock.py index ce2aebafd8263a..c7ab091454cad2 100644 --- a/homeassistant/components/smartthings/lock.py +++ b/homeassistant/components/smartthings/lock.py @@ -6,6 +6,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN +DEPENDENCIES = ['smartthings'] ST_STATE_LOCKED = 'locked' ST_LOCK_ATTR_MAP = { diff --git a/homeassistant/components/smartthings/scene.py b/homeassistant/components/smartthings/scene.py index 3212d0220428b1..9bf3211d8e36e2 100644 --- a/homeassistant/components/smartthings/scene.py +++ b/homeassistant/components/smartthings/scene.py @@ -3,6 +3,7 @@ from .const import DATA_BROKERS, DOMAIN +DEPENDENCIES = ['smartthings'] async def async_setup_platform( diff --git a/homeassistant/components/smartthings/sensor.py b/homeassistant/components/smartthings/sensor.py index cb501e283a66c2..4f7ad1a1398ae4 100644 --- a/homeassistant/components/smartthings/sensor.py +++ b/homeassistant/components/smartthings/sensor.py @@ -10,6 +10,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN +DEPENDENCIES = ['smartthings'] Map = namedtuple("map", "attribute name default_unit device_class") diff --git a/homeassistant/components/smartthings/switch.py b/homeassistant/components/smartthings/switch.py index 526de983347349..d30aa3a2303e9e 100644 --- a/homeassistant/components/smartthings/switch.py +++ b/homeassistant/components/smartthings/switch.py @@ -6,6 +6,7 @@ from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN +DEPENDENCIES = ['smartthings'] async def async_setup_platform( diff --git a/homeassistant/components/smhi/__init__.py b/homeassistant/components/smhi/__init__.py index e6bfe0c50a0869..608ee9b6a6d171 100644 --- a/homeassistant/components/smhi/__init__.py +++ b/homeassistant/components/smhi/__init__.py @@ -6,6 +6,7 @@ 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 01e2beadf578b2..fc3399f755ccc5 100644 --- a/homeassistant/components/smhi/weather.py +++ b/homeassistant/components/smhi/weather.py @@ -19,6 +19,7 @@ from .const import ATTR_SMHI_CLOUDINESS, ENTITY_ID_SENSOR_FORMAT +DEPENDENCIES = ['smhi'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/snapcast/media_player.py b/homeassistant/components/snapcast/media_player.py index 29f7c7c70d77a9..b1589c4db51ab3 100644 --- a/homeassistant/components/snapcast/media_player.py +++ b/homeassistant/components/snapcast/media_player.py @@ -14,6 +14,7 @@ STATE_PLAYING, STATE_UNKNOWN) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['snapcast==2.0.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/snips/__init__.py b/homeassistant/components/snips/__init__.py index 90f5bdffaf8b8c..0cc96d66b1a1aa 100644 --- a/homeassistant/components/snips/__init__.py +++ b/homeassistant/components/snips/__init__.py @@ -10,6 +10,7 @@ from homeassistant.components import mqtt DOMAIN = 'snips' +DEPENDENCIES = ['mqtt'] CONF_INTENTS = 'intents' CONF_ACTION = 'action' diff --git a/homeassistant/components/snmp/device_tracker.py b/homeassistant/components/snmp/device_tracker.py index 5bc37b0ac84477..8a0fe7c6101c98 100644 --- a/homeassistant/components/snmp/device_tracker.py +++ b/homeassistant/components/snmp/device_tracker.py @@ -9,6 +9,7 @@ DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST +REQUIREMENTS = ['pysnmp==4.4.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/snmp/sensor.py b/homeassistant/components/snmp/sensor.py index f4a90e55f77fa5..83d311189885ef 100644 --- a/homeassistant/components/snmp/sensor.py +++ b/homeassistant/components/snmp/sensor.py @@ -11,6 +11,7 @@ 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__) diff --git a/homeassistant/components/snmp/switch.py b/homeassistant/components/snmp/switch.py index 3388291471b053..fdb3267a3c7c32 100644 --- a/homeassistant/components/snmp/switch.py +++ b/homeassistant/components/snmp/switch.py @@ -9,6 +9,7 @@ CONF_USERNAME) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pysnmp==4.4.8'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sochain/sensor.py b/homeassistant/components/sochain/sensor.py index 3c5d318ac19de8..ef6a53b7091998 100644 --- a/homeassistant/components/sochain/sensor.py +++ b/homeassistant/components/sochain/sensor.py @@ -10,6 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['python-sochain-api==0.0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/socialblade/sensor.py b/homeassistant/components/socialblade/sensor.py index 1837146ef1bb30..77433ac6d57d4a 100644 --- a/homeassistant/components/socialblade/sensor.py +++ b/homeassistant/components/socialblade/sensor.py @@ -12,6 +12,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['socialbladeclient==0.2'] CHANNEL_ID = 'channel_id' diff --git a/homeassistant/components/solaredge/sensor.py b/homeassistant/components/solaredge/sensor.py index d8ac8ecc9ea1bd..6c6d7557282e2f 100644 --- a/homeassistant/components/solaredge/sensor.py +++ b/homeassistant/components/solaredge/sensor.py @@ -14,6 +14,7 @@ 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 19d41833510071..c8a6314acaaa50 100755 --- a/homeassistant/components/somfy_mylink/__init__.py +++ b/homeassistant/components/somfy_mylink/__init__.py @@ -8,6 +8,7 @@ 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 16046d8b4111bf..e0b9eae36ebe73 100755 --- a/homeassistant/components/somfy_mylink/cover.py +++ b/homeassistant/components/somfy_mylink/cover.py @@ -7,6 +7,7 @@ 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 9b1fda6edacea5..842360484cfd5b 100644 --- a/homeassistant/components/songpal/media_player.py +++ b/homeassistant/components/songpal/media_player.py @@ -16,6 +16,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['python-songpal==0.0.9.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sonos/__init__.py b/homeassistant/components/sonos/__init__.py index b661fa26fe7711..d5f89cd074ed0d 100644 --- a/homeassistant/components/sonos/__init__.py +++ b/homeassistant/components/sonos/__init__.py @@ -4,6 +4,7 @@ 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 418ff4e8739c94..5b3ffeed75f30b 100644 --- a/homeassistant/components/sony_projector/switch.py +++ b/homeassistant/components/sony_projector/switch.py @@ -8,6 +8,7 @@ STATE_ON, STATE_OFF, CONF_NAME, CONF_HOST) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pysdcp==1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/soundtouch/media_player.py b/homeassistant/components/soundtouch/media_player.py index 0d3beb9bba9e2d..027fad43a4013b 100644 --- a/homeassistant/components/soundtouch/media_player.py +++ b/homeassistant/components/soundtouch/media_player.py @@ -15,6 +15,7 @@ STATE_UNAVAILABLE) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['libsoundtouch==0.7.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/spaceapi/__init__.py b/homeassistant/components/spaceapi/__init__.py index 5431cd6260c1d8..fb76718f2d5f06 100644 --- a/homeassistant/components/spaceapi/__init__.py +++ b/homeassistant/components/spaceapi/__init__.py @@ -45,6 +45,7 @@ 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 05c997bdded6ee..8aafb6f12107bd 100644 --- a/homeassistant/components/spc/__init__.py +++ b/homeassistant/components/spc/__init__.py @@ -7,6 +7,7 @@ from homeassistant.helpers.dispatcher import async_dispatcher_send import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pyspcwebgw==0.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/speedtestdotnet/__init__.py b/homeassistant/components/speedtestdotnet/__init__.py index 675ae9b2e926ef..48953874e8c528 100644 --- a/homeassistant/components/speedtestdotnet/__init__.py +++ b/homeassistant/components/speedtestdotnet/__init__.py @@ -14,6 +14,7 @@ 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__) diff --git a/homeassistant/components/speedtestdotnet/sensor.py b/homeassistant/components/speedtestdotnet/sensor.py index 7148bcfb40d8a6..fb92bb76ac848a 100644 --- a/homeassistant/components/speedtestdotnet/sensor.py +++ b/homeassistant/components/speedtestdotnet/sensor.py @@ -9,6 +9,7 @@ from .const import ( DATA_UPDATED, DOMAIN as SPEEDTESTDOTNET_DOMAIN, SENSOR_TYPES) +DEPENDENCIES = ['speedtestdotnet'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/spider/__init__.py b/homeassistant/components/spider/__init__.py index 5b5fb6a6d2df35..b565f1834577fd 100644 --- a/homeassistant/components/spider/__init__.py +++ b/homeassistant/components/spider/__init__.py @@ -9,6 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform +REQUIREMENTS = ['spiderpy==1.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/spider/climate.py b/homeassistant/components/spider/climate.py index c9283fab62e9d2..3b612441a88466 100644 --- a/homeassistant/components/spider/climate.py +++ b/homeassistant/components/spider/climate.py @@ -10,6 +10,7 @@ from . import DOMAIN as SPIDER_DOMAIN +DEPENDENCIES = ['spider'] FAN_LIST = [ 'Auto', diff --git a/homeassistant/components/spider/switch.py b/homeassistant/components/spider/switch.py index 75ca30e288be1f..e43762be460f1d 100644 --- a/homeassistant/components/spider/switch.py +++ b/homeassistant/components/spider/switch.py @@ -5,6 +5,7 @@ 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 2cb5cd27ede91b..fa9cfa687ec3af 100644 --- a/homeassistant/components/spotcrime/sensor.py +++ b/homeassistant/components/spotcrime/sensor.py @@ -15,6 +15,7 @@ from homeassistant.util import slugify import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['spotcrime==1.0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/spotify/media_player.py b/homeassistant/components/spotify/media_player.py index 7aa3f6c7e020e1..b9252d5035bd9f 100644 --- a/homeassistant/components/spotify/media_player.py +++ b/homeassistant/components/spotify/media_player.py @@ -16,6 +16,7 @@ from homeassistant.core import callback import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['spotipy-homeassistant==2.4.4.dev1'] _LOGGER = logging.getLogger(__name__) @@ -34,6 +35,7 @@ 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 8eba3cb633fa41..bc40d5efb4279f 100644 --- a/homeassistant/components/sql/sensor.py +++ b/homeassistant/components/sql/sensor.py @@ -15,6 +15,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['sqlalchemy==1.3.0'] CONF_COLUMN_NAME = 'column' CONF_QUERIES = 'queries' diff --git a/homeassistant/components/srp_energy/sensor.py b/homeassistant/components/srp_energy/sensor.py index e9e52758c57c5f..0ebae427da138a 100644 --- a/homeassistant/components/srp_energy/sensor.py +++ b/homeassistant/components/srp_energy/sensor.py @@ -14,6 +14,7 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['srpenergy==1.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/starlingbank/sensor.py b/homeassistant/components/starlingbank/sensor.py index 092913fed2e2b7..00640ea49632ca 100644 --- a/homeassistant/components/starlingbank/sensor.py +++ b/homeassistant/components/starlingbank/sensor.py @@ -9,6 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['starlingbank==3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/startca/sensor.py b/homeassistant/components/startca/sensor.py index ca7178c83f2749..1e57a4cf859eba 100644 --- a/homeassistant/components/startca/sensor.py +++ b/homeassistant/components/startca/sensor.py @@ -14,6 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['xmltodict==0.11.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/statsd/__init__.py b/homeassistant/components/statsd/__init__.py index 2a4b507817f5f1..a8c34d0a8433e1 100644 --- a/homeassistant/components/statsd/__init__.py +++ b/homeassistant/components/statsd/__init__.py @@ -8,6 +8,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers import state as state_helper +REQUIREMENTS = ['statsd==3.2.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/steam_online/sensor.py b/homeassistant/components/steam_online/sensor.py index 4992e180da4e98..4b4b73ad8cfd2f 100644 --- a/homeassistant/components/steam_online/sensor.py +++ b/homeassistant/components/steam_online/sensor.py @@ -8,6 +8,7 @@ from homeassistant.const import CONF_API_KEY import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['steamodd==4.21'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/stream/__init__.py b/homeassistant/components/stream/__init__.py index 42280c97d825f5..43debc504e1a15 100644 --- a/homeassistant/components/stream/__init__.py +++ b/homeassistant/components/stream/__init__.py @@ -19,9 +19,11 @@ 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({}), diff --git a/homeassistant/components/stride/notify.py b/homeassistant/components/stride/notify.py index e3a53fd2fc3d54..fa08697d798579 100644 --- a/homeassistant/components/stride/notify.py +++ b/homeassistant/components/stride/notify.py @@ -10,6 +10,7 @@ PLATFORM_SCHEMA, BaseNotificationService) +REQUIREMENTS = ['pystride==0.1.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/swiss_hydrological_data/sensor.py b/homeassistant/components/swiss_hydrological_data/sensor.py index 5ec1596dd14ccb..84964a94cbd141 100644 --- a/homeassistant/components/swiss_hydrological_data/sensor.py +++ b/homeassistant/components/swiss_hydrological_data/sensor.py @@ -10,6 +10,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['swisshydrodata==0.0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/swiss_public_transport/sensor.py b/homeassistant/components/swiss_public_transport/sensor.py index 77ba5d4376d92d..8d6b7fdee0ea85 100644 --- a/homeassistant/components/swiss_public_transport/sensor.py +++ b/homeassistant/components/swiss_public_transport/sensor.py @@ -11,6 +11,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.util.dt as dt_util +REQUIREMENTS = ['python_opendata_transport==0.1.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/switch/__init__.py b/homeassistant/components/switch/__init__.py index 65b2bb7b92a4a7..7e89a5369c8453 100644 --- a/homeassistant/components/switch/__init__.py +++ b/homeassistant/components/switch/__init__.py @@ -16,6 +16,7 @@ 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 da87fb19904602..3db9b5fd2262bf 100644 --- a/homeassistant/components/switchbot/switch.py +++ b/homeassistant/components/switchbot/switch.py @@ -8,6 +8,7 @@ from homeassistant.const import CONF_NAME, CONF_MAC from homeassistant.helpers.restore_state import RestoreEntity +REQUIREMENTS = ['PySwitchbot==0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/switchmate/switch.py b/homeassistant/components/switchmate/switch.py index 2a2467f7ba6c32..c14a6ca80879bd 100644 --- a/homeassistant/components/switchmate/switch.py +++ b/homeassistant/components/switchmate/switch.py @@ -8,6 +8,7 @@ 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__) diff --git a/homeassistant/components/syncthru/sensor.py b/homeassistant/components/syncthru/sensor.py index 4270ec364131f6..5596d4ab86adf9 100644 --- a/homeassistant/components/syncthru/sensor.py +++ b/homeassistant/components/syncthru/sensor.py @@ -9,6 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.sensor import PLATFORM_SCHEMA +REQUIREMENTS = ['pysyncthru==0.3.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/synology/camera.py b/homeassistant/components/synology/camera.py index c4208ab56b7cf5..c452f60cc2a1d2 100644 --- a/homeassistant/components/synology/camera.py +++ b/homeassistant/components/synology/camera.py @@ -14,6 +14,7 @@ async_get_clientsession) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['py-synology==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/synology_srm/device_tracker.py b/homeassistant/components/synology_srm/device_tracker.py index ac3a3cdf10f9f8..bf5653d681bbb8 100644 --- a/homeassistant/components/synology_srm/device_tracker.py +++ b/homeassistant/components/synology_srm/device_tracker.py @@ -13,6 +13,7 @@ CONF_HOST, CONF_USERNAME, CONF_PASSWORD, CONF_PORT, CONF_SSL, CONF_VERIFY_SSL) +REQUIREMENTS = ['synology-srm==0.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/synologydsm/sensor.py b/homeassistant/components/synologydsm/sensor.py index 33ce3f95e1500a..0d5a253483f9ac 100644 --- a/homeassistant/components/synologydsm/sensor.py +++ b/homeassistant/components/synologydsm/sensor.py @@ -13,6 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['python-synology==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/system_health/__init__.py b/homeassistant/components/system_health/__init__.py index 7dbb682b287b84..9a171296ce9578 100644 --- a/homeassistant/components/system_health/__init__.py +++ b/homeassistant/components/system_health/__init__.py @@ -14,6 +14,7 @@ _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 c5909309ab390e..d6877c32f0deee 100644 --- a/homeassistant/components/system_log/__init__.py +++ b/homeassistant/components/system_log/__init__.py @@ -20,6 +20,7 @@ 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 dafc57d39fe28e..cf65daa439509c 100644 --- a/homeassistant/components/systemmonitor/sensor.py +++ b/homeassistant/components/systemmonitor/sensor.py @@ -12,6 +12,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util +REQUIREMENTS = ['psutil==5.6.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sytadin/sensor.py b/homeassistant/components/sytadin/sensor.py index 580dc0a6430638..517deda7ca2b71 100644 --- a/homeassistant/components/sytadin/sensor.py +++ b/homeassistant/components/sytadin/sensor.py @@ -13,6 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['beautifulsoup4==4.7.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tado/__init__.py b/homeassistant/components/tado/__init__.py index 8275f445dd0558..8d3f541972e50c 100644 --- a/homeassistant/components/tado/__init__.py +++ b/homeassistant/components/tado/__init__.py @@ -10,6 +10,7 @@ from homeassistant.const import CONF_USERNAME, CONF_PASSWORD from homeassistant.util import Throttle +REQUIREMENTS = ['python-tado==0.2.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tahoma/__init__.py b/homeassistant/components/tahoma/__init__.py index 38a5513d8e9c28..1807667da87dc6 100644 --- a/homeassistant/components/tahoma/__init__.py +++ b/homeassistant/components/tahoma/__init__.py @@ -9,6 +9,7 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['tahoma-api==0.0.14'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tahoma/binary_sensor.py b/homeassistant/components/tahoma/binary_sensor.py index d7dbd6cbe0e33f..948c6f90a58895 100644 --- a/homeassistant/components/tahoma/binary_sensor.py +++ b/homeassistant/components/tahoma/binary_sensor.py @@ -7,6 +7,7 @@ from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice +DEPENDENCIES = ['tahoma'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tahoma/cover.py b/homeassistant/components/tahoma/cover.py index 23521b5cd38240..85e785f9ca3b44 100644 --- a/homeassistant/components/tahoma/cover.py +++ b/homeassistant/components/tahoma/cover.py @@ -7,6 +7,7 @@ from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice +DEPENDENCIES = ['tahoma'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tahoma/scene.py b/homeassistant/components/tahoma/scene.py index 359c47ee2de1e7..eedb95d1a772c9 100644 --- a/homeassistant/components/tahoma/scene.py +++ b/homeassistant/components/tahoma/scene.py @@ -5,6 +5,7 @@ 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 642a323864d016..3c03911804ace1 100644 --- a/homeassistant/components/tahoma/sensor.py +++ b/homeassistant/components/tahoma/sensor.py @@ -7,6 +7,7 @@ from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice +DEPENDENCIES = ['tahoma'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tahoma/switch.py b/homeassistant/components/tahoma/switch.py index 68043885191f55..71f00ed8937c7d 100644 --- a/homeassistant/components/tahoma/switch.py +++ b/homeassistant/components/tahoma/switch.py @@ -6,6 +6,7 @@ from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice +DEPENDENCIES = ['tahoma'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tank_utility/sensor.py b/homeassistant/components/tank_utility/sensor.py index ebd25b1a3c9565..5389d60ef461db 100644 --- a/homeassistant/components/tank_utility/sensor.py +++ b/homeassistant/components/tank_utility/sensor.py @@ -12,6 +12,9 @@ from homeassistant.helpers.entity import Entity +REQUIREMENTS = [ + "tank_utility==1.4.0" +] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tapsaff/binary_sensor.py b/homeassistant/components/tapsaff/binary_sensor.py index 9b80f49b7db1fa..639e9574ed971e 100644 --- a/homeassistant/components/tapsaff/binary_sensor.py +++ b/homeassistant/components/tapsaff/binary_sensor.py @@ -9,6 +9,7 @@ from homeassistant.const import CONF_NAME import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['tapsaff==0.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tautulli/sensor.py b/homeassistant/components/tautulli/sensor.py index 3735aefeb847fe..44be10749bfa36 100644 --- a/homeassistant/components/tautulli/sensor.py +++ b/homeassistant/components/tautulli/sensor.py @@ -14,6 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['pytautulli==0.5.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ted5000/sensor.py b/homeassistant/components/ted5000/sensor.py index 96a584f27dae92..fba9866302d984 100644 --- a/homeassistant/components/ted5000/sensor.py +++ b/homeassistant/components/ted5000/sensor.py @@ -12,6 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['xmltodict==0.11.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/telegram/notify.py b/homeassistant/components/telegram/notify.py index b941db61a3c339..3602bbd24419f7 100644 --- a/homeassistant/components/telegram/notify.py +++ b/homeassistant/components/telegram/notify.py @@ -12,6 +12,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'telegram_bot' +DEPENDENCIES = [DOMAIN] ATTR_KEYBOARD = 'keyboard' ATTR_INLINE_KEYBOARD = 'inline_keyboard' diff --git a/homeassistant/components/telegram_bot/__init__.py b/homeassistant/components/telegram_bot/__init__.py index 8d940b01dc436f..7d19e8212b6aca 100644 --- a/homeassistant/components/telegram_bot/__init__.py +++ b/homeassistant/components/telegram_bot/__init__.py @@ -16,6 +16,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.exceptions import TemplateError +REQUIREMENTS = ['python-telegram-bot==11.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/telegram_bot/webhooks.py b/homeassistant/components/telegram_bot/webhooks.py index 17b684724440bb..424ece81549e2f 100644 --- a/homeassistant/components/telegram_bot/webhooks.py +++ b/homeassistant/components/telegram_bot/webhooks.py @@ -15,6 +15,7 @@ CONF_ALLOWED_CHAT_IDS, PLATFORM_SCHEMA, BaseTelegramBotEntity, initialize_bot) +DEPENDENCIES = ['http'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tellduslive/__init__.py b/homeassistant/components/tellduslive/__init__.py index 6639590246da20..64f4a0102a1572 100644 --- a/homeassistant/components/tellduslive/__init__.py +++ b/homeassistant/components/tellduslive/__init__.py @@ -19,6 +19,7 @@ APPLICATION_NAME = 'Home Assistant' +REQUIREMENTS = ['tellduslive==0.10.10'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tellstick/__init__.py b/homeassistant/components/tellstick/__init__.py index 5641544da896ab..c35d2f790273a2 100644 --- a/homeassistant/components/tellstick/__init__.py +++ b/homeassistant/components/tellstick/__init__.py @@ -11,6 +11,7 @@ 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__) diff --git a/homeassistant/components/tellstick/sensor.py b/homeassistant/components/tellstick/sensor.py index 40e60cec620f39..0438ad79abca19 100644 --- a/homeassistant/components/tellstick/sensor.py +++ b/homeassistant/components/tellstick/sensor.py @@ -9,6 +9,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv +DEPENDENCIES = ['tellstick'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/temper/sensor.py b/homeassistant/components/temper/sensor.py index 8be43f62d1e8e8..1c6cb9fdff4636 100644 --- a/homeassistant/components/temper/sensor.py +++ b/homeassistant/components/temper/sensor.py @@ -8,6 +8,7 @@ _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 005b7a665bf255..4e4a80a525e42e 100644 --- a/homeassistant/components/tensorflow/image_processing.py +++ b/homeassistant/components/tensorflow/image_processing.py @@ -12,6 +12,7 @@ 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__) diff --git a/homeassistant/components/tesla/__init__.py b/homeassistant/components/tesla/__init__.py index 5c6cb75d82ebd5..244538f5f462ef 100644 --- a/homeassistant/components/tesla/__init__.py +++ b/homeassistant/components/tesla/__init__.py @@ -11,6 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import slugify +REQUIREMENTS = ['teslajsonpy==0.0.25'] DOMAIN = 'tesla' diff --git a/homeassistant/components/tesla/binary_sensor.py b/homeassistant/components/tesla/binary_sensor.py index 6b451d4fb728f3..a87239d24308d9 100644 --- a/homeassistant/components/tesla/binary_sensor.py +++ b/homeassistant/components/tesla/binary_sensor.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['tesla'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/tesla/climate.py b/homeassistant/components/tesla/climate.py index 615ae4f3d90f93..603ce1a4d61785 100644 --- a/homeassistant/components/tesla/climate.py +++ b/homeassistant/components/tesla/climate.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['tesla'] OPERATION_LIST = [STATE_ON, STATE_OFF] diff --git a/homeassistant/components/tesla/device_tracker.py b/homeassistant/components/tesla/device_tracker.py index 68d306042cfd53..5a7693d8370665 100644 --- a/homeassistant/components/tesla/device_tracker.py +++ b/homeassistant/components/tesla/device_tracker.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['tesla'] def setup_scanner(hass, config, see, discovery_info=None): diff --git a/homeassistant/components/tesla/lock.py b/homeassistant/components/tesla/lock.py index 2c41fffe0bfa34..ade394496d6edb 100644 --- a/homeassistant/components/tesla/lock.py +++ b/homeassistant/components/tesla/lock.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['tesla'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/tesla/sensor.py b/homeassistant/components/tesla/sensor.py index 0bda0622d4d745..99705d3f79336e 100644 --- a/homeassistant/components/tesla/sensor.py +++ b/homeassistant/components/tesla/sensor.py @@ -11,6 +11,7 @@ _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 9b15ca092b41ad..e00164ff1a7d52 100644 --- a/homeassistant/components/tesla/switch.py +++ b/homeassistant/components/tesla/switch.py @@ -7,6 +7,7 @@ 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 f3bfdd0ff183a9..44fa19098236c8 100644 --- a/homeassistant/components/tfiac/climate.py +++ b/homeassistant/components/tfiac/climate.py @@ -13,6 +13,7 @@ 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) diff --git a/homeassistant/components/thermoworks_smoke/sensor.py b/homeassistant/components/thermoworks_smoke/sensor.py index 954bce905c3900..0c6cddd9fcd734 100644 --- a/homeassistant/components/thermoworks_smoke/sensor.py +++ b/homeassistant/components/thermoworks_smoke/sensor.py @@ -17,6 +17,7 @@ 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__) diff --git a/homeassistant/components/thethingsnetwork/sensor.py b/homeassistant/components/thethingsnetwork/sensor.py index ce6f34eaa33884..d59b429721b562 100644 --- a/homeassistant/components/thethingsnetwork/sensor.py +++ b/homeassistant/components/thethingsnetwork/sensor.py @@ -22,6 +22,7 @@ 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 df44883c1f3929..0fa15e7efb4bf4 100644 --- a/homeassistant/components/thingspeak/__init__.py +++ b/homeassistant/components/thingspeak/__init__.py @@ -9,6 +9,7 @@ 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__) diff --git a/homeassistant/components/thinkingcleaner/sensor.py b/homeassistant/components/thinkingcleaner/sensor.py index 62362d5c5770f5..f8462435a451b6 100644 --- a/homeassistant/components/thinkingcleaner/sensor.py +++ b/homeassistant/components/thinkingcleaner/sensor.py @@ -7,6 +7,7 @@ _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 ab62f5ac0a4ee4..38a96eb029865e 100644 --- a/homeassistant/components/thinkingcleaner/switch.py +++ b/homeassistant/components/thinkingcleaner/switch.py @@ -9,6 +9,7 @@ _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 6ca3e952103df8..19cf6fe65258ea 100644 --- a/homeassistant/components/tibber/__init__.py +++ b/homeassistant/components/tibber/__init__.py @@ -11,6 +11,7 @@ from homeassistant.helpers import discovery from homeassistant.helpers.aiohttp_client import async_get_clientsession +REQUIREMENTS = ['pyTibber==0.10.1'] DOMAIN = 'tibber' diff --git a/homeassistant/components/tikteck/light.py b/homeassistant/components/tikteck/light.py index 4a786cf1ddca7f..4f5596c71be4d7 100644 --- a/homeassistant/components/tikteck/light.py +++ b/homeassistant/components/tikteck/light.py @@ -10,6 +10,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util +REQUIREMENTS = ['tikteck==0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tile/device_tracker.py b/homeassistant/components/tile/device_tracker.py index af8df9775fdb65..c471c1e23b4d49 100644 --- a/homeassistant/components/tile/device_tracker.py +++ b/homeassistant/components/tile/device_tracker.py @@ -13,6 +13,7 @@ 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 94f58316f0fde7..313935e1221fe8 100644 --- a/homeassistant/components/todoist/calendar.py +++ b/homeassistant/components/todoist/calendar.py @@ -12,6 +12,7 @@ from homeassistant.helpers.template import DATE_STR_FORMAT from homeassistant.util import Throttle, dt +REQUIREMENTS = ['todoist-python==7.0.17'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tof/sensor.py b/homeassistant/components/tof/sensor.py index 05c48262445a42..a403db036825c8 100644 --- a/homeassistant/components/tof/sensor.py +++ b/homeassistant/components/tof/sensor.py @@ -12,7 +12,9 @@ from homeassistant.const import CONF_NAME from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['VL53L1X2==0.1.5'] +DEPENDENCIES = ['rpi_gpio'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/toon/__init__.py b/homeassistant/components/toon/__init__.py index 59f8643e912250..d718b5895e4520 100644 --- a/homeassistant/components/toon/__init__.py +++ b/homeassistant/components/toon/__init__.py @@ -16,6 +16,7 @@ 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__) diff --git a/homeassistant/components/toon/binary_sensor.py b/homeassistant/components/toon/binary_sensor.py index 59cd819f7374ef..694b7d1d03383b 100644 --- a/homeassistant/components/toon/binary_sensor.py +++ b/homeassistant/components/toon/binary_sensor.py @@ -12,6 +12,7 @@ ToonBoilerModuleDeviceEntity) from .const import DATA_TOON_CLIENT, DOMAIN +DEPENDENCIES = ['toon'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/toon/climate.py b/homeassistant/components/toon/climate.py index fd4f5f89840629..f09dc010c792ad 100644 --- a/homeassistant/components/toon/climate.py +++ b/homeassistant/components/toon/climate.py @@ -15,6 +15,7 @@ from . import ToonDisplayDeviceEntity from .const import DATA_TOON_CLIENT, DEFAULT_MAX_TEMP, DEFAULT_MIN_TEMP, DOMAIN +DEPENDENCIES = ['toon'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/toon/sensor.py b/homeassistant/components/toon/sensor.py index 64c8b23a7dc96e..f58c8ef4840d66 100644 --- a/homeassistant/components/toon/sensor.py +++ b/homeassistant/components/toon/sensor.py @@ -11,6 +11,7 @@ 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__) diff --git a/homeassistant/components/torque/sensor.py b/homeassistant/components/torque/sensor.py index 01efd49e862864..2f947c178b89ca 100644 --- a/homeassistant/components/torque/sensor.py +++ b/homeassistant/components/torque/sensor.py @@ -16,6 +16,7 @@ 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 5dc11258d6e06b..c56c4ed95a63fe 100644 --- a/homeassistant/components/totalconnect/alarm_control_panel.py +++ b/homeassistant/components/totalconnect/alarm_control_panel.py @@ -13,6 +13,7 @@ STATE_ALARM_ARMED_CUSTOM_BYPASS) +REQUIREMENTS = ['total_connect_client==0.25'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/touchline/climate.py b/homeassistant/components/touchline/climate.py index ca0d1a2d7d9b5e..e003ea257d75a9 100644 --- a/homeassistant/components/touchline/climate.py +++ b/homeassistant/components/touchline/climate.py @@ -9,6 +9,7 @@ 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__) diff --git a/homeassistant/components/tplink/__init__.py b/homeassistant/components/tplink/__init__.py index 3ad78ec7d2b780..9fc12db0d63591 100644 --- a/homeassistant/components/tplink/__init__.py +++ b/homeassistant/components/tplink/__init__.py @@ -33,6 +33,7 @@ }), }, extra=vol.ALLOW_EXTRA) +REQUIREMENTS = ['pyHS100==0.3.4'] async def _async_has_devices(hass): diff --git a/homeassistant/components/tplink/device_tracker.py b/homeassistant/components/tplink/device_tracker.py index d351e7862ec0f3..7f5c4a37d2451c 100644 --- a/homeassistant/components/tplink/device_tracker.py +++ b/homeassistant/components/tplink/device_tracker.py @@ -17,6 +17,7 @@ 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__) diff --git a/homeassistant/components/tplink/light.py b/homeassistant/components/tplink/light.py index 1e4a7e3343b98b..9f13766c4eff9d 100644 --- a/homeassistant/components/tplink/light.py +++ b/homeassistant/components/tplink/light.py @@ -12,6 +12,7 @@ from . import CONF_LIGHT, DOMAIN as TPLINK_DOMAIN +DEPENDENCIES = ['tplink'] PARALLEL_UPDATES = 0 diff --git a/homeassistant/components/tplink/switch.py b/homeassistant/components/tplink/switch.py index 3e46c7997447e2..a4eeadd1c60a7e 100644 --- a/homeassistant/components/tplink/switch.py +++ b/homeassistant/components/tplink/switch.py @@ -9,6 +9,7 @@ from . import CONF_SWITCH, DOMAIN as TPLINK_DOMAIN +DEPENDENCIES = ['tplink'] PARALLEL_UPDATES = 0 diff --git a/homeassistant/components/tplink_lte/__init__.py b/homeassistant/components/tplink_lte/__init__.py index 97c07340a1b7c3..ae0b73d1c7c2bf 100644 --- a/homeassistant/components/tplink_lte/__init__.py +++ b/homeassistant/components/tplink_lte/__init__.py @@ -14,6 +14,7 @@ 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__) diff --git a/homeassistant/components/tplink_lte/notify.py b/homeassistant/components/tplink_lte/notify.py index ae4edd61eeecb8..519641ed34bf29 100644 --- a/homeassistant/components/tplink_lte/notify.py +++ b/homeassistant/components/tplink_lte/notify.py @@ -9,6 +9,7 @@ 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 bebe9c6be77a79..28d13dd4fe6fcc 100644 --- a/homeassistant/components/traccar/device_tracker.py +++ b/homeassistant/components/traccar/device_tracker.py @@ -16,6 +16,7 @@ from homeassistant.util import slugify +REQUIREMENTS = ['pytraccar==0.5.0', 'stringcase==1.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/trackr/device_tracker.py b/homeassistant/components/trackr/device_tracker.py index f139be816fe901..1322fde7e1ae33 100644 --- a/homeassistant/components/trackr/device_tracker.py +++ b/homeassistant/components/trackr/device_tracker.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['pytrackr==0.0.5'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_USERNAME): cv.string, diff --git a/homeassistant/components/tradfri/__init__.py b/homeassistant/components/tradfri/__init__.py index d48a7ecbf71109..b14bc811754350 100644 --- a/homeassistant/components/tradfri/__init__.py +++ b/homeassistant/components/tradfri/__init__.py @@ -13,6 +13,7 @@ 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 a2b2cdc7c49bd7..07ab4806dfcc10 100644 --- a/homeassistant/components/tradfri/light.py +++ b/homeassistant/components/tradfri/light.py @@ -17,6 +17,7 @@ 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 b575517101f236..acc84a935904d3 100644 --- a/homeassistant/components/tradfri/sensor.py +++ b/homeassistant/components/tradfri/sensor.py @@ -9,6 +9,7 @@ _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 b7826624f525c0..ef9a9537cffe18 100644 --- a/homeassistant/components/tradfri/switch.py +++ b/homeassistant/components/tradfri/switch.py @@ -9,6 +9,7 @@ _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 0439f1b9ec1f7f..bf8f4c803e0392 100644 --- a/homeassistant/components/trafikverket_weatherstation/sensor.py +++ b/homeassistant/components/trafikverket_weatherstation/sensor.py @@ -16,6 +16,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['pytrafikverket==0.1.5.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/transmission/__init__.py b/homeassistant/components/transmission/__init__.py index 9fc244735f3c87..25e21dc3d8a090 100644 --- a/homeassistant/components/transmission/__init__.py +++ b/homeassistant/components/transmission/__init__.py @@ -11,6 +11,7 @@ from homeassistant.helpers.dispatcher import dispatcher_send from homeassistant.helpers.event import track_time_interval +REQUIREMENTS = ['transmissionrpc==0.11'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/transmission/sensor.py b/homeassistant/components/transmission/sensor.py index 740d031d05e116..dfd4c1950977b0 100644 --- a/homeassistant/components/transmission/sensor.py +++ b/homeassistant/components/transmission/sensor.py @@ -9,6 +9,7 @@ from . import DATA_TRANSMISSION, DATA_UPDATED, SENSOR_TYPES +DEPENDENCIES = ['transmission'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/transmission/switch.py b/homeassistant/components/transmission/switch.py index 1ee41993940063..854a2e727b0b83 100644 --- a/homeassistant/components/transmission/switch.py +++ b/homeassistant/components/transmission/switch.py @@ -8,6 +8,7 @@ from . import DATA_TRANSMISSION, DATA_UPDATED +DEPENDENCIES = ['transmission'] _LOGGING = logging.getLogger(__name__) diff --git a/homeassistant/components/transport_nsw/sensor.py b/homeassistant/components/transport_nsw/sensor.py index 6e3bef6c23f657..3c40bf4f709e77 100644 --- a/homeassistant/components/transport_nsw/sensor.py +++ b/homeassistant/components/transport_nsw/sensor.py @@ -9,6 +9,7 @@ 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__) diff --git a/homeassistant/components/travisci/sensor.py b/homeassistant/components/travisci/sensor.py index 7b52cee1c440ec..99309f7e2b7533 100644 --- a/homeassistant/components/travisci/sensor.py +++ b/homeassistant/components/travisci/sensor.py @@ -11,6 +11,7 @@ CONF_MONITORED_CONDITIONS) from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['TravisPy==0.3.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/trend/binary_sensor.py b/homeassistant/components/trend/binary_sensor.py index 5af6d8b54210e3..163703373d3303 100644 --- a/homeassistant/components/trend/binary_sensor.py +++ b/homeassistant/components/trend/binary_sensor.py @@ -17,6 +17,7 @@ from homeassistant.helpers.event import async_track_state_change from homeassistant.util import utcnow +REQUIREMENTS = ['numpy==1.16.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tts/__init__.py b/homeassistant/components/tts/__init__.py index cc04ddba70572d..763baa262bed81 100644 --- a/homeassistant/components/tts/__init__.py +++ b/homeassistant/components/tts/__init__.py @@ -24,6 +24,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.setup import async_prepare_setup_platform +REQUIREMENTS = ['mutagen==1.42.0'] _LOGGER = logging.getLogger(__name__) @@ -42,6 +43,7 @@ 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 1f657d2d58e51b..117424fd55e17e 100644 --- a/homeassistant/components/tuya/__init__.py +++ b/homeassistant/components/tuya/__init__.py @@ -12,6 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval +REQUIREMENTS = ['tuyapy==0.1.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tuya/climate.py b/homeassistant/components/tuya/climate.py index b6fd3be04edbbb..b7a10dad8626c3 100644 --- a/homeassistant/components/tuya/climate.py +++ b/homeassistant/components/tuya/climate.py @@ -10,6 +10,7 @@ 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 12dbb3c608ae69..274f4d9386936f 100644 --- a/homeassistant/components/tuya/cover.py +++ b/homeassistant/components/tuya/cover.py @@ -4,6 +4,7 @@ from . import DATA_TUYA, TuyaDevice +DEPENDENCIES = ['tuya'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/tuya/fan.py b/homeassistant/components/tuya/fan.py index 6cedfed49f967b..259417869dc2dc 100644 --- a/homeassistant/components/tuya/fan.py +++ b/homeassistant/components/tuya/fan.py @@ -5,6 +5,7 @@ from . import DATA_TUYA, TuyaDevice +DEPENDENCIES = ['tuya'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/tuya/light.py b/homeassistant/components/tuya/light.py index 541c9312b5c7f3..17f9b43dcbebc6 100644 --- a/homeassistant/components/tuya/light.py +++ b/homeassistant/components/tuya/light.py @@ -6,6 +6,7 @@ from . import DATA_TUYA, TuyaDevice +DEPENDENCIES = ['tuya'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/tuya/scene.py b/homeassistant/components/tuya/scene.py index 6ff07ac919bbde..24383dca6e4c11 100644 --- a/homeassistant/components/tuya/scene.py +++ b/homeassistant/components/tuya/scene.py @@ -3,6 +3,7 @@ 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 4669ce509f377a..c2e32eedc59164 100644 --- a/homeassistant/components/tuya/switch.py +++ b/homeassistant/components/tuya/switch.py @@ -3,6 +3,7 @@ from . import DATA_TUYA, TuyaDevice +DEPENDENCIES = ['tuya'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/twilio/__init__.py b/homeassistant/components/twilio/__init__.py index 78634ac303fb22..e7ba06a05f7d3b 100644 --- a/homeassistant/components/twilio/__init__.py +++ b/homeassistant/components/twilio/__init__.py @@ -5,6 +5,8 @@ from homeassistant.const import CONF_WEBHOOK_ID from homeassistant.helpers import config_entry_flow +REQUIREMENTS = ['twilio==6.19.1'] +DEPENDENCIES = ['webhook'] DOMAIN = 'twilio' diff --git a/homeassistant/components/twilio_call/notify.py b/homeassistant/components/twilio_call/notify.py index 8852286299a18a..ab57d7214656b1 100644 --- a/homeassistant/components/twilio_call/notify.py +++ b/homeassistant/components/twilio_call/notify.py @@ -12,6 +12,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['twilio'] CONF_FROM_NUMBER = 'from_number' diff --git a/homeassistant/components/twilio_sms/notify.py b/homeassistant/components/twilio_sms/notify.py index 1222862492afec..a04e397a5688d2 100644 --- a/homeassistant/components/twilio_sms/notify.py +++ b/homeassistant/components/twilio_sms/notify.py @@ -10,6 +10,7 @@ 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 f6a56397492976..123de752d51255 100644 --- a/homeassistant/components/twitch/sensor.py +++ b/homeassistant/components/twitch/sensor.py @@ -7,6 +7,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['python-twitch-client==0.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/twitter/notify.py b/homeassistant/components/twitter/notify.py index b590289ea4c709..54cd591f394575 100644 --- a/homeassistant/components/twitter/notify.py +++ b/homeassistant/components/twitter/notify.py @@ -15,6 +15,7 @@ from homeassistant.components.notify import (ATTR_DATA, PLATFORM_SCHEMA, BaseNotificationService) +REQUIREMENTS = ['TwitterAPI==2.5.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ubee/device_tracker.py b/homeassistant/components/ubee/device_tracker.py index e9c3314563cc08..f73f58f3a1f258 100644 --- a/homeassistant/components/ubee/device_tracker.py +++ b/homeassistant/components/ubee/device_tracker.py @@ -9,6 +9,7 @@ CONF_HOST, CONF_PASSWORD, CONF_USERNAME) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pyubee==0.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/uber/sensor.py b/homeassistant/components/uber/sensor.py index bd96c9683048bb..87d87de66ee30e 100644 --- a/homeassistant/components/uber/sensor.py +++ b/homeassistant/components/uber/sensor.py @@ -9,6 +9,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['uber_rides==0.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/unifi/__init__.py b/homeassistant/components/unifi/__init__.py index c652c638c967a7..7e236789a5c58f 100644 --- a/homeassistant/components/unifi/__init__.py +++ b/homeassistant/components/unifi/__init__.py @@ -16,6 +16,7 @@ DEFAULT_SITE_ID = 'default' DEFAULT_VERIFY_SSL = False +REQUIREMENTS = ['aiounifi==4'] async def async_setup(hass, config): diff --git a/homeassistant/components/unifi/device_tracker.py b/homeassistant/components/unifi/device_tracker.py index f4fc372282e3db..49e28114b17098 100644 --- a/homeassistant/components/unifi/device_tracker.py +++ b/homeassistant/components/unifi/device_tracker.py @@ -10,6 +10,7 @@ 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' diff --git a/homeassistant/components/unifi/switch.py b/homeassistant/components/unifi/switch.py index 514d74f6f82cee..e90da2dbcd85fe 100644 --- a/homeassistant/components/unifi/switch.py +++ b/homeassistant/components/unifi/switch.py @@ -13,6 +13,7 @@ from .const import CONF_CONTROLLER, CONF_SITE_ID, CONTROLLER_ID, DOMAIN +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 fcd43d4c34d3d1..29a3c58fab95ef 100644 --- a/homeassistant/components/unifi_direct/device_tracker.py +++ b/homeassistant/components/unifi_direct/device_tracker.py @@ -11,6 +11,7 @@ CONF_HOST, CONF_PASSWORD, CONF_USERNAME, CONF_PORT) +REQUIREMENTS = ['pexpect==4.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/upc_connect/device_tracker.py b/homeassistant/components/upc_connect/device_tracker.py index f9e26fb4db13e1..4a583b8349ad15 100644 --- a/homeassistant/components/upc_connect/device_tracker.py +++ b/homeassistant/components/upc_connect/device_tracker.py @@ -13,6 +13,7 @@ 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__) diff --git a/homeassistant/components/upcloud/__init__.py b/homeassistant/components/upcloud/__init__.py index fbe43c4515a502..7981cf948bb9ec 100644 --- a/homeassistant/components/upcloud/__init__.py +++ b/homeassistant/components/upcloud/__init__.py @@ -14,6 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval +REQUIREMENTS = ['upcloud-api==0.4.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/upcloud/binary_sensor.py b/homeassistant/components/upcloud/binary_sensor.py index 60781e0e989fcf..a0c3c9f34c6fdc 100644 --- a/homeassistant/components/upcloud/binary_sensor.py +++ b/homeassistant/components/upcloud/binary_sensor.py @@ -11,6 +11,7 @@ _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 5de9734b8071b6..7e84adccf5536e 100644 --- a/homeassistant/components/upcloud/switch.py +++ b/homeassistant/components/upcloud/switch.py @@ -11,6 +11,7 @@ _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 55052c14687432..cb2646ea942b56 100644 --- a/homeassistant/components/updater/__init__.py +++ b/homeassistant/components/updater/__init__.py @@ -18,6 +18,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util +REQUIREMENTS = ['distro==1.4.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/upnp/__init__.py b/homeassistant/components/upnp/__init__.py index 1220a6e23883fe..5f4abcb24c7918 100644 --- a/homeassistant/components/upnp/__init__.py +++ b/homeassistant/components/upnp/__init__.py @@ -23,6 +23,7 @@ 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 5e42d1f42a9614..86bcee879b9dbd 100644 --- a/homeassistant/components/upnp/sensor.py +++ b/homeassistant/components/upnp/sensor.py @@ -12,6 +12,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['upnp'] BYTES_RECEIVED = 'bytes_received' BYTES_SENT = 'bytes_sent' diff --git a/homeassistant/components/ups/sensor.py b/homeassistant/components/ups/sensor.py index 75cfa06f94aacb..3ed82de41dbb95 100644 --- a/homeassistant/components/ups/sensor.py +++ b/homeassistant/components/ups/sensor.py @@ -15,6 +15,7 @@ from homeassistant.util import Throttle, slugify from homeassistant.util.dt import now, parse_date +REQUIREMENTS = ['upsmychoice==1.0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/uptimerobot/binary_sensor.py b/homeassistant/components/uptimerobot/binary_sensor.py index 73aa67d75371eb..8e11966b6809d4 100644 --- a/homeassistant/components/uptimerobot/binary_sensor.py +++ b/homeassistant/components/uptimerobot/binary_sensor.py @@ -8,6 +8,7 @@ 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__) diff --git a/homeassistant/components/uscis/sensor.py b/homeassistant/components/uscis/sensor.py index c30cade6fdcbe8..501c6c9665c909 100644 --- a/homeassistant/components/uscis/sensor.py +++ b/homeassistant/components/uscis/sensor.py @@ -13,6 +13,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['uscisstatus==0.1.1'] DEFAULT_NAME = "USCIS" diff --git a/homeassistant/components/usgs_earthquakes_feed/geo_location.py b/homeassistant/components/usgs_earthquakes_feed/geo_location.py index e012ac97b6198b..1d11b1971ccaaf 100644 --- a/homeassistant/components/usgs_earthquakes_feed/geo_location.py +++ b/homeassistant/components/usgs_earthquakes_feed/geo_location.py @@ -16,6 +16,7 @@ async_dispatcher_connect, dispatcher_send) from homeassistant.helpers.event import track_time_interval +REQUIREMENTS = ['geojson_client==0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/usps/__init__.py b/homeassistant/components/usps/__init__.py index 32989e7f6cf7dc..8a7d7d52255fd2 100644 --- a/homeassistant/components/usps/__init__.py +++ b/homeassistant/components/usps/__init__.py @@ -10,6 +10,7 @@ from homeassistant.util import Throttle from homeassistant.util.dt import now +REQUIREMENTS = ['myusps==1.3.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/usps/camera.py b/homeassistant/components/usps/camera.py index 7a9b23e87fd651..5b5eaca4ce293a 100644 --- a/homeassistant/components/usps/camera.py +++ b/homeassistant/components/usps/camera.py @@ -8,6 +8,7 @@ _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 dd57d12f08a8f7..3e5fea5c4ee7f0 100644 --- a/homeassistant/components/usps/sensor.py +++ b/homeassistant/components/usps/sensor.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['usps'] STATUS_DELIVERED = 'delivered' diff --git a/homeassistant/components/uvc/camera.py b/homeassistant/components/uvc/camera.py index 4c07d84b4005c1..65251054060484 100644 --- a/homeassistant/components/uvc/camera.py +++ b/homeassistant/components/uvc/camera.py @@ -10,6 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.exceptions import PlatformNotReady +REQUIREMENTS = ['uvcclient==0.11.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vacuum/__init__.py b/homeassistant/components/vacuum/__init__.py index 9a8f4908495127..02266986ccfbef 100644 --- a/homeassistant/components/vacuum/__init__.py +++ b/homeassistant/components/vacuum/__init__.py @@ -20,6 +20,7 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'vacuum' +DEPENDENCIES = ['group'] SCAN_INTERVAL = timedelta(seconds=20) diff --git a/homeassistant/components/vasttrafik/sensor.py b/homeassistant/components/vasttrafik/sensor.py index 9906830ceaf130..d8e9f1e7675262 100644 --- a/homeassistant/components/vasttrafik/sensor.py +++ b/homeassistant/components/vasttrafik/sensor.py @@ -11,6 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['vtjp==0.1.14'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/velbus/__init__.py b/homeassistant/components/velbus/__init__.py index b1e96654de8828..4e808dc21ca5ce 100644 --- a/homeassistant/components/velbus/__init__.py +++ b/homeassistant/components/velbus/__init__.py @@ -7,6 +7,7 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['python-velbus==2.0.22'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/velbus/binary_sensor.py b/homeassistant/components/velbus/binary_sensor.py index cbcc6d62054caf..cbe1350bd4f667 100644 --- a/homeassistant/components/velbus/binary_sensor.py +++ b/homeassistant/components/velbus/binary_sensor.py @@ -7,6 +7,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['velbus'] async def async_setup_platform( diff --git a/homeassistant/components/velbus/climate.py b/homeassistant/components/velbus/climate.py index ea5574fae13aa2..470524bb6f3dff 100644 --- a/homeassistant/components/velbus/climate.py +++ b/homeassistant/components/velbus/climate.py @@ -10,6 +10,7 @@ _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 2461659b3b01ca..b176ab76c4b74f 100644 --- a/homeassistant/components/velbus/cover.py +++ b/homeassistant/components/velbus/cover.py @@ -24,6 +24,7 @@ vol.Required(CONF_COVERS): cv.schema_with_slug_keys(COVER_SCHEMA), }) +DEPENDENCIES = ['velbus'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/velbus/sensor.py b/homeassistant/components/velbus/sensor.py index e6cfcdf7ca188d..ad78a795a30b56 100644 --- a/homeassistant/components/velbus/sensor.py +++ b/homeassistant/components/velbus/sensor.py @@ -5,6 +5,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['velbus'] async def async_setup_platform( diff --git a/homeassistant/components/velbus/switch.py b/homeassistant/components/velbus/switch.py index 5ea31b2e720ba5..b5ef89ca48031d 100644 --- a/homeassistant/components/velbus/switch.py +++ b/homeassistant/components/velbus/switch.py @@ -7,6 +7,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['velbus'] async def async_setup_platform( diff --git a/homeassistant/components/velux/__init__.py b/homeassistant/components/velux/__init__.py index ba623a47d04e9d..a46f62dbd5fcf8 100644 --- a/homeassistant/components/velux/__init__.py +++ b/homeassistant/components/velux/__init__.py @@ -12,6 +12,7 @@ SUPPORTED_DOMAINS = ['cover', 'scene'] _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['pyvlx==0.2.10'] CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({ diff --git a/homeassistant/components/velux/cover.py b/homeassistant/components/velux/cover.py index 21c310477c0753..1893909b70608c 100644 --- a/homeassistant/components/velux/cover.py +++ b/homeassistant/components/velux/cover.py @@ -6,6 +6,7 @@ from . import DATA_VELUX +DEPENDENCIES = ['velux'] async def async_setup_platform( diff --git a/homeassistant/components/velux/scene.py b/homeassistant/components/velux/scene.py index 5b1f4ab228295d..614d3f349a2366 100644 --- a/homeassistant/components/velux/scene.py +++ b/homeassistant/components/velux/scene.py @@ -3,6 +3,7 @@ from . import _LOGGER, DATA_VELUX +DEPENDENCIES = ['velux'] async def async_setup_platform( diff --git a/homeassistant/components/venstar/climate.py b/homeassistant/components/venstar/climate.py index 45905e04d8e150..f3e7542af5ce9f 100644 --- a/homeassistant/components/venstar/climate.py +++ b/homeassistant/components/venstar/climate.py @@ -17,6 +17,7 @@ TEMP_FAHRENHEIT) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['venstarcolortouch==0.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vera/__init__.py b/homeassistant/components/vera/__init__.py index a8ecd6ec9a2c76..3f4c66d238a89b 100644 --- a/homeassistant/components/vera/__init__.py +++ b/homeassistant/components/vera/__init__.py @@ -14,6 +14,7 @@ EVENT_HOMEASSISTANT_STOP, CONF_LIGHTS, CONF_EXCLUDE) from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['pyvera==0.2.45'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vera/binary_sensor.py b/homeassistant/components/vera/binary_sensor.py index 28881ff5fed5c9..c81fa31938f554 100644 --- a/homeassistant/components/vera/binary_sensor.py +++ b/homeassistant/components/vera/binary_sensor.py @@ -6,6 +6,7 @@ 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 426e44eb1ea67d..f8ff9c21b89aae 100644 --- a/homeassistant/components/vera/climate.py +++ b/homeassistant/components/vera/climate.py @@ -11,6 +11,7 @@ from . import VERA_CONTROLLER, VERA_DEVICES, VeraDevice +DEPENDENCIES = ['vera'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vera/cover.py b/homeassistant/components/vera/cover.py index c1a6637d8d7ec4..4cf2aac3bb4e3c 100644 --- a/homeassistant/components/vera/cover.py +++ b/homeassistant/components/vera/cover.py @@ -6,6 +6,7 @@ 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 c88e1e454017a5..e4e315bb52e87d 100644 --- a/homeassistant/components/vera/light.py +++ b/homeassistant/components/vera/light.py @@ -10,6 +10,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['vera'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/vera/lock.py b/homeassistant/components/vera/lock.py index 6735ab6ef64344..5ace07b87d7087 100644 --- a/homeassistant/components/vera/lock.py +++ b/homeassistant/components/vera/lock.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['vera'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/vera/scene.py b/homeassistant/components/vera/scene.py index 98b727fc78fe6f..5000f9bc50f9c8 100644 --- a/homeassistant/components/vera/scene.py +++ b/homeassistant/components/vera/scene.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['vera'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/vera/sensor.py b/homeassistant/components/vera/sensor.py index f4785c37afe105..3c026046b3eea0 100644 --- a/homeassistant/components/vera/sensor.py +++ b/homeassistant/components/vera/sensor.py @@ -11,6 +11,7 @@ _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 4d1f907c2c38cc..f422e49bf42f8e 100644 --- a/homeassistant/components/vera/switch.py +++ b/homeassistant/components/vera/switch.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['vera'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/verisure/__init__.py b/homeassistant/components/verisure/__init__.py index 01d91b6cdc2b0e..393a4066002dbf 100644 --- a/homeassistant/components/verisure/__init__.py +++ b/homeassistant/components/verisure/__init__.py @@ -11,6 +11,7 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['vsure==1.5.2', 'jsonpath==0.75'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/version/sensor.py b/homeassistant/components/version/sensor.py index 3841f50b5a7f97..7c8f2b1662a151 100644 --- a/homeassistant/components/version/sensor.py +++ b/homeassistant/components/version/sensor.py @@ -11,6 +11,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['pyhaversion==2.2.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vesync/switch.py b/homeassistant/components/vesync/switch.py index 922afc131aa7a3..d37728624ef533 100644 --- a/homeassistant/components/vesync/switch.py +++ b/homeassistant/components/vesync/switch.py @@ -6,6 +6,7 @@ import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['pyvesync_v2==0.9.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vizio/media_player.py b/homeassistant/components/vizio/media_player.py index f032809b796e96..bab54c68a908fa 100644 --- a/homeassistant/components/vizio/media_player.py +++ b/homeassistant/components/vizio/media_player.py @@ -15,6 +15,7 @@ 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__) diff --git a/homeassistant/components/vlc/media_player.py b/homeassistant/components/vlc/media_player.py index 1624ec6b017cd1..41f9b5b16d4efa 100644 --- a/homeassistant/components/vlc/media_player.py +++ b/homeassistant/components/vlc/media_player.py @@ -13,6 +13,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util +REQUIREMENTS = ['python-vlc==1.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/volkszaehler/sensor.py b/homeassistant/components/volkszaehler/sensor.py index 53c3db2cbb19ef..5b808ff3c38dcb 100644 --- a/homeassistant/components/volkszaehler/sensor.py +++ b/homeassistant/components/volkszaehler/sensor.py @@ -14,6 +14,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['volkszaehler==0.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/volvooncall/__init__.py b/homeassistant/components/volvooncall/__init__.py index 491273184a6b89..36e3959338e746 100644 --- a/homeassistant/components/volvooncall/__init__.py +++ b/homeassistant/components/volvooncall/__init__.py @@ -21,6 +21,7 @@ DATA_KEY = DOMAIN +REQUIREMENTS = ['volvooncall==0.8.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vultr/__init__.py b/homeassistant/components/vultr/__init__.py index daa1f2760718b3..9f2efabd412b06 100644 --- a/homeassistant/components/vultr/__init__.py +++ b/homeassistant/components/vultr/__init__.py @@ -8,6 +8,7 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['vultr==0.1.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vultr/binary_sensor.py b/homeassistant/components/vultr/binary_sensor.py index 1718d777a18929..87e8e93bda7b3c 100644 --- a/homeassistant/components/vultr/binary_sensor.py +++ b/homeassistant/components/vultr/binary_sensor.py @@ -18,6 +18,7 @@ DEFAULT_DEVICE_CLASS = 'power' DEFAULT_NAME = 'Vultr {}' +DEPENDENCIES = ['vultr'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_SUBSCRIPTION): cv.string, diff --git a/homeassistant/components/vultr/sensor.py b/homeassistant/components/vultr/sensor.py index bb0fa4c333d286..f7e03dddace4e9 100644 --- a/homeassistant/components/vultr/sensor.py +++ b/homeassistant/components/vultr/sensor.py @@ -15,6 +15,7 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Vultr {} {}' +DEPENDENCIES = ['vultr'] MONITORED_CONDITIONS = { ATTR_CURRENT_BANDWIDTH_USED: ['Current Bandwidth Used', 'GB', diff --git a/homeassistant/components/vultr/switch.py b/homeassistant/components/vultr/switch.py index 3679bfd7c5fb76..502aaf9daa8767 100644 --- a/homeassistant/components/vultr/switch.py +++ b/homeassistant/components/vultr/switch.py @@ -16,6 +16,7 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Vultr {}' +DEPENDENCIES = ['vultr'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_SUBSCRIPTION): cv.string, diff --git a/homeassistant/components/w800rf32/__init__.py b/homeassistant/components/w800rf32/__init__.py index 54c17bb1d7b1d0..d2c0cf6b968fbd 100644 --- a/homeassistant/components/w800rf32/__init__.py +++ b/homeassistant/components/w800rf32/__init__.py @@ -10,6 +10,7 @@ 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 caa3771b88e7ad..c942483495306d 100644 --- a/homeassistant/components/w800rf32/binary_sensor.py +++ b/homeassistant/components/w800rf32/binary_sensor.py @@ -15,6 +15,7 @@ _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 a1e5b1f7f5ddee..e6e12ef0afe3d7 100644 --- a/homeassistant/components/wake_on_lan/__init__.py +++ b/homeassistant/components/wake_on_lan/__init__.py @@ -7,6 +7,7 @@ from homeassistant.const import CONF_MAC import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['wakeonlan==1.1.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wake_on_lan/switch.py b/homeassistant/components/wake_on_lan/switch.py index 6e57843a5e4797..c81a476f0f8b2b 100644 --- a/homeassistant/components/wake_on_lan/switch.py +++ b/homeassistant/components/wake_on_lan/switch.py @@ -10,6 +10,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.script import Script +REQUIREMENTS = ['wakeonlan==1.1.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/waqi/sensor.py b/homeassistant/components/waqi/sensor.py index cb79ebf631d071..f3000890de6800 100644 --- a/homeassistant/components/waqi/sensor.py +++ b/homeassistant/components/waqi/sensor.py @@ -14,6 +14,7 @@ from homeassistant.helpers.config_validation import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['waqiasync==1.0.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/waterfurnace/__init__.py b/homeassistant/components/waterfurnace/__init__.py index 5e040aabba738d..38fd44cd1c7d3b 100644 --- a/homeassistant/components/waterfurnace/__init__.py +++ b/homeassistant/components/waterfurnace/__init__.py @@ -13,6 +13,7 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers import discovery +REQUIREMENTS = ['waterfurnace==1.1.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/watson_iot/__init__.py b/homeassistant/components/watson_iot/__init__.py index 3790c9503d8da7..e9a907ee6d2e1d 100644 --- a/homeassistant/components/watson_iot/__init__.py +++ b/homeassistant/components/watson_iot/__init__.py @@ -13,6 +13,7 @@ from homeassistant.helpers import state as state_helper import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['ibmiotf==0.3.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/waze_travel_time/sensor.py b/homeassistant/components/waze_travel_time/sensor.py index 5e15c4584df825..984a5800898dd4 100644 --- a/homeassistant/components/waze_travel_time/sensor.py +++ b/homeassistant/components/waze_travel_time/sensor.py @@ -13,6 +13,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['WazeRouteCalculator==0.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/webhook/__init__.py b/homeassistant/components/webhook/__init__.py index 14cf7fcb4654d5..59be3ab1890662 100644 --- a/homeassistant/components/webhook/__init__.py +++ b/homeassistant/components/webhook/__init__.py @@ -12,6 +12,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['http'] DOMAIN = 'webhook' diff --git a/homeassistant/components/webostv/media_player.py b/homeassistant/components/webostv/media_player.py index ee591be6991800..35c3c456680d27 100644 --- a/homeassistant/components/webostv/media_player.py +++ b/homeassistant/components/webostv/media_player.py @@ -21,6 +21,7 @@ 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 b0b44789a64481..5887586df65d41 100644 --- a/homeassistant/components/webostv/notify.py +++ b/homeassistant/components/webostv/notify.py @@ -8,6 +8,7 @@ ATTR_DATA, BaseNotificationService, PLATFORM_SCHEMA) from homeassistant.const import (CONF_FILENAME, CONF_HOST, CONF_ICON) +REQUIREMENTS = ['pylgtv==0.1.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wemo/__init__.py b/homeassistant/components/wemo/__init__.py index 6b52ebd8e7e5c2..709b3ec8672755 100644 --- a/homeassistant/components/wemo/__init__.py +++ b/homeassistant/components/wemo/__init__.py @@ -11,6 +11,7 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) +REQUIREMENTS = ['pywemo==0.4.34'] DOMAIN = 'wemo' diff --git a/homeassistant/components/wemo/binary_sensor.py b/homeassistant/components/wemo/binary_sensor.py index 54f8519c8fee0b..d6c1ad721b9abe 100644 --- a/homeassistant/components/wemo/binary_sensor.py +++ b/homeassistant/components/wemo/binary_sensor.py @@ -8,6 +8,7 @@ from homeassistant.components.binary_sensor import BinarySensorDevice from homeassistant.exceptions import PlatformNotReady +DEPENDENCIES = ['wemo'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wemo/fan.py b/homeassistant/components/wemo/fan.py index e33465d460f1a5..29a493bf5bc256 100644 --- a/homeassistant/components/wemo/fan.py +++ b/homeassistant/components/wemo/fan.py @@ -14,6 +14,7 @@ from homeassistant.exceptions import PlatformNotReady from homeassistant.const import ATTR_ENTITY_ID +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 221cc6e521d245..e0f729fb165e8c 100644 --- a/homeassistant/components/wemo/light.py +++ b/homeassistant/components/wemo/light.py @@ -13,6 +13,7 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.util.color as color_util +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 2e160bd2097202..0a583e49e966a0 100644 --- a/homeassistant/components/wemo/switch.py +++ b/homeassistant/components/wemo/switch.py @@ -12,6 +12,7 @@ from homeassistant.const import ( STATE_OFF, STATE_ON, STATE_STANDBY, STATE_UNKNOWN) +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 2a1639428632b4..e36bdea08c3f63 100644 --- a/homeassistant/components/whois/sensor.py +++ b/homeassistant/components/whois/sensor.py @@ -9,6 +9,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['python-whois==0.7.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wink/__init__.py b/homeassistant/components/wink/__init__.py index 69c4f649fc19e6..2b03d7711acbd6 100644 --- a/homeassistant/components/wink/__init__.py +++ b/homeassistant/components/wink/__init__.py @@ -20,6 +20,7 @@ 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__) diff --git a/homeassistant/components/wink/alarm_control_panel.py b/homeassistant/components/wink/alarm_control_panel.py index 2458a7f78adc10..73ca9a3cac4ac0 100644 --- a/homeassistant/components/wink/alarm_control_panel.py +++ b/homeassistant/components/wink/alarm_control_panel.py @@ -9,6 +9,7 @@ _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 2a3144202d631a..f3757d7bf39624 100644 --- a/homeassistant/components/wink/binary_sensor.py +++ b/homeassistant/components/wink/binary_sensor.py @@ -7,6 +7,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['wink'] # These are the available sensors mapped to binary_sensor class SENSOR_TYPES = { diff --git a/homeassistant/components/wink/climate.py b/homeassistant/components/wink/climate.py index 68e8abf6d5c99e..f5e75c1fb8d591 100644 --- a/homeassistant/components/wink/climate.py +++ b/homeassistant/components/wink/climate.py @@ -26,6 +26,7 @@ ATTR_HEAT_ON = 'heat_on' ATTR_COOL_ON = 'cool_on' +DEPENDENCIES = ['wink'] SPEED_LOW = 'low' SPEED_MEDIUM = 'medium' diff --git a/homeassistant/components/wink/cover.py b/homeassistant/components/wink/cover.py index dce74f3557def2..f4c4841c2a2d0e 100644 --- a/homeassistant/components/wink/cover.py +++ b/homeassistant/components/wink/cover.py @@ -3,6 +3,7 @@ from . import DOMAIN, WinkDevice +DEPENDENCIES = ['wink'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/wink/fan.py b/homeassistant/components/wink/fan.py index 89f1f7508a4df0..52a27eb3c3df19 100644 --- a/homeassistant/components/wink/fan.py +++ b/homeassistant/components/wink/fan.py @@ -9,6 +9,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['wink'] SPEED_AUTO = 'auto' SPEED_LOWEST = 'lowest' diff --git a/homeassistant/components/wink/light.py b/homeassistant/components/wink/light.py index e4af8cd92f266b..95747bcc1b2c63 100644 --- a/homeassistant/components/wink/light.py +++ b/homeassistant/components/wink/light.py @@ -8,6 +8,7 @@ from . import DOMAIN, WinkDevice +DEPENDENCIES = ['wink'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/wink/lock.py b/homeassistant/components/wink/lock.py index eeffecd5bf69bd..8e6fb9b280530e 100644 --- a/homeassistant/components/wink/lock.py +++ b/homeassistant/components/wink/lock.py @@ -10,6 +10,7 @@ from . import DOMAIN, WinkDevice +DEPENDENCIES = ['wink'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wink/scene.py b/homeassistant/components/wink/scene.py index 8cbc8422d7500c..e77402c4d45880 100644 --- a/homeassistant/components/wink/scene.py +++ b/homeassistant/components/wink/scene.py @@ -7,6 +7,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['wink'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/wink/sensor.py b/homeassistant/components/wink/sensor.py index 4df69b9c3f78cb..3dfd704d564a36 100644 --- a/homeassistant/components/wink/sensor.py +++ b/homeassistant/components/wink/sensor.py @@ -7,6 +7,7 @@ _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 11a5eee6b03fae..6ee777dd1fcccd 100644 --- a/homeassistant/components/wink/switch.py +++ b/homeassistant/components/wink/switch.py @@ -5,6 +5,7 @@ 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 8cbc0d20d75705..28c8cb4d5156c2 100644 --- a/homeassistant/components/wirelesstag/__init__.py +++ b/homeassistant/components/wirelesstag/__init__.py @@ -11,6 +11,7 @@ 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 bdbdb455bb9d53..aefa5ed34a9dad 100644 --- a/homeassistant/components/wirelesstag/binary_sensor.py +++ b/homeassistant/components/wirelesstag/binary_sensor.py @@ -14,6 +14,7 @@ DOMAIN as WIRELESSTAG_DOMAIN, SIGNAL_BINARY_EVENT_UPDATE, WirelessTagBaseSensor) +DEPENDENCIES = ['wirelesstag'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wirelesstag/sensor.py b/homeassistant/components/wirelesstag/sensor.py index 90c46f817e1f9f..ca26e07b985ae9 100644 --- a/homeassistant/components/wirelesstag/sensor.py +++ b/homeassistant/components/wirelesstag/sensor.py @@ -12,6 +12,7 @@ from . import ( DOMAIN as WIRELESSTAG_DOMAIN, SIGNAL_TAG_UPDATE, WirelessTagBaseSensor) +DEPENDENCIES = ['wirelesstag'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wirelesstag/switch.py b/homeassistant/components/wirelesstag/switch.py index f455e6ef715566..4a2b64acda1d75 100644 --- a/homeassistant/components/wirelesstag/switch.py +++ b/homeassistant/components/wirelesstag/switch.py @@ -9,6 +9,7 @@ from . import DOMAIN as WIRELESSTAG_DOMAIN, WirelessTagBaseSensor +DEPENDENCIES = ['wirelesstag'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/workday/binary_sensor.py b/homeassistant/components/workday/binary_sensor.py index 2362108f13818d..b505e075018acc 100644 --- a/homeassistant/components/workday/binary_sensor.py +++ b/homeassistant/components/workday/binary_sensor.py @@ -9,6 +9,7 @@ from homeassistant.components.binary_sensor import BinarySensorDevice import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['holidays==0.9.10'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wunderlist/__init__.py b/homeassistant/components/wunderlist/__init__.py index 8c395713ef809b..d67cf089b5e752 100644 --- a/homeassistant/components/wunderlist/__init__.py +++ b/homeassistant/components/wunderlist/__init__.py @@ -7,6 +7,7 @@ from homeassistant.const import ( CONF_NAME, CONF_ACCESS_TOKEN) +REQUIREMENTS = ['wunderpy2==0.1.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xbox_live/sensor.py b/homeassistant/components/xbox_live/sensor.py index b81ae820fffa8f..9f8a02686accb6 100644 --- a/homeassistant/components/xbox_live/sensor.py +++ b/homeassistant/components/xbox_live/sensor.py @@ -8,6 +8,7 @@ from homeassistant.const import (CONF_API_KEY, STATE_UNKNOWN) from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['xboxapi==0.1.1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xeoma/camera.py b/homeassistant/components/xeoma/camera.py index 2b0180c3272f9c..dd0ee432707718 100644 --- a/homeassistant/components/xeoma/camera.py +++ b/homeassistant/components/xeoma/camera.py @@ -8,6 +8,7 @@ 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__) diff --git a/homeassistant/components/xfinity/device_tracker.py b/homeassistant/components/xfinity/device_tracker.py index e842c4f3b797cf..04702355de7634 100644 --- a/homeassistant/components/xfinity/device_tracker.py +++ b/homeassistant/components/xfinity/device_tracker.py @@ -9,6 +9,7 @@ DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST +REQUIREMENTS = ['xfinity-gateway==0.0.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xiaomi/camera.py b/homeassistant/components/xiaomi/camera.py index e541936ef0e700..98e54d2bc73515 100644 --- a/homeassistant/components/xiaomi/camera.py +++ b/homeassistant/components/xiaomi/camera.py @@ -11,6 +11,7 @@ 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 32d7eef4ec7d79..9b113170f8a751 100644 --- a/homeassistant/components/xiaomi_aqara/__init__.py +++ b/homeassistant/components/xiaomi_aqara/__init__.py @@ -16,6 +16,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/device_tracker.py b/homeassistant/components/xiaomi_miio/device_tracker.py index 260e4b47041952..e7ea9fbbb408d9 100644 --- a/homeassistant/components/xiaomi_miio/device_tracker.py +++ b/homeassistant/components/xiaomi_miio/device_tracker.py @@ -8,6 +8,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/fan.py b/homeassistant/components/xiaomi_miio/fan.py index f1ca423ed3064a..51d4780160dacf 100644 --- a/homeassistant/components/xiaomi_miio/fan.py +++ b/homeassistant/components/xiaomi_miio/fan.py @@ -13,6 +13,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/light.py b/homeassistant/components/xiaomi_miio/light.py index f5cda90ce32db2..ec07a557342cca 100644 --- a/homeassistant/components/xiaomi_miio/light.py +++ b/homeassistant/components/xiaomi_miio/light.py @@ -17,6 +17,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/remote.py b/homeassistant/components/xiaomi_miio/remote.py index 3471821ef8864f..450279c18253e2 100644 --- a/homeassistant/components/xiaomi_miio/remote.py +++ b/homeassistant/components/xiaomi_miio/remote.py @@ -17,6 +17,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/sensor.py b/homeassistant/components/xiaomi_miio/sensor.py index 1d31590c5e0389..41d3ce65b13d84 100644 --- a/homeassistant/components/xiaomi_miio/sensor.py +++ b/homeassistant/components/xiaomi_miio/sensor.py @@ -9,6 +9,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/switch.py b/homeassistant/components/xiaomi_miio/switch.py index 016b1543ce87da..d1acce02e47ca9 100644 --- a/homeassistant/components/xiaomi_miio/switch.py +++ b/homeassistant/components/xiaomi_miio/switch.py @@ -12,6 +12,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_miio/vacuum.py b/homeassistant/components/xiaomi_miio/vacuum.py index 47e8c26764e3bf..2673a5b897ccab 100644 --- a/homeassistant/components/xiaomi_miio/vacuum.py +++ b/homeassistant/components/xiaomi_miio/vacuum.py @@ -16,6 +16,7 @@ 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__) diff --git a/homeassistant/components/xiaomi_tv/media_player.py b/homeassistant/components/xiaomi_tv/media_player.py index 7cabde85886dd6..2c8a2e1ea83b70 100644 --- a/homeassistant/components/xiaomi_tv/media_player.py +++ b/homeassistant/components/xiaomi_tv/media_player.py @@ -10,6 +10,7 @@ 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" diff --git a/homeassistant/components/xmpp/notify.py b/homeassistant/components/xmpp/notify.py index 8ee001a9ef90f6..d8036f5ee1e43a 100644 --- a/homeassistant/components/xmpp/notify.py +++ b/homeassistant/components/xmpp/notify.py @@ -17,6 +17,7 @@ from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) +REQUIREMENTS = ['slixmpp==1.4.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xs1/__init__.py b/homeassistant/components/xs1/__init__.py index 3c2439d826a7f4..f67eb8fd15affc 100644 --- a/homeassistant/components/xs1/__init__.py +++ b/homeassistant/components/xs1/__init__.py @@ -11,6 +11,7 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity +REQUIREMENTS = ['xs1-api-client==2.3.5'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xs1/climate.py b/homeassistant/components/xs1/climate.py index 1d12fcc90fa6c9..080b87c13469a2 100644 --- a/homeassistant/components/xs1/climate.py +++ b/homeassistant/components/xs1/climate.py @@ -8,6 +8,7 @@ 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 150c2da1f372a6..f5fdcf1fb34503 100644 --- a/homeassistant/components/xs1/sensor.py +++ b/homeassistant/components/xs1/sensor.py @@ -5,6 +5,7 @@ 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 030a828d25b85d..d8b344fc716a39 100644 --- a/homeassistant/components/xs1/switch.py +++ b/homeassistant/components/xs1/switch.py @@ -7,6 +7,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['xs1'] async def async_setup_platform( diff --git a/homeassistant/components/yale_smart_alarm/alarm_control_panel.py b/homeassistant/components/yale_smart_alarm/alarm_control_panel.py index 04b3987e25be3b..1a8e03a6363120 100755 --- a/homeassistant/components/yale_smart_alarm/alarm_control_panel.py +++ b/homeassistant/components/yale_smart_alarm/alarm_control_panel.py @@ -10,6 +10,7 @@ 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' diff --git a/homeassistant/components/yamaha/media_player.py b/homeassistant/components/yamaha/media_player.py index 834e9fc32cefd8..53c6b466f6e3a3 100644 --- a/homeassistant/components/yamaha/media_player.py +++ b/homeassistant/components/yamaha/media_player.py @@ -18,6 +18,7 @@ STATE_PLAYING) import homeassistant.helpers.config_validation as cv +REQUIREMENTS = ['rxv==0.6.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yamaha_musiccast/media_player.py b/homeassistant/components/yamaha_musiccast/media_player.py index dd9f4ff9a485f9..94002a4cc55b27 100644 --- a/homeassistant/components/yamaha_musiccast/media_player.py +++ b/homeassistant/components/yamaha_musiccast/media_player.py @@ -15,6 +15,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util +REQUIREMENTS = ['pymusiccast==0.1.6'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yeelight/__init__.py b/homeassistant/components/yeelight/__init__.py index 00d4a4947c1ef9..9b9778fd5d28be 100644 --- a/homeassistant/components/yeelight/__init__.py +++ b/homeassistant/components/yeelight/__init__.py @@ -16,6 +16,7 @@ from homeassistant.helpers.dispatcher import dispatcher_send from homeassistant.helpers.event import track_time_interval +REQUIREMENTS = ['yeelight==0.4.4'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yeelight/binary_sensor.py b/homeassistant/components/yeelight/binary_sensor.py index c3d734300a2c84..0b44966f15c439 100644 --- a/homeassistant/components/yeelight/binary_sensor.py +++ b/homeassistant/components/yeelight/binary_sensor.py @@ -6,6 +6,7 @@ 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 f9040bab32b3a9..8aa5c3d7300c26 100644 --- a/homeassistant/components/yeelight/light.py +++ b/homeassistant/components/yeelight/light.py @@ -22,6 +22,7 @@ YEELIGHT_FLOW_TRANSITION_SCHEMA, ACTION_RECOVER, CONF_FLOW_PARAMS, ATTR_ACTION, ATTR_COUNT) +DEPENDENCIES = ['yeelight'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yeelightsunflower/light.py b/homeassistant/components/yeelightsunflower/light.py index 96265bceb7f4b5..9252143526bfa5 100644 --- a/homeassistant/components/yeelightsunflower/light.py +++ b/homeassistant/components/yeelightsunflower/light.py @@ -10,6 +10,7 @@ from homeassistant.const import CONF_HOST import homeassistant.util.color as color_util +REQUIREMENTS = ['yeelightsunflower==0.0.10'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yessssms/notify.py b/homeassistant/components/yessssms/notify.py index 7f97d4487061e4..c229c361e2884f 100644 --- a/homeassistant/components/yessssms/notify.py +++ b/homeassistant/components/yessssms/notify.py @@ -9,6 +9,7 @@ from homeassistant.components.notify import (PLATFORM_SCHEMA, BaseNotificationService) +REQUIREMENTS = ['YesssSMS==0.2.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yi/camera.py b/homeassistant/components/yi/camera.py index 0dbb42c384ea8b..7ed36b97868db6 100644 --- a/homeassistant/components/yi/camera.py +++ b/homeassistant/components/yi/camera.py @@ -12,6 +12,8 @@ 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 12b27fffc0d376..4c898a7c9fe64d 100644 --- a/homeassistant/components/yr/sensor.py +++ b/homeassistant/components/yr/sensor.py @@ -20,6 +20,7 @@ async_call_later) from homeassistant.util import dt as dt_util +REQUIREMENTS = ['xmltodict==0.11.0'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yweather/sensor.py b/homeassistant/components/yweather/sensor.py index 07877d8f270739..129532ceb57477 100644 --- a/homeassistant/components/yweather/sensor.py +++ b/homeassistant/components/yweather/sensor.py @@ -12,6 +12,7 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle +REQUIREMENTS = ['yahooweather==0.10'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yweather/weather.py b/homeassistant/components/yweather/weather.py index 9203813a38b882..e4eb34a039ac62 100644 --- a/homeassistant/components/yweather/weather.py +++ b/homeassistant/components/yweather/weather.py @@ -10,6 +10,7 @@ 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__) diff --git a/homeassistant/components/zabbix/__init__.py b/homeassistant/components/zabbix/__init__.py index 00e7ceafca3bef..f33c60b1c3930b 100644 --- a/homeassistant/components/zabbix/__init__.py +++ b/homeassistant/components/zabbix/__init__.py @@ -8,6 +8,7 @@ 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__) diff --git a/homeassistant/components/zabbix/sensor.py b/homeassistant/components/zabbix/sensor.py index 52f5cbde900b85..ae2e70ede2c426 100644 --- a/homeassistant/components/zabbix/sensor.py +++ b/homeassistant/components/zabbix/sensor.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['zabbix'] _CONF_TRIGGERS = 'triggers' _CONF_HOSTIDS = 'hostids' diff --git a/homeassistant/components/zengge/light.py b/homeassistant/components/zengge/light.py index f98ccd1783107c..8bbd56a483ec12 100644 --- a/homeassistant/components/zengge/light.py +++ b/homeassistant/components/zengge/light.py @@ -10,6 +10,7 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util +REQUIREMENTS = ['zengge==0.2'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/zeroconf/__init__.py b/homeassistant/components/zeroconf/__init__.py index 76a541432090f5..844246528a60db 100644 --- a/homeassistant/components/zeroconf/__init__.py +++ b/homeassistant/components/zeroconf/__init__.py @@ -7,9 +7,11 @@ 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 75ea361c379d62..f69e3b16ebe584 100644 --- a/homeassistant/components/zestimate/sensor.py +++ b/homeassistant/components/zestimate/sensor.py @@ -12,6 +12,7 @@ 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 37a36cd2c6c442..08362eba082845 100644 --- a/homeassistant/components/zha/__init__.py +++ b/homeassistant/components/zha/__init__.py @@ -20,6 +20,13 @@ 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 a029efde5fc1ad..b4254eb83e7a49 100644 --- a/homeassistant/components/zha/binary_sensor.py +++ b/homeassistant/components/zha/binary_sensor.py @@ -14,6 +14,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['zha'] # Zigbee Cluster Library Zone Type to Home Assistant device class CLASS_MAPPING = { diff --git a/homeassistant/components/zha/fan.py b/homeassistant/components/zha/fan.py index 89aa6d4b693b4b..b80834af1d7d20 100644 --- a/homeassistant/components/zha/fan.py +++ b/homeassistant/components/zha/fan.py @@ -12,6 +12,7 @@ ) from .entity import ZhaEntity +DEPENDENCIES = ['zha'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/zha/light.py b/homeassistant/components/zha/light.py index a714bc792318a2..12bc12c5f6edb1 100644 --- a/homeassistant/components/zha/light.py +++ b/homeassistant/components/zha/light.py @@ -17,6 +17,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['zha'] DEFAULT_DURATION = 5 diff --git a/homeassistant/components/zha/sensor.py b/homeassistant/components/zha/sensor.py index a4a4d1b8cd832e..13932d7dd7ab1b 100644 --- a/homeassistant/components/zha/sensor.py +++ b/homeassistant/components/zha/sensor.py @@ -16,6 +16,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['zha'] # Formatter functions diff --git a/homeassistant/components/zha/switch.py b/homeassistant/components/zha/switch.py index c81307dfe913da..34c9ab2514d003 100644 --- a/homeassistant/components/zha/switch.py +++ b/homeassistant/components/zha/switch.py @@ -13,6 +13,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['zha'] async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/zhong_hong/climate.py b/homeassistant/components/zhong_hong/climate.py index 753448b8400578..7fd2b971009e17 100644 --- a/homeassistant/components/zhong_hong/climate.py +++ b/homeassistant/components/zhong_hong/climate.py @@ -14,6 +14,7 @@ from homeassistant.helpers.dispatcher import (async_dispatcher_connect, async_dispatcher_send) +REQUIREMENTS = ['zhong_hong_hvac==1.0.9'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/zigbee/__init__.py b/homeassistant/components/zigbee/__init__.py index 6f399e9f3d46b1..0e2d3587829c92 100644 --- a/homeassistant/components/zigbee/__init__.py +++ b/homeassistant/components/zigbee/__init__.py @@ -11,6 +11,7 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_connect, dispatcher_send) +REQUIREMENTS = ['xbee-helper==0.0.7'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/zigbee/binary_sensor.py b/homeassistant/components/zigbee/binary_sensor.py index 97ddd0287c71c8..ccf4e70df34a18 100644 --- a/homeassistant/components/zigbee/binary_sensor.py +++ b/homeassistant/components/zigbee/binary_sensor.py @@ -8,6 +8,7 @@ CONF_ON_STATE = 'on_state' DEFAULT_ON_STATE = 'high' +DEPENDENCIES = ['zigbee'] STATES = ['high', 'low'] diff --git a/homeassistant/components/zigbee/light.py b/homeassistant/components/zigbee/light.py index 8abf1dd8ba3950..b9be0d893239d0 100644 --- a/homeassistant/components/zigbee/light.py +++ b/homeassistant/components/zigbee/light.py @@ -8,6 +8,7 @@ CONF_ON_STATE = 'on_state' DEFAULT_ON_STATE = 'high' +DEPENDENCIES = ['zigbee'] STATES = ['high', 'low'] diff --git a/homeassistant/components/zigbee/sensor.py b/homeassistant/components/zigbee/sensor.py index 712b80376c5f5f..48301ac9728ee5 100644 --- a/homeassistant/components/zigbee/sensor.py +++ b/homeassistant/components/zigbee/sensor.py @@ -16,6 +16,7 @@ CONF_MAX_VOLTS = 'max_volts' DEFAULT_VOLTS = 1.2 +DEPENDENCIES = ['zigbee'] TYPES = ['analog', 'temperature'] diff --git a/homeassistant/components/zigbee/switch.py b/homeassistant/components/zigbee/switch.py index 26a9e8fac835c3..ddfd47a047e9c6 100644 --- a/homeassistant/components/zigbee/switch.py +++ b/homeassistant/components/zigbee/switch.py @@ -5,10 +5,12 @@ 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 e9474baf50cc50..574d08e97a4504 100644 --- a/homeassistant/components/ziggo_mediabox_xl/media_player.py +++ b/homeassistant/components/ziggo_mediabox_xl/media_player.py @@ -14,6 +14,7 @@ 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__) diff --git a/homeassistant/components/zoneminder/__init__.py b/homeassistant/components/zoneminder/__init__.py index cb5fb3ed254369..a4d90d523aacca 100644 --- a/homeassistant/components/zoneminder/__init__.py +++ b/homeassistant/components/zoneminder/__init__.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +REQUIREMENTS = ['zm-py==0.3.3'] CONF_PATH_ZMS = 'path_zms' diff --git a/homeassistant/components/zoneminder/binary_sensor.py b/homeassistant/components/zoneminder/binary_sensor.py index 41484a1d8b2947..ce59d4573bea1d 100644 --- a/homeassistant/components/zoneminder/binary_sensor.py +++ b/homeassistant/components/zoneminder/binary_sensor.py @@ -3,6 +3,7 @@ from . import DOMAIN as ZONEMINDER_DOMAIN +DEPENDENCIES = ['zoneminder'] async def async_setup_platform( diff --git a/homeassistant/components/zoneminder/camera.py b/homeassistant/components/zoneminder/camera.py index 669c25111aec82..fe3333fa3ed274 100644 --- a/homeassistant/components/zoneminder/camera.py +++ b/homeassistant/components/zoneminder/camera.py @@ -9,6 +9,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['zoneminder'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/zoneminder/sensor.py b/homeassistant/components/zoneminder/sensor.py index 778a9497f14b23..e205d921422be2 100644 --- a/homeassistant/components/zoneminder/sensor.py +++ b/homeassistant/components/zoneminder/sensor.py @@ -12,6 +12,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['zoneminder'] CONF_INCLUDE_ARCHIVED = "include_archived" diff --git a/homeassistant/components/zoneminder/switch.py b/homeassistant/components/zoneminder/switch.py index fcc29b7cc80f08..78e72c5fd4a88f 100644 --- a/homeassistant/components/zoneminder/switch.py +++ b/homeassistant/components/zoneminder/switch.py @@ -11,6 +11,7 @@ _LOGGER = logging.getLogger(__name__) +DEPENDENCIES = ['zoneminder'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_COMMAND_ON): cv.string, diff --git a/homeassistant/components/zwave/__init__.py b/homeassistant/components/zwave/__init__.py index ae19951e7db56f..6028e5547c6c79 100644 --- a/homeassistant/components/zwave/__init__.py +++ b/homeassistant/components/zwave/__init__.py @@ -37,6 +37,7 @@ 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__) From 43981d02330c4ab7a21b1d4fe5e51310319b1510 Mon Sep 17 00:00:00 2001 From: Tobias Sauerwein Date: Fri, 12 Apr 2019 14:29:37 +0200 Subject: [PATCH 5/8] Remove dependencies and requirements --- homeassistant/components/abode/__init__.py | 2 -- .../components/abode/alarm_control_panel.py | 2 -- homeassistant/components/abode/binary_sensor.py | 2 -- homeassistant/components/abode/camera.py | 2 -- homeassistant/components/abode/cover.py | 2 -- homeassistant/components/abode/light.py | 2 -- homeassistant/components/abode/lock.py | 2 -- homeassistant/components/abode/sensor.py | 2 -- homeassistant/components/abode/switch.py | 2 -- .../components/acer_projector/switch.py | 2 -- homeassistant/components/ads/__init__.py | 2 -- homeassistant/components/ads/binary_sensor.py | 2 -- homeassistant/components/ads/light.py | 1 - homeassistant/components/ads/sensor.py | 2 -- homeassistant/components/ads/switch.py | 2 -- homeassistant/components/aftership/sensor.py | 2 -- homeassistant/components/airvisual/sensor.py | 1 - .../components/aladdin_connect/cover.py | 2 -- .../components/alarmdecoder/__init__.py | 2 -- .../alarmdecoder/alarm_control_panel.py | 2 -- .../components/alarmdecoder/binary_sensor.py | 2 -- homeassistant/components/alarmdecoder/sensor.py | 2 -- .../alarmdotcom/alarm_control_panel.py | 2 -- homeassistant/components/alexa/__init__.py | 2 -- .../components/alpha_vantage/sensor.py | 2 -- homeassistant/components/amazon_polly/tts.py | 2 -- .../components/ambient_station/__init__.py | 2 -- .../components/ambient_station/binary_sensor.py | 2 -- .../components/ambient_station/sensor.py | 2 -- homeassistant/components/amcrest/__init__.py | 3 --- .../components/amcrest/binary_sensor.py | 2 -- homeassistant/components/amcrest/camera.py | 2 -- homeassistant/components/amcrest/sensor.py | 2 -- homeassistant/components/amcrest/switch.py | 2 -- homeassistant/components/ampio/air_quality.py | 2 -- .../components/android_ip_webcam/__init__.py | 2 -- .../android_ip_webcam/binary_sensor.py | 2 -- .../components/android_ip_webcam/sensor.py | 2 -- .../components/android_ip_webcam/switch.py | 2 -- .../components/androidtv/media_player.py | 2 -- homeassistant/components/anel_pwrctrl/switch.py | 2 -- .../components/anthemav/media_player.py | 2 -- homeassistant/components/apcupsd/__init__.py | 2 -- .../components/apcupsd/binary_sensor.py | 2 -- homeassistant/components/apcupsd/sensor.py | 2 -- homeassistant/components/api/__init__.py | 2 -- homeassistant/components/apns/notify.py | 2 -- homeassistant/components/apple_tv/__init__.py | 2 -- .../components/apple_tv/media_player.py | 2 -- homeassistant/components/apple_tv/remote.py | 2 -- homeassistant/components/aqualogic/__init__.py | 2 -- homeassistant/components/aqualogic/sensor.py | 2 -- homeassistant/components/aqualogic/switch.py | 2 -- .../components/aquostv/media_player.py | 2 -- homeassistant/components/arduino/__init__.py | 2 -- homeassistant/components/arduino/sensor.py | 2 -- homeassistant/components/arduino/switch.py | 2 -- homeassistant/components/arlo/__init__.py | 2 -- .../components/arlo/alarm_control_panel.py | 2 -- homeassistant/components/arlo/camera.py | 2 -- homeassistant/components/arlo/sensor.py | 2 -- .../components/aruba/device_tracker.py | 2 -- homeassistant/components/arwn/sensor.py | 1 - .../components/asterisk_cdr/mailbox.py | 2 -- .../components/asterisk_mbox/__init__.py | 2 -- .../components/asterisk_mbox/mailbox.py | 2 -- homeassistant/components/asuswrt/__init__.py | 2 -- .../components/asuswrt/device_tracker.py | 2 -- homeassistant/components/asuswrt/sensor.py | 2 -- homeassistant/components/august/__init__.py | 2 -- .../components/august/binary_sensor.py | 2 -- homeassistant/components/august/camera.py | 2 -- homeassistant/components/august/lock.py | 2 -- homeassistant/components/auth/__init__.py | 2 -- .../components/automatic/device_tracker.py | 4 ---- homeassistant/components/automation/__init__.py | 1 - homeassistant/components/automation/litejet.py | 2 -- homeassistant/components/automation/mqtt.py | 2 -- homeassistant/components/avion/light.py | 2 -- homeassistant/components/awair/sensor.py | 2 -- homeassistant/components/aws/__init__.py | 2 -- homeassistant/components/aws/notify.py | 2 -- homeassistant/components/axis/__init__.py | 2 -- homeassistant/components/axis/binary_sensor.py | 2 -- homeassistant/components/axis/camera.py | 2 -- homeassistant/components/baidu/tts.py | 2 -- homeassistant/components/bbb_gpio/__init__.py | 2 -- .../components/bbb_gpio/binary_sensor.py | 2 -- homeassistant/components/bbb_gpio/switch.py | 2 -- homeassistant/components/bbox/device_tracker.py | 2 -- homeassistant/components/bbox/sensor.py | 2 -- homeassistant/components/bh1750/sensor.py | 3 --- homeassistant/components/bitcoin/sensor.py | 2 -- .../components/blackbird/media_player.py | 2 -- homeassistant/components/blink/__init__.py | 2 -- .../components/blink/alarm_control_panel.py | 2 -- homeassistant/components/blink/binary_sensor.py | 2 -- homeassistant/components/blink/camera.py | 2 -- homeassistant/components/blink/sensor.py | 2 -- .../components/blinksticklight/light.py | 2 -- homeassistant/components/blinkt/light.py | 2 -- homeassistant/components/blockchain/sensor.py | 2 -- .../components/bloomsky/binary_sensor.py | 2 -- homeassistant/components/bloomsky/camera.py | 2 -- homeassistant/components/bloomsky/sensor.py | 2 -- .../components/bluesound/media_player.py | 2 -- .../bluetooth_le_tracker/device_tracker.py | 2 -- .../bluetooth_tracker/device_tracker.py | 2 -- homeassistant/components/bme280/sensor.py | 3 --- homeassistant/components/bme680/sensor.py | 3 --- .../components/bmw_connected_drive/__init__.py | 2 -- .../bmw_connected_drive/binary_sensor.py | 2 -- .../bmw_connected_drive/device_tracker.py | 2 -- .../components/bmw_connected_drive/lock.py | 2 -- .../components/bmw_connected_drive/sensor.py | 2 -- homeassistant/components/bom/camera.py | 2 -- .../components/braviatv/media_player.py | 2 -- homeassistant/components/broadlink/sensor.py | 2 -- homeassistant/components/broadlink/switch.py | 2 -- .../components/brottsplatskartan/sensor.py | 2 -- homeassistant/components/brunt/cover.py | 2 -- .../components/bt_home_hub_5/device_tracker.py | 2 -- .../components/bt_smarthub/device_tracker.py | 2 -- homeassistant/components/buienradar/sensor.py | 2 -- homeassistant/components/buienradar/weather.py | 2 -- homeassistant/components/caldav/calendar.py | 2 -- homeassistant/components/calendar/__init__.py | 2 -- homeassistant/components/camera/__init__.py | 2 -- homeassistant/components/canary/__init__.py | 2 -- .../components/canary/alarm_control_panel.py | 2 -- homeassistant/components/canary/camera.py | 2 -- homeassistant/components/canary/sensor.py | 2 -- homeassistant/components/cast/__init__.py | 2 -- .../components/channels/media_player.py | 2 -- .../components/cisco_ios/device_tracker.py | 2 -- .../cisco_mobility_express/device_tracker.py | 2 -- .../components/cisco_webex_teams/notify.py | 2 -- homeassistant/components/ciscospark/notify.py | 2 -- .../components/clementine/media_player.py | 2 -- homeassistant/components/cloud/__init__.py | 3 --- homeassistant/components/cloud/binary_sensor.py | 2 -- homeassistant/components/cloudflare/__init__.py | 2 -- homeassistant/components/cmus/media_player.py | 2 -- homeassistant/components/co2signal/sensor.py | 2 -- homeassistant/components/coinbase/__init__.py | 2 -- homeassistant/components/coinbase/sensor.py | 2 -- .../components/coinmarketcap/sensor.py | 2 -- .../components/comfoconnect/__init__.py | 2 -- homeassistant/components/comfoconnect/fan.py | 2 -- homeassistant/components/comfoconnect/sensor.py | 2 -- .../concord232/alarm_control_panel.py | 2 -- .../components/concord232/binary_sensor.py | 2 -- homeassistant/components/config/__init__.py | 1 - .../components/conversation/__init__.py | 1 - homeassistant/components/coolmaster/climate.py | 2 -- homeassistant/components/cover/__init__.py | 1 - .../components/cppm_tracker/device_tracker.py | 2 -- homeassistant/components/cpuspeed/sensor.py | 2 -- homeassistant/components/crimereports/sensor.py | 2 -- homeassistant/components/cups/sensor.py | 2 -- homeassistant/components/daikin/__init__.py | 2 -- .../components/danfoss_air/__init__.py | 2 -- homeassistant/components/darksky/sensor.py | 2 -- homeassistant/components/darksky/weather.py | 2 -- homeassistant/components/datadog/__init__.py | 2 -- homeassistant/components/deconz/__init__.py | 2 -- .../components/deconz/binary_sensor.py | 2 -- homeassistant/components/deconz/climate.py | 2 -- homeassistant/components/deconz/cover.py | 2 -- homeassistant/components/deconz/light.py | 2 -- homeassistant/components/deconz/scene.py | 2 -- homeassistant/components/deconz/sensor.py | 2 -- homeassistant/components/deconz/switch.py | 2 -- homeassistant/components/decora/light.py | 2 -- homeassistant/components/decora_wifi/light.py | 2 -- .../components/default_config/__init__.py | 17 ----------------- homeassistant/components/deluge/sensor.py | 2 -- homeassistant/components/deluge/switch.py | 2 -- homeassistant/components/demo/__init__.py | 1 - .../components/denonavr/media_player.py | 2 -- .../components/deutsche_bahn/sensor.py | 2 -- .../device_sun_light_trigger/__init__.py | 2 -- .../components/device_tracker/__init__.py | 2 -- homeassistant/components/dht/sensor.py | 2 -- homeassistant/components/dialogflow/__init__.py | 1 - .../components/digital_ocean/__init__.py | 2 -- .../components/digital_ocean/binary_sensor.py | 2 -- .../components/digital_ocean/switch.py | 2 -- .../components/digitalloggers/switch.py | 2 -- .../components/directv/media_player.py | 2 -- homeassistant/components/discogs/sensor.py | 2 -- homeassistant/components/discord/notify.py | 2 -- homeassistant/components/discovery/__init__.py | 2 -- .../dlib_face_detect/image_processing.py | 2 -- .../dlib_face_identify/image_processing.py | 2 -- homeassistant/components/dlink/switch.py | 2 -- .../components/dlna_dmr/media_player.py | 2 -- homeassistant/components/dnsip/sensor.py | 2 -- homeassistant/components/dominos/__init__.py | 4 ---- homeassistant/components/doorbird/__init__.py | 2 -- homeassistant/components/doorbird/camera.py | 2 -- homeassistant/components/doorbird/switch.py | 2 -- homeassistant/components/dovado/__init__.py | 2 -- homeassistant/components/dovado/notify.py | 2 -- homeassistant/components/dovado/sensor.py | 2 -- homeassistant/components/dsmr/sensor.py | 2 -- homeassistant/components/duke_energy/sensor.py | 2 -- homeassistant/components/dunehd/media_player.py | 2 -- homeassistant/components/dweet/__init__.py | 2 -- homeassistant/components/dweet/sensor.py | 2 -- homeassistant/components/dyson/__init__.py | 2 -- homeassistant/components/dyson/fan.py | 1 - homeassistant/components/dyson/sensor.py | 2 -- homeassistant/components/dyson/vacuum.py | 2 -- homeassistant/components/ebox/sensor.py | 2 -- homeassistant/components/ebusd/__init__.py | 2 -- homeassistant/components/ebusd/sensor.py | 2 -- .../components/ecoal_boiler/__init__.py | 2 -- homeassistant/components/ecoal_boiler/sensor.py | 2 -- homeassistant/components/ecoal_boiler/switch.py | 2 -- homeassistant/components/ecobee/__init__.py | 2 -- .../components/ecobee/binary_sensor.py | 2 -- homeassistant/components/ecobee/climate.py | 2 -- homeassistant/components/ecobee/notify.py | 2 -- homeassistant/components/ecobee/sensor.py | 2 -- homeassistant/components/ecobee/weather.py | 2 -- homeassistant/components/econet/water_heater.py | 2 -- homeassistant/components/ecovacs/__init__.py | 2 -- homeassistant/components/ecovacs/vacuum.py | 2 -- .../components/eddystone_temperature/sensor.py | 2 -- homeassistant/components/edimax/switch.py | 2 -- homeassistant/components/edp_redy/__init__.py | 2 -- homeassistant/components/edp_redy/sensor.py | 2 -- homeassistant/components/edp_redy/switch.py | 2 -- .../components/ee_brightbox/device_tracker.py | 2 -- homeassistant/components/egardia/__init__.py | 2 -- .../components/egardia/alarm_control_panel.py | 2 -- .../components/egardia/binary_sensor.py | 2 -- .../components/eight_sleep/__init__.py | 2 -- .../components/eight_sleep/binary_sensor.py | 2 -- homeassistant/components/eight_sleep/sensor.py | 2 -- homeassistant/components/eliqonline/sensor.py | 2 -- homeassistant/components/elkm1/__init__.py | 2 -- .../components/elkm1/alarm_control_panel.py | 2 -- homeassistant/components/elkm1/climate.py | 2 -- homeassistant/components/elkm1/light.py | 2 -- homeassistant/components/elkm1/scene.py | 2 -- homeassistant/components/elkm1/sensor.py | 2 -- homeassistant/components/elkm1/switch.py | 2 -- homeassistant/components/emby/media_player.py | 2 -- .../components/emulated_roku/__init__.py | 2 -- .../components/enigma2/media_player.py | 2 -- homeassistant/components/enocean/__init__.py | 2 -- .../components/enocean/binary_sensor.py | 1 - homeassistant/components/enocean/light.py | 2 -- homeassistant/components/enocean/sensor.py | 2 -- homeassistant/components/enocean/switch.py | 1 - .../components/enphase_envoy/sensor.py | 1 - .../components/entur_public_transport/sensor.py | 2 -- homeassistant/components/envirophat/sensor.py | 3 --- homeassistant/components/envisalink/__init__.py | 2 -- .../envisalink/alarm_control_panel.py | 2 -- .../components/envisalink/binary_sensor.py | 2 -- homeassistant/components/envisalink/sensor.py | 2 -- homeassistant/components/ephember/climate.py | 2 -- homeassistant/components/epson/media_player.py | 2 -- homeassistant/components/eq3btsmart/climate.py | 2 -- homeassistant/components/esphome/__init__.py | 2 -- .../components/esphome/binary_sensor.py | 1 - homeassistant/components/esphome/camera.py | 1 - homeassistant/components/esphome/climate.py | 1 - homeassistant/components/esphome/cover.py | 1 - homeassistant/components/esphome/fan.py | 1 - homeassistant/components/esphome/light.py | 1 - homeassistant/components/esphome/sensor.py | 1 - homeassistant/components/esphome/switch.py | 1 - homeassistant/components/etherscan/sensor.py | 2 -- homeassistant/components/eufy/__init__.py | 2 -- homeassistant/components/eufy/light.py | 2 -- homeassistant/components/eufy/switch.py | 2 -- homeassistant/components/everlights/light.py | 2 -- homeassistant/components/evohome/__init__.py | 2 -- homeassistant/components/familyhub/camera.py | 2 -- homeassistant/components/fan/__init__.py | 1 - homeassistant/components/fastdotcom/__init__.py | 2 -- homeassistant/components/fastdotcom/sensor.py | 2 -- homeassistant/components/fedex/sensor.py | 2 -- homeassistant/components/feedreader/__init__.py | 2 -- homeassistant/components/ffmpeg/__init__.py | 2 -- homeassistant/components/ffmpeg/camera.py | 2 -- .../components/ffmpeg_motion/binary_sensor.py | 2 -- .../components/ffmpeg_noise/binary_sensor.py | 2 -- homeassistant/components/fibaro/__init__.py | 2 -- .../components/fibaro/binary_sensor.py | 2 -- homeassistant/components/fibaro/climate.py | 2 -- homeassistant/components/fibaro/cover.py | 2 -- homeassistant/components/fibaro/light.py | 2 -- homeassistant/components/fibaro/scene.py | 2 -- homeassistant/components/fibaro/sensor.py | 1 - homeassistant/components/fibaro/switch.py | 1 - homeassistant/components/fido/sensor.py | 2 -- homeassistant/components/fints/sensor.py | 2 -- homeassistant/components/fitbit/sensor.py | 4 ---- homeassistant/components/fixer/sensor.py | 2 -- homeassistant/components/flexit/climate.py | 3 --- homeassistant/components/flic/binary_sensor.py | 2 -- homeassistant/components/flunearyou/sensor.py | 1 - homeassistant/components/flux/switch.py | 2 -- homeassistant/components/flux_led/light.py | 2 -- .../components/folder_watcher/__init__.py | 2 -- homeassistant/components/foobot/sensor.py | 2 -- homeassistant/components/foscam/camera.py | 2 -- homeassistant/components/foursquare/__init__.py | 1 - homeassistant/components/free_mobile/notify.py | 2 -- homeassistant/components/freebox/__init__.py | 2 -- .../components/freebox/device_tracker.py | 2 -- homeassistant/components/freebox/sensor.py | 2 -- homeassistant/components/freebox/switch.py | 2 -- .../components/fritz/device_tracker.py | 2 -- homeassistant/components/fritzbox/__init__.py | 2 -- .../components/fritzbox/binary_sensor.py | 2 -- homeassistant/components/fritzbox/climate.py | 2 -- homeassistant/components/fritzbox/sensor.py | 2 -- homeassistant/components/fritzbox/switch.py | 2 -- .../components/fritzbox_callmonitor/sensor.py | 2 -- .../components/fritzbox_netmonitor/sensor.py | 2 -- homeassistant/components/fritzdect/switch.py | 2 -- homeassistant/components/frontend/__init__.py | 5 ----- .../components/frontier_silicon/media_player.py | 2 -- homeassistant/components/futurenow/light.py | 2 -- homeassistant/components/gc100/__init__.py | 2 -- homeassistant/components/gc100/binary_sensor.py | 2 -- homeassistant/components/gc100/switch.py | 2 -- homeassistant/components/gearbest/sensor.py | 1 - homeassistant/components/geizhals/sensor.py | 2 -- .../components/generic_thermostat/climate.py | 2 -- .../components/geo_json_events/geo_location.py | 2 -- .../components/geo_rss_events/sensor.py | 2 -- homeassistant/components/geofency/__init__.py | 2 -- .../components/geofency/device_tracker.py | 2 -- homeassistant/components/github/sensor.py | 2 -- homeassistant/components/gitlab_ci/sensor.py | 2 -- homeassistant/components/gitter/sensor.py | 2 -- homeassistant/components/glances/sensor.py | 2 -- homeassistant/components/gntp/notify.py | 2 -- homeassistant/components/goalfeed/__init__.py | 1 - homeassistant/components/gogogate2/cover.py | 2 -- homeassistant/components/google/__init__.py | 6 ------ homeassistant/components/google/tts.py | 2 -- .../components/google_assistant/__init__.py | 2 -- .../components/google_maps/device_tracker.py | 2 -- .../components/google_pubsub/__init__.py | 2 -- .../components/google_travel_time/sensor.py | 2 -- homeassistant/components/googlehome/__init__.py | 2 -- .../components/googlehome/device_tracker.py | 2 -- homeassistant/components/googlehome/sensor.py | 2 -- homeassistant/components/gpmdp/media_player.py | 2 -- homeassistant/components/gpsd/sensor.py | 2 -- homeassistant/components/gpslogger/__init__.py | 2 -- .../components/gpslogger/device_tracker.py | 2 -- .../components/greeneye_monitor/__init__.py | 2 -- .../components/greeneye_monitor/sensor.py | 2 -- homeassistant/components/greenwave/light.py | 1 - .../components/gstreamer/media_player.py | 2 -- homeassistant/components/gtfs/sensor.py | 2 -- homeassistant/components/gtt/sensor.py | 2 -- homeassistant/components/habitica/__init__.py | 2 -- homeassistant/components/hangouts/__init__.py | 2 -- homeassistant/components/hangouts/notify.py | 2 -- .../harman_kardon_avr/media_player.py | 2 -- homeassistant/components/harmony/remote.py | 2 -- homeassistant/components/hassio/__init__.py | 1 - homeassistant/components/hdmi_cec/__init__.py | 2 -- .../components/hdmi_cec/media_player.py | 2 -- homeassistant/components/hdmi_cec/switch.py | 2 -- homeassistant/components/heatmiser/climate.py | 2 -- homeassistant/components/heos/__init__.py | 2 -- homeassistant/components/heos/media_player.py | 2 -- .../components/hikvision/binary_sensor.py | 1 - homeassistant/components/hikvisioncam/switch.py | 1 - homeassistant/components/hipchat/notify.py | 2 -- homeassistant/components/history/__init__.py | 2 -- .../components/history_graph/__init__.py | 2 -- .../components/history_stats/sensor.py | 2 -- homeassistant/components/hive/__init__.py | 2 -- homeassistant/components/hive/binary_sensor.py | 2 -- homeassistant/components/hive/climate.py | 2 -- homeassistant/components/hive/light.py | 2 -- homeassistant/components/hive/sensor.py | 2 -- homeassistant/components/hive/switch.py | 2 -- homeassistant/components/hlk_sw16/__init__.py | 2 -- homeassistant/components/hlk_sw16/switch.py | 2 -- homeassistant/components/homekit/__init__.py | 2 -- .../components/homekit_controller/__init__.py | 2 -- .../homekit_controller/alarm_control_panel.py | 2 -- .../homekit_controller/binary_sensor.py | 2 -- .../components/homekit_controller/climate.py | 2 -- .../components/homekit_controller/cover.py | 2 -- .../components/homekit_controller/light.py | 2 -- .../components/homekit_controller/lock.py | 2 -- .../components/homekit_controller/sensor.py | 2 -- .../components/homekit_controller/switch.py | 2 -- homeassistant/components/homematic/__init__.py | 2 -- .../components/homematic/binary_sensor.py | 2 -- homeassistant/components/homematic/climate.py | 2 -- homeassistant/components/homematic/cover.py | 2 -- homeassistant/components/homematic/light.py | 2 -- homeassistant/components/homematic/lock.py | 2 -- homeassistant/components/homematic/notify.py | 2 -- homeassistant/components/homematic/sensor.py | 2 -- homeassistant/components/homematic/switch.py | 2 -- .../components/homematicip_cloud/__init__.py | 2 -- .../homematicip_cloud/alarm_control_panel.py | 2 -- .../homematicip_cloud/binary_sensor.py | 2 -- .../components/homematicip_cloud/cover.py | 2 -- .../components/homematicip_cloud/light.py | 2 -- .../components/homematicip_cloud/sensor.py | 2 -- .../components/homematicip_cloud/switch.py | 2 -- .../components/homematicip_cloud/weather.py | 2 -- homeassistant/components/homeworks/__init__.py | 2 -- homeassistant/components/homeworks/light.py | 2 -- homeassistant/components/honeywell/climate.py | 2 -- .../components/horizon/media_player.py | 2 -- homeassistant/components/hp_ilo/sensor.py | 2 -- homeassistant/components/html5/notify.py | 4 ---- homeassistant/components/http/__init__.py | 2 -- homeassistant/components/htu21d/sensor.py | 3 --- homeassistant/components/huawei_lte/__init__.py | 2 -- .../components/huawei_lte/device_tracker.py | 2 -- homeassistant/components/huawei_lte/notify.py | 2 -- homeassistant/components/huawei_lte/sensor.py | 2 -- homeassistant/components/hue/__init__.py | 2 -- homeassistant/components/hue/light.py | 1 - .../components/hunterdouglas_powerview/scene.py | 2 -- homeassistant/components/hydrawise/__init__.py | 2 -- .../components/hydrawise/binary_sensor.py | 2 -- homeassistant/components/hydrawise/sensor.py | 2 -- homeassistant/components/hydrawise/switch.py | 2 -- homeassistant/components/hydroquebec/sensor.py | 2 -- .../components/ialarm/alarm_control_panel.py | 2 -- .../components/icloud/device_tracker.py | 2 -- .../components/idteck_prox/__init__.py | 2 -- homeassistant/components/ifttt/__init__.py | 3 --- .../components/ifttt/alarm_control_panel.py | 2 -- homeassistant/components/iglo/light.py | 2 -- homeassistant/components/ihc/__init__.py | 2 -- homeassistant/components/ihc/binary_sensor.py | 2 -- homeassistant/components/ihc/light.py | 2 -- homeassistant/components/ihc/sensor.py | 2 -- homeassistant/components/ihc/switch.py | 2 -- .../components/image_processing/__init__.py | 2 -- homeassistant/components/imap/sensor.py | 2 -- homeassistant/components/influxdb/__init__.py | 2 -- homeassistant/components/influxdb/sensor.py | 2 -- homeassistant/components/insteon/__init__.py | 2 -- .../components/insteon/binary_sensor.py | 2 -- homeassistant/components/insteon/cover.py | 1 - homeassistant/components/insteon/fan.py | 2 -- homeassistant/components/insteon/light.py | 2 -- homeassistant/components/insteon/sensor.py | 2 -- homeassistant/components/insteon/switch.py | 2 -- homeassistant/components/ios/__init__.py | 2 -- homeassistant/components/ios/notify.py | 2 -- homeassistant/components/ios/sensor.py | 2 -- homeassistant/components/iota/__init__.py | 2 -- homeassistant/components/iota/sensor.py | 2 -- homeassistant/components/iperf3/__init__.py | 2 -- homeassistant/components/iperf3/sensor.py | 2 -- homeassistant/components/ipma/weather.py | 2 -- .../components/irish_rail_transport/sensor.py | 2 -- .../components/islamic_prayer_times/sensor.py | 2 -- homeassistant/components/iss/binary_sensor.py | 2 -- homeassistant/components/isy994/__init__.py | 2 -- homeassistant/components/itach/remote.py | 2 -- .../components/jewish_calendar/sensor.py | 2 -- .../components/joaoapps_join/__init__.py | 2 -- .../components/joaoapps_join/notify.py | 2 -- homeassistant/components/juicenet/__init__.py | 2 -- homeassistant/components/juicenet/sensor.py | 2 -- .../components/keenetic_ndms2/device_tracker.py | 2 -- homeassistant/components/keyboard/__init__.py | 2 -- .../components/keyboard_remote/__init__.py | 2 -- homeassistant/components/kira/__init__.py | 2 -- homeassistant/components/kiwi/lock.py | 2 -- homeassistant/components/knx/__init__.py | 2 -- homeassistant/components/knx/binary_sensor.py | 2 -- homeassistant/components/knx/climate.py | 2 -- homeassistant/components/knx/cover.py | 2 -- homeassistant/components/knx/light.py | 2 -- homeassistant/components/knx/notify.py | 2 -- homeassistant/components/knx/scene.py | 2 -- homeassistant/components/knx/sensor.py | 2 -- homeassistant/components/knx/switch.py | 2 -- homeassistant/components/kodi/media_player.py | 2 -- homeassistant/components/kodi/notify.py | 2 -- homeassistant/components/konnected/__init__.py | 4 ---- .../components/konnected/binary_sensor.py | 2 -- homeassistant/components/konnected/sensor.py | 2 -- homeassistant/components/konnected/switch.py | 2 -- homeassistant/components/kwb/sensor.py | 2 -- homeassistant/components/lacrosse/sensor.py | 2 -- homeassistant/components/lametric/__init__.py | 2 -- homeassistant/components/lametric/notify.py | 4 ---- homeassistant/components/lastfm/sensor.py | 2 -- .../components/launch_library/sensor.py | 2 -- homeassistant/components/lcn/__init__.py | 2 -- homeassistant/components/lcn/binary_sensor.py | 2 -- homeassistant/components/lcn/cover.py | 2 -- homeassistant/components/lcn/light.py | 2 -- homeassistant/components/lcn/sensor.py | 2 -- homeassistant/components/lcn/switch.py | 2 -- .../components/lg_netcast/media_player.py | 2 -- .../components/lg_soundbar/media_player.py | 2 -- homeassistant/components/lifx/__init__.py | 2 -- homeassistant/components/lifx/light.py | 3 --- homeassistant/components/lifx_legacy/light.py | 2 -- homeassistant/components/light/__init__.py | 1 - homeassistant/components/lightwave/__init__.py | 2 -- homeassistant/components/lightwave/light.py | 2 -- homeassistant/components/lightwave/switch.py | 2 -- homeassistant/components/limitlessled/light.py | 2 -- .../components/linksys_ap/device_tracker.py | 2 -- homeassistant/components/linky/sensor.py | 1 - homeassistant/components/linode/__init__.py | 2 -- .../components/linode/binary_sensor.py | 2 -- homeassistant/components/linode/switch.py | 2 -- .../components/linux_battery/sensor.py | 2 -- homeassistant/components/lirc/__init__.py | 2 -- homeassistant/components/litejet/__init__.py | 2 -- homeassistant/components/litejet/light.py | 2 -- homeassistant/components/litejet/scene.py | 2 -- homeassistant/components/litejet/switch.py | 2 -- .../components/liveboxplaytv/media_player.py | 2 -- homeassistant/components/locative/__init__.py | 2 -- .../components/locative/device_tracker.py | 2 -- homeassistant/components/lock/__init__.py | 1 - homeassistant/components/logbook/__init__.py | 2 -- .../components/logi_circle/__init__.py | 2 -- homeassistant/components/logi_circle/camera.py | 2 -- homeassistant/components/logi_circle/sensor.py | 2 -- .../components/london_underground/sensor.py | 2 -- homeassistant/components/loopenergy/sensor.py | 2 -- homeassistant/components/luci/device_tracker.py | 2 -- homeassistant/components/luftdaten/__init__.py | 2 -- homeassistant/components/luftdaten/sensor.py | 2 -- homeassistant/components/lupusec/__init__.py | 2 -- .../components/lupusec/alarm_control_panel.py | 2 -- .../components/lupusec/binary_sensor.py | 2 -- homeassistant/components/lupusec/switch.py | 2 -- homeassistant/components/lutron/__init__.py | 2 -- homeassistant/components/lutron/cover.py | 2 -- homeassistant/components/lutron/light.py | 2 -- homeassistant/components/lutron/scene.py | 2 -- homeassistant/components/lutron/switch.py | 2 -- .../components/lutron_caseta/__init__.py | 2 -- homeassistant/components/lutron_caseta/cover.py | 2 -- homeassistant/components/lutron_caseta/light.py | 2 -- homeassistant/components/lutron_caseta/scene.py | 2 -- .../components/lutron_caseta/switch.py | 2 -- homeassistant/components/lw12wifi/light.py | 2 -- homeassistant/components/lyft/sensor.py | 2 -- homeassistant/components/magicseaweed/sensor.py | 2 -- homeassistant/components/mailbox/__init__.py | 1 - homeassistant/components/mailgun/__init__.py | 1 - homeassistant/components/mailgun/notify.py | 4 ---- .../manual_mqtt/alarm_control_panel.py | 2 -- homeassistant/components/mastodon/notify.py | 2 -- homeassistant/components/matrix/__init__.py | 2 -- homeassistant/components/matrix/notify.py | 2 -- homeassistant/components/maxcube/__init__.py | 2 -- .../components/media_extractor/__init__.py | 3 --- .../components/media_player/__init__.py | 2 -- .../components/mediaroom/media_player.py | 2 -- homeassistant/components/melissa/__init__.py | 2 -- homeassistant/components/melissa/climate.py | 2 -- .../components/meraki/device_tracker.py | 1 - homeassistant/components/message_bird/notify.py | 2 -- homeassistant/components/met/weather.py | 2 -- .../components/meteo_france/__init__.py | 2 -- homeassistant/components/metoffice/sensor.py | 2 -- homeassistant/components/metoffice/weather.py | 2 -- homeassistant/components/mfi/sensor.py | 2 -- homeassistant/components/mfi/switch.py | 2 -- homeassistant/components/mhz19/sensor.py | 2 -- homeassistant/components/microsoft/tts.py | 2 -- .../components/microsoft_face/__init__.py | 1 - .../microsoft_face_detect/image_processing.py | 2 -- .../microsoft_face_identify/image_processing.py | 2 -- homeassistant/components/miflora/sensor.py | 2 -- .../components/mikrotik/device_tracker.py | 2 -- homeassistant/components/mill/climate.py | 2 -- homeassistant/components/mitemp_bt/sensor.py | 2 -- homeassistant/components/mobile_app/__init__.py | 4 ---- .../components/mobile_app/binary_sensor.py | 2 -- homeassistant/components/mobile_app/notify.py | 2 -- homeassistant/components/mobile_app/sensor.py | 2 -- homeassistant/components/mochad/__init__.py | 2 -- homeassistant/components/mochad/light.py | 2 -- homeassistant/components/mochad/switch.py | 2 -- homeassistant/components/modbus/__init__.py | 2 -- .../components/modbus/binary_sensor.py | 2 -- homeassistant/components/modbus/climate.py | 2 -- homeassistant/components/modbus/sensor.py | 2 -- homeassistant/components/modbus/switch.py | 2 -- .../components/modem_callerid/sensor.py | 2 -- .../components/monoprice/media_player.py | 2 -- homeassistant/components/mopar/__init__.py | 2 -- homeassistant/components/mopar/lock.py | 2 -- homeassistant/components/mopar/sensor.py | 1 - homeassistant/components/mopar/switch.py | 2 -- homeassistant/components/mpd/media_player.py | 2 -- homeassistant/components/mqtt/__init__.py | 2 -- .../components/mqtt/alarm_control_panel.py | 2 -- homeassistant/components/mqtt/binary_sensor.py | 2 -- homeassistant/components/mqtt/camera.py | 2 -- homeassistant/components/mqtt/climate.py | 2 -- homeassistant/components/mqtt/cover.py | 2 -- homeassistant/components/mqtt/device_tracker.py | 2 -- homeassistant/components/mqtt/fan.py | 2 -- homeassistant/components/mqtt/light/__init__.py | 2 -- .../components/mqtt/light/schema_basic.py | 2 -- .../components/mqtt/light/schema_json.py | 2 -- .../components/mqtt/light/schema_template.py | 2 -- homeassistant/components/mqtt/lock.py | 2 -- homeassistant/components/mqtt/sensor.py | 2 -- homeassistant/components/mqtt/server.py | 4 ---- homeassistant/components/mqtt/switch.py | 2 -- homeassistant/components/mqtt/vacuum.py | 2 -- .../components/mqtt_eventstream/__init__.py | 2 -- .../components/mqtt_json/device_tracker.py | 2 -- homeassistant/components/mqtt_room/sensor.py | 2 -- .../components/mqtt_statestream/__init__.py | 1 - homeassistant/components/mvglive/sensor.py | 2 -- homeassistant/components/mychevy/__init__.py | 2 -- homeassistant/components/mycroft/__init__.py | 2 -- homeassistant/components/mycroft/notify.py | 2 -- homeassistant/components/myq/cover.py | 1 - homeassistant/components/mysensors/__init__.py | 2 -- .../components/mystrom/binary_sensor.py | 2 -- homeassistant/components/mystrom/light.py | 2 -- homeassistant/components/mystrom/switch.py | 2 -- .../components/mythicbeastsdns/__init__.py | 2 -- homeassistant/components/n26/__init__.py | 2 -- homeassistant/components/n26/sensor.py | 2 -- homeassistant/components/n26/switch.py | 2 -- homeassistant/components/nad/media_player.py | 2 -- .../components/namecheapdns/__init__.py | 2 -- homeassistant/components/nanoleaf/light.py | 2 -- homeassistant/components/neato/__init__.py | 2 -- homeassistant/components/neato/camera.py | 2 -- homeassistant/components/neato/switch.py | 2 -- homeassistant/components/neato/vacuum.py | 2 -- .../components/nederlandse_spoorwegen/sensor.py | 2 -- homeassistant/components/nello/lock.py | 2 -- homeassistant/components/ness_alarm/__init__.py | 2 -- .../ness_alarm/alarm_control_panel.py | 2 -- .../components/ness_alarm/binary_sensor.py | 1 - homeassistant/components/nest/__init__.py | 2 -- homeassistant/components/nest/binary_sensor.py | 2 -- homeassistant/components/nest/camera.py | 2 -- homeassistant/components/nest/climate.py | 1 - homeassistant/components/nest/sensor.py | 2 -- homeassistant/components/netatmo/__init__.py | 3 --- .../components/netatmo/binary_sensor.py | 2 -- homeassistant/components/netatmo/camera.py | 2 -- homeassistant/components/netatmo/climate.py | 2 -- homeassistant/components/netatmo/sensor.py | 2 -- .../components/netatmo_public/sensor.py | 2 -- homeassistant/components/netdata/sensor.py | 2 -- .../components/netgear/device_tracker.py | 2 -- .../components/netgear_lte/__init__.py | 2 -- .../components/netgear_lte/binary_sensor.py | 2 -- homeassistant/components/netgear_lte/notify.py | 2 -- homeassistant/components/netgear_lte/sensor.py | 2 -- homeassistant/components/netio/switch.py | 3 --- .../components/neurio_energy/sensor.py | 2 -- .../components/niko_home_control/light.py | 2 -- homeassistant/components/nilu/air_quality.py | 2 -- .../components/nissan_leaf/__init__.py | 2 -- .../components/nissan_leaf/binary_sensor.py | 2 -- .../components/nissan_leaf/device_tracker.py | 2 -- homeassistant/components/nissan_leaf/sensor.py | 2 -- homeassistant/components/nissan_leaf/switch.py | 2 -- .../components/nmap_tracker/device_tracker.py | 2 -- homeassistant/components/nmbs/sensor.py | 2 -- homeassistant/components/noaa_tides/sensor.py | 2 -- .../components/norway_air/air_quality.py | 2 -- .../components/nsw_fuel_station/sensor.py | 2 -- .../nsw_rural_fire_service_feed/geo_location.py | 2 -- homeassistant/components/nuheat/__init__.py | 2 -- homeassistant/components/nuheat/climate.py | 2 -- .../components/nuimo_controller/__init__.py | 4 ---- homeassistant/components/nuki/lock.py | 2 -- homeassistant/components/nut/sensor.py | 2 -- .../components/nx584/alarm_control_panel.py | 2 -- homeassistant/components/nx584/binary_sensor.py | 2 -- .../components/oasa_telematics/sensor.py | 1 - .../components/octoprint/binary_sensor.py | 2 -- homeassistant/components/octoprint/sensor.py | 2 -- homeassistant/components/oem/climate.py | 2 -- homeassistant/components/ohmconnect/sensor.py | 2 -- homeassistant/components/onboarding/__init__.py | 2 -- homeassistant/components/onkyo/media_player.py | 2 -- homeassistant/components/onvif/camera.py | 4 ---- .../components/opencv/image_processing.py | 2 -- homeassistant/components/openevse/sensor.py | 2 -- .../components/openhome/media_player.py | 2 -- .../components/opensensemap/air_quality.py | 2 -- .../components/opentherm_gw/__init__.py | 2 -- .../components/opentherm_gw/binary_sensor.py | 2 -- .../components/opentherm_gw/climate.py | 2 -- homeassistant/components/opentherm_gw/sensor.py | 2 -- homeassistant/components/openuv/__init__.py | 2 -- .../components/openuv/binary_sensor.py | 2 -- homeassistant/components/openuv/sensor.py | 2 -- .../components/openweathermap/sensor.py | 2 -- .../components/openweathermap/weather.py | 2 -- homeassistant/components/opple/light.py | 2 -- homeassistant/components/orvibo/switch.py | 2 -- homeassistant/components/osramlightify/light.py | 2 -- homeassistant/components/otp/sensor.py | 2 -- homeassistant/components/owlet/__init__.py | 2 -- homeassistant/components/owntracks/__init__.py | 4 ---- .../components/owntracks/device_tracker.py | 2 -- .../components/panasonic_bluray/media_player.py | 2 -- .../components/panasonic_viera/media_player.py | 2 -- .../components/pandora/media_player.py | 1 - .../components/panel_custom/__init__.py | 2 -- .../components/panel_iframe/__init__.py | 2 -- homeassistant/components/pencom/switch.py | 2 -- .../components/philips_js/media_player.py | 2 -- homeassistant/components/pi_hole/sensor.py | 2 -- homeassistant/components/piglow/light.py | 2 -- homeassistant/components/pilight/__init__.py | 2 -- .../components/pilight/binary_sensor.py | 2 -- homeassistant/components/pilight/sensor.py | 2 -- homeassistant/components/pilight/switch.py | 2 -- homeassistant/components/pjlink/media_player.py | 2 -- homeassistant/components/plant/__init__.py | 2 -- homeassistant/components/plex/media_player.py | 2 -- homeassistant/components/plex/sensor.py | 2 -- .../components/plum_lightpad/__init__.py | 2 -- homeassistant/components/plum_lightpad/light.py | 2 -- homeassistant/components/pocketcasts/sensor.py | 2 -- homeassistant/components/point/__init__.py | 4 ---- homeassistant/components/pollen/sensor.py | 2 -- homeassistant/components/postnl/sensor.py | 2 -- .../components/prezzibenzina/sensor.py | 2 -- homeassistant/components/proliphix/climate.py | 2 -- homeassistant/components/prometheus/__init__.py | 4 ---- homeassistant/components/proximity/__init__.py | 1 - homeassistant/components/proxy/camera.py | 2 -- homeassistant/components/ps4/__init__.py | 2 -- homeassistant/components/ps4/media_player.py | 2 -- homeassistant/components/push/camera.py | 2 -- homeassistant/components/pushbullet/notify.py | 2 -- homeassistant/components/pushbullet/sensor.py | 2 -- homeassistant/components/pushetta/notify.py | 2 -- homeassistant/components/pushover/notify.py | 1 - .../components/python_script/__init__.py | 2 -- homeassistant/components/qbittorrent/sensor.py | 2 -- homeassistant/components/qnap/sensor.py | 2 -- .../components/qrcode/image_processing.py | 2 -- .../quantum_gateway/device_tracker.py | 2 -- homeassistant/components/qwikswitch/__init__.py | 2 -- .../components/qwikswitch/binary_sensor.py | 2 -- homeassistant/components/qwikswitch/light.py | 2 -- homeassistant/components/qwikswitch/sensor.py | 2 -- homeassistant/components/qwikswitch/switch.py | 2 -- homeassistant/components/rachio/__init__.py | 2 -- .../components/rachio/binary_sensor.py | 2 -- homeassistant/components/rachio/switch.py | 2 -- homeassistant/components/radiotherm/climate.py | 2 -- homeassistant/components/rainbird/__init__.py | 2 -- homeassistant/components/rainbird/sensor.py | 2 -- homeassistant/components/rainbird/switch.py | 2 -- homeassistant/components/raincloud/__init__.py | 2 -- .../components/raincloud/binary_sensor.py | 2 -- homeassistant/components/raincloud/sensor.py | 2 -- homeassistant/components/raincloud/switch.py | 2 -- .../components/rainmachine/__init__.py | 2 -- .../components/rainmachine/binary_sensor.py | 1 - homeassistant/components/rainmachine/sensor.py | 1 - homeassistant/components/rainmachine/switch.py | 2 -- homeassistant/components/raspihats/__init__.py | 2 -- .../components/raspihats/binary_sensor.py | 2 -- homeassistant/components/raspihats/switch.py | 2 -- homeassistant/components/raspyrfm/switch.py | 1 - .../components/recollect_waste/sensor.py | 2 -- homeassistant/components/recorder/__init__.py | 2 -- homeassistant/components/recswitch/switch.py | 2 -- homeassistant/components/reddit/sensor.py | 2 -- homeassistant/components/rejseplanen/sensor.py | 1 - .../components/remember_the_milk/__init__.py | 2 -- homeassistant/components/remote/__init__.py | 1 - homeassistant/components/rflink/__init__.py | 2 -- .../components/rflink/binary_sensor.py | 2 -- homeassistant/components/rflink/cover.py | 2 -- homeassistant/components/rflink/light.py | 2 -- homeassistant/components/rflink/sensor.py | 2 -- homeassistant/components/rflink/switch.py | 2 -- homeassistant/components/rfxtrx/__init__.py | 2 -- .../components/rfxtrx/binary_sensor.py | 2 -- homeassistant/components/rfxtrx/cover.py | 2 -- homeassistant/components/rfxtrx/light.py | 2 -- homeassistant/components/rfxtrx/sensor.py | 2 -- homeassistant/components/rfxtrx/switch.py | 2 -- homeassistant/components/ring/__init__.py | 2 -- homeassistant/components/ring/binary_sensor.py | 2 -- homeassistant/components/ring/camera.py | 2 -- homeassistant/components/ring/sensor.py | 2 -- homeassistant/components/ripple/sensor.py | 2 -- .../components/ritassist/device_tracker.py | 2 -- homeassistant/components/rmvtransport/sensor.py | 2 -- homeassistant/components/rocketchat/notify.py | 2 -- homeassistant/components/roku/__init__.py | 2 -- homeassistant/components/roku/media_player.py | 2 -- homeassistant/components/roku/remote.py | 2 -- homeassistant/components/roomba/vacuum.py | 2 -- homeassistant/components/route53/__init__.py | 2 -- homeassistant/components/rova/sensor.py | 2 -- homeassistant/components/rpi_gpio/__init__.py | 2 -- .../components/rpi_gpio/binary_sensor.py | 2 -- homeassistant/components/rpi_gpio/cover.py | 2 -- homeassistant/components/rpi_gpio/switch.py | 2 -- homeassistant/components/rpi_gpio_pwm/light.py | 2 -- homeassistant/components/rpi_pfio/__init__.py | 2 -- .../components/rpi_pfio/binary_sensor.py | 2 -- homeassistant/components/rpi_pfio/switch.py | 2 -- homeassistant/components/rpi_rf/switch.py | 2 -- .../components/rss_feed_template/__init__.py | 2 -- .../components/russound_rio/media_player.py | 2 -- .../components/russound_rnet/media_player.py | 2 -- homeassistant/components/ruter/sensor.py | 2 -- homeassistant/components/sabnzbd/__init__.py | 2 -- homeassistant/components/sabnzbd/sensor.py | 2 -- .../components/samsungtv/media_player.py | 2 -- .../components/satel_integra/__init__.py | 2 -- .../satel_integra/alarm_control_panel.py | 2 -- .../components/satel_integra/binary_sensor.py | 2 -- homeassistant/components/scrape/sensor.py | 2 -- homeassistant/components/script/__init__.py | 2 -- homeassistant/components/scsgate/__init__.py | 2 -- homeassistant/components/scsgate/cover.py | 2 -- homeassistant/components/scsgate/light.py | 2 -- homeassistant/components/scsgate/switch.py | 2 -- homeassistant/components/season/sensor.py | 2 -- homeassistant/components/sendgrid/notify.py | 2 -- homeassistant/components/sense/__init__.py | 2 -- homeassistant/components/sense/binary_sensor.py | 2 -- homeassistant/components/sense/sensor.py | 2 -- homeassistant/components/sensehat/light.py | 2 -- homeassistant/components/sensehat/sensor.py | 2 -- homeassistant/components/sensibo/climate.py | 2 -- homeassistant/components/serial/sensor.py | 2 -- homeassistant/components/serial_pm/sensor.py | 2 -- homeassistant/components/sesame/lock.py | 2 -- .../components/seventeentrack/sensor.py | 1 - homeassistant/components/shiftr/__init__.py | 2 -- homeassistant/components/shodan/sensor.py | 2 -- .../components/shopping_list/__init__.py | 1 - homeassistant/components/sht31/sensor.py | 3 --- homeassistant/components/simplepush/notify.py | 2 -- homeassistant/components/simplisafe/__init__.py | 2 -- homeassistant/components/sisyphus/__init__.py | 2 -- homeassistant/components/sisyphus/light.py | 2 -- .../components/sisyphus/media_player.py | 2 -- homeassistant/components/skybeacon/sensor.py | 2 -- homeassistant/components/skybell/__init__.py | 2 -- .../components/skybell/binary_sensor.py | 2 -- homeassistant/components/skybell/camera.py | 2 -- homeassistant/components/skybell/light.py | 2 -- homeassistant/components/skybell/sensor.py | 2 -- homeassistant/components/skybell/switch.py | 2 -- homeassistant/components/slack/notify.py | 2 -- homeassistant/components/sleepiq/__init__.py | 2 -- .../components/sleepiq/binary_sensor.py | 2 -- homeassistant/components/sleepiq/sensor.py | 1 - homeassistant/components/sma/sensor.py | 2 -- homeassistant/components/smappee/__init__.py | 2 -- homeassistant/components/smappee/sensor.py | 2 -- homeassistant/components/smappee/switch.py | 2 -- .../components/smartthings/__init__.py | 3 --- .../components/smartthings/binary_sensor.py | 2 -- homeassistant/components/smartthings/climate.py | 2 -- homeassistant/components/smartthings/cover.py | 2 -- homeassistant/components/smartthings/fan.py | 2 -- homeassistant/components/smartthings/light.py | 2 -- homeassistant/components/smartthings/lock.py | 2 -- homeassistant/components/smartthings/scene.py | 2 -- homeassistant/components/smartthings/sensor.py | 2 -- homeassistant/components/smartthings/switch.py | 2 -- homeassistant/components/smhi/__init__.py | 2 -- homeassistant/components/smhi/weather.py | 2 -- .../components/snapcast/media_player.py | 2 -- homeassistant/components/snips/__init__.py | 2 -- homeassistant/components/snmp/device_tracker.py | 2 -- homeassistant/components/snmp/sensor.py | 2 -- homeassistant/components/snmp/switch.py | 2 -- homeassistant/components/sochain/sensor.py | 2 -- homeassistant/components/socialblade/sensor.py | 2 -- homeassistant/components/solaredge/sensor.py | 2 -- .../components/somfy_mylink/__init__.py | 1 - homeassistant/components/somfy_mylink/cover.py | 2 -- .../components/songpal/media_player.py | 2 -- homeassistant/components/sonos/__init__.py | 2 -- .../components/sony_projector/switch.py | 2 -- .../components/soundtouch/media_player.py | 2 -- homeassistant/components/spaceapi/__init__.py | 1 - homeassistant/components/spc/__init__.py | 2 -- .../components/speedtestdotnet/__init__.py | 2 -- .../components/speedtestdotnet/sensor.py | 2 -- homeassistant/components/spider/__init__.py | 2 -- homeassistant/components/spider/climate.py | 2 -- homeassistant/components/spider/switch.py | 2 -- homeassistant/components/spotcrime/sensor.py | 2 -- .../components/spotify/media_player.py | 3 --- homeassistant/components/sql/sensor.py | 2 -- homeassistant/components/srp_energy/sensor.py | 2 -- homeassistant/components/starlingbank/sensor.py | 2 -- homeassistant/components/startca/sensor.py | 2 -- homeassistant/components/statsd/__init__.py | 2 -- homeassistant/components/steam_online/sensor.py | 2 -- homeassistant/components/stream/__init__.py | 4 ---- homeassistant/components/stride/notify.py | 2 -- .../swiss_hydrological_data/sensor.py | 2 -- .../components/swiss_public_transport/sensor.py | 2 -- homeassistant/components/switch/__init__.py | 1 - homeassistant/components/switchbot/switch.py | 2 -- homeassistant/components/switchmate/switch.py | 2 -- homeassistant/components/syncthru/sensor.py | 2 -- homeassistant/components/synology/camera.py | 2 -- .../components/synology_srm/device_tracker.py | 2 -- homeassistant/components/synologydsm/sensor.py | 2 -- .../components/system_health/__init__.py | 1 - homeassistant/components/system_log/__init__.py | 1 - .../components/systemmonitor/sensor.py | 2 -- homeassistant/components/sytadin/sensor.py | 2 -- homeassistant/components/tado/__init__.py | 2 -- homeassistant/components/tahoma/__init__.py | 2 -- .../components/tahoma/binary_sensor.py | 2 -- homeassistant/components/tahoma/cover.py | 2 -- homeassistant/components/tahoma/scene.py | 2 -- homeassistant/components/tahoma/sensor.py | 2 -- homeassistant/components/tahoma/switch.py | 2 -- homeassistant/components/tank_utility/sensor.py | 4 ---- .../components/tapsaff/binary_sensor.py | 2 -- homeassistant/components/tautulli/sensor.py | 2 -- homeassistant/components/ted5000/sensor.py | 2 -- homeassistant/components/telegram/notify.py | 2 -- .../components/telegram_bot/__init__.py | 2 -- .../components/telegram_bot/webhooks.py | 2 -- .../components/tellduslive/__init__.py | 2 -- homeassistant/components/tellstick/__init__.py | 2 -- homeassistant/components/tellstick/sensor.py | 2 -- homeassistant/components/temper/sensor.py | 2 -- .../components/tensorflow/image_processing.py | 2 -- homeassistant/components/tesla/__init__.py | 2 -- homeassistant/components/tesla/binary_sensor.py | 2 -- homeassistant/components/tesla/climate.py | 2 -- .../components/tesla/device_tracker.py | 2 -- homeassistant/components/tesla/lock.py | 2 -- homeassistant/components/tesla/sensor.py | 2 -- homeassistant/components/tesla/switch.py | 2 -- homeassistant/components/tfiac/climate.py | 2 -- .../components/thermoworks_smoke/sensor.py | 2 -- .../components/thethingsnetwork/sensor.py | 2 -- homeassistant/components/thingspeak/__init__.py | 2 -- .../components/thinkingcleaner/sensor.py | 2 -- .../components/thinkingcleaner/switch.py | 2 -- homeassistant/components/tibber/__init__.py | 2 -- homeassistant/components/tikteck/light.py | 2 -- homeassistant/components/tile/device_tracker.py | 2 -- homeassistant/components/todoist/calendar.py | 2 -- homeassistant/components/tof/sensor.py | 4 ---- homeassistant/components/toon/__init__.py | 2 -- homeassistant/components/toon/binary_sensor.py | 2 -- homeassistant/components/toon/climate.py | 2 -- homeassistant/components/toon/sensor.py | 2 -- homeassistant/components/torque/sensor.py | 1 - .../totalconnect/alarm_control_panel.py | 2 -- homeassistant/components/touchline/climate.py | 2 -- homeassistant/components/tplink/__init__.py | 2 -- .../components/tplink/device_tracker.py | 2 -- homeassistant/components/tplink/light.py | 2 -- homeassistant/components/tplink/switch.py | 2 -- homeassistant/components/tplink_lte/__init__.py | 2 -- homeassistant/components/tplink_lte/notify.py | 2 -- .../components/traccar/device_tracker.py | 2 -- .../components/trackr/device_tracker.py | 2 -- homeassistant/components/tradfri/__init__.py | 2 -- homeassistant/components/tradfri/light.py | 1 - homeassistant/components/tradfri/sensor.py | 2 -- homeassistant/components/tradfri/switch.py | 1 - .../trafikverket_weatherstation/sensor.py | 2 -- .../components/transmission/__init__.py | 2 -- homeassistant/components/transmission/sensor.py | 2 -- homeassistant/components/transmission/switch.py | 2 -- .../components/transport_nsw/sensor.py | 2 -- homeassistant/components/travisci/sensor.py | 2 -- homeassistant/components/trend/binary_sensor.py | 2 -- homeassistant/components/tts/__init__.py | 3 --- homeassistant/components/tuya/__init__.py | 2 -- homeassistant/components/tuya/climate.py | 1 - homeassistant/components/tuya/cover.py | 2 -- homeassistant/components/tuya/fan.py | 2 -- homeassistant/components/tuya/light.py | 2 -- homeassistant/components/tuya/scene.py | 2 -- homeassistant/components/tuya/switch.py | 2 -- homeassistant/components/twilio/__init__.py | 3 --- homeassistant/components/twilio_call/notify.py | 2 -- homeassistant/components/twilio_sms/notify.py | 2 -- homeassistant/components/twitch/sensor.py | 2 -- homeassistant/components/twitter/notify.py | 2 -- homeassistant/components/ubee/device_tracker.py | 2 -- homeassistant/components/uber/sensor.py | 2 -- homeassistant/components/unifi/__init__.py | 2 -- .../components/unifi/device_tracker.py | 2 -- homeassistant/components/unifi/switch.py | 1 - .../components/unifi_direct/device_tracker.py | 2 -- .../components/upc_connect/device_tracker.py | 2 -- homeassistant/components/upcloud/__init__.py | 2 -- .../components/upcloud/binary_sensor.py | 2 -- homeassistant/components/upcloud/switch.py | 2 -- homeassistant/components/updater/__init__.py | 2 -- homeassistant/components/upnp/__init__.py | 2 -- homeassistant/components/upnp/sensor.py | 2 -- homeassistant/components/ups/sensor.py | 2 -- .../components/uptimerobot/binary_sensor.py | 2 -- homeassistant/components/uscis/sensor.py | 2 -- .../usgs_earthquakes_feed/geo_location.py | 2 -- homeassistant/components/usps/__init__.py | 2 -- homeassistant/components/usps/camera.py | 2 -- homeassistant/components/usps/sensor.py | 2 -- homeassistant/components/uvc/camera.py | 2 -- homeassistant/components/vacuum/__init__.py | 2 -- homeassistant/components/vasttrafik/sensor.py | 2 -- homeassistant/components/velbus/__init__.py | 2 -- .../components/velbus/binary_sensor.py | 2 -- homeassistant/components/velbus/climate.py | 2 -- homeassistant/components/velbus/cover.py | 2 -- homeassistant/components/velbus/sensor.py | 2 -- homeassistant/components/velbus/switch.py | 2 -- homeassistant/components/velux/__init__.py | 2 -- homeassistant/components/velux/cover.py | 2 -- homeassistant/components/velux/scene.py | 2 -- homeassistant/components/venstar/climate.py | 2 -- homeassistant/components/vera/__init__.py | 2 -- homeassistant/components/vera/binary_sensor.py | 2 -- homeassistant/components/vera/climate.py | 2 -- homeassistant/components/vera/cover.py | 2 -- homeassistant/components/vera/light.py | 2 -- homeassistant/components/vera/lock.py | 2 -- homeassistant/components/vera/scene.py | 2 -- homeassistant/components/vera/sensor.py | 2 -- homeassistant/components/vera/switch.py | 2 -- homeassistant/components/verisure/__init__.py | 2 -- homeassistant/components/version/sensor.py | 2 -- homeassistant/components/vesync/switch.py | 2 -- homeassistant/components/vizio/media_player.py | 2 -- homeassistant/components/vlc/media_player.py | 2 -- homeassistant/components/volkszaehler/sensor.py | 2 -- .../components/volvooncall/__init__.py | 2 -- homeassistant/components/vultr/__init__.py | 2 -- homeassistant/components/vultr/binary_sensor.py | 2 -- homeassistant/components/vultr/sensor.py | 2 -- homeassistant/components/vultr/switch.py | 2 -- homeassistant/components/w800rf32/__init__.py | 2 -- .../components/w800rf32/binary_sensor.py | 1 - .../components/wake_on_lan/__init__.py | 2 -- homeassistant/components/wake_on_lan/switch.py | 2 -- homeassistant/components/waqi/sensor.py | 2 -- .../components/waterfurnace/__init__.py | 2 -- homeassistant/components/watson_iot/__init__.py | 2 -- .../components/waze_travel_time/sensor.py | 2 -- homeassistant/components/webhook/__init__.py | 2 -- .../components/webostv/media_player.py | 2 -- homeassistant/components/webostv/notify.py | 2 -- homeassistant/components/wemo/__init__.py | 2 -- homeassistant/components/wemo/binary_sensor.py | 2 -- homeassistant/components/wemo/fan.py | 1 - homeassistant/components/wemo/light.py | 2 -- homeassistant/components/wemo/switch.py | 1 - homeassistant/components/whois/sensor.py | 2 -- homeassistant/components/wink/__init__.py | 2 -- .../components/wink/alarm_control_panel.py | 2 -- homeassistant/components/wink/binary_sensor.py | 2 -- homeassistant/components/wink/climate.py | 2 -- homeassistant/components/wink/cover.py | 2 -- homeassistant/components/wink/fan.py | 2 -- homeassistant/components/wink/light.py | 2 -- homeassistant/components/wink/lock.py | 2 -- homeassistant/components/wink/scene.py | 2 -- homeassistant/components/wink/sensor.py | 2 -- homeassistant/components/wink/switch.py | 2 -- .../components/wirelesstag/__init__.py | 2 -- .../components/wirelesstag/binary_sensor.py | 2 -- homeassistant/components/wirelesstag/sensor.py | 2 -- homeassistant/components/wirelesstag/switch.py | 2 -- .../components/workday/binary_sensor.py | 2 -- homeassistant/components/wunderlist/__init__.py | 2 -- homeassistant/components/xbox_live/sensor.py | 2 -- homeassistant/components/xeoma/camera.py | 2 -- .../components/xfinity/device_tracker.py | 2 -- homeassistant/components/xiaomi/camera.py | 1 - .../components/xiaomi_aqara/__init__.py | 2 -- .../components/xiaomi_miio/device_tracker.py | 2 -- homeassistant/components/xiaomi_miio/fan.py | 2 -- homeassistant/components/xiaomi_miio/light.py | 2 -- homeassistant/components/xiaomi_miio/remote.py | 2 -- homeassistant/components/xiaomi_miio/sensor.py | 2 -- homeassistant/components/xiaomi_miio/switch.py | 2 -- homeassistant/components/xiaomi_miio/vacuum.py | 2 -- .../components/xiaomi_tv/media_player.py | 2 -- homeassistant/components/xmpp/notify.py | 2 -- homeassistant/components/xs1/__init__.py | 2 -- homeassistant/components/xs1/climate.py | 1 - homeassistant/components/xs1/sensor.py | 1 - homeassistant/components/xs1/switch.py | 2 -- .../yale_smart_alarm/alarm_control_panel.py | 2 -- homeassistant/components/yamaha/media_player.py | 2 -- .../components/yamaha_musiccast/media_player.py | 2 -- homeassistant/components/yeelight/__init__.py | 2 -- .../components/yeelight/binary_sensor.py | 2 -- homeassistant/components/yeelight/light.py | 2 -- .../components/yeelightsunflower/light.py | 2 -- homeassistant/components/yessssms/notify.py | 2 -- homeassistant/components/yi/camera.py | 2 -- homeassistant/components/yr/sensor.py | 2 -- homeassistant/components/yweather/sensor.py | 2 -- homeassistant/components/yweather/weather.py | 2 -- homeassistant/components/zabbix/__init__.py | 2 -- homeassistant/components/zabbix/sensor.py | 2 -- homeassistant/components/zengge/light.py | 2 -- homeassistant/components/zeroconf/__init__.py | 3 --- homeassistant/components/zestimate/sensor.py | 2 -- homeassistant/components/zha/__init__.py | 8 -------- homeassistant/components/zha/binary_sensor.py | 2 -- homeassistant/components/zha/fan.py | 2 -- homeassistant/components/zha/light.py | 2 -- homeassistant/components/zha/sensor.py | 2 -- homeassistant/components/zha/switch.py | 2 -- homeassistant/components/zhong_hong/climate.py | 2 -- homeassistant/components/zigbee/__init__.py | 2 -- .../components/zigbee/binary_sensor.py | 2 -- homeassistant/components/zigbee/light.py | 2 -- homeassistant/components/zigbee/sensor.py | 2 -- homeassistant/components/zigbee/switch.py | 2 -- .../ziggo_mediabox_xl/media_player.py | 2 -- homeassistant/components/zoneminder/__init__.py | 2 -- .../components/zoneminder/binary_sensor.py | 2 -- homeassistant/components/zoneminder/camera.py | 2 -- homeassistant/components/zoneminder/sensor.py | 2 -- homeassistant/components/zoneminder/switch.py | 2 -- homeassistant/components/zwave/__init__.py | 2 -- 1155 files changed, 2317 deletions(-) diff --git a/homeassistant/components/abode/__init__.py b/homeassistant/components/abode/__init__.py index 591bae1a9cf665..3a64a5e31f0104 100644 --- a/homeassistant/components/abode/__init__.py +++ b/homeassistant/components/abode/__init__.py @@ -13,8 +13,6 @@ 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 d7426e04166dc5..d1d75b7417ea46 100644 --- a/homeassistant/components/abode/alarm_control_panel.py +++ b/homeassistant/components/abode/alarm_control_panel.py @@ -8,8 +8,6 @@ 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 874723420ed811..e3f74e9f4ec12e 100644 --- a/homeassistant/components/abode/binary_sensor.py +++ b/homeassistant/components/abode/binary_sensor.py @@ -7,8 +7,6 @@ _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 d37644eccc397e..d0e4e833029fc0 100644 --- a/homeassistant/components/abode/camera.py +++ b/homeassistant/components/abode/camera.py @@ -9,8 +9,6 @@ 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 c40159164dc4db..4c868daf4ba932 100644 --- a/homeassistant/components/abode/cover.py +++ b/homeassistant/components/abode/cover.py @@ -5,8 +5,6 @@ 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 9e88acce41f053..6b3e5025c51405 100644 --- a/homeassistant/components/abode/light.py +++ b/homeassistant/components/abode/light.py @@ -10,8 +10,6 @@ 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 0f568a4ace2492..c1272a3de5f405 100644 --- a/homeassistant/components/abode/lock.py +++ b/homeassistant/components/abode/lock.py @@ -5,8 +5,6 @@ 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 ef6941c76d8b5f..b7e8fc1a118b0a 100644 --- a/homeassistant/components/abode/sensor.py +++ b/homeassistant/components/abode/sensor.py @@ -8,8 +8,6 @@ _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 3e3ce031855fd0..74d1ea57bad445 100644 --- a/homeassistant/components/abode/switch.py +++ b/homeassistant/components/abode/switch.py @@ -7,8 +7,6 @@ _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 df6fb8816aae47..242f3f4a009d59 100644 --- a/homeassistant/components/acer_projector/switch.py +++ b/homeassistant/components/acer_projector/switch.py @@ -9,8 +9,6 @@ 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 92c6ecb3335147..ba49f8abd9a3ec 100644 --- a/homeassistant/components/ads/__init__.py +++ b/homeassistant/components/ads/__init__.py @@ -14,8 +14,6 @@ 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 baa44cb498fe04..b6f3a54e437192 100644 --- a/homeassistant/components/ads/binary_sensor.py +++ b/homeassistant/components/ads/binary_sensor.py @@ -13,8 +13,6 @@ _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 49961565dced77..5168f49acdce08 100644 --- a/homeassistant/components/ads/light.py +++ b/homeassistant/components/ads/light.py @@ -12,7 +12,6 @@ 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 e74b8753d4b042..415eea09ddf4b6 100644 --- a/homeassistant/components/ads/sensor.py +++ b/homeassistant/components/ads/sensor.py @@ -14,8 +14,6 @@ _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 0dfbeb811a068b..23e130f26958ef 100644 --- a/homeassistant/components/ads/switch.py +++ b/homeassistant/components/ads/switch.py @@ -11,8 +11,6 @@ _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 18bc3cb34304bc..ce926e95fe5a5c 100644 --- a/homeassistant/components/aftership/sensor.py +++ b/homeassistant/components/aftership/sensor.py @@ -11,8 +11,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -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 7fad7bb35be0ec..55670020133054 100644 --- a/homeassistant/components/airvisual/sensor.py +++ b/homeassistant/components/airvisual/sensor.py @@ -13,7 +13,6 @@ 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 01146fecbb667c..70c85fd58a5c9b 100644 --- a/homeassistant/components/aladdin_connect/cover.py +++ b/homeassistant/components/aladdin_connect/cover.py @@ -9,8 +9,6 @@ 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 5b1296b39de2c3..b4d1a2e0b9f7d7 100644 --- a/homeassistant/components/alarmdecoder/__init__.py +++ b/homeassistant/components/alarmdecoder/__init__.py @@ -10,8 +10,6 @@ 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 d7eced933ddbd1..51645b516b98d0 100644 --- a/homeassistant/components/alarmdecoder/alarm_control_panel.py +++ b/homeassistant/components/alarmdecoder/alarm_control_panel.py @@ -13,8 +13,6 @@ _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 09e63b4d664348..91ff8b381b57b3 100644 --- a/homeassistant/components/alarmdecoder/binary_sensor.py +++ b/homeassistant/components/alarmdecoder/binary_sensor.py @@ -8,8 +8,6 @@ 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 88371dad17a345..9fb37d62376bc6 100644 --- a/homeassistant/components/alarmdecoder/sensor.py +++ b/homeassistant/components/alarmdecoder/sensor.py @@ -7,8 +7,6 @@ _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 ea581aca747fc8..5919bf84f41eb8 100644 --- a/homeassistant/components/alarmdotcom/alarm_control_panel.py +++ b/homeassistant/components/alarmdotcom/alarm_control_panel.py @@ -12,8 +12,6 @@ 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 062d698d5122a8..862605b64b5700 100644 --- a/homeassistant/components/alexa/__init__.py +++ b/homeassistant/components/alexa/__init__.py @@ -17,8 +17,6 @@ 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 0eb57e5b27aeee..9ea6797a56efc3 100644 --- a/homeassistant/components/alpha_vantage/sensor.py +++ b/homeassistant/components/alpha_vantage/sensor.py @@ -10,8 +10,6 @@ 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 d29ae32fb5723f..4511a587a60c53 100644 --- a/homeassistant/components/amazon_polly/tts.py +++ b/homeassistant/components/amazon_polly/tts.py @@ -6,8 +6,6 @@ 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 944d4e14e7d26d..2c185c3bc71de5 100644 --- a/homeassistant/components/ambient_station/__init__.py +++ b/homeassistant/components/ambient_station/__init__.py @@ -20,8 +20,6 @@ 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 04a38901683d94..02f7590c307eed 100644 --- a/homeassistant/components/ambient_station/binary_sensor.py +++ b/homeassistant/components/ambient_station/binary_sensor.py @@ -12,8 +12,6 @@ _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 b394dc558e63c6..9c50d97fb0361c 100644 --- a/homeassistant/components/ambient_station/sensor.py +++ b/homeassistant/components/ambient_station/sensor.py @@ -8,8 +8,6 @@ _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 a4c020efcdfa13..3a0a983fceb90f 100644 --- a/homeassistant/components/amcrest/__init__.py +++ b/homeassistant/components/amcrest/__init__.py @@ -12,9 +12,6 @@ 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 113918ed041c3e..b591616a88d585 100644 --- a/homeassistant/components/amcrest/binary_sensor.py +++ b/homeassistant/components/amcrest/binary_sensor.py @@ -7,8 +7,6 @@ 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 f361c4e0183e6b..07f5d403ba8742 100644 --- a/homeassistant/components/amcrest/camera.py +++ b/homeassistant/components/amcrest/camera.py @@ -12,8 +12,6 @@ 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 119520e6a03b5e..56cb021052e319 100644 --- a/homeassistant/components/amcrest/sensor.py +++ b/homeassistant/components/amcrest/sensor.py @@ -7,8 +7,6 @@ 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 0bbd290b3ac253..90f750d17978d4 100644 --- a/homeassistant/components/amcrest/switch.py +++ b/homeassistant/components/amcrest/switch.py @@ -8,8 +8,6 @@ _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 f7aa98aec7c27c..339f490bae54f9 100644 --- a/homeassistant/components/ampio/air_quality.py +++ b/homeassistant/components/ampio/air_quality.py @@ -11,8 +11,6 @@ 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 600efd55a16a1d..dfb6d143e9ae95 100644 --- a/homeassistant/components/android_ip_webcam/__init__.py +++ b/homeassistant/components/android_ip_webcam/__init__.py @@ -21,8 +21,6 @@ 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 c058c44c5034e1..dbe50d8186245d 100644 --- a/homeassistant/components/android_ip_webcam/binary_sensor.py +++ b/homeassistant/components/android_ip_webcam/binary_sensor.py @@ -3,8 +3,6 @@ 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 4d29493d64fba7..9748b6ba548b2b 100644 --- a/homeassistant/components/android_ip_webcam/sensor.py +++ b/homeassistant/components/android_ip_webcam/sensor.py @@ -5,8 +5,6 @@ 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 0304c5747f71ae..e894913f5a468b 100644 --- a/homeassistant/components/android_ip_webcam/switch.py +++ b/homeassistant/components/android_ip_webcam/switch.py @@ -5,8 +5,6 @@ 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 706ef6f8402430..2677144a144f40 100644 --- a/homeassistant/components/androidtv/media_player.py +++ b/homeassistant/components/androidtv/media_player.py @@ -18,8 +18,6 @@ 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 b9b3070b97e737..7552e35fe4b237 100644 --- a/homeassistant/components/anel_pwrctrl/switch.py +++ b/homeassistant/components/anel_pwrctrl/switch.py @@ -10,8 +10,6 @@ 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 c7ee579bc17cb0..1a335fc2ce6061 100644 --- a/homeassistant/components/anthemav/media_player.py +++ b/homeassistant/components/anthemav/media_player.py @@ -13,8 +13,6 @@ 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 aab6f6dda018c6..d4649db0203c37 100644 --- a/homeassistant/components/apcupsd/__init__.py +++ b/homeassistant/components/apcupsd/__init__.py @@ -8,8 +8,6 @@ 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 445dab9b0744a0..367b3c2b9b5065 100644 --- a/homeassistant/components/apcupsd/binary_sensor.py +++ b/homeassistant/components/apcupsd/binary_sensor.py @@ -8,8 +8,6 @@ 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 09f9b324bdd863..ae1ad10223d75e 100644 --- a/homeassistant/components/apcupsd/sensor.py +++ b/homeassistant/components/apcupsd/sensor.py @@ -11,8 +11,6 @@ _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 beba17ee2ea03b..0e860854af4ca7 100644 --- a/homeassistant/components/api/__init__.py +++ b/homeassistant/components/api/__init__.py @@ -33,8 +33,6 @@ 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 d7f6559fe7eaad..365bdbcb4f557e 100644 --- a/homeassistant/components/apns/notify.py +++ b/homeassistant/components/apns/notify.py @@ -13,8 +13,6 @@ 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 b265dc533eb85c..0ebe29ed47c9b4 100644 --- a/homeassistant/components/apple_tv/__init__.py +++ b/homeassistant/components/apple_tv/__init__.py @@ -11,8 +11,6 @@ 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 e00ce6ed13bcd2..9698ef4c704a47 100644 --- a/homeassistant/components/apple_tv/media_player.py +++ b/homeassistant/components/apple_tv/media_player.py @@ -14,8 +14,6 @@ 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 25b500ac09d6ea..2839e3a5324c81 100644 --- a/homeassistant/components/apple_tv/remote.py +++ b/homeassistant/components/apple_tv/remote.py @@ -4,8 +4,6 @@ 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 a4f83b573f73b7..65718463218859 100644 --- a/homeassistant/components/aqualogic/__init__.py +++ b/homeassistant/components/aqualogic/__init__.py @@ -11,8 +11,6 @@ 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 dc06a2127e941d..454cdbd7f6b505 100644 --- a/homeassistant/components/aqualogic/sensor.py +++ b/homeassistant/components/aqualogic/sensor.py @@ -14,8 +14,6 @@ _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 21e573f944b6d2..b8bd8e41244c79 100644 --- a/homeassistant/components/aqualogic/switch.py +++ b/homeassistant/components/aqualogic/switch.py @@ -10,8 +10,6 @@ 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 0ffe48d21ec61f..a4e88f02a59fbe 100644 --- a/homeassistant/components/aquostv/media_player.py +++ b/homeassistant/components/aquostv/media_player.py @@ -15,8 +15,6 @@ 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 351122e74f0e0f..a6841e075643ef 100644 --- a/homeassistant/components/arduino/__init__.py +++ b/homeassistant/components/arduino/__init__.py @@ -8,8 +8,6 @@ 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 ff758ea58470b5..0cc6e006b890c0 100644 --- a/homeassistant/components/arduino/sensor.py +++ b/homeassistant/components/arduino/sensor.py @@ -14,8 +14,6 @@ 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 947c5188766cd1..92e91196a9aff5 100644 --- a/homeassistant/components/arduino/switch.py +++ b/homeassistant/components/arduino/switch.py @@ -8,8 +8,6 @@ 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 cbb720778e5e7e..38230c2f05fe80 100644 --- a/homeassistant/components/arlo/__init__.py +++ b/homeassistant/components/arlo/__init__.py @@ -11,8 +11,6 @@ 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 3557ed125c6cda..a7addfb86eac7b 100644 --- a/homeassistant/components/arlo/alarm_control_panel.py +++ b/homeassistant/components/arlo/alarm_control_panel.py @@ -22,8 +22,6 @@ 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 d4b00f0062503a..166e0781044c19 100644 --- a/homeassistant/components/arlo/camera.py +++ b/homeassistant/components/arlo/camera.py @@ -13,8 +13,6 @@ 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 e08669eb80b60e..f83caec386b843 100644 --- a/homeassistant/components/arlo/sensor.py +++ b/homeassistant/components/arlo/sensor.py @@ -17,8 +17,6 @@ _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 ed1fee25a6c837..cde144e68f6924 100644 --- a/homeassistant/components/aruba/device_tracker.py +++ b/homeassistant/components/aruba/device_tracker.py @@ -11,8 +11,6 @@ _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 aef43c4b401556..94b552c6eba7e5 100644 --- a/homeassistant/components/arwn/sensor.py +++ b/homeassistant/components/arwn/sensor.py @@ -10,7 +10,6 @@ _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 db5d4e8d6eef12..647067b60d46d6 100644 --- a/homeassistant/components/asterisk_cdr/mailbox.py +++ b/homeassistant/components/asterisk_cdr/mailbox.py @@ -11,8 +11,6 @@ _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 d8d3b194cd7f16..a354226bbc06ab 100644 --- a/homeassistant/components/asterisk_mbox/__init__.py +++ b/homeassistant/components/asterisk_mbox/__init__.py @@ -10,8 +10,6 @@ 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 a3e7c3f4d61c13..f79c8922214f57 100644 --- a/homeassistant/components/asterisk_mbox/mailbox.py +++ b/homeassistant/components/asterisk_mbox/mailbox.py @@ -10,8 +10,6 @@ _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 9b004b5bc04fc4..cc51a15f8e8715 100644 --- a/homeassistant/components/asuswrt/__init__.py +++ b/homeassistant/components/asuswrt/__init__.py @@ -9,8 +9,6 @@ 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 d115e640ffa863..68641f670aa267 100644 --- a/homeassistant/components/asuswrt/device_tracker.py +++ b/homeassistant/components/asuswrt/device_tracker.py @@ -5,8 +5,6 @@ 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 ac80a447e28716..8ae629bd12d98b 100644 --- a/homeassistant/components/asuswrt/sensor.py +++ b/homeassistant/components/asuswrt/sensor.py @@ -5,8 +5,6 @@ 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 8e749dca46e5f7..e18c25706c1708 100644 --- a/homeassistant/components/august/__init__.py +++ b/homeassistant/components/august/__init__.py @@ -15,8 +15,6 @@ _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 3a69d41177d6c5..d1f696458029d6 100644 --- a/homeassistant/components/august/binary_sensor.py +++ b/homeassistant/components/august/binary_sensor.py @@ -8,8 +8,6 @@ _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 53a9d78bc60419..0bf8a28f904889 100644 --- a/homeassistant/components/august/camera.py +++ b/homeassistant/components/august/camera.py @@ -7,8 +7,6 @@ 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 e112eaa2592c31..5ad2bdc3b5bc25 100644 --- a/homeassistant/components/august/lock.py +++ b/homeassistant/components/august/lock.py @@ -9,8 +9,6 @@ _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 d0157158aca6b2..f1deaf0cb856f4 100644 --- a/homeassistant/components/auth/__init__.py +++ b/homeassistant/components/auth/__init__.py @@ -138,8 +138,6 @@ 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 8abd81e63bea6d..04e069a04f97b1 100644 --- a/homeassistant/components/automatic/device_tracker.py +++ b/homeassistant/components/automatic/device_tracker.py @@ -18,8 +18,6 @@ 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_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 b1470582d59232..fa8b77da768dc2 100644 --- a/homeassistant/components/automation/__init__.py +++ b/homeassistant/components/automation/__init__.py @@ -21,7 +21,6 @@ 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 20c689d74cf438..51ec5baccfd4aa 100644 --- a/homeassistant/components/automation/litejet.py +++ b/homeassistant/components/automation/litejet.py @@ -9,8 +9,6 @@ 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 ff89cd47024c16..837a22362b51d1 100644 --- a/homeassistant/components/automation/mqtt.py +++ b/homeassistant/components/automation/mqtt.py @@ -8,8 +8,6 @@ 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 65172025b56b51..b138b8bf61f4b0 100644 --- a/homeassistant/components/avion/light.py +++ b/homeassistant/components/avion/light.py @@ -12,8 +12,6 @@ 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 7fdcc6735495c1..85f18e87d13f86 100644 --- a/homeassistant/components/awair/sensor.py +++ b/homeassistant/components/awair/sensor.py @@ -15,8 +15,6 @@ 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 a15e56e9de89cd..9533d2c776d157 100644 --- a/homeassistant/components/aws/__init__.py +++ b/homeassistant/components/aws/__init__.py @@ -26,8 +26,6 @@ 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 48b80b64ce2ee6..3a6193f403d936 100644 --- a/homeassistant/components/aws/notify.py +++ b/homeassistant/components/aws/notify.py @@ -21,8 +21,6 @@ DATA_SESSIONS, ) -DEPENDENCIES = ["aws"] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/axis/__init__.py b/homeassistant/components/axis/__init__.py index e9ed37477a5a02..0cfa8923682d8b 100644 --- a/homeassistant/components/axis/__init__.py +++ b/homeassistant/components/axis/__init__.py @@ -11,8 +11,6 @@ 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 30e0e759a2cda3..c4393380351dc3 100644 --- a/homeassistant/components/axis/binary_sensor.py +++ b/homeassistant/components/axis/binary_sensor.py @@ -11,8 +11,6 @@ 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 62b694a99bb971..11368339e0dfae 100644 --- a/homeassistant/components/axis/camera.py +++ b/homeassistant/components/axis/camera.py @@ -11,8 +11,6 @@ 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 fbe27591ef535c..faf62e92651e5f 100644 --- a/homeassistant/components/baidu/tts.py +++ b/homeassistant/components/baidu/tts.py @@ -7,8 +7,6 @@ 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 7749af8f335c48..85ea5753739bb0 100644 --- a/homeassistant/components/bbb_gpio/__init__.py +++ b/homeassistant/components/bbb_gpio/__init__.py @@ -4,8 +4,6 @@ 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 1ee371dcc2a6ac..bcc45a4af32027 100644 --- a/homeassistant/components/bbb_gpio/binary_sensor.py +++ b/homeassistant/components/bbb_gpio/binary_sensor.py @@ -11,8 +11,6 @@ _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 3ad46fd61aedfd..49b4c5de19cc04 100644 --- a/homeassistant/components/bbb_gpio/switch.py +++ b/homeassistant/components/bbb_gpio/switch.py @@ -11,8 +11,6 @@ _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 badbcdc8a0bf56..f70969aa61bc9b 100644 --- a/homeassistant/components/bbox/device_tracker.py +++ b/homeassistant/components/bbox/device_tracker.py @@ -12,8 +12,6 @@ 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 5b3c31d1ddf241..80fa82b30fc7f1 100644 --- a/homeassistant/components/bbox/sensor.py +++ b/homeassistant/components/bbox/sensor.py @@ -12,8 +12,6 @@ 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 e30eededa51b28..eaee023ce8616b 100644 --- a/homeassistant/components/bh1750/sensor.py +++ b/homeassistant/components/bh1750/sensor.py @@ -9,9 +9,6 @@ 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 3bc14637a87631..6ccb10f50e6115 100644 --- a/homeassistant/components/bitcoin/sensor.py +++ b/homeassistant/components/bitcoin/sensor.py @@ -10,8 +10,6 @@ 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 c66bc412160f0e..be0538a89e94d7 100644 --- a/homeassistant/components/blackbird/media_player.py +++ b/homeassistant/components/blackbird/media_player.py @@ -14,8 +14,6 @@ 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 488209e3689fc3..397ee097cae24e 100644 --- a/homeassistant/components/blink/__init__.py +++ b/homeassistant/components/blink/__init__.py @@ -10,8 +10,6 @@ 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 75e645dff5f3f9..8cc89d90b2f889 100644 --- a/homeassistant/components/blink/alarm_control_panel.py +++ b/homeassistant/components/blink/alarm_control_panel.py @@ -9,8 +9,6 @@ _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 466b73caf5fd5a..4c268989d32bac 100644 --- a/homeassistant/components/blink/binary_sensor.py +++ b/homeassistant/components/blink/binary_sensor.py @@ -4,8 +4,6 @@ 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 1da3080e3ff074..d1301319a81263 100644 --- a/homeassistant/components/blink/camera.py +++ b/homeassistant/components/blink/camera.py @@ -7,8 +7,6 @@ _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 0e97db9d7d410d..6fb8be8e4ea71f 100644 --- a/homeassistant/components/blink/sensor.py +++ b/homeassistant/components/blink/sensor.py @@ -8,8 +8,6 @@ _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 0d4c7b736f3d3d..8eab6afaeb7289 100644 --- a/homeassistant/components/blinksticklight/light.py +++ b/homeassistant/components/blinksticklight/light.py @@ -10,8 +10,6 @@ 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 57d19172614c9f..cb3e854b3888a9 100644 --- a/homeassistant/components/blinkt/light.py +++ b/homeassistant/components/blinkt/light.py @@ -11,8 +11,6 @@ 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 def1dc3309f9a9..436e2979a6e06a 100644 --- a/homeassistant/components/blockchain/sensor.py +++ b/homeassistant/components/blockchain/sensor.py @@ -9,8 +9,6 @@ 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 c8763524de7631..d4b10a90b978ee 100644 --- a/homeassistant/components/bloomsky/binary_sensor.py +++ b/homeassistant/components/bloomsky/binary_sensor.py @@ -10,8 +10,6 @@ _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 5cb2e1adfe16ba..f33cb2ee1d396b 100644 --- a/homeassistant/components/bloomsky/camera.py +++ b/homeassistant/components/bloomsky/camera.py @@ -5,8 +5,6 @@ from homeassistant.components.camera import Camera -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 7e6847f0e7ec2e..f4347744953928 100644 --- a/homeassistant/components/bloomsky/sensor.py +++ b/homeassistant/components/bloomsky/sensor.py @@ -10,8 +10,6 @@ _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 c4cd3572e75c3b..080afeea280426 100644 --- a/homeassistant/components/bluesound/media_player.py +++ b/homeassistant/components/bluesound/media_player.py @@ -29,8 +29,6 @@ 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 dfb5fa073b93de..f1aab4e1fd5a34 100644 --- a/homeassistant/components/bluetooth_le_tracker/device_tracker.py +++ b/homeassistant/components/bluetooth_le_tracker/device_tracker.py @@ -10,8 +10,6 @@ _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 3a4aa8880012d1..d464e87ce640fe 100644 --- a/homeassistant/components/bluetooth_tracker/device_tracker.py +++ b/homeassistant/components/bluetooth_tracker/device_tracker.py @@ -13,8 +13,6 @@ _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 73982ecc628bb0..66b4ba672589ad 100644 --- a/homeassistant/components/bme280/sensor.py +++ b/homeassistant/components/bme280/sensor.py @@ -13,9 +13,6 @@ 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 8f515cc469a265..73fe827be6ba20 100644 --- a/homeassistant/components/bme680/sensor.py +++ b/homeassistant/components/bme680/sensor.py @@ -13,9 +13,6 @@ 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 e1ac30120d2115..10c58696740043 100644 --- a/homeassistant/components/bmw_connected_drive/__init__.py +++ b/homeassistant/components/bmw_connected_drive/__init__.py @@ -9,8 +9,6 @@ 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 deab157292d2f3..8769fcf7d6205b 100644 --- a/homeassistant/components/bmw_connected_drive/binary_sensor.py +++ b/homeassistant/components/bmw_connected_drive/binary_sensor.py @@ -6,8 +6,6 @@ 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 20e84e33e29bd3..229488186ae16a 100644 --- a/homeassistant/components/bmw_connected_drive/device_tracker.py +++ b/homeassistant/components/bmw_connected_drive/device_tracker.py @@ -5,8 +5,6 @@ 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 fe646dcd1c9c10..455e1427b05bae 100644 --- a/homeassistant/components/bmw_connected_drive/lock.py +++ b/homeassistant/components/bmw_connected_drive/lock.py @@ -6,8 +6,6 @@ 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 03c03f01b4a148..4d8b7adde1b5bb 100644 --- a/homeassistant/components/bmw_connected_drive/sensor.py +++ b/homeassistant/components/bmw_connected_drive/sensor.py @@ -9,8 +9,6 @@ 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 d3e78034015bc1..87ffd4ab791b94 100644 --- a/homeassistant/components/bom/camera.py +++ b/homeassistant/components/bom/camera.py @@ -5,8 +5,6 @@ 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 45fdb63a4a9b45..6377561009d58b 100644 --- a/homeassistant/components/braviatv/media_player.py +++ b/homeassistant/components/braviatv/media_player.py @@ -15,8 +15,6 @@ 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 b3ce245a979ae7..c542d8f5549e25 100644 --- a/homeassistant/components/broadlink/sensor.py +++ b/homeassistant/components/broadlink/sensor.py @@ -14,8 +14,6 @@ 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 8695f70786c6f2..f2f7b4a5d957f8 100644 --- a/homeassistant/components/broadlink/switch.py +++ b/homeassistant/components/broadlink/switch.py @@ -17,8 +17,6 @@ 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 f990dd1aba1630..c36c5c0ad1c4a3 100644 --- a/homeassistant/components/brottsplatskartan/sensor.py +++ b/homeassistant/components/brottsplatskartan/sensor.py @@ -12,8 +12,6 @@ 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 dc17cebcec2fd6..f9455ae0910934 100644 --- a/homeassistant/components/brunt/cover.py +++ b/homeassistant/components/brunt/cover.py @@ -13,8 +13,6 @@ ) 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 61853c0af89f0b..65f88e05d1cc1d 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 @@ 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 5820feda567903..adc873f56b3965 100644 --- a/homeassistant/components/bt_smarthub/device_tracker.py +++ b/homeassistant/components/bt_smarthub/device_tracker.py @@ -8,8 +8,6 @@ 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 754873fa2c914f..f3aaa9b75378dc 100644 --- a/homeassistant/components/buienradar/sensor.py +++ b/homeassistant/components/buienradar/sensor.py @@ -17,8 +17,6 @@ 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 86dcb229a78bbd..7d77bec7cca05a 100644 --- a/homeassistant/components/buienradar/weather.py +++ b/homeassistant/components/buienradar/weather.py @@ -13,8 +13,6 @@ # 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 65cb20811b880b..446473c7f40db9 100644 --- a/homeassistant/components/caldav/calendar.py +++ b/homeassistant/components/caldav/calendar.py @@ -12,8 +12,6 @@ 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 aa9e3153fe5bbd..73a779816a3d1c 100644 --- a/homeassistant/components/calendar/__init__.py +++ b/homeassistant/components/calendar/__init__.py @@ -22,8 +22,6 @@ 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 2ddab537acc09e..1287de92ffd2fd 100644 --- a/homeassistant/components/camera/__init__.py +++ b/homeassistant/components/camera/__init__.py @@ -36,8 +36,6 @@ 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 e53c7e22d2d6dd..52b38f14795578 100644 --- a/homeassistant/components/canary/__init__.py +++ b/homeassistant/components/canary/__init__.py @@ -10,8 +10,6 @@ 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 faa7d819a2e91f..7402d7855324b8 100644 --- a/homeassistant/components/canary/alarm_control_panel.py +++ b/homeassistant/components/canary/alarm_control_panel.py @@ -8,8 +8,6 @@ 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 fc740a46f628d9..33e1265921f199 100644 --- a/homeassistant/components/canary/camera.py +++ b/homeassistant/components/canary/camera.py @@ -13,8 +13,6 @@ 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 fb3aaf78b0a487..220abc9b387259 100644 --- a/homeassistant/components/canary/sensor.py +++ b/homeassistant/components/canary/sensor.py @@ -6,8 +6,6 @@ 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 0ec3ac150d7501..1a93020c22956c 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 afe29ae079f9ac..abd3281d11a73a 100644 --- a/homeassistant/components/channels/media_player.py +++ b/homeassistant/components/channels/media_player.py @@ -15,8 +15,6 @@ 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 d5a64626e89924..5eb039709890cb 100644 --- a/homeassistant/components/cisco_ios/device_tracker.py +++ b/homeassistant/components/cisco_ios/device_tracker.py @@ -11,8 +11,6 @@ _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 a722a994350041..5d5a244875957d 100644 --- a/homeassistant/components/cisco_mobility_express/device_tracker.py +++ b/homeassistant/components/cisco_mobility_express/device_tracker.py @@ -10,8 +10,6 @@ CONF_HOST, CONF_USERNAME, CONF_PASSWORD, CONF_SSL, CONF_VERIFY_SSL) -REQUIREMENTS = ['ciscomobilityexpress==0.1.5'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/cisco_webex_teams/notify.py b/homeassistant/components/cisco_webex_teams/notify.py index f893d4071b0e6e..22f8679f6184b0 100644 --- a/homeassistant/components/cisco_webex_teams/notify.py +++ b/homeassistant/components/cisco_webex_teams/notify.py @@ -8,8 +8,6 @@ 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 2eccb233a3cdd6..320c342b1433bb 100644 --- a/homeassistant/components/ciscospark/notify.py +++ b/homeassistant/components/ciscospark/notify.py @@ -9,8 +9,6 @@ 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 65c6be19845faa..fc6e27be1bd61b 100644 --- a/homeassistant/components/clementine/media_player.py +++ b/homeassistant/components/clementine/media_player.py @@ -16,8 +16,6 @@ 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 41045ba1f91265..ee0cd0c00909a5 100644 --- a/homeassistant/components/cloud/__init__.py +++ b/homeassistant/components/cloud/__init__.py @@ -24,9 +24,6 @@ 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 19a6528e3218f5..3e4aaf9cc848a6 100644 --- a/homeassistant/components/cloud/binary_sensor.py +++ b/homeassistant/components/cloud/binary_sensor.py @@ -6,8 +6,6 @@ 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 363e7c5eeb11dd..ce88f820fe372d 100644 --- a/homeassistant/components/cloudflare/__init__.py +++ b/homeassistant/components/cloudflare/__init__.py @@ -8,8 +8,6 @@ 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 e5134508feaaaa..4f1dfc5053642d 100644 --- a/homeassistant/components/cmus/media_player.py +++ b/homeassistant/components/cmus/media_player.py @@ -14,8 +14,6 @@ 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 b9ae5e26ebef20..990521d041854d 100644 --- a/homeassistant/components/co2signal/sensor.py +++ b/homeassistant/components/co2signal/sensor.py @@ -11,8 +11,6 @@ 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 40d04eadb3a79e..21efd5f9b8eccb 100644 --- a/homeassistant/components/coinbase/__init__.py +++ b/homeassistant/components/coinbase/__init__.py @@ -9,8 +9,6 @@ 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 2483d46b38a095..37e9a4166bd472 100644 --- a/homeassistant/components/coinbase/sensor.py +++ b/homeassistant/components/coinbase/sensor.py @@ -17,8 +17,6 @@ ATTRIBUTION = "Data provided by coinbase.com" DATA_COINBASE = 'coinbase_cache' -DEPENDENCIES = ['coinbase'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Coinbase sensors.""" diff --git a/homeassistant/components/coinmarketcap/sensor.py b/homeassistant/components/coinmarketcap/sensor.py index a39f11b5352a0a..4d8af5a721d1ff 100644 --- a/homeassistant/components/coinmarketcap/sensor.py +++ b/homeassistant/components/coinmarketcap/sensor.py @@ -11,8 +11,6 @@ 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 64ebec18545903..3c50f3fb723887 100644 --- a/homeassistant/components/comfoconnect/__init__.py +++ b/homeassistant/components/comfoconnect/__init__.py @@ -9,8 +9,6 @@ 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 88dcffcfd21485..56175f0bca0963 100644 --- a/homeassistant/components/comfoconnect/fan.py +++ b/homeassistant/components/comfoconnect/fan.py @@ -10,8 +10,6 @@ _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 edb96b8d279d3d..db2a9393e2b481 100644 --- a/homeassistant/components/comfoconnect/sensor.py +++ b/homeassistant/components/comfoconnect/sensor.py @@ -12,8 +12,6 @@ _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 a209fba93edfb3..c56e7e71531298 100644 --- a/homeassistant/components/concord232/alarm_control_panel.py +++ b/homeassistant/components/concord232/alarm_control_panel.py @@ -12,8 +12,6 @@ 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 c1a31eb9ead989..ae464da97987e1 100644 --- a/homeassistant/components/concord232/binary_sensor.py +++ b/homeassistant/components/concord232/binary_sensor.py @@ -10,8 +10,6 @@ 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 7807c52737091e..3752d5d37bf147 100644 --- a/homeassistant/components/config/__init__.py +++ b/homeassistant/components/config/__init__.py @@ -12,7 +12,6 @@ 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 bb2d692f2490b3..bd577127fa0385 100644 --- a/homeassistant/components/conversation/__init__.py +++ b/homeassistant/components/conversation/__init__.py @@ -21,7 +21,6 @@ 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 77bb9a6b213d29..d6402bd893cabe 100644 --- a/homeassistant/components/coolmaster/climate.py +++ b/homeassistant/components/coolmaster/climate.py @@ -13,8 +13,6 @@ 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 9bb1aacfaf13ea..8609d3c9cf6402 100644 --- a/homeassistant/components/cover/__init__.py +++ b/homeassistant/components/cover/__init__.py @@ -22,7 +22,6 @@ _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 31d8122692a39e..608ce6dad6bcaa 100755 --- a/homeassistant/components/cppm_tracker/device_tracker.py +++ b/homeassistant/components/cppm_tracker/device_tracker.py @@ -11,8 +11,6 @@ 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 98d22c20d153b6..ef9cb218cd79b0 100644 --- a/homeassistant/components/cpuspeed/sensor.py +++ b/homeassistant/components/cpuspeed/sensor.py @@ -8,8 +8,6 @@ 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 139346755178e9..5e25d800247b7d 100644 --- a/homeassistant/components/crimereports/sensor.py +++ b/homeassistant/components/crimereports/sensor.py @@ -16,8 +16,6 @@ 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 97f894aed86981..cf0ba5f7f8d3ee 100644 --- a/homeassistant/components/cups/sensor.py +++ b/homeassistant/components/cups/sensor.py @@ -10,8 +10,6 @@ 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 8e96ccb87388a9..fc15ebea772704 100644 --- a/homeassistant/components/daikin/__init__.py +++ b/homeassistant/components/daikin/__init__.py @@ -17,8 +17,6 @@ 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 f4a7b92c17cbb9..a340b94e9a4618 100644 --- a/homeassistant/components/danfoss_air/__init__.py +++ b/homeassistant/components/danfoss_air/__init__.py @@ -9,8 +9,6 @@ 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 6aee3457acb381..63c2f782d17e0e 100644 --- a/homeassistant/components/darksky/sensor.py +++ b/homeassistant/components/darksky/sensor.py @@ -14,8 +14,6 @@ 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 5b3db4312bfb10..dd945e7b01c9ba 100644 --- a/homeassistant/components/darksky/weather.py +++ b/homeassistant/components/darksky/weather.py @@ -16,8 +16,6 @@ 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 3b519514d17b44..a59d828301c20f 100644 --- a/homeassistant/components/datadog/__init__.py +++ b/homeassistant/components/datadog/__init__.py @@ -9,8 +9,6 @@ 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 807f82821fb293..153e654f3fb322 100644 --- a/homeassistant/components/deconz/__init__.py +++ b/homeassistant/components/deconz/__init__.py @@ -13,8 +13,6 @@ 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 70de1fd7cf44ba..fbb15abc744ade 100644 --- a/homeassistant/components/deconz/binary_sensor.py +++ b/homeassistant/components/deconz/binary_sensor.py @@ -8,8 +8,6 @@ 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 c4327d3c497fec..c4a021a80c223c 100644 --- a/homeassistant/components/deconz/climate.py +++ b/homeassistant/components/deconz/climate.py @@ -11,8 +11,6 @@ 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 903c1160eb8226..45a1b0c67e51b7 100644 --- a/homeassistant/components/deconz/cover.py +++ b/homeassistant/components/deconz/cover.py @@ -9,8 +9,6 @@ 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 b5a2b075f75bdf..7514162fefad44 100644 --- a/homeassistant/components/deconz/light.py +++ b/homeassistant/components/deconz/light.py @@ -12,8 +12,6 @@ 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 1ae1e079daa065..d2e7f6719e915a 100644 --- a/homeassistant/components/deconz/scene.py +++ b/homeassistant/components/deconz/scene.py @@ -6,8 +6,6 @@ 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 7c3109e1f5961f..9f1e87db4ba821 100644 --- a/homeassistant/components/deconz/sensor.py +++ b/homeassistant/components/deconz/sensor.py @@ -9,8 +9,6 @@ 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 b9f959766fc2c2..c399f5da128d6f 100644 --- a/homeassistant/components/deconz/switch.py +++ b/homeassistant/components/deconz/switch.py @@ -7,8 +7,6 @@ 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 fc8b2859c0712d..2f6c050b79e64a 100644 --- a/homeassistant/components/decora/light.py +++ b/homeassistant/components/decora/light.py @@ -12,8 +12,6 @@ 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 b7be6bffb0151a..390af765b62b41 100644 --- a/homeassistant/components/decora_wifi/light.py +++ b/homeassistant/components/decora_wifi/light.py @@ -12,8 +12,6 @@ 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 6743893888d819..b5919c4d827b9b 100644 --- a/homeassistant/components/default_config/__init__.py +++ b/homeassistant/components/default_config/__init__.py @@ -5,23 +5,6 @@ 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') diff --git a/homeassistant/components/deluge/sensor.py b/homeassistant/components/deluge/sensor.py index 32b1c16a47c783..1002ae51077849 100644 --- a/homeassistant/components/deluge/sensor.py +++ b/homeassistant/components/deluge/sensor.py @@ -11,8 +11,6 @@ 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 d7c60bd96e2932..d72ce9a53083b7 100644 --- a/homeassistant/components/deluge/switch.py +++ b/homeassistant/components/deluge/switch.py @@ -11,8 +11,6 @@ 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 354f0c0e37541a..50d1eebdcd383d 100644 --- a/homeassistant/components/demo/__init__.py +++ b/homeassistant/components/demo/__init__.py @@ -7,7 +7,6 @@ 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 0adafe4f472e2e..da416ce8045bc6 100644 --- a/homeassistant/components/denonavr/media_player.py +++ b/homeassistant/components/denonavr/media_player.py @@ -18,8 +18,6 @@ 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 41584b2561fb9d..9c7518eb8ef7a6 100644 --- a/homeassistant/components/deutsche_bahn/sensor.py +++ b/homeassistant/components/deutsche_bahn/sensor.py @@ -9,8 +9,6 @@ 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 00adefc6b5c31f..945f83686712b5 100644 --- a/homeassistant/components/device_sun_light_trigger/__init__.py +++ b/homeassistant/components/device_sun_light_trigger/__init__.py @@ -17,8 +17,6 @@ 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 42d301721dad47..60dac103a46f14 100644 --- a/homeassistant/components/device_tracker/__init__.py +++ b/homeassistant/components/device_tracker/__init__.py @@ -35,8 +35,6 @@ _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 719c2525f0a985..d544bfa74e85aa 100644 --- a/homeassistant/components/dht/sensor.py +++ b/homeassistant/components/dht/sensor.py @@ -12,8 +12,6 @@ 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 1536fe3d2362ca..a6134d4b19c04d 100644 --- a/homeassistant/components/dialogflow/__init__.py +++ b/homeassistant/components/dialogflow/__init__.py @@ -10,7 +10,6 @@ _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 7975a6eea0d69c..9e034b2428dda2 100644 --- a/homeassistant/components/digital_ocean/__init__.py +++ b/homeassistant/components/digital_ocean/__init__.py @@ -8,8 +8,6 @@ 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 d496a09161b91d..83406247a07e9a 100644 --- a/homeassistant/components/digital_ocean/binary_sensor.py +++ b/homeassistant/components/digital_ocean/binary_sensor.py @@ -17,8 +17,6 @@ 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 bc4a6a29b42064..8016ccef0ea86d 100644 --- a/homeassistant/components/digital_ocean/switch.py +++ b/homeassistant/components/digital_ocean/switch.py @@ -14,8 +14,6 @@ _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 89973cfad0c828..4d1a87c44f90f1 100644 --- a/homeassistant/components/digitalloggers/switch.py +++ b/homeassistant/components/digitalloggers/switch.py @@ -10,8 +10,6 @@ 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 3a30282bdf49be..aaffd44d572413 100644 --- a/homeassistant/components/directv/media_player.py +++ b/homeassistant/components/directv/media_player.py @@ -15,8 +15,6 @@ 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 f8d66688b4ff65..f9f821668f9d5d 100644 --- a/homeassistant/components/discogs/sensor.py +++ b/homeassistant/components/discogs/sensor.py @@ -12,8 +12,6 @@ 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 cb6fc8329c66b5..faf79d14e3325b 100644 --- a/homeassistant/components/discord/notify.py +++ b/homeassistant/components/discord/notify.py @@ -12,8 +12,6 @@ _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 8e3a350c5ca1b0..7490b53092642b 100644 --- a/homeassistant/components/discovery/__init__.py +++ b/homeassistant/components/discovery/__init__.py @@ -20,8 +20,6 @@ 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 49fbfadff7e779..0bc657a615d7ff 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 ( 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 a3b91235125e43..569b1ecece2bcf 100644 --- a/homeassistant/components/dlib_face_identify/image_processing.py +++ b/homeassistant/components/dlib_face_identify/image_processing.py @@ -10,8 +10,6 @@ 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 812fd3882b311b..7164bb2310a914 100644 --- a/homeassistant/components/dlink/switch.py +++ b/homeassistant/components/dlink/switch.py @@ -12,8 +12,6 @@ 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 54c19f70ef324d..6f29bd65d56772 100644 --- a/homeassistant/components/dlna_dmr/media_player.py +++ b/homeassistant/components/dlna_dmr/media_player.py @@ -27,8 +27,6 @@ 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 13c9be7bb14fb5..976abb1401b57f 100644 --- a/homeassistant/components/dnsip/sensor.py +++ b/homeassistant/components/dnsip/sensor.py @@ -8,8 +8,6 @@ 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 1c8966f3b4b5d9..3c5cb3ed6ecc56 100644 --- a/homeassistant/components/dominos/__init__.py +++ b/homeassistant/components/dominos/__init__.py @@ -11,8 +11,6 @@ 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 @@ 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 25a2c5caff91d9..477d96770bc523 100644 --- a/homeassistant/components/doorbird/__init__.py +++ b/homeassistant/components/doorbird/__init__.py @@ -11,8 +11,6 @@ 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 a93b0fbf1948cb..9a20a91c75855d 100644 --- a/homeassistant/components/doorbird/camera.py +++ b/homeassistant/components/doorbird/camera.py @@ -11,8 +11,6 @@ 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 ba6f96660d1b2d..f3b1f5f059e653 100644 --- a/homeassistant/components/doorbird/switch.py +++ b/homeassistant/components/doorbird/switch.py @@ -6,8 +6,6 @@ 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 df2eed3011a873..2a240c2a79ec79 100644 --- a/homeassistant/components/dovado/__init__.py +++ b/homeassistant/components/dovado/__init__.py @@ -12,8 +12,6 @@ _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 59827529ed3ad5..f9d9e5574a103c 100644 --- a/homeassistant/components/dovado/notify.py +++ b/homeassistant/components/dovado/notify.py @@ -8,8 +8,6 @@ _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 56c4ee03a3ada9..7a825118fc6b54 100644 --- a/homeassistant/components/dovado/sensor.py +++ b/homeassistant/components/dovado/sensor.py @@ -14,8 +14,6 @@ _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 74f6cb37fc2ebc..d7acc5c28bf897 100644 --- a/homeassistant/components/dsmr/sensor.py +++ b/homeassistant/components/dsmr/sensor.py @@ -15,8 +15,6 @@ _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 9aada34841880a..e364e35048b6ee 100644 --- a/homeassistant/components/duke_energy/sensor.py +++ b/homeassistant/components/duke_energy/sensor.py @@ -8,8 +8,6 @@ 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 70d96424ced97e..a5698c74654382 100644 --- a/homeassistant/components/dunehd/media_player.py +++ b/homeassistant/components/dunehd/media_player.py @@ -11,8 +11,6 @@ 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 f8e5b1811632e4..148eeeec9a42df 100644 --- a/homeassistant/components/dweet/__init__.py +++ b/homeassistant/components/dweet/__init__.py @@ -10,8 +10,6 @@ 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 d1a64201e6dc48..55f3c5341a3301 100644 --- a/homeassistant/components/dweet/sensor.py +++ b/homeassistant/components/dweet/sensor.py @@ -11,8 +11,6 @@ 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 eccf8aac364c04..a857d6657fd422 100644 --- a/homeassistant/components/dyson/__init__.py +++ b/homeassistant/components/dyson/__init__.py @@ -8,8 +8,6 @@ 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 0140378968b60b..03a55f8abbea80 100644 --- a/homeassistant/components/dyson/fan.py +++ b/homeassistant/components/dyson/fan.py @@ -27,7 +27,6 @@ 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 2c7a71f5724847..56c924d1a54e75 100644 --- a/homeassistant/components/dyson/sensor.py +++ b/homeassistant/components/dyson/sensor.py @@ -6,8 +6,6 @@ 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 f1822b4043b461..0bb2368f690372 100644 --- a/homeassistant/components/dyson/vacuum.py +++ b/homeassistant/components/dyson/vacuum.py @@ -15,8 +15,6 @@ 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 24458e444dc7a9..aaf3384d55ff38 100644 --- a/homeassistant/components/ebox/sensor.py +++ b/homeassistant/components/ebox/sensor.py @@ -21,8 +21,6 @@ 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 bc1b3aa9595f9b..15ff523f4fbf90 100644 --- a/homeassistant/components/ebusd/__init__.py +++ b/homeassistant/components/ebusd/__init__.py @@ -13,8 +13,6 @@ 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 942ba107509a94..f73bb09b509696 100644 --- a/homeassistant/components/ebusd/sensor.py +++ b/homeassistant/components/ebusd/sensor.py @@ -6,8 +6,6 @@ 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 6ab9fc3181cb9c..796324d9337dbe 100644 --- a/homeassistant/components/ecoal_boiler/__init__.py +++ b/homeassistant/components/ecoal_boiler/__init__.py @@ -9,8 +9,6 @@ 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 ef8b39842d9a0f..f1998dd5b2e3d0 100644 --- a/homeassistant/components/ecoal_boiler/sensor.py +++ b/homeassistant/components/ecoal_boiler/sensor.py @@ -8,8 +8,6 @@ _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 db8759a032acc9..9f286e625a5206 100644 --- a/homeassistant/components/ecoal_boiler/switch.py +++ b/homeassistant/components/ecoal_boiler/switch.py @@ -8,8 +8,6 @@ _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 167132a5f41f16..5f9ae6a919da14 100644 --- a/homeassistant/components/ecobee/__init__.py +++ b/homeassistant/components/ecobee/__init__.py @@ -11,8 +11,6 @@ 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 ca8e551bf5e6f2..0989b9ded976c9 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 44a3800afa958f..3fe1646ee02b75 100644 --- a/homeassistant/components/ecobee/climate.py +++ b/homeassistant/components/ecobee/climate.py @@ -27,8 +27,6 @@ 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 9824d20b85e98e..d6e4e8f0c6320c 100644 --- a/homeassistant/components/ecobee/notify.py +++ b/homeassistant/components/ecobee/notify.py @@ -10,8 +10,6 @@ _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 1f9fd5cbde8548..436903a645f35c 100644 --- a/homeassistant/components/ecobee/sensor.py +++ b/homeassistant/components/ecobee/sensor.py @@ -4,8 +4,6 @@ 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 2ba5f362b7d829..f5058434f387bb 100644 --- a/homeassistant/components/ecobee/weather.py +++ b/homeassistant/components/ecobee/weather.py @@ -7,8 +7,6 @@ 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 90176842bf1175..4c47e24d705bbf 100644 --- a/homeassistant/components/econet/water_heater.py +++ b/homeassistant/components/econet/water_heater.py @@ -13,8 +13,6 @@ 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 124cae3ca47191..da87af722a60a8 100644 --- a/homeassistant/components/ecovacs/__init__.py +++ b/homeassistant/components/ecovacs/__init__.py @@ -10,8 +10,6 @@ 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 b9fe94f2bed0cb..ee374871d31804 100644 --- a/homeassistant/components/ecovacs/vacuum.py +++ b/homeassistant/components/ecovacs/vacuum.py @@ -11,8 +11,6 @@ _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 ae3d498d30c0d9..aad279934e585f 100644 --- a/homeassistant/components/eddystone_temperature/sensor.py +++ b/homeassistant/components/eddystone_temperature/sensor.py @@ -18,8 +18,6 @@ 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 338e6ac932cc4b..535ae65800fb1a 100644 --- a/homeassistant/components/edimax/switch.py +++ b/homeassistant/components/edimax/switch.py @@ -8,8 +8,6 @@ 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 9b8bfaa437a12d..af01206419468a 100644 --- a/homeassistant/components/edp_redy/__init__.py +++ b/homeassistant/components/edp_redy/__init__.py @@ -20,8 +20,6 @@ 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 b8f9c031c298c9..cf9766ede66d03 100644 --- a/homeassistant/components/edp_redy/sensor.py +++ b/homeassistant/components/edp_redy/sensor.py @@ -8,8 +8,6 @@ _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 0c92f80ccf6366..3f6dfe6b82d498 100644 --- a/homeassistant/components/edp_redy/switch.py +++ b/homeassistant/components/edp_redy/switch.py @@ -7,8 +7,6 @@ _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 46e4a3c3c24307..6af5065ed2e691 100644 --- a/homeassistant/components/ee_brightbox/device_tracker.py +++ b/homeassistant/components/ee_brightbox/device_tracker.py @@ -8,8 +8,6 @@ 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 fe613824c9512d..cf0bb20f0fcec5 100644 --- a/homeassistant/components/egardia/__init__.py +++ b/homeassistant/components/egardia/__init__.py @@ -10,8 +10,6 @@ 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 7fc60d5fb5db6e..ab48181f9ede14 100644 --- a/homeassistant/components/egardia/alarm_control_panel.py +++ b/homeassistant/components/egardia/alarm_control_panel.py @@ -13,8 +13,6 @@ 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 d11894ae675666..965b2dd1d5509e 100644 --- a/homeassistant/components/egardia/binary_sensor.py +++ b/homeassistant/components/egardia/binary_sensor.py @@ -8,8 +8,6 @@ _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 ca6c8a5a5c6070..d74218796a3168 100644 --- a/homeassistant/components/eight_sleep/__init__.py +++ b/homeassistant/components/eight_sleep/__init__.py @@ -16,8 +16,6 @@ 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 a3ca27b570de0c..b3842106723063 100644 --- a/homeassistant/components/eight_sleep/binary_sensor.py +++ b/homeassistant/components/eight_sleep/binary_sensor.py @@ -7,8 +7,6 @@ _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 a1ad93ec54a3f3..b7b0f5881552bf 100644 --- a/homeassistant/components/eight_sleep/sensor.py +++ b/homeassistant/components/eight_sleep/sensor.py @@ -5,8 +5,6 @@ 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 198ca327997808..12752b8db9e001 100644 --- a/homeassistant/components/eliqonline/sensor.py +++ b/homeassistant/components/eliqonline/sensor.py @@ -10,8 +10,6 @@ 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 a0c08bf54299f5..564f0e74c750fc 100644 --- a/homeassistant/components/elkm1/__init__.py +++ b/homeassistant/components/elkm1/__init__.py @@ -12,8 +12,6 @@ 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 e9155dd17b5bf7..b885913a0df047 100644 --- a/homeassistant/components/elkm1/alarm_control_panel.py +++ b/homeassistant/components/elkm1/alarm_control_panel.py @@ -12,8 +12,6 @@ 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 93e4aa66b23494..23c1831286310c 100644 --- a/homeassistant/components/elkm1/climate.py +++ b/homeassistant/components/elkm1/climate.py @@ -9,8 +9,6 @@ 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 fe84ab3f251895..ee6fe09a7a23fc 100644 --- a/homeassistant/components/elkm1/light.py +++ b/homeassistant/components/elkm1/light.py @@ -4,8 +4,6 @@ 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 1d08f4cf96d5f1..aaae8bb0a5cf45 100644 --- a/homeassistant/components/elkm1/scene.py +++ b/homeassistant/components/elkm1/scene.py @@ -3,8 +3,6 @@ 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 da27a3ac4b105d..0e367265605108 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 740a296586502f..df29491435e2c4 100644 --- a/homeassistant/components/elkm1/switch.py +++ b/homeassistant/components/elkm1/switch.py @@ -3,8 +3,6 @@ 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 8a94664f352cbe..fa1c096707be4b 100644 --- a/homeassistant/components/emby/media_player.py +++ b/homeassistant/components/emby/media_player.py @@ -17,8 +17,6 @@ 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_roku/__init__.py b/homeassistant/components/emulated_roku/__init__.py index ef87e14ec434bf..72d4dff72db1f0 100644 --- a/homeassistant/components/emulated_roku/__init__.py +++ b/homeassistant/components/emulated_roku/__init__.py @@ -11,8 +11,6 @@ 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 11c3e0fe3ceab4..4662c7076376d0 100644 --- a/homeassistant/components/enigma2/media_player.py +++ b/homeassistant/components/enigma2/media_player.py @@ -14,8 +14,6 @@ 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 8b3c27025cd26e..2dcf6a3a0ac514 100644 --- a/homeassistant/components/enocean/__init__.py +++ b/homeassistant/components/enocean/__init__.py @@ -6,8 +6,6 @@ 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 1fde8c79e401dd..649bec024e3db3 100644 --- a/homeassistant/components/enocean/binary_sensor.py +++ b/homeassistant/components/enocean/binary_sensor.py @@ -12,7 +12,6 @@ _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 f574f89f951f77..9ec3f4ab27bd33 100644 --- a/homeassistant/components/enocean/light.py +++ b/homeassistant/components/enocean/light.py @@ -15,8 +15,6 @@ 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 8d79de2c50d700..530738e1f88a7c 100644 --- a/homeassistant/components/enocean/sensor.py +++ b/homeassistant/components/enocean/sensor.py @@ -12,8 +12,6 @@ _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 4dfbafd36b16f6..f0b132c9d1c2a8 100644 --- a/homeassistant/components/enocean/switch.py +++ b/homeassistant/components/enocean/switch.py @@ -12,7 +12,6 @@ _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 2b62732dc9106f..7077e12d7500a1 100644 --- a/homeassistant/components/enphase_envoy/sensor.py +++ b/homeassistant/components/enphase_envoy/sensor.py @@ -10,7 +10,6 @@ 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 b2e228676902f3..61b183b9408da9 100644 --- a/homeassistant/components/entur_public_transport/sensor.py +++ b/homeassistant/components/entur_public_transport/sensor.py @@ -14,8 +14,6 @@ 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 16cb79406a9b9d..6d792df24217c5 100644 --- a/homeassistant/components/envirophat/sensor.py +++ b/homeassistant/components/envirophat/sensor.py @@ -11,9 +11,6 @@ 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 c46a26c6f857f3..d7a015e8e45710 100644 --- a/homeassistant/components/envisalink/__init__.py +++ b/homeassistant/components/envisalink/__init__.py @@ -12,8 +12,6 @@ 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 44874c6d5e8445..91a59d8f842c56 100644 --- a/homeassistant/components/envisalink/alarm_control_panel.py +++ b/homeassistant/components/envisalink/alarm_control_panel.py @@ -18,8 +18,6 @@ _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 267bba8cd288ee..bf47749d22862f 100644 --- a/homeassistant/components/envisalink/binary_sensor.py +++ b/homeassistant/components/envisalink/binary_sensor.py @@ -14,8 +14,6 @@ _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 67a601b02a2ff5..2652a7e2137fb2 100644 --- a/homeassistant/components/envisalink/sensor.py +++ b/homeassistant/components/envisalink/sensor.py @@ -11,8 +11,6 @@ _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 3052dd911ee5de..4e741dacf9d752 100644 --- a/homeassistant/components/ephember/climate.py +++ b/homeassistant/components/ephember/climate.py @@ -11,8 +11,6 @@ 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 57bd18e0ee0e50..8273ca9a21a1e2 100644 --- a/homeassistant/components/epson/media_player.py +++ b/homeassistant/components/epson/media_player.py @@ -15,8 +15,6 @@ 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 f02bd2bc9a55e2..fc12438fcf37d0 100644 --- a/homeassistant/components/eq3btsmart/climate.py +++ b/homeassistant/components/eq3btsmart/climate.py @@ -13,8 +13,6 @@ 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 9e6f6367cda4fd..9b1e0691d13027 100644 --- a/homeassistant/components/esphome/__init__.py +++ b/homeassistant/components/esphome/__init__.py @@ -32,8 +32,6 @@ 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 2db2f209fa5ac9..ff3fc2597925d3 100644 --- a/homeassistant/components/esphome/binary_sensor.py +++ b/homeassistant/components/esphome/binary_sensor.py @@ -10,7 +10,6 @@ # 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 319a2c2a4d9150..bb80ca72724374 100644 --- a/homeassistant/components/esphome/camera.py +++ b/homeassistant/components/esphome/camera.py @@ -13,7 +13,6 @@ # 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 e3cd9e488bf60d..e95f9e446337f2 100644 --- a/homeassistant/components/esphome/climate.py +++ b/homeassistant/components/esphome/climate.py @@ -19,7 +19,6 @@ # 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 68eb4221a931c9..5eb12aa86ec3bf 100644 --- a/homeassistant/components/esphome/cover.py +++ b/homeassistant/components/esphome/cover.py @@ -15,7 +15,6 @@ # 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 973fa85774c0a9..35938de2455023 100644 --- a/homeassistant/components/esphome/fan.py +++ b/homeassistant/components/esphome/fan.py @@ -14,7 +14,6 @@ # 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 c84c50010d9482..3d55713b123c68 100644 --- a/homeassistant/components/esphome/light.py +++ b/homeassistant/components/esphome/light.py @@ -17,7 +17,6 @@ # 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 e4fb7ef82baf85..d8ae91e9243228 100644 --- a/homeassistant/components/esphome/sensor.py +++ b/homeassistant/components/esphome/sensor.py @@ -13,7 +13,6 @@ 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 e736c1df2097f1..41c5663537c7a7 100644 --- a/homeassistant/components/esphome/switch.py +++ b/homeassistant/components/esphome/switch.py @@ -12,7 +12,6 @@ # 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 082295bfea5479..83805ec4d2015b 100644 --- a/homeassistant/components/etherscan/sensor.py +++ b/homeassistant/components/etherscan/sensor.py @@ -9,8 +9,6 @@ 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 b0bd9109363e39..8425780b76b956 100644 --- a/homeassistant/components/eufy/__init__.py +++ b/homeassistant/components/eufy/__init__.py @@ -9,8 +9,6 @@ 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 62bc058f1555a8..1d08e42fff72fd 100644 --- a/homeassistant/components/eufy/light.py +++ b/homeassistant/components/eufy/light.py @@ -11,8 +11,6 @@ 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 96d68194107217..3216bfed69ea7e 100644 --- a/homeassistant/components/eufy/switch.py +++ b/homeassistant/components/eufy/switch.py @@ -3,8 +3,6 @@ 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 a628f25ea288f0..c5fb025370dfef 100644 --- a/homeassistant/components/everlights/light.py +++ b/homeassistant/components/everlights/light.py @@ -15,8 +15,6 @@ 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 87a563ecd6d07f..459a3636a06d3f 100644 --- a/homeassistant/components/evohome/__init__.py +++ b/homeassistant/components/evohome/__init__.py @@ -19,8 +19,6 @@ 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 18aa969132da79..e9a8bcd94a6c75 100644 --- a/homeassistant/components/familyhub/camera.py +++ b/homeassistant/components/familyhub/camera.py @@ -10,8 +10,6 @@ _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 e67ba390a98e53..23015769f28867 100644 --- a/homeassistant/components/fan/__init__.py +++ b/homeassistant/components/fan/__init__.py @@ -18,7 +18,6 @@ _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 973cc8e36597f1..3fe860a81fdb1a 100644 --- a/homeassistant/components/fastdotcom/__init__.py +++ b/homeassistant/components/fastdotcom/__init__.py @@ -10,8 +10,6 @@ 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 37fc0815ddcd93..c9af8e53ab86cb 100644 --- a/homeassistant/components/fastdotcom/sensor.py +++ b/homeassistant/components/fastdotcom/sensor.py @@ -7,8 +7,6 @@ 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 74ad4f7d0e53c4..aec1cee053c14c 100644 --- a/homeassistant/components/fedex/sensor.py +++ b/homeassistant/components/fedex/sensor.py @@ -14,8 +14,6 @@ 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 86744bfd39c771..d2acb674ec7d3d 100644 --- a/homeassistant/components/feedreader/__init__.py +++ b/homeassistant/components/feedreader/__init__.py @@ -11,8 +11,6 @@ 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 05bc1d991678d0..7252e617c5ace7 100644 --- a/homeassistant/components/ffmpeg/__init__.py +++ b/homeassistant/components/ffmpeg/__init__.py @@ -12,8 +12,6 @@ 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 8bca13cfbb7c94..0e8a69e0bcf3d0 100644 --- a/homeassistant/components/ffmpeg/camera.py +++ b/homeassistant/components/ffmpeg/camera.py @@ -14,8 +14,6 @@ _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 c274d84329e62d..03aacf3aafbe31 100644 --- a/homeassistant/components/ffmpeg_motion/binary_sensor.py +++ b/homeassistant/components/ffmpeg_motion/binary_sensor.py @@ -12,8 +12,6 @@ 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 7efcc3deda2637..7fbda8ca18b619 100644 --- a/homeassistant/components/ffmpeg_noise/binary_sensor.py +++ b/homeassistant/components/ffmpeg_noise/binary_sensor.py @@ -12,8 +12,6 @@ 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 6b37b178a595bb..9e60d1c0c3ab44 100644 --- a/homeassistant/components/fibaro/__init__.py +++ b/homeassistant/components/fibaro/__init__.py @@ -13,8 +13,6 @@ 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 f71a5f3662e8e2..44448227a1c24f 100644 --- a/homeassistant/components/fibaro/binary_sensor.py +++ b/homeassistant/components/fibaro/binary_sensor.py @@ -7,8 +7,6 @@ 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 0d1ecc3a77f9cf..4b12a907ce325d 100644 --- a/homeassistant/components/fibaro/climate.py +++ b/homeassistant/components/fibaro/climate.py @@ -44,8 +44,6 @@ 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 0f5cc32bc9695b..0ccbed0144b387 100644 --- a/homeassistant/components/fibaro/cover.py +++ b/homeassistant/components/fibaro/cover.py @@ -6,8 +6,6 @@ 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 600b566b36b23c..a741de972f054f 100644 --- a/homeassistant/components/fibaro/light.py +++ b/homeassistant/components/fibaro/light.py @@ -14,8 +14,6 @@ _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 93f0cd5b63afd0..f9f96844319b94 100644 --- a/homeassistant/components/fibaro/scene.py +++ b/homeassistant/components/fibaro/scene.py @@ -5,8 +5,6 @@ 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 20a37fd3c23756..db9d103d87eb6c 100644 --- a/homeassistant/components/fibaro/sensor.py +++ b/homeassistant/components/fibaro/sensor.py @@ -22,7 +22,6 @@ ['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 024531f62c70e8..f134b424484de6 100644 --- a/homeassistant/components/fibaro/switch.py +++ b/homeassistant/components/fibaro/switch.py @@ -6,7 +6,6 @@ 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 00754c5ba68c12..ea66acaf808ecf 100644 --- a/homeassistant/components/fido/sensor.py +++ b/homeassistant/components/fido/sensor.py @@ -20,8 +20,6 @@ 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 dce52785fbf269..cb993ada8dade7 100644 --- a/homeassistant/components/fints/sensor.py +++ b/homeassistant/components/fints/sensor.py @@ -10,8 +10,6 @@ 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 abbe69c3e1d7db..889920239edbb9 100644 --- a/homeassistant/components/fitbit/sensor.py +++ b/homeassistant/components/fitbit/sensor.py @@ -17,8 +17,6 @@ from homeassistant.util.json import load_json, save_json -REQUIREMENTS = ['fitbit==0.3.0'] - _CONFIGURING = {} _LOGGER = logging.getLogger(__name__) @@ -32,8 +30,6 @@ 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 f746d2008e10f3..4cf2b0b9243260 100644 --- a/homeassistant/components/fixer/sensor.py +++ b/homeassistant/components/fixer/sensor.py @@ -9,8 +9,6 @@ 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 fe7b5ff8e7cd2f..d1cf97f047a277 100644 --- a/homeassistant/components/flexit/climate.py +++ b/homeassistant/components/flexit/climate.py @@ -25,9 +25,6 @@ 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 083ac01ab4a2d9..3381550b5781eb 100644 --- a/homeassistant/components/flic/binary_sensor.py +++ b/homeassistant/components/flic/binary_sensor.py @@ -11,8 +11,6 @@ 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 65de2c6ae43e0d..148a3ee41592d2 100644 --- a/homeassistant/components/flunearyou/sensor.py +++ b/homeassistant/components/flunearyou/sensor.py @@ -13,7 +13,6 @@ 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 fdd0c09b9d7a60..f0134f04d890dc 100644 --- a/homeassistant/components/flux/switch.py +++ b/homeassistant/components/flux/switch.py @@ -42,8 +42,6 @@ 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 0ed14c49ec851c..56d088f20788da 100644 --- a/homeassistant/components/flux_led/light.py +++ b/homeassistant/components/flux_led/light.py @@ -15,8 +15,6 @@ 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 babfbd9e9aa61c..411f6b480dcb8c 100644 --- a/homeassistant/components/folder_watcher/__init__.py +++ b/homeassistant/components/folder_watcher/__init__.py @@ -8,8 +8,6 @@ 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 2eeca5243a66f5..f59392bde985b6 100644 --- a/homeassistant/components/foobot/sensor.py +++ b/homeassistant/components/foobot/sensor.py @@ -16,8 +16,6 @@ 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 6ce8f1865fcf77..f83c3f1966ae7e 100644 --- a/homeassistant/components/foscam/camera.py +++ b/homeassistant/components/foscam/camera.py @@ -11,8 +11,6 @@ _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 0c5a48049ecc9e..dd8349998886e5 100644 --- a/homeassistant/components/foursquare/__init__.py +++ b/homeassistant/components/foursquare/__init__.py @@ -12,7 +12,6 @@ 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 03beef52357af6..c7dacd44019d48 100644 --- a/homeassistant/components/free_mobile/notify.py +++ b/homeassistant/components/free_mobile/notify.py @@ -9,8 +9,6 @@ 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 7accf7820f4d14..2cd9f6b35721d7 100644 --- a/homeassistant/components/freebox/__init__.py +++ b/homeassistant/components/freebox/__init__.py @@ -9,8 +9,6 @@ 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 5418c1c61a7322..40c1967f60f6e4 100644 --- a/homeassistant/components/freebox/device_tracker.py +++ b/homeassistant/components/freebox/device_tracker.py @@ -6,8 +6,6 @@ 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 328665ab51cd9b..8dcc5f54b2e67e 100644 --- a/homeassistant/components/freebox/sensor.py +++ b/homeassistant/components/freebox/sensor.py @@ -5,8 +5,6 @@ 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 4de194fc9023fd..e0c24d2b9f9f21 100644 --- a/homeassistant/components/freebox/switch.py +++ b/homeassistant/components/freebox/switch.py @@ -5,8 +5,6 @@ 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 3e3e04f44475fb..fc9f65633ff86e 100644 --- a/homeassistant/components/fritz/device_tracker.py +++ b/homeassistant/components/fritz/device_tracker.py @@ -8,8 +8,6 @@ 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 81ba019acbc0b0..610c68741405b5 100644 --- a/homeassistant/components/fritzbox/__init__.py +++ b/homeassistant/components/fritzbox/__init__.py @@ -11,8 +11,6 @@ _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 65578c571805e9..a763a3b3b0e4c2 100644 --- a/homeassistant/components/fritzbox/binary_sensor.py +++ b/homeassistant/components/fritzbox/binary_sensor.py @@ -7,8 +7,6 @@ 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 e2c9be833ac4d3..4dfa09c49fa960 100644 --- a/homeassistant/components/fritzbox/climate.py +++ b/homeassistant/components/fritzbox/climate.py @@ -16,8 +16,6 @@ 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 7309f8cc6180a6..123d8835318166 100644 --- a/homeassistant/components/fritzbox/sensor.py +++ b/homeassistant/components/fritzbox/sensor.py @@ -9,8 +9,6 @@ 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 e227cdaef8a00a..ae1219cefda3ce 100644 --- a/homeassistant/components/fritzbox/switch.py +++ b/homeassistant/components/fritzbox/switch.py @@ -10,8 +10,6 @@ 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 a6641bc14ad5b5..95c0879996f5ed 100644 --- a/homeassistant/components/fritzbox_callmonitor/sensor.py +++ b/homeassistant/components/fritzbox_callmonitor/sensor.py @@ -16,8 +16,6 @@ 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 93f834a894d3b7..ec8e38bb24ba56 100644 --- a/homeassistant/components/fritzbox_netmonitor/sensor.py +++ b/homeassistant/components/fritzbox_netmonitor/sensor.py @@ -11,8 +11,6 @@ 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 449ae5a76f13ae..d3cd00a73f5762 100644 --- a/homeassistant/components/fritzdect/switch.py +++ b/homeassistant/components/fritzdect/switch.py @@ -11,8 +11,6 @@ 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 cfee41dc6ae806..6f258b2d59c865 100644 --- a/homeassistant/components/frontend/__init__.py +++ b/homeassistant/components/frontend/__init__.py @@ -21,12 +21,7 @@ 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 4f28d83e6cfe36..64aa1d3a012617 100644 --- a/homeassistant/components/frontier_silicon/media_player.py +++ b/homeassistant/components/frontier_silicon/media_player.py @@ -15,8 +15,6 @@ 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 4b570fd0a4dcdb..91ec8b0794d540 100644 --- a/homeassistant/components/futurenow/light.py +++ b/homeassistant/components/futurenow/light.py @@ -11,8 +11,6 @@ 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 36e9c61b1ba1e1..b875d045cc09db 100644 --- a/homeassistant/components/gc100/__init__.py +++ b/homeassistant/components/gc100/__init__.py @@ -7,8 +7,6 @@ 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 9588506af77666..4ba68a17799655 100644 --- a/homeassistant/components/gc100/binary_sensor.py +++ b/homeassistant/components/gc100/binary_sensor.py @@ -8,8 +8,6 @@ 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 1ffb2726495ffc..eea98a4dc23c61 100644 --- a/homeassistant/components/gc100/switch.py +++ b/homeassistant/components/gc100/switch.py @@ -8,8 +8,6 @@ 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 e4f85a1892dfc7..ee0ee6d4e3bffb 100644 --- a/homeassistant/components/gearbest/sensor.py +++ b/homeassistant/components/gearbest/sensor.py @@ -11,7 +11,6 @@ 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 d619d768c234e3..03c263f54ab1d5 100644 --- a/homeassistant/components/geizhals/sensor.py +++ b/homeassistant/components/geizhals/sensor.py @@ -10,8 +10,6 @@ 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 35efa82c8a3c1f..cfa8ba64ea5e7e 100644 --- a/homeassistant/components/generic_thermostat/climate.py +++ b/homeassistant/components/generic_thermostat/climate.py @@ -23,8 +23,6 @@ _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 e89616126d5f24..f7d79ae7145230 100644 --- a/homeassistant/components/geo_json_events/geo_location.py +++ b/homeassistant/components/geo_json_events/geo_location.py @@ -16,8 +16,6 @@ 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 f71a60c2e83e89..f900812385b00d 100644 --- a/homeassistant/components/geo_rss_events/sensor.py +++ b/homeassistant/components/geo_rss_events/sensor.py @@ -20,8 +20,6 @@ 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 88b72f02cc2e9f..0b4b757ce9efb0 100644 --- a/homeassistant/components/geofency/__init__.py +++ b/homeassistant/components/geofency/__init__.py @@ -16,8 +16,6 @@ _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 0a1a9d5f32edc6..abccf610f5e44f 100644 --- a/homeassistant/components/geofency/device_tracker.py +++ b/homeassistant/components/geofency/device_tracker.py @@ -9,8 +9,6 @@ _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 5a86233d561ff7..d552d2c65ccc2f 100644 --- a/homeassistant/components/github/sensor.py +++ b/homeassistant/components/github/sensor.py @@ -9,8 +9,6 @@ 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 dd574b348d8239..54cbf34fdfc2c8 100644 --- a/homeassistant/components/gitlab_ci/sensor.py +++ b/homeassistant/components/gitlab_ci/sensor.py @@ -11,8 +11,6 @@ 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 2af9c20fb29094..06fb6e3a3b5440 100644 --- a/homeassistant/components/gitter/sensor.py +++ b/homeassistant/components/gitter/sensor.py @@ -8,8 +8,6 @@ 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 db8f0397887e89..2a883e33da68d7 100644 --- a/homeassistant/components/glances/sensor.py +++ b/homeassistant/components/glances/sensor.py @@ -14,8 +14,6 @@ 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 fb3e96e83ab827..005043c1384941 100644 --- a/homeassistant/components/gntp/notify.py +++ b/homeassistant/components/gntp/notify.py @@ -10,8 +10,6 @@ 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 6f0149f657a908..4a7e4ea980a4c5 100644 --- a/homeassistant/components/goalfeed/__init__.py +++ b/homeassistant/components/goalfeed/__init__.py @@ -9,7 +9,6 @@ # 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 4d40ddd2c72ee9..610c131bda5bcd 100644 --- a/homeassistant/components/gogogate2/cover.py +++ b/homeassistant/components/gogogate2/cover.py @@ -10,8 +10,6 @@ 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 0216094de9b872..e9bbf3f96cdd9f 100644 --- a/homeassistant/components/google/__init__.py +++ b/homeassistant/components/google/__init__.py @@ -13,12 +13,6 @@ 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 49a945cbbfd241..4d988bed21cfc7 100644 --- a/homeassistant/components/google/tts.py +++ b/homeassistant/components/google/tts.py @@ -12,8 +12,6 @@ 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 0fd167c2729436..2d3a19afa1302a 100644 --- a/homeassistant/components/google_assistant/__init__.py +++ b/homeassistant/components/google_assistant/__init__.py @@ -28,8 +28,6 @@ _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 7bc9be00b8cc66..5788392190aa8f 100644 --- a/homeassistant/components/google_maps/device_tracker.py +++ b/homeassistant/components/google_maps/device_tracker.py @@ -14,8 +14,6 @@ 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 18c068ea454bcc..8aaa7a17ac44c4 100644 --- a/homeassistant/components/google_pubsub/__init__.py +++ b/homeassistant/components/google_pubsub/__init__.py @@ -15,8 +15,6 @@ _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 b448830ab02aa6..ef4fc76f53ea14 100644 --- a/homeassistant/components/google_travel_time/sensor.py +++ b/homeassistant/components/google_travel_time/sensor.py @@ -15,8 +15,6 @@ 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 6ebc2f512b1fef..073081a9634285 100644 --- a/homeassistant/components/googlehome/__init__.py +++ b/homeassistant/components/googlehome/__init__.py @@ -10,8 +10,6 @@ _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 c024cde0c6ce66..3b6bc5d341c6ce 100644 --- a/homeassistant/components/googlehome/device_tracker.py +++ b/homeassistant/components/googlehome/device_tracker.py @@ -10,8 +10,6 @@ _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 4f37740da85ed2..088f4352fa3a87 100644 --- a/homeassistant/components/googlehome/sensor.py +++ b/homeassistant/components/googlehome/sensor.py @@ -8,8 +8,6 @@ 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 788126b957f9fc..76253d32db837a 100644 --- a/homeassistant/components/gpmdp/media_player.py +++ b/homeassistant/components/gpmdp/media_player.py @@ -16,8 +16,6 @@ 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 62307cb1011631..cccf59a822a34e 100644 --- a/homeassistant/components/gpsd/sensor.py +++ b/homeassistant/components/gpsd/sensor.py @@ -10,8 +10,6 @@ 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 6bc9d11a68e088..6887b85d02d689 100644 --- a/homeassistant/components/gpslogger/__init__.py +++ b/homeassistant/components/gpslogger/__init__.py @@ -15,8 +15,6 @@ _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 c9496975272811..67967821083514 100644 --- a/homeassistant/components/gpslogger/device_tracker.py +++ b/homeassistant/components/gpslogger/device_tracker.py @@ -10,8 +10,6 @@ _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 aedc98aac314e6..0f12c3cd47945a 100644 --- a/homeassistant/components/greeneye_monitor/__init__.py +++ b/homeassistant/components/greeneye_monitor/__init__.py @@ -11,8 +11,6 @@ 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 8321bb768cabf0..ddfa5c1504b005 100644 --- a/homeassistant/components/greeneye_monitor/sensor.py +++ b/homeassistant/components/greeneye_monitor/sensor.py @@ -23,8 +23,6 @@ _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 b8efe8ae17dcba..a8418a01ac2ee0 100644 --- a/homeassistant/components/greenwave/light.py +++ b/homeassistant/components/greenwave/light.py @@ -10,7 +10,6 @@ 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 094a561d310ea5..f74040105130f4 100644 --- a/homeassistant/components/gstreamer/media_player.py +++ b/homeassistant/components/gstreamer/media_player.py @@ -11,8 +11,6 @@ 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 9e89a8ad844de3..0a9301f8c33378 100644 --- a/homeassistant/components/gtfs/sensor.py +++ b/homeassistant/components/gtfs/sensor.py @@ -17,8 +17,6 @@ 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 659984fadea8f9..ecabd5f0a718ac 100644 --- a/homeassistant/components/gtt/sensor.py +++ b/homeassistant/components/gtt/sensor.py @@ -9,8 +9,6 @@ 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 23113a1388b4f7..611e8df006ae13 100644 --- a/homeassistant/components/habitica/__init__.py +++ b/homeassistant/components/habitica/__init__.py @@ -9,8 +9,6 @@ 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 29cdc29e5ada6c..50936ac62a060f 100644 --- a/homeassistant/components/hangouts/__init__.py +++ b/homeassistant/components/hangouts/__init__.py @@ -19,8 +19,6 @@ 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 de9af2e077512b..e88f80afbcde29 100644 --- a/homeassistant/components/hangouts/notify.py +++ b/homeassistant/components/hangouts/notify.py @@ -12,8 +12,6 @@ _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 cec0ac4f5c8653..dc200f39b9c8af 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.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 12b3a91e12b675..c4aebb1bdcbb4a 100644 --- a/homeassistant/components/harmony/remote.py +++ b/homeassistant/components/harmony/remote.py @@ -16,8 +16,6 @@ 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 e8d04b1596d980..2fdb859c320934 100644 --- a/homeassistant/components/hassio/__init__.py +++ b/homeassistant/components/hassio/__init__.py @@ -25,7 +25,6 @@ _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 8eb13c5ab213ae..189cc748d5d994 100644 --- a/homeassistant/components/hdmi_cec/__init__.py +++ b/homeassistant/components/hdmi_cec/__init__.py @@ -17,8 +17,6 @@ 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 b2d2910e145bbe..4468fd9d648dc8 100644 --- a/homeassistant/components/hdmi_cec/media_player.py +++ b/homeassistant/components/hdmi_cec/media_player.py @@ -11,8 +11,6 @@ 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 639f545707ee2b..9fb003f6d6a015 100644 --- a/homeassistant/components/hdmi_cec/switch.py +++ b/homeassistant/components/hdmi_cec/switch.py @@ -6,8 +6,6 @@ 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 fc9057bc905699..045ffdd34c586a 100644 --- a/homeassistant/components/heatmiser/climate.py +++ b/homeassistant/components/heatmiser/climate.py @@ -10,8 +10,6 @@ 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 084444be4ea87f..529ee27997ed50 100644 --- a/homeassistant/components/heos/__init__.py +++ b/homeassistant/components/heos/__init__.py @@ -19,8 +19,6 @@ 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 72d42f8f66f6bb..0da9db31bb28f6 100644 --- a/homeassistant/components/heos/media_player.py +++ b/homeassistant/components/heos/media_player.py @@ -17,8 +17,6 @@ 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 a6a82c9ee1b814..f15d67396151b4 100644 --- a/homeassistant/components/hikvision/binary_sensor.py +++ b/homeassistant/components/hikvision/binary_sensor.py @@ -13,7 +13,6 @@ 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 6e5dcdac9aae6b..373f84cee0e3a5 100644 --- a/homeassistant/components/hikvisioncam/switch.py +++ b/homeassistant/components/hikvisioncam/switch.py @@ -10,7 +10,6 @@ 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 5128b8beea341c..f12fd1ffa76e12 100644 --- a/homeassistant/components/hipchat/notify.py +++ b/homeassistant/components/hipchat/notify.py @@ -10,8 +10,6 @@ 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 7b07fac19a692d..7efe4f2beb20ab 100644 --- a/homeassistant/components/history/__init__.py +++ b/homeassistant/components/history/__init__.py @@ -19,8 +19,6 @@ _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 893f3514d77f93..964d47d25025d3 100644 --- a/homeassistant/components/history_graph/__init__.py +++ b/homeassistant/components/history_graph/__init__.py @@ -8,8 +8,6 @@ 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 f1eea4dd693086..a0a08d4833e2b1 100644 --- a/homeassistant/components/history_stats/sensor.py +++ b/homeassistant/components/history_stats/sensor.py @@ -20,8 +20,6 @@ _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 934c44028ac27b..fdda1f1f5426cd 100644 --- a/homeassistant/components/hive/__init__.py +++ b/homeassistant/components/hive/__init__.py @@ -8,8 +8,6 @@ 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 a0973f4d8e93a7..97900c2852e277 100644 --- a/homeassistant/components/hive/binary_sensor.py +++ b/homeassistant/components/hive/binary_sensor.py @@ -3,8 +3,6 @@ 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 dac7feb2927fe6..ab9b63dad6094f 100644 --- a/homeassistant/components/hive/climate.py +++ b/homeassistant/components/hive/climate.py @@ -8,8 +8,6 @@ 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 3a2176c3eedab7..67331b12b35c4b 100644 --- a/homeassistant/components/hive/light.py +++ b/homeassistant/components/hive/light.py @@ -6,8 +6,6 @@ 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 e7b7d6b45977aa..b8887d27409b28 100644 --- a/homeassistant/components/hive/sensor.py +++ b/homeassistant/components/hive/sensor.py @@ -4,8 +4,6 @@ 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 fd4d3d69b50a06..ea4094d573cef3 100644 --- a/homeassistant/components/hive/switch.py +++ b/homeassistant/components/hive/switch.py @@ -3,8 +3,6 @@ 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 acb604bc0103b3..79de0bd18be1ce 100644 --- a/homeassistant/components/hlk_sw16/__init__.py +++ b/homeassistant/components/hlk_sw16/__init__.py @@ -13,8 +13,6 @@ 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 164a504fa34406..1614534d557f37 100644 --- a/homeassistant/components/hlk_sw16/switch.py +++ b/homeassistant/components/hlk_sw16/switch.py @@ -6,8 +6,6 @@ from . import DATA_DEVICE_REGISTER, DOMAIN as HLK_SW16, SW16Device -DEPENDENCIES = [HLK_SW16] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit/__init__.py b/homeassistant/components/homekit/__init__.py index 01979f03b9a5f1..f524455fedeaf6 100644 --- a/homeassistant/components/homekit/__init__.py +++ b/homeassistant/components/homekit/__init__.py @@ -26,8 +26,6 @@ from .util import ( show_setup_message, validate_entity_config, validate_media_player_features) -REQUIREMENTS = ['HAP-python==2.4.2'] - _LOGGER = logging.getLogger(__name__) MAX_DEVICES = 100 diff --git a/homeassistant/components/homekit_controller/__init__.py b/homeassistant/components/homekit_controller/__init__.py index 2a43d0ac9ce5c4..6765db0085e8bf 100644 --- a/homeassistant/components/homekit_controller/__init__.py +++ b/homeassistant/components/homekit_controller/__init__.py @@ -12,8 +12,6 @@ ) 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 f9bc25f4237e0c..fe15cfe2eab9a5 100644 --- a/homeassistant/components/homekit_controller/alarm_control_panel.py +++ b/homeassistant/components/homekit_controller/alarm_control_panel.py @@ -8,8 +8,6 @@ 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 2bd03b18932146..a5b7008200236b 100644 --- a/homeassistant/components/homekit_controller/binary_sensor.py +++ b/homeassistant/components/homekit_controller/binary_sensor.py @@ -5,8 +5,6 @@ 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 67f1fb72bcfbb5..dfbd6f68daa53d 100644 --- a/homeassistant/components/homekit_controller/climate.py +++ b/homeassistant/components/homekit_controller/climate.py @@ -9,8 +9,6 @@ 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 26b7613ed2b6d5..0c9ce2bc5286b9 100644 --- a/homeassistant/components/homekit_controller/cover.py +++ b/homeassistant/components/homekit_controller/cover.py @@ -12,8 +12,6 @@ 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 cb9259df4a992d..a139b1f29328fa 100644 --- a/homeassistant/components/homekit_controller/light.py +++ b/homeassistant/components/homekit_controller/light.py @@ -7,8 +7,6 @@ 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 0d0275fda164e7..67de2bfaf3f6b6 100644 --- a/homeassistant/components/homekit_controller/lock.py +++ b/homeassistant/components/homekit_controller/lock.py @@ -7,8 +7,6 @@ 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 8cbc8f248bafe0..b377da80142cf8 100644 --- a/homeassistant/components/homekit_controller/sensor.py +++ b/homeassistant/components/homekit_controller/sensor.py @@ -3,8 +3,6 @@ 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 34e83c06526758..c09502373a6089 100644 --- a/homeassistant/components/homekit_controller/switch.py +++ b/homeassistant/components/homekit_controller/switch.py @@ -5,8 +5,6 @@ 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 a8109af5ed8f84..97c805aa2aca5d 100644 --- a/homeassistant/components/homematic/__init__.py +++ b/homeassistant/components/homematic/__init__.py @@ -14,8 +14,6 @@ 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 7bf260a9bdc385..dfd7b7a72bd81b 100644 --- a/homeassistant/components/homematic/binary_sensor.py +++ b/homeassistant/components/homematic/binary_sensor.py @@ -8,8 +8,6 @@ _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 146cad1bc4ca75..e10d486b727db9 100644 --- a/homeassistant/components/homematic/climate.py +++ b/homeassistant/components/homematic/climate.py @@ -9,8 +9,6 @@ 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 33b764dc31fa21..387eb26f433d06 100644 --- a/homeassistant/components/homematic/cover.py +++ b/homeassistant/components/homematic/cover.py @@ -9,8 +9,6 @@ _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 c3601461173783..72aa9a977d4a72 100644 --- a/homeassistant/components/homematic/light.py +++ b/homeassistant/components/homematic/light.py @@ -9,8 +9,6 @@ _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 3c0ca040c5f522..7f796b32885cb8 100644 --- a/homeassistant/components/homematic/lock.py +++ b/homeassistant/components/homematic/lock.py @@ -8,8 +8,6 @@ _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 9054c1fa0ad6ca..74ea7095b41d3e 100644 --- a/homeassistant/components/homematic/notify.py +++ b/homeassistant/components/homematic/notify.py @@ -13,8 +13,6 @@ 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 401d11f70c849b..fca8c746a49cc8 100644 --- a/homeassistant/components/homematic/sensor.py +++ b/homeassistant/components/homematic/sensor.py @@ -7,8 +7,6 @@ _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 393ad09b3104ef..b77b3a1f7008ba 100644 --- a/homeassistant/components/homematic/switch.py +++ b/homeassistant/components/homematic/switch.py @@ -8,8 +8,6 @@ _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 1330a2750ae6db..4a24120be95592 100644 --- a/homeassistant/components/homematicip_cloud/__init__.py +++ b/homeassistant/components/homematicip_cloud/__init__.py @@ -15,8 +15,6 @@ 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 df0201340ed127..cb35833c231a42 100644 --- a/homeassistant/components/homematicip_cloud/alarm_control_panel.py +++ b/homeassistant/components/homematicip_cloud/alarm_control_panel.py @@ -10,8 +10,6 @@ _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 44c17282dda03d..48e9520a952621 100644 --- a/homeassistant/components/homematicip_cloud/binary_sensor.py +++ b/homeassistant/components/homematicip_cloud/binary_sensor.py @@ -6,8 +6,6 @@ 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 735e8789670452..e572e3d97546ad 100644 --- a/homeassistant/components/homematicip_cloud/cover.py +++ b/homeassistant/components/homematicip_cloud/cover.py @@ -5,8 +5,6 @@ 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 f5bac66388c6d5..b67e4114db20d3 100644 --- a/homeassistant/components/homematicip_cloud/light.py +++ b/homeassistant/components/homematicip_cloud/light.py @@ -7,8 +7,6 @@ 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 5f345f419fac09..201a5be6c51547 100644 --- a/homeassistant/components/homematicip_cloud/sensor.py +++ b/homeassistant/components/homematicip_cloud/sensor.py @@ -9,8 +9,6 @@ _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 f9713cd8c006cc..b96e0c4cf4d60c 100644 --- a/homeassistant/components/homematicip_cloud/switch.py +++ b/homeassistant/components/homematicip_cloud/switch.py @@ -6,8 +6,6 @@ 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 ba3157471f9c80..74b302b18fc33a 100644 --- a/homeassistant/components/homematicip_cloud/weather.py +++ b/homeassistant/components/homematicip_cloud/weather.py @@ -7,8 +7,6 @@ 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 d0769ed25e6193..b722a5a4a2de29 100644 --- a/homeassistant/components/homeworks/__init__.py +++ b/homeassistant/components/homeworks/__init__.py @@ -12,8 +12,6 @@ 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 ca41dff9834b44..710be7c0077ae2 100644 --- a/homeassistant/components/homeworks/light.py +++ b/homeassistant/components/homeworks/light.py @@ -11,8 +11,6 @@ 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 7460ed6e9d0a8c..df19f67a876d73 100644 --- a/homeassistant/components/honeywell/climate.py +++ b/homeassistant/components/honeywell/climate.py @@ -15,8 +15,6 @@ 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 51168e4ef2e1a7..ab72b051f1bd81 100644 --- a/homeassistant/components/horizon/media_player.py +++ b/homeassistant/components/horizon/media_player.py @@ -16,8 +16,6 @@ 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 a017f0ee3e8c08..46fde885613929 100644 --- a/homeassistant/components/hp_ilo/sensor.py +++ b/homeassistant/components/hp_ilo/sensor.py @@ -13,8 +13,6 @@ 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 fa7bf660b79f59..2fcaa266b8504c 100644 --- a/homeassistant/components/html5/notify.py +++ b/homeassistant/components/html5/notify.py @@ -24,10 +24,6 @@ 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 0bcf3f85ff7932..ad64b38200af52 100644 --- a/homeassistant/components/http/__init__.py +++ b/homeassistant/components/http/__init__.py @@ -29,8 +29,6 @@ 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 17182bb833d8c6..01c2b0399b9a76 100644 --- a/homeassistant/components/htu21d/sensor.py +++ b/homeassistant/components/htu21d/sensor.py @@ -12,9 +12,6 @@ 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 a462b1b3072f18..8e401dfd2395e6 100644 --- a/homeassistant/components/huawei_lte/__init__.py +++ b/homeassistant/components/huawei_lte/__init__.py @@ -19,8 +19,6 @@ # 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 69bf42fb3fe5a5..d6c49f5e255e16 100644 --- a/homeassistant/components/huawei_lte/device_tracker.py +++ b/homeassistant/components/huawei_lte/device_tracker.py @@ -11,8 +11,6 @@ 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 5e20a774c25d2a..6394140c07fae6 100644 --- a/homeassistant/components/huawei_lte/notify.py +++ b/homeassistant/components/huawei_lte/notify.py @@ -11,8 +11,6 @@ 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 42ad4b52f8d815..42bd1f16271403 100644 --- a/homeassistant/components/huawei_lte/sensor.py +++ b/homeassistant/components/huawei_lte/sensor.py @@ -16,8 +16,6 @@ _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 8f5c27f6516e8d..ac17e6e852f435 100644 --- a/homeassistant/components/hue/__init__.py +++ b/homeassistant/components/hue/__init__.py @@ -14,8 +14,6 @@ # 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 0725c86bd954e0..3ba92ef12a7cce 100644 --- a/homeassistant/components/hue/light.py +++ b/homeassistant/components/hue/light.py @@ -16,7 +16,6 @@ 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 7f0709aa6c1cd6..571e15ab94fe9f 100644 --- a/homeassistant/components/hunterdouglas_powerview/scene.py +++ b/homeassistant/components/hunterdouglas_powerview/scene.py @@ -10,8 +10,6 @@ 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 9c7baf6db2e2dd..6ac0ee0322d37c 100644 --- a/homeassistant/components/hydrawise/__init__.py +++ b/homeassistant/components/hydrawise/__init__.py @@ -14,8 +14,6 @@ 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 85a51d3649eb55..980e495c7f9d1f 100644 --- a/homeassistant/components/hydrawise/binary_sensor.py +++ b/homeassistant/components/hydrawise/binary_sensor.py @@ -12,8 +12,6 @@ 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 fc15a54ed60963..908529c783d276 100644 --- a/homeassistant/components/hydrawise/sensor.py +++ b/homeassistant/components/hydrawise/sensor.py @@ -10,8 +10,6 @@ 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 dcbd5274a6237d..ccfa9333e0037e 100644 --- a/homeassistant/components/hydrawise/switch.py +++ b/homeassistant/components/hydrawise/switch.py @@ -12,8 +12,6 @@ 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 5f0fd9e01aded9..0ec48f3058d817 100644 --- a/homeassistant/components/hydroquebec/sensor.py +++ b/homeassistant/components/hydroquebec/sensor.py @@ -20,8 +20,6 @@ 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 8152c2496e603c..27ff4fc6829f44 100644 --- a/homeassistant/components/ialarm/alarm_control_panel.py +++ b/homeassistant/components/ialarm/alarm_control_panel.py @@ -12,8 +12,6 @@ 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 1d0e0d2fafb0f6..908fe5ecf90fb4 100644 --- a/homeassistant/components/icloud/device_tracker.py +++ b/homeassistant/components/icloud/device_tracker.py @@ -17,8 +17,6 @@ _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 3de7aa7cc8c5fa..bfb227e0fc1014 100644 --- a/homeassistant/components/idteck_prox/__init__.py +++ b/homeassistant/components/idteck_prox/__init__.py @@ -7,8 +7,6 @@ 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 bad3984ea5bd20..6b5934702aaeb4 100644 --- a/homeassistant/components/ifttt/__init__.py +++ b/homeassistant/components/ifttt/__init__.py @@ -9,9 +9,6 @@ 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 3f806173196897..a0492a210e03e0 100644 --- a/homeassistant/components/ifttt/alarm_control_panel.py +++ b/homeassistant/components/ifttt/alarm_control_panel.py @@ -15,8 +15,6 @@ 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 6851141efb46be..1a6b5839029c9a 100644 --- a/homeassistant/components/iglo/light.py +++ b/homeassistant/components/iglo/light.py @@ -12,8 +12,6 @@ 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 102acd82551c4f..7d8acfbdf2eacb 100644 --- a/homeassistant/components/ihc/__init__.py +++ b/homeassistant/components/ihc/__init__.py @@ -21,8 +21,6 @@ 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 69e3e1685af8c8..a9a2b66cdde1f6 100644 --- a/homeassistant/components/ihc/binary_sensor.py +++ b/homeassistant/components/ihc/binary_sensor.py @@ -6,8 +6,6 @@ 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 ad6d0fb6511859..72c0dc8f0ba946 100644 --- a/homeassistant/components/ihc/light.py +++ b/homeassistant/components/ihc/light.py @@ -9,8 +9,6 @@ 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 fd1f2cee53a846..4c63cf41e965ff 100644 --- a/homeassistant/components/ihc/sensor.py +++ b/homeassistant/components/ihc/sensor.py @@ -5,8 +5,6 @@ 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 e2189492b8f435..6d3a72a3b661cd 100644 --- a/homeassistant/components/ihc/switch.py +++ b/homeassistant/components/ihc/switch.py @@ -6,8 +6,6 @@ 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 e5193985629629..ce49ebf932ea83 100644 --- a/homeassistant/components/image_processing/__init__.py +++ b/homeassistant/components/image_processing/__init__.py @@ -17,8 +17,6 @@ _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 5ff23eb8e5d5c4..cbc470beec8e1b 100644 --- a/homeassistant/components/imap/sensor.py +++ b/homeassistant/components/imap/sensor.py @@ -15,8 +15,6 @@ _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 551996983c8004..bf2ba1b8ecc71c 100644 --- a/homeassistant/components/influxdb/__init__.py +++ b/homeassistant/components/influxdb/__init__.py @@ -18,8 +18,6 @@ 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 3bec7e3c657780..81a93cfc51dfdb 100644 --- a/homeassistant/components/influxdb/sensor.py +++ b/homeassistant/components/influxdb/sensor.py @@ -18,8 +18,6 @@ _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 a462ac0f63efe3..a1eea2fb1dfb90 100644 --- a/homeassistant/components/insteon/__init__.py +++ b/homeassistant/components/insteon/__init__.py @@ -13,8 +13,6 @@ 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 6f1e56756394f0..50e7a8fb6461bf 100644 --- a/homeassistant/components/insteon/binary_sensor.py +++ b/homeassistant/components/insteon/binary_sensor.py @@ -7,8 +7,6 @@ _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 1bb316152a9db9..da339bb4b65a09 100644 --- a/homeassistant/components/insteon/cover.py +++ b/homeassistant/components/insteon/cover.py @@ -10,7 +10,6 @@ _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 26a56d6df98b3b..888fcfe959a9df 100644 --- a/homeassistant/components/insteon/fan.py +++ b/homeassistant/components/insteon/fan.py @@ -10,8 +10,6 @@ _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 676c053325c65f..5103bedc6b6587 100644 --- a/homeassistant/components/insteon/light.py +++ b/homeassistant/components/insteon/light.py @@ -8,8 +8,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['insteon'] - MAX_BRIGHTNESS = 255 diff --git a/homeassistant/components/insteon/sensor.py b/homeassistant/components/insteon/sensor.py index edea87e1f738aa..a7c1c0b89efbfb 100644 --- a/homeassistant/components/insteon/sensor.py +++ b/homeassistant/components/insteon/sensor.py @@ -5,8 +5,6 @@ from . import InsteonEntity -DEPENDENCIES = ['insteon'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/insteon/switch.py b/homeassistant/components/insteon/switch.py index 4fdcdb20bb2847..6c7b2b02031ced 100644 --- a/homeassistant/components/insteon/switch.py +++ b/homeassistant/components/insteon/switch.py @@ -5,8 +5,6 @@ from . import InsteonEntity -DEPENDENCIES = ['insteon'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ios/__init__.py b/homeassistant/components/ios/__init__.py index cc8bd62293a18b..a9395ed5f5d93f 100644 --- a/homeassistant/components/ios/__init__.py +++ b/homeassistant/components/ios/__init__.py @@ -17,8 +17,6 @@ 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 1f8aade4ec17a8..ecbbfb2056c26c 100644 --- a/homeassistant/components/ios/notify.py +++ b/homeassistant/components/ios/notify.py @@ -14,8 +14,6 @@ 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 404b313368cebe..5c5be2b262666a 100644 --- a/homeassistant/components/ios/sensor.py +++ b/homeassistant/components/ios/sensor.py @@ -3,8 +3,6 @@ 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 e28de61aad0174..c3140e00b97aae 100644 --- a/homeassistant/components/iota/__init__.py +++ b/homeassistant/components/iota/__init__.py @@ -8,8 +8,6 @@ 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 2955828aff5a77..c278ab7288d06f 100644 --- a/homeassistant/components/iota/sensor.py +++ b/homeassistant/components/iota/sensor.py @@ -15,8 +15,6 @@ 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 01ac2194f355e7..00a5738dbd61d8 100644 --- a/homeassistant/components/iperf3/__init__.py +++ b/homeassistant/components/iperf3/__init__.py @@ -12,8 +12,6 @@ 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 db9aafcdf4bb19..efc34d8bdef000 100644 --- a/homeassistant/components/iperf3/sensor.py +++ b/homeassistant/components/iperf3/sensor.py @@ -6,8 +6,6 @@ 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 7122957ad12d95..e976bcb9896a51 100644 --- a/homeassistant/components/ipma/weather.py +++ b/homeassistant/components/ipma/weather.py @@ -15,8 +15,6 @@ 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 e17ecfde59da5b..586568ca9eff44 100644 --- a/homeassistant/components/irish_rail_transport/sensor.py +++ b/homeassistant/components/irish_rail_transport/sensor.py @@ -9,8 +9,6 @@ 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 9efbc237e30a5e..c50c01c2eceec5 100644 --- a/homeassistant/components/islamic_prayer_times/sensor.py +++ b/homeassistant/components/islamic_prayer_times/sensor.py @@ -11,8 +11,6 @@ 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 381bc16791826e..97e5087819ee3c 100644 --- a/homeassistant/components/iss/binary_sensor.py +++ b/homeassistant/components/iss/binary_sensor.py @@ -12,8 +12,6 @@ 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 4eaa71deececa5..de5e09f6238726 100644 --- a/homeassistant/components/isy994/__init__.py +++ b/homeassistant/components/isy994/__init__.py @@ -12,8 +12,6 @@ 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 beb773838fb17d..54dfa1fcfb92f8 100644 --- a/homeassistant/components/itach/remote.py +++ b/homeassistant/components/itach/remote.py @@ -10,8 +10,6 @@ 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 478bbed98fa6c7..ec86abecc4413d 100644 --- a/homeassistant/components/jewish_calendar/sensor.py +++ b/homeassistant/components/jewish_calendar/sensor.py @@ -11,8 +11,6 @@ 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 f1371deed2bdf5..4a3cf737c96ff9 100644 --- a/homeassistant/components/joaoapps_join/__init__.py +++ b/homeassistant/components/joaoapps_join/__init__.py @@ -6,8 +6,6 @@ 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 0137520049d423..d9eabce5476f5d 100644 --- a/homeassistant/components/joaoapps_join/notify.py +++ b/homeassistant/components/joaoapps_join/notify.py @@ -7,8 +7,6 @@ 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 f62331d1502ea0..919322487b161c 100644 --- a/homeassistant/components/juicenet/__init__.py +++ b/homeassistant/components/juicenet/__init__.py @@ -8,8 +8,6 @@ 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 6b55e539547d24..60369b1f92a732 100644 --- a/homeassistant/components/juicenet/sensor.py +++ b/homeassistant/components/juicenet/sensor.py @@ -8,8 +8,6 @@ _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 f873507112dc62..e52dff7476dfab 100644 --- a/homeassistant/components/keenetic_ndms2/device_tracker.py +++ b/homeassistant/components/keenetic_ndms2/device_tracker.py @@ -10,8 +10,6 @@ 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 44accca2f56a7e..f841e7e9681974 100644 --- a/homeassistant/components/keyboard/__init__.py +++ b/homeassistant/components/keyboard/__init__.py @@ -6,8 +6,6 @@ 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 e786fe458a8460..71df70f51f0a96 100644 --- a/homeassistant/components/keyboard_remote/__init__.py +++ b/homeassistant/components/keyboard_remote/__init__.py @@ -11,8 +11,6 @@ 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 d60d8e0cfeb10a..7cf27d342f51c9 100644 --- a/homeassistant/components/kira/__init__.py +++ b/homeassistant/components/kira/__init__.py @@ -12,8 +12,6 @@ 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 0b5806425d95a7..bbeb2dce04a772 100644 --- a/homeassistant/components/kiwi/lock.py +++ b/homeassistant/components/kiwi/lock.py @@ -11,8 +11,6 @@ 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 ea5b18b7ede91a..04b51730be1ca4 100644 --- a/homeassistant/components/knx/__init__.py +++ b/homeassistant/components/knx/__init__.py @@ -11,8 +11,6 @@ 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 8ee21e24c5e978..65d10722500fc7 100644 --- a/homeassistant/components/knx/binary_sensor.py +++ b/homeassistant/components/knx/binary_sensor.py @@ -22,8 +22,6 @@ 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 e11e5449326bf5..f4835389dfa043 100644 --- a/homeassistant/components/knx/climate.py +++ b/homeassistant/components/knx/climate.py @@ -39,8 +39,6 @@ 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 b2b287d1e87d23..bbee54e00cd95f 100644 --- a/homeassistant/components/knx/cover.py +++ b/homeassistant/components/knx/cover.py @@ -25,8 +25,6 @@ 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 cf59f1fc135b3b..0ceee7589e6f71 100644 --- a/homeassistant/components/knx/light.py +++ b/homeassistant/components/knx/light.py @@ -30,8 +30,6 @@ DEFAULT_COLOR_TEMP_MODE = 'absolute' DEFAULT_MIN_KELVIN = 2700 # 370 mireds DEFAULT_MAX_KELVIN = 6000 # 166 mireds -DEPENDENCIES = ['knx'] - class ColorTempModes(Enum): """Color temperature modes for config validation.""" diff --git a/homeassistant/components/knx/notify.py b/homeassistant/components/knx/notify.py index 742252d187426f..486908c3cffd90 100644 --- a/homeassistant/components/knx/notify.py +++ b/homeassistant/components/knx/notify.py @@ -11,8 +11,6 @@ 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 4bf186c28ff7d4..4f0c7b2d4fcc4d 100644 --- a/homeassistant/components/knx/scene.py +++ b/homeassistant/components/knx/scene.py @@ -11,8 +11,6 @@ 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 7ddafe53be44b0..bb3128eaee7821 100644 --- a/homeassistant/components/knx/sensor.py +++ b/homeassistant/components/knx/sensor.py @@ -10,8 +10,6 @@ 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 e3beff39677954..461b27e94c0d54 100644 --- a/homeassistant/components/knx/switch.py +++ b/homeassistant/components/knx/switch.py @@ -11,8 +11,6 @@ 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 81c93dba2ac417..96fb02a08a0395 100644 --- a/homeassistant/components/kodi/media_player.py +++ b/homeassistant/components/kodi/media_player.py @@ -31,8 +31,6 @@ 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 f6ee2c47b96b7c..fb5326c83c8fd4 100644 --- a/homeassistant/components/kodi/notify.py +++ b/homeassistant/components/kodi/notify.py @@ -14,8 +14,6 @@ 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 276e395817c0d5..ee4ba16e54c33e 100644 --- a/homeassistant/components/konnected/__init__.py +++ b/homeassistant/components/konnected/__init__.py @@ -32,8 +32,6 @@ _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 @@ 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 1fbfbea1861c25..3abd9be6c4b79b 100644 --- a/homeassistant/components/konnected/binary_sensor.py +++ b/homeassistant/components/konnected/binary_sensor.py @@ -12,8 +12,6 @@ _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 a48d1a58619600..7881eacff40f5b 100644 --- a/homeassistant/components/konnected/sensor.py +++ b/homeassistant/components/konnected/sensor.py @@ -13,8 +13,6 @@ _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 3db602215b968d..841e84e2487edd 100644 --- a/homeassistant/components/konnected/switch.py +++ b/homeassistant/components/konnected/switch.py @@ -11,8 +11,6 @@ _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 bad0ea3cdede51..7a153970d189c2 100644 --- a/homeassistant/components/kwb/sensor.py +++ b/homeassistant/components/kwb/sensor.py @@ -9,8 +9,6 @@ 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 9240343a5e3e69..dea51b0c9173e9 100644 --- a/homeassistant/components/lacrosse/sensor.py +++ b/homeassistant/components/lacrosse/sensor.py @@ -14,8 +14,6 @@ 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 0c3c8b08dd732e..057594f42aed75 100644 --- a/homeassistant/components/lametric/__init__.py +++ b/homeassistant/components/lametric/__init__.py @@ -5,8 +5,6 @@ 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 358bb056b00e33..92b254cd2b01d2 100644 --- a/homeassistant/components/lametric/notify.py +++ b/homeassistant/components/lametric/notify.py @@ -11,8 +11,6 @@ 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_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 e4e28eff4f1819..32774b1bf284bd 100644 --- a/homeassistant/components/lastfm/sensor.py +++ b/homeassistant/components/lastfm/sensor.py @@ -9,8 +9,6 @@ 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 4b42ddba268b0b..a1c5b5825a9b39 100644 --- a/homeassistant/components/launch_library/sensor.py +++ b/homeassistant/components/launch_library/sensor.py @@ -10,8 +10,6 @@ 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 44f69c261b9c88..418b6ffa89df0c 100644 --- a/homeassistant/components/lcn/__init__.py +++ b/homeassistant/components/lcn/__init__.py @@ -20,8 +20,6 @@ _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 0ffa2e50d8b21d..ec37d3e5128ffc 100755 --- a/homeassistant/components/lcn/binary_sensor.py +++ b/homeassistant/components/lcn/binary_sensor.py @@ -6,8 +6,6 @@ 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 a32ff7c23f4605..7123f2d5d0a579 100755 --- a/homeassistant/components/lcn/cover.py +++ b/homeassistant/components/lcn/cover.py @@ -5,8 +5,6 @@ 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 00b78259354e51..653873ba78a373 100644 --- a/homeassistant/components/lcn/light.py +++ b/homeassistant/components/lcn/light.py @@ -9,8 +9,6 @@ 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 5e50d092ada05d..48ac8c7266c40d 100755 --- a/homeassistant/components/lcn/sensor.py +++ b/homeassistant/components/lcn/sensor.py @@ -6,8 +6,6 @@ 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 7c375f4a598c79..48ae579fbcd7c3 100755 --- a/homeassistant/components/lcn/switch.py +++ b/homeassistant/components/lcn/switch.py @@ -5,8 +5,6 @@ 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 12fee5fae96eda..da5946de1ef45f 100644 --- a/homeassistant/components/lg_netcast/media_player.py +++ b/homeassistant/components/lg_netcast/media_player.py @@ -17,8 +17,6 @@ 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 2e2481a462b5a9..938b4e437c16c0 100644 --- a/homeassistant/components/lg_soundbar/media_player.py +++ b/homeassistant/components/lg_soundbar/media_player.py @@ -9,8 +9,6 @@ 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 82802bab4af75c..849fecad487db6 100644 --- a/homeassistant/components/lifx/__init__.py +++ b/homeassistant/components/lifx/__init__.py @@ -8,8 +8,6 @@ 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 014ca9ae6c80b5..04f756e6dede3f 100644 --- a/homeassistant/components/lifx/light.py +++ b/homeassistant/components/lifx/light.py @@ -30,9 +30,6 @@ _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 6c5f68937f88a5..a31b875f21e4e3 100644 --- a/homeassistant/components/lifx_legacy/light.py +++ b/homeassistant/components/lifx_legacy/light.py @@ -22,8 +22,6 @@ _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 db2e9ce0197b50..f9ce6eb05d4158 100644 --- a/homeassistant/components/light/__init__.py +++ b/homeassistant/components/light/__init__.py @@ -24,7 +24,6 @@ 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 f6e11352265dcf..2337c582b2d083 100644 --- a/homeassistant/components/lightwave/__init__.py +++ b/homeassistant/components/lightwave/__init__.py @@ -5,8 +5,6 @@ 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 f22533d2548dca..68c94300317e73 100644 --- a/homeassistant/components/lightwave/light.py +++ b/homeassistant/components/lightwave/light.py @@ -5,8 +5,6 @@ from . import LIGHTWAVE_LINK -DEPENDENCIES = ['lightwave'] - MAX_BRIGHTNESS = 255 diff --git a/homeassistant/components/lightwave/switch.py b/homeassistant/components/lightwave/switch.py index dfa93b4b151844..0d7e2cd382558a 100644 --- a/homeassistant/components/lightwave/switch.py +++ b/homeassistant/components/lightwave/switch.py @@ -4,8 +4,6 @@ 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 4f187afa1d75df..fa12bc76de5355 100644 --- a/homeassistant/components/limitlessled/light.py +++ b/homeassistant/components/limitlessled/light.py @@ -15,8 +15,6 @@ 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 46cc78d4e4ae36..3871d5beda9a1a 100644 --- a/homeassistant/components/linksys_ap/device_tracker.py +++ b/homeassistant/components/linksys_ap/device_tracker.py @@ -14,8 +14,6 @@ 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 35f85f15ed6332..63f7aaf5423382 100644 --- a/homeassistant/components/linky/sensor.py +++ b/homeassistant/components/linky/sensor.py @@ -12,7 +12,6 @@ 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 8bbd98c0acf778..f9270d95c078a7 100644 --- a/homeassistant/components/linode/__init__.py +++ b/homeassistant/components/linode/__init__.py @@ -8,8 +8,6 @@ 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 19455917dbb28b..69079b3e63ab8b 100644 --- a/homeassistant/components/linode/binary_sensor.py +++ b/homeassistant/components/linode/binary_sensor.py @@ -16,8 +16,6 @@ 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 e5f97ef756e403..6787d84937f67a 100644 --- a/homeassistant/components/linode/switch.py +++ b/homeassistant/components/linode/switch.py @@ -13,8 +13,6 @@ _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 7164315de8ea42..87061174d2d270 100644 --- a/homeassistant/components/linux_battery/sensor.py +++ b/homeassistant/components/linux_battery/sensor.py @@ -9,8 +9,6 @@ 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 0f00eda20072c0..c3077cf6f44401 100644 --- a/homeassistant/components/lirc/__init__.py +++ b/homeassistant/components/lirc/__init__.py @@ -9,8 +9,6 @@ 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 b4e8e45fa0b742..d8e02b51870881 100644 --- a/homeassistant/components/litejet/__init__.py +++ b/homeassistant/components/litejet/__init__.py @@ -7,8 +7,6 @@ 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 e52e50ed21a858..b87d77ebe7c086 100644 --- a/homeassistant/components/litejet/light.py +++ b/homeassistant/components/litejet/light.py @@ -7,8 +7,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['litejet'] - ATTR_NUMBER = 'number' diff --git a/homeassistant/components/litejet/scene.py b/homeassistant/components/litejet/scene.py index 2563c9ceb0c480..c347140a6bdf6e 100644 --- a/homeassistant/components/litejet/scene.py +++ b/homeassistant/components/litejet/scene.py @@ -4,8 +4,6 @@ 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 9972dcb9f44797..7e3059dacd66fd 100644 --- a/homeassistant/components/litejet/switch.py +++ b/homeassistant/components/litejet/switch.py @@ -4,8 +4,6 @@ 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 1ee9931d233c0d..05ceb68cc94e3c 100644 --- a/homeassistant/components/liveboxplaytv/media_player.py +++ b/homeassistant/components/liveboxplaytv/media_player.py @@ -18,8 +18,6 @@ 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 335ae4cfe1eae9..f21c55af28ad4a 100644 --- a/homeassistant/components/locative/__init__.py +++ b/homeassistant/components/locative/__init__.py @@ -16,8 +16,6 @@ _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 51135f4e21a941..1e16bde58ad485 100644 --- a/homeassistant/components/locative/device_tracker.py +++ b/homeassistant/components/locative/device_tracker.py @@ -10,8 +10,6 @@ _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 fe5286ba813daf..598de7961a51f8 100644 --- a/homeassistant/components/lock/__init__.py +++ b/homeassistant/components/lock/__init__.py @@ -19,7 +19,6 @@ 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 7a0fb5e2654b3a..70fe31e64d6808 100644 --- a/homeassistant/components/logbook/__init__.py +++ b/homeassistant/components/logbook/__init__.py @@ -31,8 +31,6 @@ 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 433895293f441d..1b74a9df03b3b0 100644 --- a/homeassistant/components/logi_circle/__init__.py +++ b/homeassistant/components/logi_circle/__init__.py @@ -20,8 +20,6 @@ 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 b69f23ac19dc7e..09baaa5ba0b3e8 100644 --- a/homeassistant/components/logi_circle/camera.py +++ b/homeassistant/components/logi_circle/camera.py @@ -15,8 +15,6 @@ 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 01d5492eea7ce7..6efd5065ba6baa 100644 --- a/homeassistant/components/logi_circle/sensor.py +++ b/homeassistant/components/logi_circle/sensor.py @@ -11,8 +11,6 @@ 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 c2502e2ab2be60..9bee85697928db 100644 --- a/homeassistant/components/london_underground/sensor.py +++ b/homeassistant/components/london_underground/sensor.py @@ -9,8 +9,6 @@ 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 23bdf48f64506d..b2afc36b8f5f3b 100644 --- a/homeassistant/components/loopenergy/sensor.py +++ b/homeassistant/components/loopenergy/sensor.py @@ -12,8 +12,6 @@ _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 77273d89d42033..4068be840c895a 100644 --- a/homeassistant/components/luci/device_tracker.py +++ b/homeassistant/components/luci/device_tracker.py @@ -9,8 +9,6 @@ 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 125cefb90265d6..81b177f734ae34 100644 --- a/homeassistant/components/luftdaten/__init__.py +++ b/homeassistant/components/luftdaten/__init__.py @@ -17,8 +17,6 @@ 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 107673bac45214..ca68075df5d69c 100644 --- a/homeassistant/components/luftdaten/sensor.py +++ b/homeassistant/components/luftdaten/sensor.py @@ -14,8 +14,6 @@ _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 8a5f098f741929..e97344f3082d11 100644 --- a/homeassistant/components/lupusec/__init__.py +++ b/homeassistant/components/lupusec/__init__.py @@ -11,8 +11,6 @@ _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 0a88f3bd552fc4..9f3e7263396503 100644 --- a/homeassistant/components/lupusec/alarm_control_panel.py +++ b/homeassistant/components/lupusec/alarm_control_panel.py @@ -8,8 +8,6 @@ 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 2c3f5e0e0b86e0..28833b3d246e2f 100644 --- a/homeassistant/components/lupusec/binary_sensor.py +++ b/homeassistant/components/lupusec/binary_sensor.py @@ -7,8 +7,6 @@ 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 0d86ea0a3650bf..b6391959397a07 100644 --- a/homeassistant/components/lupusec/switch.py +++ b/homeassistant/components/lupusec/switch.py @@ -6,8 +6,6 @@ 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 f642e96d8f6433..c91103f22446df 100644 --- a/homeassistant/components/lutron/__init__.py +++ b/homeassistant/components/lutron/__init__.py @@ -10,8 +10,6 @@ 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 da7f69095fc436..4a2d72d31160bc 100644 --- a/homeassistant/components/lutron/cover.py +++ b/homeassistant/components/lutron/cover.py @@ -9,8 +9,6 @@ _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 5f3fd4787fd3ef..6ddf54e1fc1e50 100644 --- a/homeassistant/components/lutron/light.py +++ b/homeassistant/components/lutron/light.py @@ -8,8 +8,6 @@ _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 a2d18c6d242407..05deeef260d52b 100644 --- a/homeassistant/components/lutron/scene.py +++ b/homeassistant/components/lutron/scene.py @@ -7,8 +7,6 @@ _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 b42c0d930bc834..0b1705fb235228 100644 --- a/homeassistant/components/lutron/switch.py +++ b/homeassistant/components/lutron/switch.py @@ -7,8 +7,6 @@ _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 61c005f60b2d22..516b5ccd7c864f 100644 --- a/homeassistant/components/lutron_caseta/__init__.py +++ b/homeassistant/components/lutron_caseta/__init__.py @@ -8,8 +8,6 @@ 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 d970f5282ff003..8793fc0236e2d1 100644 --- a/homeassistant/components/lutron_caseta/cover.py +++ b/homeassistant/components/lutron_caseta/cover.py @@ -9,8 +9,6 @@ _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 d883da73c9161a..af93a459031e9b 100644 --- a/homeassistant/components/lutron_caseta/light.py +++ b/homeassistant/components/lutron_caseta/light.py @@ -10,8 +10,6 @@ _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 2e7059a56fc0a2..df0bb6a7a5a949 100644 --- a/homeassistant/components/lutron_caseta/scene.py +++ b/homeassistant/components/lutron_caseta/scene.py @@ -7,8 +7,6 @@ _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 54c670913576ce..0ccf625f765a56 100644 --- a/homeassistant/components/lutron_caseta/switch.py +++ b/homeassistant/components/lutron_caseta/switch.py @@ -7,8 +7,6 @@ _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 5d9b7635ad2dd1..a2ff77dc2d0fda 100644 --- a/homeassistant/components/lw12wifi/light.py +++ b/homeassistant/components/lw12wifi/light.py @@ -16,8 +16,6 @@ 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 98d79cd970b965..b5788e50b33835 100644 --- a/homeassistant/components/lyft/sensor.py +++ b/homeassistant/components/lyft/sensor.py @@ -9,8 +9,6 @@ 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 4c09d1e09e04f0..772cfb073c971a 100644 --- a/homeassistant/components/magicseaweed/sensor.py +++ b/homeassistant/components/magicseaweed/sensor.py @@ -11,8 +11,6 @@ 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 1907a1e9e978a7..8f8511464641ce 100644 --- a/homeassistant/components/mailbox/__init__.py +++ b/homeassistant/components/mailbox/__init__.py @@ -18,7 +18,6 @@ _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 2a941d8bf505b8..2f89904f12b6be 100644 --- a/homeassistant/components/mailgun/__init__.py +++ b/homeassistant/components/mailgun/__init__.py @@ -15,7 +15,6 @@ 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 b9f5bf0b10000f..4709f87b70c86c 100644 --- a/homeassistant/components/mailgun/notify.py +++ b/homeassistant/components/mailgun/notify.py @@ -11,12 +11,8 @@ 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 8057a8993473f1..d952dd68ebb2f6 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 c1a91b8312ea1f..d4b78cc4e9fad7 100644 --- a/homeassistant/components/mastodon/notify.py +++ b/homeassistant/components/mastodon/notify.py @@ -9,8 +9,6 @@ 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 4b3c1bf4d76965..0090d6eb62fa5e 100644 --- a/homeassistant/components/matrix/__init__.py +++ b/homeassistant/components/matrix/__init__.py @@ -14,8 +14,6 @@ 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 f1f53268c2ba85..de2ac3bda2a0b0 100644 --- a/homeassistant/components/matrix/notify.py +++ b/homeassistant/components/matrix/notify.py @@ -13,8 +13,6 @@ 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 c398ccbde4f41e..12a6fda2cc3b2f 100644 --- a/homeassistant/components/maxcube/__init__.py +++ b/homeassistant/components/maxcube/__init__.py @@ -10,8 +10,6 @@ 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 f44075816affd2..98f03cd8fd099c 100644 --- a/homeassistant/components/media_extractor/__init__.py +++ b/homeassistant/components/media_extractor/__init__.py @@ -12,15 +12,12 @@ 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 5bc2d640e2bd56..7dcfdac52179f8 100644 --- a/homeassistant/components/media_player/__init__.py +++ b/homeassistant/components/media_player/__init__.py @@ -51,8 +51,6 @@ _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 acbc0462722a59..75aa20daf825b9 100644 --- a/homeassistant/components/mediaroom/media_player.py +++ b/homeassistant/components/mediaroom/media_player.py @@ -19,8 +19,6 @@ 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 2037caa11c334f..14ecfadb5bf134 100644 --- a/homeassistant/components/melissa/__init__.py +++ b/homeassistant/components/melissa/__init__.py @@ -7,8 +7,6 @@ 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 79d94a419912a5..8d834691b12932 100644 --- a/homeassistant/components/melissa/climate.py +++ b/homeassistant/components/melissa/climate.py @@ -13,8 +13,6 @@ 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 d12aff1127a0d9..edca1fbd494ca7 100644 --- a/homeassistant/components/meraki/device_tracker.py +++ b/homeassistant/components/meraki/device_tracker.py @@ -18,7 +18,6 @@ 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 c801de34a9a6ae..eecd563dc53f53 100644 --- a/homeassistant/components/message_bird/notify.py +++ b/homeassistant/components/message_bird/notify.py @@ -9,8 +9,6 @@ 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 6c9613ac5d2838..d9824e203c5462 100644 --- a/homeassistant/components/met/weather.py +++ b/homeassistant/components/met/weather.py @@ -13,8 +13,6 @@ 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 e084cff3c79c73..df0292ec407db5 100644 --- a/homeassistant/components/meteo_france/__init__.py +++ b/homeassistant/components/meteo_france/__init__.py @@ -9,8 +9,6 @@ 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 6c4e91517dac6f..ff334823ec6f84 100644 --- a/homeassistant/components/metoffice/sensor.py +++ b/homeassistant/components/metoffice/sensor.py @@ -14,8 +14,6 @@ _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 a67dcdcdbd67c7..409fc0991226a2 100644 --- a/homeassistant/components/metoffice/weather.py +++ b/homeassistant/components/metoffice/weather.py @@ -10,8 +10,6 @@ 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 36f9d1a829c25c..49ec86c93cd693 100644 --- a/homeassistant/components/mfi/sensor.py +++ b/homeassistant/components/mfi/sensor.py @@ -11,8 +11,6 @@ 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 818081f7a2ed69..7b51813589dbbf 100644 --- a/homeassistant/components/mfi/switch.py +++ b/homeassistant/components/mfi/switch.py @@ -10,8 +10,6 @@ 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 3aa82950fa7b8a..16e9da304a758c 100644 --- a/homeassistant/components/mhz19/sensor.py +++ b/homeassistant/components/mhz19/sensor.py @@ -12,8 +12,6 @@ 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 9fe31ef495eced..39bd1186b76e25 100644 --- a/homeassistant/components/microsoft/tts.py +++ b/homeassistant/components/microsoft/tts.py @@ -15,8 +15,6 @@ 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 9b3ee960fb23c8..25b74698da6c81 100644 --- a/homeassistant/components/microsoft_face/__init__.py +++ b/homeassistant/components/microsoft_face/__init__.py @@ -25,7 +25,6 @@ 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 91eae07e9928bf..addcea21c86c5e 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.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 52baa3617e82a4..055778be311a44 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.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 04595b0daeb148..0a8a51e0e80a90 100644 --- a/homeassistant/components/miflora/sensor.py +++ b/homeassistant/components/miflora/sensor.py @@ -11,8 +11,6 @@ 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 7d376b431bbd82..0c3b6b313f1f0f 100644 --- a/homeassistant/components/mikrotik/device_tracker.py +++ b/homeassistant/components/mikrotik/device_tracker.py @@ -11,8 +11,6 @@ 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 cb6d47a52b0826..43877a1f818099 100644 --- a/homeassistant/components/mill/climate.py +++ b/homeassistant/components/mill/climate.py @@ -15,8 +15,6 @@ 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 cea2c6a55dbd6f..c2afaecf789ab2 100644 --- a/homeassistant/components/mitemp_bt/sensor.py +++ b/homeassistant/components/mitemp_bt/sensor.py @@ -12,8 +12,6 @@ ) -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 a4ae78959cf367..711963a0b24bf3 100644 --- a/homeassistant/components/mobile_app/__init__.py +++ b/homeassistant/components/mobile_app/__init__.py @@ -15,10 +15,6 @@ 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 50943bb6504d8b..71d9fd9d58ab85 100644 --- a/homeassistant/components/mobile_app/binary_sensor.py +++ b/homeassistant/components/mobile_app/binary_sensor.py @@ -13,8 +13,6 @@ 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 8d2ac1b97ecef4..a69c020cfc8c26 100644 --- a/homeassistant/components/mobile_app/notify.py +++ b/homeassistant/components/mobile_app/notify.py @@ -22,8 +22,6 @@ _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 64ad69c5758ecc..2e54c2f4f6c1d2 100644 --- a/homeassistant/components/mobile_app/sensor.py +++ b/homeassistant/components/mobile_app/sensor.py @@ -12,8 +12,6 @@ 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 e10adf693fe70d..78d137c95ead9f 100644 --- a/homeassistant/components/mochad/__init__.py +++ b/homeassistant/components/mochad/__init__.py @@ -9,8 +9,6 @@ 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 d2e1a567d27501..4a734be4ebd928 100644 --- a/homeassistant/components/mochad/light.py +++ b/homeassistant/components/mochad/light.py @@ -12,8 +12,6 @@ _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 03fd2db07bf2fe..a4fb46130f3be0 100644 --- a/homeassistant/components/mochad/switch.py +++ b/homeassistant/components/mochad/switch.py @@ -11,8 +11,6 @@ _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 0500a904cb9c86..7d882066260857 100644 --- a/homeassistant/components/modbus/__init__.py +++ b/homeassistant/components/modbus/__init__.py @@ -9,8 +9,6 @@ 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 0c10548452a01d..3a17f3c198d371 100644 --- a/homeassistant/components/modbus/binary_sensor.py +++ b/homeassistant/components/modbus/binary_sensor.py @@ -15,8 +15,6 @@ 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 4d2b86903e770d..cf7e295092308b 100644 --- a/homeassistant/components/modbus/climate.py +++ b/homeassistant/components/modbus/climate.py @@ -22,8 +22,6 @@ 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 10e11a9a656263..bca5ef9d34d168 100644 --- a/homeassistant/components/modbus/sensor.py +++ b/homeassistant/components/modbus/sensor.py @@ -29,8 +29,6 @@ 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 69c5e3e483888a..d74145ebad46ef 100644 --- a/homeassistant/components/modbus/switch.py +++ b/homeassistant/components/modbus/switch.py @@ -24,8 +24,6 @@ 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 b87f4840334d4f..0e1f02efecfeeb 100644 --- a/homeassistant/components/modem_callerid/sensor.py +++ b/homeassistant/components/modem_callerid/sensor.py @@ -9,8 +9,6 @@ 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 edffd6ac7ce825..d8f22a5d00bac6 100644 --- a/homeassistant/components/monoprice/media_player.py +++ b/homeassistant/components/monoprice/media_player.py @@ -13,8 +13,6 @@ 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 4ee9f3219b483a..ec723b94fcc76b 100644 --- a/homeassistant/components/mopar/__init__.py +++ b/homeassistant/components/mopar/__init__.py @@ -18,8 +18,6 @@ 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 aa2e0161813188..5a41058bb53c2b 100644 --- a/homeassistant/components/mopar/lock.py +++ b/homeassistant/components/mopar/lock.py @@ -7,8 +7,6 @@ ) 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 0d6e5765fda9aa..f09c0bdbea9f30 100644 --- a/homeassistant/components/mopar/sensor.py +++ b/homeassistant/components/mopar/sensor.py @@ -10,7 +10,6 @@ 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 352cdafbd417ab..4e1ff606100aff 100644 --- a/homeassistant/components/mopar/switch.py +++ b/homeassistant/components/mopar/switch.py @@ -5,8 +5,6 @@ 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 8cbc1406e0bc4a..5340bc46b1262b 100644 --- a/homeassistant/components/mpd/media_player.py +++ b/homeassistant/components/mpd/media_player.py @@ -20,8 +20,6 @@ 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 4f9ad990105853..e226e966b09667 100644 --- a/homeassistant/components/mqtt/__init__.py +++ b/homeassistant/components/mqtt/__init__.py @@ -40,8 +40,6 @@ 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 03a2ac8e3887fa..da3e2faf224229 100644 --- a/homeassistant/components/mqtt/alarm_control_panel.py +++ b/homeassistant/components/mqtt/alarm_control_panel.py @@ -37,8 +37,6 @@ 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 95daad9b262868..904a456fc466e7 100644 --- a/homeassistant/components/mqtt/binary_sensor.py +++ b/homeassistant/components/mqtt/binary_sensor.py @@ -29,8 +29,6 @@ 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 f651050b6c8596..0449bf79ca7691 100644 --- a/homeassistant/components/mqtt/camera.py +++ b/homeassistant/components/mqtt/camera.py @@ -23,8 +23,6 @@ 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 17d32984bb528d..6a8c4d83995af5 100644 --- a/homeassistant/components/mqtt/climate.py +++ b/homeassistant/components/mqtt/climate.py @@ -31,8 +31,6 @@ _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 5cb7300f0efcb4..e1ad21564b5bbd 100644 --- a/homeassistant/components/mqtt/cover.py +++ b/homeassistant/components/mqtt/cover.py @@ -25,8 +25,6 @@ _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 659c6315b2150a..25528471d64310 100644 --- a/homeassistant/components/mqtt/device_tracker.py +++ b/homeassistant/components/mqtt/device_tracker.py @@ -11,8 +11,6 @@ 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 d86390ee31de17..99aa68d19756aa 100644 --- a/homeassistant/components/mqtt/fan.py +++ b/homeassistant/components/mqtt/fan.py @@ -23,8 +23,6 @@ _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 4ff6efb8643960..d115f07ce7ee4e 100644 --- a/homeassistant/components/mqtt/light/__init__.py +++ b/homeassistant/components/mqtt/light/__init__.py @@ -17,8 +17,6 @@ _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 d5aa4480139215..382effe837b50d 100644 --- a/homeassistant/components/mqtt/light/schema_basic.py +++ b/homeassistant/components/mqtt/light/schema_basic.py @@ -30,8 +30,6 @@ _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 a52f3c58d0efc9..27c88edb15fd84 100644 --- a/homeassistant/components/mqtt/light/schema_json.py +++ b/homeassistant/components/mqtt/light/schema_json.py @@ -35,8 +35,6 @@ 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 49cba082401d16..ab9fb0e4454824 100644 --- a/homeassistant/components/mqtt/light/schema_template.py +++ b/homeassistant/components/mqtt/light/schema_template.py @@ -30,8 +30,6 @@ 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 235eacc94540cf..75db4c3742d18a 100644 --- a/homeassistant/components/mqtt/lock.py +++ b/homeassistant/components/mqtt/lock.py @@ -27,8 +27,6 @@ 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 b6419ea2c24b36..02dafdb57c1a01 100644 --- a/homeassistant/components/mqtt/sensor.py +++ b/homeassistant/components/mqtt/sensor.py @@ -32,8 +32,6 @@ 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 d7d36add517f6e..8944aba2dae37a 100644 --- a/homeassistant/components/mqtt/server.py +++ b/homeassistant/components/mqtt/server.py @@ -8,12 +8,8 @@ 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 20d28b6496ca8b..a9e3875aaea66b 100644 --- a/homeassistant/components/mqtt/switch.py +++ b/homeassistant/components/mqtt/switch.py @@ -22,8 +22,6 @@ _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 23a5e34b3caff5..7d910f0ac89de8 100644 --- a/homeassistant/components/mqtt/vacuum.py +++ b/homeassistant/components/mqtt/vacuum.py @@ -22,8 +22,6 @@ _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 fb6a94f1870d73..0b54c8535a2073 100644 --- a/homeassistant/components/mqtt_eventstream/__init__.py +++ b/homeassistant/components/mqtt_eventstream/__init__.py @@ -15,8 +15,6 @@ 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 6059b26bcbdc11..eed6f03615e7d5 100644 --- a/homeassistant/components/mqtt_json/device_tracker.py +++ b/homeassistant/components/mqtt_json/device_tracker.py @@ -13,8 +13,6 @@ 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 961769711a4d6c..37ea2697da15be 100644 --- a/homeassistant/components/mqtt_room/sensor.py +++ b/homeassistant/components/mqtt_room/sensor.py @@ -17,8 +17,6 @@ _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 18a70bf75bb3a8..0d594822e05764 100644 --- a/homeassistant/components/mqtt_statestream/__init__.py +++ b/homeassistant/components/mqtt_statestream/__init__.py @@ -16,7 +16,6 @@ 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 978c9ad34eb436..8c887031aa9eef 100644 --- a/homeassistant/components/mvglive/sensor.py +++ b/homeassistant/components/mvglive/sensor.py @@ -11,8 +11,6 @@ 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 e6fd7f19c2a3ab..b4235362ff26ab 100644 --- a/homeassistant/components/mychevy/__init__.py +++ b/homeassistant/components/mychevy/__init__.py @@ -11,8 +11,6 @@ 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 29f6383f686b1e..fdcedfb7345195 100644 --- a/homeassistant/components/mycroft/__init__.py +++ b/homeassistant/components/mycroft/__init__.py @@ -7,8 +7,6 @@ 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 d66be629f17b09..5918f16290ddc5 100644 --- a/homeassistant/components/mycroft/notify.py +++ b/homeassistant/components/mycroft/notify.py @@ -3,8 +3,6 @@ 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 5b926a183f72c9..395e5d4e9596f0 100644 --- a/homeassistant/components/myq/cover.py +++ b/homeassistant/components/myq/cover.py @@ -11,7 +11,6 @@ ) 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 7ca21ac582a001..12d210b50a3f7b 100644 --- a/homeassistant/components/mysensors/__init__.py +++ b/homeassistant/components/mysensors/__init__.py @@ -17,8 +17,6 @@ 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 42245dc4df3e85..d3b4dd554a99f2 100644 --- a/homeassistant/components/mystrom/binary_sensor.py +++ b/homeassistant/components/mystrom/binary_sensor.py @@ -7,8 +7,6 @@ _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 f9b8dcd203b60c..149b83b2487005 100644 --- a/homeassistant/components/mystrom/light.py +++ b/homeassistant/components/mystrom/light.py @@ -10,8 +10,6 @@ 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 a25517eea911db..3fbd6957eb97c5 100644 --- a/homeassistant/components/mystrom/switch.py +++ b/homeassistant/components/mystrom/switch.py @@ -7,8 +7,6 @@ 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 4db53bf0407cf4..02441d9c650a35 100644 --- a/homeassistant/components/mythicbeastsdns/__init__.py +++ b/homeassistant/components/mythicbeastsdns/__init__.py @@ -11,8 +11,6 @@ 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 8f4ade9c87f6ea..fb7084bffe7e1d 100644 --- a/homeassistant/components/n26/__init__.py +++ b/homeassistant/components/n26/__init__.py @@ -12,8 +12,6 @@ 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 682cd5dae68575..be5ad7a1b687f8 100644 --- a/homeassistant/components/n26/sensor.py +++ b/homeassistant/components/n26/sensor.py @@ -8,8 +8,6 @@ _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 0e7455ea7030c8..152212550971f4 100644 --- a/homeassistant/components/n26/switch.py +++ b/homeassistant/components/n26/switch.py @@ -8,8 +8,6 @@ _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 8c5a14a35243c8..60747fa63986e7 100644 --- a/homeassistant/components/nad/media_player.py +++ b/homeassistant/components/nad/media_player.py @@ -11,8 +11,6 @@ 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 f86e7d18556786..d3c48d568bdb71 100644 --- a/homeassistant/components/namecheapdns/__init__.py +++ b/homeassistant/components/namecheapdns/__init__.py @@ -9,8 +9,6 @@ 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 60457e21f9a67d..017bd0a256dc5c 100644 --- a/homeassistant/components/nanoleaf/light.py +++ b/homeassistant/components/nanoleaf/light.py @@ -15,8 +15,6 @@ 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 bb717b8d230b22..f179248b5632b4 100644 --- a/homeassistant/components/neato/__init__.py +++ b/homeassistant/components/neato/__init__.py @@ -10,8 +10,6 @@ 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 f8106c3e645ebc..5d38e7b78809b5 100644 --- a/homeassistant/components/neato/camera.py +++ b/homeassistant/components/neato/camera.py @@ -8,8 +8,6 @@ _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 ea60f9492e22a7..0721381a563acb 100644 --- a/homeassistant/components/neato/switch.py +++ b/homeassistant/components/neato/switch.py @@ -11,8 +11,6 @@ _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 3575301ea97e6b..061d8fd04c8166 100644 --- a/homeassistant/components/neato/vacuum.py +++ b/homeassistant/components/neato/vacuum.py @@ -21,8 +21,6 @@ _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 224d16e4869b9a..7fc3e438f38a55 100644 --- a/homeassistant/components/nederlandse_spoorwegen/sensor.py +++ b/homeassistant/components/nederlandse_spoorwegen/sensor.py @@ -12,8 +12,6 @@ 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 efb7719e2013fd..124fa6769ec854 100644 --- a/homeassistant/components/nello/lock.py +++ b/homeassistant/components/nello/lock.py @@ -8,8 +8,6 @@ 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 97896f9aa3f9ec..8d9d081e6d8247 100644 --- a/homeassistant/components/ness_alarm/__init__.py +++ b/homeassistant/components/ness_alarm/__init__.py @@ -13,8 +13,6 @@ 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 618297ef9a5216..06a3f9f1e13470 100644 --- a/homeassistant/components/ness_alarm/alarm_control_panel.py +++ b/homeassistant/components/ness_alarm/alarm_control_panel.py @@ -13,8 +13,6 @@ _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 2bed9eb64042bf..6d9486577a72f4 100644 --- a/homeassistant/components/ness_alarm/binary_sensor.py +++ b/homeassistant/components/ness_alarm/binary_sensor.py @@ -9,7 +9,6 @@ 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 21aaa2109a10c4..cc726cdf1754c4 100644 --- a/homeassistant/components/nest/__init__.py +++ b/homeassistant/components/nest/__init__.py @@ -22,8 +22,6 @@ 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 aa56bfbf29d50c..1fc8aa8929f330 100644 --- a/homeassistant/components/nest/binary_sensor.py +++ b/homeassistant/components/nest/binary_sensor.py @@ -10,8 +10,6 @@ _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 8b450e02b46777..029de178f24cc4 100644 --- a/homeassistant/components/nest/camera.py +++ b/homeassistant/components/nest/camera.py @@ -11,8 +11,6 @@ _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 cd9a7cb71b634d..4707d8d0f8c30c 100644 --- a/homeassistant/components/nest/climate.py +++ b/homeassistant/components/nest/climate.py @@ -16,7 +16,6 @@ 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 ecae83e303c2a9..2bfeea897849d9 100644 --- a/homeassistant/components/nest/sensor.py +++ b/homeassistant/components/nest/sensor.py @@ -8,8 +8,6 @@ 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 2036e55b3a88ad..cf64363ba503f9 100644 --- a/homeassistant/components/netatmo/__init__.py +++ b/homeassistant/components/netatmo/__init__.py @@ -12,9 +12,6 @@ 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 a11ce6bddf710a..92d2f731a3452e 100644 --- a/homeassistant/components/netatmo/binary_sensor.py +++ b/homeassistant/components/netatmo/binary_sensor.py @@ -12,8 +12,6 @@ _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 6b80c3061b567e..f4cd9cde693e75 100644 --- a/homeassistant/components/netatmo/camera.py +++ b/homeassistant/components/netatmo/camera.py @@ -11,8 +11,6 @@ from . import CameraData -DEPENDENCIES = ['netatmo'] - _LOGGER = logging.getLogger(__name__) CONF_HOME = 'home' diff --git a/homeassistant/components/netatmo/climate.py b/homeassistant/components/netatmo/climate.py index d0537c5912b18a..1b07a5946a7022 100644 --- a/homeassistant/components/netatmo/climate.py +++ b/homeassistant/components/netatmo/climate.py @@ -14,8 +14,6 @@ STATE_OFF, TEMP_CELSIUS, ATTR_TEMPERATURE, CONF_NAME) from homeassistant.util import Throttle -DEPENDENCIES = ['netatmo'] - _LOGGER = logging.getLogger(__name__) CONF_HOMES = 'homes' diff --git a/homeassistant/components/netatmo/sensor.py b/homeassistant/components/netatmo/sensor.py index 307b76ca434bd4..da4b0a8b29d57f 100644 --- a/homeassistant/components/netatmo/sensor.py +++ b/homeassistant/components/netatmo/sensor.py @@ -17,8 +17,6 @@ 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 3480534436da6b..814675ca8b7ae1 100644 --- a/homeassistant/components/netatmo_public/sensor.py +++ b/homeassistant/components/netatmo_public/sensor.py @@ -14,8 +14,6 @@ _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 6d99722a4162d4..eb6d6088ea8840 100644 --- a/homeassistant/components/netdata/sensor.py +++ b/homeassistant/components/netdata/sensor.py @@ -13,8 +13,6 @@ 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 ce8c2d6066d3d4..36921601cc2722 100644 --- a/homeassistant/components/netgear/device_tracker.py +++ b/homeassistant/components/netgear/device_tracker.py @@ -10,8 +10,6 @@ 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 c0f248a3dd5205..5491fffe96989f 100644 --- a/homeassistant/components/netgear_lte/__init__.py +++ b/homeassistant/components/netgear_lte/__init__.py @@ -24,8 +24,6 @@ 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 a26c8538ea5be9..b13e1b0bbb4d53 100644 --- a/homeassistant/components/netgear_lte/binary_sensor.py +++ b/homeassistant/components/netgear_lte/binary_sensor.py @@ -7,8 +7,6 @@ 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 fba1a335ace333..cb71a7945e332d 100644 --- a/homeassistant/components/netgear_lte/notify.py +++ b/homeassistant/components/netgear_lte/notify.py @@ -8,8 +8,6 @@ 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 238a5f9b72d3d6..edf55480a68304 100644 --- a/homeassistant/components/netgear_lte/sensor.py +++ b/homeassistant/components/netgear_lte/sensor.py @@ -8,8 +8,6 @@ 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 27a7dfbd5e7de5..ddaa9ffe0ff80a 100644 --- a/homeassistant/components/netio/switch.py +++ b/homeassistant/components/netio/switch.py @@ -14,8 +14,6 @@ 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 @@ 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 9e12465c69b078..5992ca70593e14 100644 --- a/homeassistant/components/neurio_energy/sensor.py +++ b/homeassistant/components/neurio_energy/sensor.py @@ -13,8 +13,6 @@ 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 00e8dc838a6c0d..b7ba5d33eb8e00 100644 --- a/homeassistant/components/niko_home_control/light.py +++ b/homeassistant/components/niko_home_control/light.py @@ -9,8 +9,6 @@ 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 979d5736d6a20d..cdc099765214c8 100644 --- a/homeassistant/components/nilu/air_quality.py +++ b/homeassistant/components/nilu/air_quality.py @@ -11,8 +11,6 @@ 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 cb101c0a5309c5..f9e7cd7f2d1879 100644 --- a/homeassistant/components/nissan_leaf/__init__.py +++ b/homeassistant/components/nissan_leaf/__init__.py @@ -16,8 +16,6 @@ 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 5c71cf1fc513a9..5456fdc913a51b 100644 --- a/homeassistant/components/nissan_leaf/binary_sensor.py +++ b/homeassistant/components/nissan_leaf/binary_sensor.py @@ -7,8 +7,6 @@ _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 95f6fcdcaf16c0..0e2dca25ca6842 100644 --- a/homeassistant/components/nissan_leaf/device_tracker.py +++ b/homeassistant/components/nissan_leaf/device_tracker.py @@ -8,8 +8,6 @@ _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 682f482b4888f2..064a96a64a1a53 100644 --- a/homeassistant/components/nissan_leaf/sensor.py +++ b/homeassistant/components/nissan_leaf/sensor.py @@ -12,8 +12,6 @@ _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 e6d72103a6c6c4..27f81b69dd7309 100644 --- a/homeassistant/components/nissan_leaf/switch.py +++ b/homeassistant/components/nissan_leaf/switch.py @@ -7,8 +7,6 @@ _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 e553d323b72306..3537f01b2b86d2 100644 --- a/homeassistant/components/nmap_tracker/device_tracker.py +++ b/homeassistant/components/nmap_tracker/device_tracker.py @@ -13,8 +13,6 @@ 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 034c37530b355e..799225968e5493 100644 --- a/homeassistant/components/nmbs/sensor.py +++ b/homeassistant/components/nmbs/sensor.py @@ -23,8 +23,6 @@ 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 0c4bde94f5770f..0749f13031f20c 100644 --- a/homeassistant/components/noaa_tides/sensor.py +++ b/homeassistant/components/noaa_tides/sensor.py @@ -10,8 +10,6 @@ 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 06ed68801f89c7..f2d5d87be47cb0 100644 --- a/homeassistant/components/norway_air/air_quality.py +++ b/homeassistant/components/norway_air/air_quality.py @@ -12,8 +12,6 @@ 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 ce4337fc93ab6c..9bb24973f45541 100644 --- a/homeassistant/components/nsw_fuel_station/sensor.py +++ b/homeassistant/components/nsw_fuel_station/sensor.py @@ -11,8 +11,6 @@ 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 38491feb32f406..7a6d681bfbb205 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 @@ 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 4ea37339ef35f3..f8227391ffd834 100644 --- a/homeassistant/components/nuheat/__init__.py +++ b/homeassistant/components/nuheat/__init__.py @@ -7,8 +7,6 @@ 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 32adc1d216f3c5..6a391679b89826 100644 --- a/homeassistant/components/nuheat/climate.py +++ b/homeassistant/components/nuheat/climate.py @@ -15,8 +15,6 @@ 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 70509469d2bcf9..ca1de204a395c2 100644 --- a/homeassistant/components/nuimo_controller/__init__.py +++ b/homeassistant/components/nuimo_controller/__init__.py @@ -8,10 +8,6 @@ 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 ef49d4b97dd955..0d0452378583b7 100644 --- a/homeassistant/components/nuki/lock.py +++ b/homeassistant/components/nuki/lock.py @@ -10,8 +10,6 @@ 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 43ba06f70eb1b3..1a4ce779878119 100644 --- a/homeassistant/components/nut/sensor.py +++ b/homeassistant/components/nut/sensor.py @@ -14,8 +14,6 @@ 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 c5e1fede6fd8fd..4c6c604c950b5f 100644 --- a/homeassistant/components/nx584/alarm_control_panel.py +++ b/homeassistant/components/nx584/alarm_control_panel.py @@ -11,8 +11,6 @@ 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 61f8fb801eac5b..2162d7420221e3 100644 --- a/homeassistant/components/nx584/binary_sensor.py +++ b/homeassistant/components/nx584/binary_sensor.py @@ -11,8 +11,6 @@ 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 665f2f83f86af7..60c2f9a231b991 100644 --- a/homeassistant/components/oasa_telematics/sensor.py +++ b/homeassistant/components/oasa_telematics/sensor.py @@ -12,7 +12,6 @@ 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 be3381f3bc8a2e..d505c88071ee3d 100644 --- a/homeassistant/components/octoprint/binary_sensor.py +++ b/homeassistant/components/octoprint/binary_sensor.py @@ -9,8 +9,6 @@ _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 f07d88d11da3ff..979f56290c16d6 100644 --- a/homeassistant/components/octoprint/sensor.py +++ b/homeassistant/components/octoprint/sensor.py @@ -10,8 +10,6 @@ _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 f1e03396b05002..3ae9b4dad5c93e 100644 --- a/homeassistant/components/oem/climate.py +++ b/homeassistant/components/oem/climate.py @@ -21,8 +21,6 @@ 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 1d870e4d15a12c..87dca2aa853b09 100644 --- a/homeassistant/components/ohmconnect/sensor.py +++ b/homeassistant/components/ohmconnect/sensor.py @@ -11,8 +11,6 @@ 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 f8885962ee7174..29371369c70506 100644 --- a/homeassistant/components/onboarding/__init__.py +++ b/homeassistant/components/onboarding/__init__.py @@ -4,8 +4,6 @@ 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 64b9684c58c4ec..0a8a459731e13f 100644 --- a/homeassistant/components/onkyo/media_player.py +++ b/homeassistant/components/onkyo/media_player.py @@ -16,8 +16,6 @@ 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 90222b9cafc06b..6a773a854c9809 100644 --- a/homeassistant/components/onvif/camera.py +++ b/homeassistant/components/onvif/camera.py @@ -20,10 +20,6 @@ _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 10173cdb725c8b..4a28a37b7056d4 100644 --- a/homeassistant/components/opencv/image_processing.py +++ b/homeassistant/components/opencv/image_processing.py @@ -11,8 +11,6 @@ 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 e54b47236c5fe3..efc4f8a020049a 100644 --- a/homeassistant/components/openevse/sensor.py +++ b/homeassistant/components/openevse/sensor.py @@ -11,8 +11,6 @@ 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 03926bce8c5ce8..edb033b8f11c91 100644 --- a/homeassistant/components/openhome/media_player.py +++ b/homeassistant/components/openhome/media_player.py @@ -10,8 +10,6 @@ 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 5407f65a1d822f..3f859724fc32d6 100644 --- a/homeassistant/components/opensensemap/air_quality.py +++ b/homeassistant/components/opensensemap/air_quality.py @@ -11,8 +11,6 @@ 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 1476363c6bd877..829344fb1f0804 100644 --- a/homeassistant/components/opentherm_gw/__init__.py +++ b/homeassistant/components/opentherm_gw/__init__.py @@ -15,8 +15,6 @@ 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 d0b60a257705a6..bf342cc9813b87 100644 --- a/homeassistant/components/opentherm_gw/binary_sensor.py +++ b/homeassistant/components/opentherm_gw/binary_sensor.py @@ -14,8 +14,6 @@ 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 60f1901d43e96d..2dbd7f3cf799ef 100644 --- a/homeassistant/components/opentherm_gw/climate.py +++ b/homeassistant/components/opentherm_gw/climate.py @@ -15,8 +15,6 @@ _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 5c64b8ab719b02..60ccedfd45134a 100644 --- a/homeassistant/components/opentherm_gw/sensor.py +++ b/homeassistant/components/opentherm_gw/sensor.py @@ -16,8 +16,6 @@ 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 5533beb2faed4b..8e8401bbeac36c 100644 --- a/homeassistant/components/openuv/__init__.py +++ b/homeassistant/components/openuv/__init__.py @@ -15,8 +15,6 @@ 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 cfc82a7572954d..d02312f07f8e88 100644 --- a/homeassistant/components/openuv/binary_sensor.py +++ b/homeassistant/components/openuv/binary_sensor.py @@ -16,8 +16,6 @@ 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 42780d57b3c252..2fa2e44c98ef6b 100644 --- a/homeassistant/components/openuv/sensor.py +++ b/homeassistant/components/openuv/sensor.py @@ -14,8 +14,6 @@ _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 5de67721e3057f..97ab9984d5274e 100644 --- a/homeassistant/components/openweathermap/sensor.py +++ b/homeassistant/components/openweathermap/sensor.py @@ -12,8 +12,6 @@ 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 8a37bc97575180..75755a53124590 100644 --- a/homeassistant/components/openweathermap/weather.py +++ b/homeassistant/components/openweathermap/weather.py @@ -14,8 +14,6 @@ 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 03e36dc179d43b..c3d66c5266308b 100644 --- a/homeassistant/components/opple/light.py +++ b/homeassistant/components/opple/light.py @@ -14,8 +14,6 @@ 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 c77e24446ec2a6..20b86dbf679b01 100644 --- a/homeassistant/components/orvibo/switch.py +++ b/homeassistant/components/orvibo/switch.py @@ -8,8 +8,6 @@ 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 b880273fd1e916..dafab76a2dcebe 100644 --- a/homeassistant/components/osramlightify/light.py +++ b/homeassistant/components/osramlightify/light.py @@ -15,8 +15,6 @@ 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 2ac4c51998443e..0f79955db15678 100644 --- a/homeassistant/components/otp/sensor.py +++ b/homeassistant/components/otp/sensor.py @@ -10,8 +10,6 @@ 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 b7ad7ab915240a..f19df6a3e38d85 100644 --- a/homeassistant/components/owlet/__init__.py +++ b/homeassistant/components/owlet/__init__.py @@ -11,8 +11,6 @@ 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 df6b815e4c5be9..e746cbc01fa5fc 100644 --- a/homeassistant/components/owntracks/__init__.py +++ b/homeassistant/components/owntracks/__init__.py @@ -16,13 +16,9 @@ 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 69ea723d84c503..999e883be197eb 100644 --- a/homeassistant/components/owntracks/device_tracker.py +++ b/homeassistant/components/owntracks/device_tracker.py @@ -10,8 +10,6 @@ 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 ebf71135d343f7..9da5cf87e534e2 100644 --- a/homeassistant/components/panasonic_bluray/media_player.py +++ b/homeassistant/components/panasonic_bluray/media_player.py @@ -14,8 +14,6 @@ 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 324becd0bf756d..4669d4ecac6896 100644 --- a/homeassistant/components/panasonic_viera/media_player.py +++ b/homeassistant/components/panasonic_viera/media_player.py @@ -14,8 +14,6 @@ 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 32cde430d0e97b..14eb260914a2af 100644 --- a/homeassistant/components/pandora/media_player.py +++ b/homeassistant/components/pandora/media_player.py @@ -16,7 +16,6 @@ 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 7fe2191f4c497c..9367f102441808 100644 --- a/homeassistant/components/panel_custom/__init__.py +++ b/homeassistant/components/panel_custom/__init__.py @@ -10,8 +10,6 @@ _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 9319dfcc6adb27..f4038c82f71880 100644 --- a/homeassistant/components/panel_iframe/__init__.py +++ b/homeassistant/components/panel_iframe/__init__.py @@ -4,8 +4,6 @@ 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 d2c73d70d96deb..3fc65e73770f1d 100644 --- a/homeassistant/components/pencom/switch.py +++ b/homeassistant/components/pencom/switch.py @@ -12,8 +12,6 @@ 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 f5eddff8d138dc..859ad26a3ddd6c 100644 --- a/homeassistant/components/philips_js/media_player.py +++ b/homeassistant/components/philips_js/media_player.py @@ -15,8 +15,6 @@ 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 805e17ebdff418..061fb5c091f799 100644 --- a/homeassistant/components/pi_hole/sensor.py +++ b/homeassistant/components/pi_hole/sensor.py @@ -13,8 +13,6 @@ 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 dc3906b20026cd..52e5c769560c65 100644 --- a/homeassistant/components/piglow/light.py +++ b/homeassistant/components/piglow/light.py @@ -11,8 +11,6 @@ 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 46be3b3720438b..b6f1a63d4d58fd 100644 --- a/homeassistant/components/pilight/__init__.py +++ b/homeassistant/components/pilight/__init__.py @@ -14,8 +14,6 @@ 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 131a91b5fc3c0a..b9e95f76c491cd 100644 --- a/homeassistant/components/pilight/binary_sensor.py +++ b/homeassistant/components/pilight/binary_sensor.py @@ -26,8 +26,6 @@ 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 c36151c90dce26..a6be0f67f7cb55 100644 --- a/homeassistant/components/pilight/sensor.py +++ b/homeassistant/components/pilight/sensor.py @@ -15,8 +15,6 @@ 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 d645d8e3013ce7..2f28e7f4d8aadf 100644 --- a/homeassistant/components/pilight/switch.py +++ b/homeassistant/components/pilight/switch.py @@ -21,8 +21,6 @@ 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 ad7bdc9e77cb20..00a4d49bd5c977 100644 --- a/homeassistant/components/pjlink/media_player.py +++ b/homeassistant/components/pjlink/media_player.py @@ -12,8 +12,6 @@ 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 27324ad57a39a4..78f979892b1efb 100644 --- a/homeassistant/components/plant/__init__.py +++ b/homeassistant/components/plant/__init__.py @@ -89,8 +89,6 @@ }) 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 f2af6836e3be4c..9ff00ed1c23a51 100644 --- a/homeassistant/components/plex/media_player.py +++ b/homeassistant/components/plex/media_player.py @@ -20,8 +20,6 @@ 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 a3df6fdb41e8fd..4f46113347de37 100644 --- a/homeassistant/components/plex/sensor.py +++ b/homeassistant/components/plex/sensor.py @@ -11,8 +11,6 @@ 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 5b99223d25aed7..b08727e7acc50a 100644 --- a/homeassistant/components/plum_lightpad/__init__.py +++ b/homeassistant/components/plum_lightpad/__init__.py @@ -10,8 +10,6 @@ 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 233539560f4b8a..8923d3c5acc2e2 100644 --- a/homeassistant/components/plum_lightpad/light.py +++ b/homeassistant/components/plum_lightpad/light.py @@ -5,8 +5,6 @@ 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 f09e90120049d9..69d863cb9e9121 100644 --- a/homeassistant/components/pocketcasts/sensor.py +++ b/homeassistant/components/pocketcasts/sensor.py @@ -10,8 +10,6 @@ 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 dc839756469dd3..c0b2f7acd0fcd0 100644 --- a/homeassistant/components/point/__init__.py +++ b/homeassistant/components/point/__init__.py @@ -20,12 +20,8 @@ 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 3fc4d1fce3dd54..132155c7f65220 100644 --- a/homeassistant/components/pollen/sensor.py +++ b/homeassistant/components/pollen/sensor.py @@ -13,8 +13,6 @@ 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 f9c8019cd31a00..d2380748c796e3 100644 --- a/homeassistant/components/postnl/sensor.py +++ b/homeassistant/components/postnl/sensor.py @@ -11,8 +11,6 @@ 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 525de7dad2f837..9814e9463df7c3 100644 --- a/homeassistant/components/prezzibenzina/sensor.py +++ b/homeassistant/components/prezzibenzina/sensor.py @@ -10,8 +10,6 @@ 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 c165334201da2f..a6b4b3fd0f16c7 100644 --- a/homeassistant/components/proliphix/climate.py +++ b/homeassistant/components/proliphix/climate.py @@ -9,8 +9,6 @@ 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 de0de8ae16241f..5119a5e0fdf47c 100644 --- a/homeassistant/components/prometheus/__init__.py +++ b/homeassistant/components/prometheus/__init__.py @@ -14,15 +14,11 @@ 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 0a617bcec90116..c696c36f94c222 100644 --- a/homeassistant/components/proximity/__init__.py +++ b/homeassistant/components/proximity/__init__.py @@ -25,7 +25,6 @@ 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 fda2cdea60ef8e..7c535e65bc8f3d 100644 --- a/homeassistant/components/proxy/camera.py +++ b/homeassistant/components/proxy/camera.py @@ -12,8 +12,6 @@ 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 191eb223707d99..22c21fcffbed51 100644 --- a/homeassistant/components/ps4/__init__.py +++ b/homeassistant/components/ps4/__init__.py @@ -9,8 +9,6 @@ _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 4dc4fa0a317089..3382cd6fe43ba4 100644 --- a/homeassistant/components/ps4/media_player.py +++ b/homeassistant/components/ps4/media_player.py @@ -17,8 +17,6 @@ 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 c0424f15898e58..c962aee91cad67 100644 --- a/homeassistant/components/push/camera.py +++ b/homeassistant/components/push/camera.py @@ -17,8 +17,6 @@ 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 3fc90161ae0cd9..d1d9a6449ef2a3 100644 --- a/homeassistant/components/pushbullet/notify.py +++ b/homeassistant/components/pushbullet/notify.py @@ -11,8 +11,6 @@ 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 c90f952e7de0d3..50fa407620a80c 100644 --- a/homeassistant/components/pushbullet/sensor.py +++ b/homeassistant/components/pushbullet/sensor.py @@ -8,8 +8,6 @@ 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 028b0cfd49212a..5c776523d1285d 100644 --- a/homeassistant/components/pushetta/notify.py +++ b/homeassistant/components/pushetta/notify.py @@ -10,8 +10,6 @@ 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 39a1ce5d2f7fdb..d9be3428d59e10 100644 --- a/homeassistant/components/pushover/notify.py +++ b/homeassistant/components/pushover/notify.py @@ -10,7 +10,6 @@ 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 56a82b3912054f..a6c7a87ae381f7 100644 --- a/homeassistant/components/python_script/__init__.py +++ b/homeassistant/components/python_script/__init__.py @@ -13,8 +13,6 @@ 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 7e91c0ab276ccd..eb2529f0221ce8 100644 --- a/homeassistant/components/qbittorrent/sensor.py +++ b/homeassistant/components/qbittorrent/sensor.py @@ -12,8 +12,6 @@ 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 e12f20c25b1903..34eb850e4b1f31 100644 --- a/homeassistant/components/qnap/sensor.py +++ b/homeassistant/components/qnap/sensor.py @@ -13,8 +13,6 @@ 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 46fa78cca7f94f..e5836135512ff5 100644 --- a/homeassistant/components/qrcode/image_processing.py +++ b/homeassistant/components/qrcode/image_processing.py @@ -3,8 +3,6 @@ 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 3472a4dbb97677..e91fe99b7cdbbd 100644 --- a/homeassistant/components/quantum_gateway/device_tracker.py +++ b/homeassistant/components/quantum_gateway/device_tracker.py @@ -9,8 +9,6 @@ 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 a64685956221fa..3940f055ff8e1d 100644 --- a/homeassistant/components/qwikswitch/__init__.py +++ b/homeassistant/components/qwikswitch/__init__.py @@ -14,8 +14,6 @@ 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 a92c4d0b435e19..8042035b9c124e 100644 --- a/homeassistant/components/qwikswitch/binary_sensor.py +++ b/homeassistant/components/qwikswitch/binary_sensor.py @@ -6,8 +6,6 @@ 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 cb4df24f9781df..1adcef56ffa3a7 100644 --- a/homeassistant/components/qwikswitch/light.py +++ b/homeassistant/components/qwikswitch/light.py @@ -3,8 +3,6 @@ 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 8befce4f7e2a3f..047ec3475a575f 100644 --- a/homeassistant/components/qwikswitch/sensor.py +++ b/homeassistant/components/qwikswitch/sensor.py @@ -5,8 +5,6 @@ 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 4ee5396ae0ce3c..2d970a59a2a3a7 100644 --- a/homeassistant/components/qwikswitch/switch.py +++ b/homeassistant/components/qwikswitch/switch.py @@ -3,8 +3,6 @@ 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 64a7a5af4d7412..1452fc6a506eb3 100644 --- a/homeassistant/components/rachio/__init__.py +++ b/homeassistant/components/rachio/__init__.py @@ -11,8 +11,6 @@ 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 ffcaeccacff455..ade930b00bc4fb 100644 --- a/homeassistant/components/rachio/binary_sensor.py +++ b/homeassistant/components/rachio/binary_sensor.py @@ -10,8 +10,6 @@ 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 483e07e96f4ef3..1b650d7281a94d 100644 --- a/homeassistant/components/rachio/switch.py +++ b/homeassistant/components/rachio/switch.py @@ -13,8 +13,6 @@ 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 66dfc4cc385529..57cbfc031d7f9a 100644 --- a/homeassistant/components/radiotherm/climate.py +++ b/homeassistant/components/radiotherm/climate.py @@ -14,8 +14,6 @@ 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 de0f42fda4a6b8..410fdcd92739aa 100644 --- a/homeassistant/components/rainbird/__init__.py +++ b/homeassistant/components/rainbird/__init__.py @@ -6,8 +6,6 @@ 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 0cee202ecb20c8..5fdf116af9d228 100644 --- a/homeassistant/components/rainbird/sensor.py +++ b/homeassistant/components/rainbird/sensor.py @@ -10,8 +10,6 @@ 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 32c7c49ab99b7d..3ade3bdeadd54c 100644 --- a/homeassistant/components/rainbird/switch.py +++ b/homeassistant/components/rainbird/switch.py @@ -12,8 +12,6 @@ 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 c94315f673d9ec..e3b1a77cfa7a3a 100644 --- a/homeassistant/components/raincloud/__init__.py +++ b/homeassistant/components/raincloud/__init__.py @@ -13,8 +13,6 @@ 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 6ebad7cc121819..37c6798916931d 100644 --- a/homeassistant/components/raincloud/binary_sensor.py +++ b/homeassistant/components/raincloud/binary_sensor.py @@ -10,8 +10,6 @@ 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 6774d48ae99860..cf0c11e22f6d8d 100644 --- a/homeassistant/components/raincloud/sensor.py +++ b/homeassistant/components/raincloud/sensor.py @@ -10,8 +10,6 @@ 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 3901e1e0bd89ce..e320a956f11800 100644 --- a/homeassistant/components/raincloud/switch.py +++ b/homeassistant/components/raincloud/switch.py @@ -11,8 +11,6 @@ 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 2ff5ddcd4aa2ea..f5875558a53ba1 100644 --- a/homeassistant/components/rainmachine/__init__.py +++ b/homeassistant/components/rainmachine/__init__.py @@ -22,8 +22,6 @@ 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 4387e6b67bec05..fcccf11e17c4f5 100644 --- a/homeassistant/components/rainmachine/binary_sensor.py +++ b/homeassistant/components/rainmachine/binary_sensor.py @@ -11,7 +11,6 @@ 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 1d438b8035f8e2..08dd67755bb5aa 100644 --- a/homeassistant/components/rainmachine/sensor.py +++ b/homeassistant/components/rainmachine/sensor.py @@ -8,7 +8,6 @@ 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 adcbe5598199f0..2023f1e8f5c3ce 100644 --- a/homeassistant/components/rainmachine/switch.py +++ b/homeassistant/components/rainmachine/switch.py @@ -12,8 +12,6 @@ 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 622b98223aad66..3b37d48c87626e 100644 --- a/homeassistant/components/raspihats/__init__.py +++ b/homeassistant/components/raspihats/__init__.py @@ -6,8 +6,6 @@ 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 29fa474f781270..beaf66334c3b8f 100644 --- a/homeassistant/components/raspihats/binary_sensor.py +++ b/homeassistant/components/raspihats/binary_sensor.py @@ -15,8 +15,6 @@ _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 93538682ad8341..082c8f72811a73 100644 --- a/homeassistant/components/raspihats/switch.py +++ b/homeassistant/components/raspihats/switch.py @@ -14,8 +14,6 @@ _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 a141721f3e5299..9c44fc850c74c3 100644 --- a/homeassistant/components/raspyrfm/switch.py +++ b/homeassistant/components/raspyrfm/switch.py @@ -9,7 +9,6 @@ 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 1e3803ab866020..7112d22c00b090 100644 --- a/homeassistant/components/recollect_waste/sensor.py +++ b/homeassistant/components/recollect_waste/sensor.py @@ -8,8 +8,6 @@ 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 0df1fa42ad4913..97654b21c6deb0 100644 --- a/homeassistant/components/recorder/__init__.py +++ b/homeassistant/components/recorder/__init__.py @@ -25,8 +25,6 @@ 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 ed2da8022f8a1e..c43064c56749a3 100644 --- a/homeassistant/components/recswitch/switch.py +++ b/homeassistant/components/recswitch/switch.py @@ -11,8 +11,6 @@ _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 3ba43196551028..512fca71599444 100644 --- a/homeassistant/components/reddit/sensor.py +++ b/homeassistant/components/reddit/sensor.py @@ -9,8 +9,6 @@ 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 7a8cddb6179096..0c611e2c1e4459 100755 --- a/homeassistant/components/rejseplanen/sensor.py +++ b/homeassistant/components/rejseplanen/sensor.py @@ -19,7 +19,6 @@ 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 82619e35a0ebc2..93f28b527ba862 100644 --- a/homeassistant/components/remember_the_milk/__init__.py +++ b/homeassistant/components/remember_the_milk/__init__.py @@ -13,8 +13,6 @@ # 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 de79adc9f0e6b5..f08abf5fd4a4cd 100644 --- a/homeassistant/components/remote/__init__.py +++ b/homeassistant/components/remote/__init__.py @@ -26,7 +26,6 @@ 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 98e80580fea604..1dbfd208c64f7e 100644 --- a/homeassistant/components/rflink/__init__.py +++ b/homeassistant/components/rflink/__init__.py @@ -18,8 +18,6 @@ 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 4e487eb6e81577..ae9f282be0aa42 100644 --- a/homeassistant/components/rflink/binary_sensor.py +++ b/homeassistant/components/rflink/binary_sensor.py @@ -14,8 +14,6 @@ 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 409d27862f9c3f..d78fe8312e72c9 100644 --- a/homeassistant/components/rflink/cover.py +++ b/homeassistant/components/rflink/cover.py @@ -13,8 +13,6 @@ 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 112ed4b4f51203..d3ef73a09bb2e1 100644 --- a/homeassistant/components/rflink/light.py +++ b/homeassistant/components/rflink/light.py @@ -15,8 +15,6 @@ 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 c7498ece2416d8..1e3a18572ff1ed 100644 --- a/homeassistant/components/rflink/sensor.py +++ b/homeassistant/components/rflink/sensor.py @@ -15,8 +15,6 @@ 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 d5889c797f0e59..63f506cc13bc82 100644 --- a/homeassistant/components/rflink/switch.py +++ b/homeassistant/components/rflink/switch.py @@ -13,8 +13,6 @@ 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 411f0538bde3db..f7e42ce43572f9 100644 --- a/homeassistant/components/rfxtrx/__init__.py +++ b/homeassistant/components/rfxtrx/__init__.py @@ -12,8 +12,6 @@ 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 d548897fb80ce1..ec32f12bc68e74 100644 --- a/homeassistant/components/rfxtrx/binary_sensor.py +++ b/homeassistant/components/rfxtrx/binary_sensor.py @@ -17,8 +17,6 @@ _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 7ac0e2aa43f912..a915c48818a598 100644 --- a/homeassistant/components/rfxtrx/cover.py +++ b/homeassistant/components/rfxtrx/cover.py @@ -10,8 +10,6 @@ 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 3320a67214e2bd..56f0c21117d25e 100644 --- a/homeassistant/components/rfxtrx/light.py +++ b/homeassistant/components/rfxtrx/light.py @@ -13,8 +13,6 @@ 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 cc54320cb672eb..94d836fa45cd9f 100644 --- a/homeassistant/components/rfxtrx/sensor.py +++ b/homeassistant/components/rfxtrx/sensor.py @@ -14,8 +14,6 @@ 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 908c07ea745795..938b575eca0fe1 100644 --- a/homeassistant/components/rfxtrx/switch.py +++ b/homeassistant/components/rfxtrx/switch.py @@ -12,8 +12,6 @@ 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 74da7a9d542909..669e91a1302646 100644 --- a/homeassistant/components/ring/__init__.py +++ b/homeassistant/components/ring/__init__.py @@ -7,8 +7,6 @@ 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 79de0424d85a85..a12954f6c299f7 100644 --- a/homeassistant/components/ring/binary_sensor.py +++ b/homeassistant/components/ring/binary_sensor.py @@ -12,8 +12,6 @@ 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 18427b9b6f9788..2a680a63b789db 100644 --- a/homeassistant/components/ring/camera.py +++ b/homeassistant/components/ring/camera.py @@ -16,8 +16,6 @@ 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 c9cb2f1159a67f..8b36cf70ea30cf 100644 --- a/homeassistant/components/ring/sensor.py +++ b/homeassistant/components/ring/sensor.py @@ -13,8 +13,6 @@ 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 54530571c3eab4..773a6d77f54fb0 100644 --- a/homeassistant/components/ripple/sensor.py +++ b/homeassistant/components/ripple/sensor.py @@ -8,8 +8,6 @@ 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 74bec1b871121f..69bf2454f860a0 100644 --- a/homeassistant/components/ritassist/device_tracker.py +++ b/homeassistant/components/ritassist/device_tracker.py @@ -9,8 +9,6 @@ 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 7a3afb3f324bca..13d13281bb648f 100644 --- a/homeassistant/components/rmvtransport/sensor.py +++ b/homeassistant/components/rmvtransport/sensor.py @@ -13,8 +13,6 @@ 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 e404114736a103..bbe02698c8e1a5 100644 --- a/homeassistant/components/rocketchat/notify.py +++ b/homeassistant/components/rocketchat/notify.py @@ -10,8 +10,6 @@ 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 89bb1a9acb8fbd..3444f8a3183fe2 100644 --- a/homeassistant/components/roku/__init__.py +++ b/homeassistant/components/roku/__init__.py @@ -8,8 +8,6 @@ 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 3cf27af067433d..41eff531de373a 100644 --- a/homeassistant/components/roku/media_player.py +++ b/homeassistant/components/roku/media_player.py @@ -10,8 +10,6 @@ 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 5529918010cf45..59ecbe351adf0e 100644 --- a/homeassistant/components/roku/remote.py +++ b/homeassistant/components/roku/remote.py @@ -4,8 +4,6 @@ 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 fadbe2a82d5254..e9f62d3bc179e0 100644 --- a/homeassistant/components/roomba/vacuum.py +++ b/homeassistant/components/roomba/vacuum.py @@ -14,8 +14,6 @@ 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 725dec8b8e54b2..43a7b75b94d8d9 100644 --- a/homeassistant/components/route53/__init__.py +++ b/homeassistant/components/route53/__init__.py @@ -9,8 +9,6 @@ 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 2c2c36b12457ad..dcdee08734cf48 100644 --- a/homeassistant/components/rova/sensor.py +++ b/homeassistant/components/rova/sensor.py @@ -12,8 +12,6 @@ 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 b5bd0796f160b8..e568281edb1cd4 100644 --- a/homeassistant/components/rpi_gpio/__init__.py +++ b/homeassistant/components/rpi_gpio/__init__.py @@ -4,8 +4,6 @@ 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 559ae9584049be..d9903350aa0fc3 100644 --- a/homeassistant/components/rpi_gpio/binary_sensor.py +++ b/homeassistant/components/rpi_gpio/binary_sensor.py @@ -20,8 +20,6 @@ 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 403f7ec6867afa..d841dec777eccf 100644 --- a/homeassistant/components/rpi_gpio/cover.py +++ b/homeassistant/components/rpi_gpio/cover.py @@ -23,8 +23,6 @@ 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 bdb79d03eec812..ba713e5d273845 100644 --- a/homeassistant/components/rpi_gpio/switch.py +++ b/homeassistant/components/rpi_gpio/switch.py @@ -11,8 +11,6 @@ _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 b0b9ef1b763509..73ce2a67306444 100644 --- a/homeassistant/components/rpi_gpio_pwm/light.py +++ b/homeassistant/components/rpi_gpio_pwm/light.py @@ -11,8 +11,6 @@ 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 b096d9fe98ab7d..8341ebffceeca8 100644 --- a/homeassistant/components/rpi_pfio/__init__.py +++ b/homeassistant/components/rpi_pfio/__init__.py @@ -4,8 +4,6 @@ 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 677ec3bb16f121..b298c3dc44a201 100644 --- a/homeassistant/components/rpi_pfio/binary_sensor.py +++ b/homeassistant/components/rpi_pfio/binary_sensor.py @@ -18,8 +18,6 @@ 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 fc158bd666f97d..5a69ec8706f15b 100644 --- a/homeassistant/components/rpi_pfio/switch.py +++ b/homeassistant/components/rpi_pfio/switch.py @@ -11,8 +11,6 @@ _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 d0a2337280296d..6531e42bd23536 100644 --- a/homeassistant/components/rpi_rf/switch.py +++ b/homeassistant/components/rpi_rf/switch.py @@ -9,8 +9,6 @@ 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 3c93fe2ac83593..1d82d40ba723e6 100644 --- a/homeassistant/components/rss_feed_template/__init__.py +++ b/homeassistant/components/rss_feed_template/__init__.py @@ -8,8 +8,6 @@ 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 b8f9d29f5cae81..e2462a2c2b42ca 100644 --- a/homeassistant/components/russound_rio/media_player.py +++ b/homeassistant/components/russound_rio/media_player.py @@ -14,8 +14,6 @@ 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 f489d48a9d53f4..788b5da361bd16 100644 --- a/homeassistant/components/russound_rnet/media_player.py +++ b/homeassistant/components/russound_rnet/media_player.py @@ -12,8 +12,6 @@ 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 f6fefc96198939..fd72d59dbea50b 100644 --- a/homeassistant/components/ruter/sensor.py +++ b/homeassistant/components/ruter/sensor.py @@ -9,8 +9,6 @@ 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 d070872f85c442..4275765a1bf8b7 100644 --- a/homeassistant/components/sabnzbd/__init__.py +++ b/homeassistant/components/sabnzbd/__init__.py @@ -15,8 +15,6 @@ 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 4968725a4befc7..3c57a844431b69 100644 --- a/homeassistant/components/sabnzbd/sensor.py +++ b/homeassistant/components/sabnzbd/sensor.py @@ -6,8 +6,6 @@ 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 1a2a24c3621040..05921d7e84b07f 100644 --- a/homeassistant/components/samsungtv/media_player.py +++ b/homeassistant/components/samsungtv/media_player.py @@ -18,8 +18,6 @@ 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 5f5c43d961f552..2aae9ea8dd9a10 100644 --- a/homeassistant/components/satel_integra/__init__.py +++ b/homeassistant/components/satel_integra/__init__.py @@ -9,8 +9,6 @@ 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 d2d9f47305100d..02e683bac5a164 100644 --- a/homeassistant/components/satel_integra/alarm_control_panel.py +++ b/homeassistant/components/satel_integra/alarm_control_panel.py @@ -16,8 +16,6 @@ _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 0384ff37f14f01..faef1a6f45e51f 100644 --- a/homeassistant/components/satel_integra/binary_sensor.py +++ b/homeassistant/components/satel_integra/binary_sensor.py @@ -9,8 +9,6 @@ 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 e576eca78e872e..a5975d4f9d0b1e 100644 --- a/homeassistant/components/scrape/sensor.py +++ b/homeassistant/components/scrape/sensor.py @@ -15,8 +15,6 @@ 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 873a18120ac3ce..528e454c4e6e38 100644 --- a/homeassistant/components/script/__init__.py +++ b/homeassistant/components/script/__init__.py @@ -18,8 +18,6 @@ _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 67421e9a46ad44..ed84bc19ebe4fb 100644 --- a/homeassistant/components/scsgate/__init__.py +++ b/homeassistant/components/scsgate/__init__.py @@ -8,8 +8,6 @@ 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 fc1c16e1ff36d5..d866b8ab80c64f 100644 --- a/homeassistant/components/scsgate/cover.py +++ b/homeassistant/components/scsgate/cover.py @@ -10,8 +10,6 @@ _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 87d7e02b383d1d..f894d33e867927 100644 --- a/homeassistant/components/scsgate/light.py +++ b/homeassistant/components/scsgate/light.py @@ -11,8 +11,6 @@ _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 2b2bf2de94fc5b..ad6362c9e0c40c 100644 --- a/homeassistant/components/scsgate/switch.py +++ b/homeassistant/components/scsgate/switch.py @@ -11,8 +11,6 @@ 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 7c7b1054961bf3..b31cf5083bf27e 100644 --- a/homeassistant/components/season/sensor.py +++ b/homeassistant/components/season/sensor.py @@ -9,8 +9,6 @@ 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 a717c7f24edb0d..563e47b8afe60e 100644 --- a/homeassistant/components/sendgrid/notify.py +++ b/homeassistant/components/sendgrid/notify.py @@ -10,8 +10,6 @@ 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 be3ab75b5553cd..7266b2fb1e5ab2 100644 --- a/homeassistant/components/sense/__init__.py +++ b/homeassistant/components/sense/__init__.py @@ -7,8 +7,6 @@ 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 da9bae3cc84788..a0f65ac555a585 100644 --- a/homeassistant/components/sense/binary_sensor.py +++ b/homeassistant/components/sense/binary_sensor.py @@ -5,8 +5,6 @@ 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 0224884e18a5cd..e114132e0d7770 100644 --- a/homeassistant/components/sense/sensor.py +++ b/homeassistant/components/sense/sensor.py @@ -15,8 +15,6 @@ 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 c68e77b40a4d8d..713dd1373fdfc5 100644 --- a/homeassistant/components/sensehat/light.py +++ b/homeassistant/components/sensehat/light.py @@ -10,8 +10,6 @@ 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 870150c1a987cd..a9a80ee22bacdf 100644 --- a/homeassistant/components/sensehat/sensor.py +++ b/homeassistant/components/sensehat/sensor.py @@ -11,8 +11,6 @@ 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 bf06f232427a3f..d2f95dcee79318 100644 --- a/homeassistant/components/sensibo/climate.py +++ b/homeassistant/components/sensibo/climate.py @@ -21,8 +21,6 @@ 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 c01981f90218a7..cebe9b42996dab 100644 --- a/homeassistant/components/serial/sensor.py +++ b/homeassistant/components/serial/sensor.py @@ -10,8 +10,6 @@ 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 9ad65f7256fa25..49e61bead056c3 100644 --- a/homeassistant/components/serial_pm/sensor.py +++ b/homeassistant/components/serial_pm/sensor.py @@ -8,8 +8,6 @@ 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 263914f389cced..3882d8796c7099 100644 --- a/homeassistant/components/sesame/lock.py +++ b/homeassistant/components/sesame/lock.py @@ -9,8 +9,6 @@ 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 ff17d1a4c546fc..95384ecc44dd82 100644 --- a/homeassistant/components/seventeentrack/sensor.py +++ b/homeassistant/components/seventeentrack/sensor.py @@ -12,7 +12,6 @@ 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 438bc36b1bf2de..df25365a9fb9a9 100644 --- a/homeassistant/components/shiftr/__init__.py +++ b/homeassistant/components/shiftr/__init__.py @@ -9,8 +9,6 @@ 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 ee64eecf3fe02a..072742391b9000 100644 --- a/homeassistant/components/shodan/sensor.py +++ b/homeassistant/components/shodan/sensor.py @@ -9,8 +9,6 @@ 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 1a036f3661aa38..cfcbfdd4224477 100644 --- a/homeassistant/components/shopping_list/__init__.py +++ b/homeassistant/components/shopping_list/__init__.py @@ -18,7 +18,6 @@ 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 613b1f8c92a16b..904a1af75c2bdc 100644 --- a/homeassistant/components/sht31/sensor.py +++ b/homeassistant/components/sht31/sensor.py @@ -16,9 +16,6 @@ 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 081351238d9d0e..38a61e439726e9 100644 --- a/homeassistant/components/simplepush/notify.py +++ b/homeassistant/components/simplepush/notify.py @@ -9,8 +9,6 @@ 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 359591856a7917..36aa3ba54d98f1 100644 --- a/homeassistant/components/simplisafe/__init__.py +++ b/homeassistant/components/simplisafe/__init__.py @@ -19,8 +19,6 @@ 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 b1bec15d40e8ac..7cc8e3efd33a53 100644 --- a/homeassistant/components/sisyphus/__init__.py +++ b/homeassistant/components/sisyphus/__init__.py @@ -13,8 +13,6 @@ 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 182e5e78198dc1..8d882925796ad6 100644 --- a/homeassistant/components/sisyphus/light.py +++ b/homeassistant/components/sisyphus/light.py @@ -8,8 +8,6 @@ _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 11546c3fd43822..65f5cb48e59b78 100644 --- a/homeassistant/components/sisyphus/media_player.py +++ b/homeassistant/components/sisyphus/media_player.py @@ -13,8 +13,6 @@ _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 9b8b4872cdce89..aa7eea0bcccc3e 100644 --- a/homeassistant/components/skybeacon/sensor.py +++ b/homeassistant/components/skybeacon/sensor.py @@ -11,8 +11,6 @@ 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 31d1339fbcfc88..51e12376a61d5e 100644 --- a/homeassistant/components/skybell/__init__.py +++ b/homeassistant/components/skybell/__init__.py @@ -9,8 +9,6 @@ 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 8c2b83552588c5..16b094dbf63089 100644 --- a/homeassistant/components/skybell/binary_sensor.py +++ b/homeassistant/components/skybell/binary_sensor.py @@ -12,8 +12,6 @@ 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 04b03f84bf751d..e11f7c48947a8a 100644 --- a/homeassistant/components/skybell/camera.py +++ b/homeassistant/components/skybell/camera.py @@ -11,8 +11,6 @@ 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 d413f9df4127dc..18108787e56b43 100644 --- a/homeassistant/components/skybell/light.py +++ b/homeassistant/components/skybell/light.py @@ -7,8 +7,6 @@ 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 067e850dfcf1dc..5188f75b6fa0fe 100644 --- a/homeassistant/components/skybell/sensor.py +++ b/homeassistant/components/skybell/sensor.py @@ -11,8 +11,6 @@ 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 674bbf22a08600..7771f1a87544c1 100644 --- a/homeassistant/components/skybell/switch.py +++ b/homeassistant/components/skybell/switch.py @@ -10,8 +10,6 @@ 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 026fed0a58ebb2..600fdef94776ad 100644 --- a/homeassistant/components/slack/notify.py +++ b/homeassistant/components/slack/notify.py @@ -12,8 +12,6 @@ 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 7a23c6c46095f8..97b2d53a03368b 100644 --- a/homeassistant/components/sleepiq/__init__.py +++ b/homeassistant/components/sleepiq/__init__.py @@ -13,8 +13,6 @@ 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 11f9e25d8c957e..cad5c9e42f1d60 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 3de444c332452d..c92c463ea24070 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 a2ec7871f608e0..9b6406484df23c 100644 --- a/homeassistant/components/sma/sensor.py +++ b/homeassistant/components/sma/sensor.py @@ -14,8 +14,6 @@ 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 7a495d7b89a375..c3f739b7b72961 100644 --- a/homeassistant/components/smappee/__init__.py +++ b/homeassistant/components/smappee/__init__.py @@ -11,8 +11,6 @@ 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 98527c769d9036..e34ede56e133ca 100644 --- a/homeassistant/components/smappee/sensor.py +++ b/homeassistant/components/smappee/sensor.py @@ -7,8 +7,6 @@ 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 963caf457fe8db..25ae9a612ceb8f 100644 --- a/homeassistant/components/smappee/switch.py +++ b/homeassistant/components/smappee/switch.py @@ -5,8 +5,6 @@ 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 e5226076f465e9..f2f1021ff66526 100644 --- a/homeassistant/components/smartthings/__init__.py +++ b/homeassistant/components/smartthings/__init__.py @@ -28,9 +28,6 @@ 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 45101601d5ffb2..39ff2999e3a2ff 100644 --- a/homeassistant/components/smartthings/binary_sensor.py +++ b/homeassistant/components/smartthings/binary_sensor.py @@ -6,8 +6,6 @@ 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 bcf2dc02cb03a2..f45ea10ce47522 100644 --- a/homeassistant/components/smartthings/climate.py +++ b/homeassistant/components/smartthings/climate.py @@ -17,8 +17,6 @@ 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 53602c3643c2d4..47116ad3dd6312 100644 --- a/homeassistant/components/smartthings/cover.py +++ b/homeassistant/components/smartthings/cover.py @@ -11,8 +11,6 @@ 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 e722cd21d65a61..befcb3fcb78731 100644 --- a/homeassistant/components/smartthings/fan.py +++ b/homeassistant/components/smartthings/fan.py @@ -8,8 +8,6 @@ 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 79a5eabc20a3cd..6e609b4b53c5a0 100644 --- a/homeassistant/components/smartthings/light.py +++ b/homeassistant/components/smartthings/light.py @@ -11,8 +11,6 @@ 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 c7ab091454cad2..ca2e45114d913d 100644 --- a/homeassistant/components/smartthings/lock.py +++ b/homeassistant/components/smartthings/lock.py @@ -6,8 +6,6 @@ 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 9bf3211d8e36e2..17c7bd51b413f8 100644 --- a/homeassistant/components/smartthings/scene.py +++ b/homeassistant/components/smartthings/scene.py @@ -3,8 +3,6 @@ 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 4f7ad1a1398ae4..4abb3e20c3eefb 100644 --- a/homeassistant/components/smartthings/sensor.py +++ b/homeassistant/components/smartthings/sensor.py @@ -10,8 +10,6 @@ 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 d30aa3a2303e9e..2149a87250e09a 100644 --- a/homeassistant/components/smartthings/switch.py +++ b/homeassistant/components/smartthings/switch.py @@ -6,8 +6,6 @@ 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 608ee9b6a6d171..b62f110b619912 100644 --- a/homeassistant/components/smhi/__init__.py +++ b/homeassistant/components/smhi/__init__.py @@ -6,8 +6,6 @@ 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 fc3399f755ccc5..ab5d08e770b475 100644 --- a/homeassistant/components/smhi/weather.py +++ b/homeassistant/components/smhi/weather.py @@ -19,8 +19,6 @@ 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 b1589c4db51ab3..12ecabd68eaaec 100644 --- a/homeassistant/components/snapcast/media_player.py +++ b/homeassistant/components/snapcast/media_player.py @@ -14,8 +14,6 @@ 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 0cc96d66b1a1aa..71e37fa5137f11 100644 --- a/homeassistant/components/snips/__init__.py +++ b/homeassistant/components/snips/__init__.py @@ -10,8 +10,6 @@ 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 8a0fe7c6101c98..b36681161cb773 100644 --- a/homeassistant/components/snmp/device_tracker.py +++ b/homeassistant/components/snmp/device_tracker.py @@ -9,8 +9,6 @@ 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 83d311189885ef..df132140c38bce 100644 --- a/homeassistant/components/snmp/sensor.py +++ b/homeassistant/components/snmp/sensor.py @@ -11,8 +11,6 @@ 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 fdb3267a3c7c32..5555f511272fd3 100644 --- a/homeassistant/components/snmp/switch.py +++ b/homeassistant/components/snmp/switch.py @@ -9,8 +9,6 @@ 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 ef6a53b7091998..3f74e43d140e36 100644 --- a/homeassistant/components/sochain/sensor.py +++ b/homeassistant/components/sochain/sensor.py @@ -10,8 +10,6 @@ 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 77433ac6d57d4a..a563de83f2d6f9 100644 --- a/homeassistant/components/socialblade/sensor.py +++ b/homeassistant/components/socialblade/sensor.py @@ -12,8 +12,6 @@ _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 6c6d7557282e2f..da0eba1320fcad 100644 --- a/homeassistant/components/solaredge/sensor.py +++ b/homeassistant/components/solaredge/sensor.py @@ -14,8 +14,6 @@ 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 c8a6314acaaa50..19d41833510071 100755 --- a/homeassistant/components/somfy_mylink/__init__.py +++ b/homeassistant/components/somfy_mylink/__init__.py @@ -8,7 +8,6 @@ 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 e0b9eae36ebe73..b9ae4c3dd662af 100755 --- a/homeassistant/components/somfy_mylink/cover.py +++ b/homeassistant/components/somfy_mylink/cover.py @@ -7,8 +7,6 @@ from . import CONF_DEFAULT_REVERSE, DATA_SOMFY_MYLINK _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['somfy_mylink'] - async def async_setup_platform(hass, config, diff --git a/homeassistant/components/songpal/media_player.py b/homeassistant/components/songpal/media_player.py index 842360484cfd5b..077975b26e2b6f 100644 --- a/homeassistant/components/songpal/media_player.py +++ b/homeassistant/components/songpal/media_player.py @@ -16,8 +16,6 @@ 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 d5f89cd074ed0d..ade3bfcb4dd697 100644 --- a/homeassistant/components/sonos/__init__.py +++ b/homeassistant/components/sonos/__init__.py @@ -4,8 +4,6 @@ DOMAIN = 'sonos' -REQUIREMENTS = ['pysonos==0.0.10'] - async def async_setup(hass, config): """Set up the Sonos component.""" diff --git a/homeassistant/components/sony_projector/switch.py b/homeassistant/components/sony_projector/switch.py index 5b3ffeed75f30b..9ffd8ffb8bf623 100644 --- a/homeassistant/components/sony_projector/switch.py +++ b/homeassistant/components/sony_projector/switch.py @@ -8,8 +8,6 @@ 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 027fad43a4013b..a2a6c315edae51 100644 --- a/homeassistant/components/soundtouch/media_player.py +++ b/homeassistant/components/soundtouch/media_player.py @@ -15,8 +15,6 @@ 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 fb76718f2d5f06..5431cd6260c1d8 100644 --- a/homeassistant/components/spaceapi/__init__.py +++ b/homeassistant/components/spaceapi/__init__.py @@ -45,7 +45,6 @@ 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 8aafb6f12107bd..8e06e254661ce9 100644 --- a/homeassistant/components/spc/__init__.py +++ b/homeassistant/components/spc/__init__.py @@ -7,8 +7,6 @@ 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 48953874e8c528..838902950186ea 100644 --- a/homeassistant/components/speedtestdotnet/__init__.py +++ b/homeassistant/components/speedtestdotnet/__init__.py @@ -14,8 +14,6 @@ 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 fb92bb76ac848a..785b981f1ac6fb 100644 --- a/homeassistant/components/speedtestdotnet/sensor.py +++ b/homeassistant/components/speedtestdotnet/sensor.py @@ -9,8 +9,6 @@ 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 b565f1834577fd..aadbfc8eb9b97b 100644 --- a/homeassistant/components/spider/__init__.py +++ b/homeassistant/components/spider/__init__.py @@ -9,8 +9,6 @@ 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 3b612441a88466..069f34da3f7625 100644 --- a/homeassistant/components/spider/climate.py +++ b/homeassistant/components/spider/climate.py @@ -10,8 +10,6 @@ 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 e43762be460f1d..286ea3e7ddf655 100644 --- a/homeassistant/components/spider/switch.py +++ b/homeassistant/components/spider/switch.py @@ -5,8 +5,6 @@ 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 fa9cfa687ec3af..a5636f543a380a 100644 --- a/homeassistant/components/spotcrime/sensor.py +++ b/homeassistant/components/spotcrime/sensor.py @@ -15,8 +15,6 @@ 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 b9252d5035bd9f..d6014008c76aaa 100644 --- a/homeassistant/components/spotify/media_player.py +++ b/homeassistant/components/spotify/media_player.py @@ -16,8 +16,6 @@ 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 @@ 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 bc40d5efb4279f..475bde97de4226 100644 --- a/homeassistant/components/sql/sensor.py +++ b/homeassistant/components/sql/sensor.py @@ -15,8 +15,6 @@ _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 0ebae427da138a..a84295fdef905c 100644 --- a/homeassistant/components/srp_energy/sensor.py +++ b/homeassistant/components/srp_energy/sensor.py @@ -14,8 +14,6 @@ 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 00640ea49632ca..743bce5a736a48 100644 --- a/homeassistant/components/starlingbank/sensor.py +++ b/homeassistant/components/starlingbank/sensor.py @@ -9,8 +9,6 @@ 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 1e57a4cf859eba..fe2c35c39b7499 100644 --- a/homeassistant/components/startca/sensor.py +++ b/homeassistant/components/startca/sensor.py @@ -14,8 +14,6 @@ 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 a8c34d0a8433e1..c1b7e8de68db74 100644 --- a/homeassistant/components/statsd/__init__.py +++ b/homeassistant/components/statsd/__init__.py @@ -8,8 +8,6 @@ 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 4b4b73ad8cfd2f..1afeb2be4df2c1 100644 --- a/homeassistant/components/steam_online/sensor.py +++ b/homeassistant/components/steam_online/sensor.py @@ -8,8 +8,6 @@ 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 43debc504e1a15..1de1fc35ea14e4 100644 --- a/homeassistant/components/stream/__init__.py +++ b/homeassistant/components/stream/__init__.py @@ -19,12 +19,8 @@ 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 fa08697d798579..1ce2cf5e221ff2 100644 --- a/homeassistant/components/stride/notify.py +++ b/homeassistant/components/stride/notify.py @@ -10,8 +10,6 @@ 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 84964a94cbd141..c8a2c62c5bfddb 100644 --- a/homeassistant/components/swiss_hydrological_data/sensor.py +++ b/homeassistant/components/swiss_hydrological_data/sensor.py @@ -10,8 +10,6 @@ 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 8d6b7fdee0ea85..9ff5ea71819c21 100644 --- a/homeassistant/components/swiss_public_transport/sensor.py +++ b/homeassistant/components/swiss_public_transport/sensor.py @@ -11,8 +11,6 @@ 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 7e89a5369c8453..65b2bb7b92a4a7 100644 --- a/homeassistant/components/switch/__init__.py +++ b/homeassistant/components/switch/__init__.py @@ -16,7 +16,6 @@ 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 3db9b5fd2262bf..b8a2a905dcb00c 100644 --- a/homeassistant/components/switchbot/switch.py +++ b/homeassistant/components/switchbot/switch.py @@ -8,8 +8,6 @@ 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 c14a6ca80879bd..ed76089147fda5 100644 --- a/homeassistant/components/switchmate/switch.py +++ b/homeassistant/components/switchmate/switch.py @@ -8,8 +8,6 @@ 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 5596d4ab86adf9..33f57fa0371eaa 100644 --- a/homeassistant/components/syncthru/sensor.py +++ b/homeassistant/components/syncthru/sensor.py @@ -9,8 +9,6 @@ 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 c452f60cc2a1d2..936474652800d4 100644 --- a/homeassistant/components/synology/camera.py +++ b/homeassistant/components/synology/camera.py @@ -14,8 +14,6 @@ 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 bf5653d681bbb8..57dbb7134e207c 100644 --- a/homeassistant/components/synology_srm/device_tracker.py +++ b/homeassistant/components/synology_srm/device_tracker.py @@ -13,8 +13,6 @@ 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 0d5a253483f9ac..2d12dbfe763662 100644 --- a/homeassistant/components/synologydsm/sensor.py +++ b/homeassistant/components/synologydsm/sensor.py @@ -13,8 +13,6 @@ 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 9a171296ce9578..7dbb682b287b84 100644 --- a/homeassistant/components/system_health/__init__.py +++ b/homeassistant/components/system_health/__init__.py @@ -14,7 +14,6 @@ _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 d6877c32f0deee..c5909309ab390e 100644 --- a/homeassistant/components/system_log/__init__.py +++ b/homeassistant/components/system_log/__init__.py @@ -20,7 +20,6 @@ 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 cf65daa439509c..fbd4ed52de7465 100644 --- a/homeassistant/components/systemmonitor/sensor.py +++ b/homeassistant/components/systemmonitor/sensor.py @@ -12,8 +12,6 @@ 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 517deda7ca2b71..887d0800e332b3 100644 --- a/homeassistant/components/sytadin/sensor.py +++ b/homeassistant/components/sytadin/sensor.py @@ -13,8 +13,6 @@ 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 8d3f541972e50c..9bbca925868c89 100644 --- a/homeassistant/components/tado/__init__.py +++ b/homeassistant/components/tado/__init__.py @@ -10,8 +10,6 @@ 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 1807667da87dc6..9605b9e14e4e25 100644 --- a/homeassistant/components/tahoma/__init__.py +++ b/homeassistant/components/tahoma/__init__.py @@ -9,8 +9,6 @@ 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 948c6f90a58895..f4305077a07391 100644 --- a/homeassistant/components/tahoma/binary_sensor.py +++ b/homeassistant/components/tahoma/binary_sensor.py @@ -7,8 +7,6 @@ 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 85e785f9ca3b44..eeacf7c83b216c 100644 --- a/homeassistant/components/tahoma/cover.py +++ b/homeassistant/components/tahoma/cover.py @@ -7,8 +7,6 @@ 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 eedb95d1a772c9..cea8217b17a305 100644 --- a/homeassistant/components/tahoma/scene.py +++ b/homeassistant/components/tahoma/scene.py @@ -5,8 +5,6 @@ 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 3c03911804ace1..288462dcc802e6 100644 --- a/homeassistant/components/tahoma/sensor.py +++ b/homeassistant/components/tahoma/sensor.py @@ -7,8 +7,6 @@ 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 71f00ed8937c7d..4877ae61e28ff8 100644 --- a/homeassistant/components/tahoma/switch.py +++ b/homeassistant/components/tahoma/switch.py @@ -6,8 +6,6 @@ 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 5389d60ef461db..8d83b0773cee05 100644 --- a/homeassistant/components/tank_utility/sensor.py +++ b/homeassistant/components/tank_utility/sensor.py @@ -12,10 +12,6 @@ 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 639e9574ed971e..b2875c8e40d26f 100644 --- a/homeassistant/components/tapsaff/binary_sensor.py +++ b/homeassistant/components/tapsaff/binary_sensor.py @@ -9,8 +9,6 @@ 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 44be10749bfa36..ca1651eca68af1 100644 --- a/homeassistant/components/tautulli/sensor.py +++ b/homeassistant/components/tautulli/sensor.py @@ -14,8 +14,6 @@ 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 fba9866302d984..32869949eb9a0f 100644 --- a/homeassistant/components/ted5000/sensor.py +++ b/homeassistant/components/ted5000/sensor.py @@ -12,8 +12,6 @@ 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 3602bbd24419f7..b18e0e2c1d1727 100644 --- a/homeassistant/components/telegram/notify.py +++ b/homeassistant/components/telegram/notify.py @@ -12,8 +12,6 @@ _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 7d19e8212b6aca..a77b86038536e6 100644 --- a/homeassistant/components/telegram_bot/__init__.py +++ b/homeassistant/components/telegram_bot/__init__.py @@ -16,8 +16,6 @@ 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 424ece81549e2f..1a2839b176e04e 100644 --- a/homeassistant/components/telegram_bot/webhooks.py +++ b/homeassistant/components/telegram_bot/webhooks.py @@ -15,8 +15,6 @@ 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 64f4a0102a1572..de665bc314fd7b 100644 --- a/homeassistant/components/tellduslive/__init__.py +++ b/homeassistant/components/tellduslive/__init__.py @@ -19,8 +19,6 @@ 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 c35d2f790273a2..815e194184bc14 100644 --- a/homeassistant/components/tellstick/__init__.py +++ b/homeassistant/components/tellstick/__init__.py @@ -11,8 +11,6 @@ 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 0438ad79abca19..39946dac7c141c 100644 --- a/homeassistant/components/tellstick/sensor.py +++ b/homeassistant/components/tellstick/sensor.py @@ -9,8 +9,6 @@ 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 1c6cb9fdff4636..9bf6a3296fcedb 100644 --- a/homeassistant/components/temper/sensor.py +++ b/homeassistant/components/temper/sensor.py @@ -8,8 +8,6 @@ _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 4e4a80a525e42e..2125ea80364fcf 100644 --- a/homeassistant/components/tensorflow/image_processing.py +++ b/homeassistant/components/tensorflow/image_processing.py @@ -12,8 +12,6 @@ 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 244538f5f462ef..894502aa50aa06 100644 --- a/homeassistant/components/tesla/__init__.py +++ b/homeassistant/components/tesla/__init__.py @@ -11,8 +11,6 @@ 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 a87239d24308d9..147853f5855a51 100644 --- a/homeassistant/components/tesla/binary_sensor.py +++ b/homeassistant/components/tesla/binary_sensor.py @@ -8,8 +8,6 @@ _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 603ce1a4d61785..cb2eee4367f39e 100644 --- a/homeassistant/components/tesla/climate.py +++ b/homeassistant/components/tesla/climate.py @@ -11,8 +11,6 @@ _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 5a7693d8370665..c3fd649ad4e1a7 100644 --- a/homeassistant/components/tesla/device_tracker.py +++ b/homeassistant/components/tesla/device_tracker.py @@ -8,8 +8,6 @@ _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 ade394496d6edb..4601aebf7c7548 100644 --- a/homeassistant/components/tesla/lock.py +++ b/homeassistant/components/tesla/lock.py @@ -8,8 +8,6 @@ _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 99705d3f79336e..1a1fe85e25221e 100644 --- a/homeassistant/components/tesla/sensor.py +++ b/homeassistant/components/tesla/sensor.py @@ -11,8 +11,6 @@ _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 e00164ff1a7d52..39c5deb7a6cc86 100644 --- a/homeassistant/components/tesla/switch.py +++ b/homeassistant/components/tesla/switch.py @@ -7,8 +7,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 switch platform.""" diff --git a/homeassistant/components/tfiac/climate.py b/homeassistant/components/tfiac/climate.py index 44fa19098236c8..c3c42b3b63bee7 100644 --- a/homeassistant/components/tfiac/climate.py +++ b/homeassistant/components/tfiac/climate.py @@ -13,8 +13,6 @@ 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 0c6cddd9fcd734..55a4cd67cdd5ad 100644 --- a/homeassistant/components/thermoworks_smoke/sensor.py +++ b/homeassistant/components/thermoworks_smoke/sensor.py @@ -17,8 +17,6 @@ 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 d59b429721b562..08cdecf8569522 100644 --- a/homeassistant/components/thethingsnetwork/sensor.py +++ b/homeassistant/components/thethingsnetwork/sensor.py @@ -22,8 +22,6 @@ 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 0fa15e7efb4bf4..d6191dbd3005df 100644 --- a/homeassistant/components/thingspeak/__init__.py +++ b/homeassistant/components/thingspeak/__init__.py @@ -9,8 +9,6 @@ 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 f8462435a451b6..4f05f142568450 100644 --- a/homeassistant/components/thinkingcleaner/sensor.py +++ b/homeassistant/components/thinkingcleaner/sensor.py @@ -7,8 +7,6 @@ _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 38a96eb029865e..43b5a8ca422a06 100644 --- a/homeassistant/components/thinkingcleaner/switch.py +++ b/homeassistant/components/thinkingcleaner/switch.py @@ -9,8 +9,6 @@ _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 19cf6fe65258ea..15c684b72da4c6 100644 --- a/homeassistant/components/tibber/__init__.py +++ b/homeassistant/components/tibber/__init__.py @@ -11,8 +11,6 @@ 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 4f5596c71be4d7..d69672cb5feaf5 100644 --- a/homeassistant/components/tikteck/light.py +++ b/homeassistant/components/tikteck/light.py @@ -10,8 +10,6 @@ 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 c471c1e23b4d49..f83e4bccea4d3b 100644 --- a/homeassistant/components/tile/device_tracker.py +++ b/homeassistant/components/tile/device_tracker.py @@ -13,8 +13,6 @@ 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 313935e1221fe8..2ee88080924f2a 100644 --- a/homeassistant/components/todoist/calendar.py +++ b/homeassistant/components/todoist/calendar.py @@ -12,8 +12,6 @@ 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 a403db036825c8..66b86da301c1d6 100644 --- a/homeassistant/components/tof/sensor.py +++ b/homeassistant/components/tof/sensor.py @@ -12,10 +12,6 @@ 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 d718b5895e4520..da47285934cca9 100644 --- a/homeassistant/components/toon/__init__.py +++ b/homeassistant/components/toon/__init__.py @@ -16,8 +16,6 @@ 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 694b7d1d03383b..c9bec0f3e6aee7 100644 --- a/homeassistant/components/toon/binary_sensor.py +++ b/homeassistant/components/toon/binary_sensor.py @@ -12,8 +12,6 @@ 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 f09dc010c792ad..d17cc641db091e 100644 --- a/homeassistant/components/toon/climate.py +++ b/homeassistant/components/toon/climate.py @@ -15,8 +15,6 @@ 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 f58c8ef4840d66..7762aa0d822587 100644 --- a/homeassistant/components/toon/sensor.py +++ b/homeassistant/components/toon/sensor.py @@ -11,8 +11,6 @@ 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 2f947c178b89ca..01efd49e862864 100644 --- a/homeassistant/components/torque/sensor.py +++ b/homeassistant/components/torque/sensor.py @@ -16,7 +16,6 @@ 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 c56c4ed95a63fe..848202d6ce1445 100644 --- a/homeassistant/components/totalconnect/alarm_control_panel.py +++ b/homeassistant/components/totalconnect/alarm_control_panel.py @@ -13,8 +13,6 @@ 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 e003ea257d75a9..e4e4a5b7fb8b41 100644 --- a/homeassistant/components/touchline/climate.py +++ b/homeassistant/components/touchline/climate.py @@ -9,8 +9,6 @@ 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 9fc12db0d63591..2ebf342c38d510 100644 --- a/homeassistant/components/tplink/__init__.py +++ b/homeassistant/components/tplink/__init__.py @@ -33,8 +33,6 @@ }), }, 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 7f5c4a37d2451c..7b665006a44cf7 100644 --- a/homeassistant/components/tplink/device_tracker.py +++ b/homeassistant/components/tplink/device_tracker.py @@ -17,8 +17,6 @@ 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 9f13766c4eff9d..6fa795bcafcad5 100644 --- a/homeassistant/components/tplink/light.py +++ b/homeassistant/components/tplink/light.py @@ -12,8 +12,6 @@ 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 a4eeadd1c60a7e..3040b52cd2245b 100644 --- a/homeassistant/components/tplink/switch.py +++ b/homeassistant/components/tplink/switch.py @@ -9,8 +9,6 @@ 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 ae0b73d1c7c2bf..d3d2933238d8d3 100644 --- a/homeassistant/components/tplink_lte/__init__.py +++ b/homeassistant/components/tplink_lte/__init__.py @@ -14,8 +14,6 @@ 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 519641ed34bf29..a8844979e5e172 100644 --- a/homeassistant/components/tplink_lte/notify.py +++ b/homeassistant/components/tplink_lte/notify.py @@ -9,8 +9,6 @@ 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 28d13dd4fe6fcc..1600227bfe2acc 100644 --- a/homeassistant/components/traccar/device_tracker.py +++ b/homeassistant/components/traccar/device_tracker.py @@ -16,8 +16,6 @@ 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 1322fde7e1ae33..55f8b7c1fafcfd 100644 --- a/homeassistant/components/trackr/device_tracker.py +++ b/homeassistant/components/trackr/device_tracker.py @@ -11,8 +11,6 @@ _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 b14bc811754350..ec339bc6312f62 100644 --- a/homeassistant/components/tradfri/__init__.py +++ b/homeassistant/components/tradfri/__init__.py @@ -13,8 +13,6 @@ 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 07ab4806dfcc10..a2b2cdc7c49bd7 100644 --- a/homeassistant/components/tradfri/light.py +++ b/homeassistant/components/tradfri/light.py @@ -17,7 +17,6 @@ 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 acc84a935904d3..b6f4aef370d57d 100644 --- a/homeassistant/components/tradfri/sensor.py +++ b/homeassistant/components/tradfri/sensor.py @@ -9,8 +9,6 @@ _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 ef9a9537cffe18..b7826624f525c0 100644 --- a/homeassistant/components/tradfri/switch.py +++ b/homeassistant/components/tradfri/switch.py @@ -9,7 +9,6 @@ _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 bf8f4c803e0392..c846d020c84877 100644 --- a/homeassistant/components/trafikverket_weatherstation/sensor.py +++ b/homeassistant/components/trafikverket_weatherstation/sensor.py @@ -16,8 +16,6 @@ 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 25e21dc3d8a090..5a2fbbff5cb8ca 100644 --- a/homeassistant/components/transmission/__init__.py +++ b/homeassistant/components/transmission/__init__.py @@ -11,8 +11,6 @@ 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 dfd4c1950977b0..ac3bb3b2626722 100644 --- a/homeassistant/components/transmission/sensor.py +++ b/homeassistant/components/transmission/sensor.py @@ -9,8 +9,6 @@ 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 854a2e727b0b83..bd965e172b1e6d 100644 --- a/homeassistant/components/transmission/switch.py +++ b/homeassistant/components/transmission/switch.py @@ -8,8 +8,6 @@ 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 3c40bf4f709e77..9549814e00213d 100644 --- a/homeassistant/components/transport_nsw/sensor.py +++ b/homeassistant/components/transport_nsw/sensor.py @@ -9,8 +9,6 @@ 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 99309f7e2b7533..7d94e9e910e22a 100644 --- a/homeassistant/components/travisci/sensor.py +++ b/homeassistant/components/travisci/sensor.py @@ -11,8 +11,6 @@ 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 163703373d3303..a7fb18bf5b7cdb 100644 --- a/homeassistant/components/trend/binary_sensor.py +++ b/homeassistant/components/trend/binary_sensor.py @@ -17,8 +17,6 @@ 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 763baa262bed81..ccb7989a6cfdc2 100644 --- a/homeassistant/components/tts/__init__.py +++ b/homeassistant/components/tts/__init__.py @@ -24,8 +24,6 @@ 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 @@ 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 117424fd55e17e..6f6b05100ecb8d 100644 --- a/homeassistant/components/tuya/__init__.py +++ b/homeassistant/components/tuya/__init__.py @@ -12,8 +12,6 @@ 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 b7a10dad8626c3..b6fd3be04edbbb 100644 --- a/homeassistant/components/tuya/climate.py +++ b/homeassistant/components/tuya/climate.py @@ -10,7 +10,6 @@ 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 274f4d9386936f..6d43365e808c89 100644 --- a/homeassistant/components/tuya/cover.py +++ b/homeassistant/components/tuya/cover.py @@ -4,8 +4,6 @@ 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 259417869dc2dc..897a82716afe0d 100644 --- a/homeassistant/components/tuya/fan.py +++ b/homeassistant/components/tuya/fan.py @@ -5,8 +5,6 @@ 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 17f9b43dcbebc6..cb3f82234d3858 100644 --- a/homeassistant/components/tuya/light.py +++ b/homeassistant/components/tuya/light.py @@ -6,8 +6,6 @@ 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 24383dca6e4c11..6a8fd9d41aa367 100644 --- a/homeassistant/components/tuya/scene.py +++ b/homeassistant/components/tuya/scene.py @@ -3,8 +3,6 @@ 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 c2e32eedc59164..05b023a78ad053 100644 --- a/homeassistant/components/tuya/switch.py +++ b/homeassistant/components/tuya/switch.py @@ -3,8 +3,6 @@ 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 e7ba06a05f7d3b..82011f499baa92 100644 --- a/homeassistant/components/twilio/__init__.py +++ b/homeassistant/components/twilio/__init__.py @@ -5,9 +5,6 @@ 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 ab57d7214656b1..0387ad31cb68f0 100644 --- a/homeassistant/components/twilio_call/notify.py +++ b/homeassistant/components/twilio_call/notify.py @@ -12,8 +12,6 @@ _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 a04e397a5688d2..6ac6d085de5c00 100644 --- a/homeassistant/components/twilio_sms/notify.py +++ b/homeassistant/components/twilio_sms/notify.py @@ -10,8 +10,6 @@ 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 123de752d51255..e5223b13b01b23 100644 --- a/homeassistant/components/twitch/sensor.py +++ b/homeassistant/components/twitch/sensor.py @@ -7,8 +7,6 @@ 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 54cd591f394575..305fec7269d49e 100644 --- a/homeassistant/components/twitter/notify.py +++ b/homeassistant/components/twitter/notify.py @@ -15,8 +15,6 @@ 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 f73f58f3a1f258..8e610a4f51c808 100644 --- a/homeassistant/components/ubee/device_tracker.py +++ b/homeassistant/components/ubee/device_tracker.py @@ -9,8 +9,6 @@ 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 87d87de66ee30e..324124ca960bfb 100644 --- a/homeassistant/components/uber/sensor.py +++ b/homeassistant/components/uber/sensor.py @@ -9,8 +9,6 @@ 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 7e236789a5c58f..3af450acdbfbc3 100644 --- a/homeassistant/components/unifi/__init__.py +++ b/homeassistant/components/unifi/__init__.py @@ -16,8 +16,6 @@ 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 49e28114b17098..8bf384eef14f72 100644 --- a/homeassistant/components/unifi/device_tracker.py +++ b/homeassistant/components/unifi/device_tracker.py @@ -10,8 +10,6 @@ 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 e90da2dbcd85fe..514d74f6f82cee 100644 --- a/homeassistant/components/unifi/switch.py +++ b/homeassistant/components/unifi/switch.py @@ -13,7 +13,6 @@ from .const import CONF_CONTROLLER, CONF_SITE_ID, CONTROLLER_ID, DOMAIN -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 29a3c58fab95ef..544314c62c5c92 100644 --- a/homeassistant/components/unifi_direct/device_tracker.py +++ b/homeassistant/components/unifi_direct/device_tracker.py @@ -11,8 +11,6 @@ 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 4a583b8349ad15..4b4c32182bd173 100644 --- a/homeassistant/components/upc_connect/device_tracker.py +++ b/homeassistant/components/upc_connect/device_tracker.py @@ -13,8 +13,6 @@ 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 7981cf948bb9ec..ea964c9027d96a 100644 --- a/homeassistant/components/upcloud/__init__.py +++ b/homeassistant/components/upcloud/__init__.py @@ -14,8 +14,6 @@ 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 a0c3c9f34c6fdc..e959f54f25486d 100644 --- a/homeassistant/components/upcloud/binary_sensor.py +++ b/homeassistant/components/upcloud/binary_sensor.py @@ -11,8 +11,6 @@ _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 7e84adccf5536e..ee1c1498f98f92 100644 --- a/homeassistant/components/upcloud/switch.py +++ b/homeassistant/components/upcloud/switch.py @@ -11,8 +11,6 @@ _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 cb2646ea942b56..95b1372418cea6 100644 --- a/homeassistant/components/updater/__init__.py +++ b/homeassistant/components/updater/__init__.py @@ -18,8 +18,6 @@ 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 5f4abcb24c7918..01f6d6159f0e3d 100644 --- a/homeassistant/components/upnp/__init__.py +++ b/homeassistant/components/upnp/__init__.py @@ -23,8 +23,6 @@ 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 86bcee879b9dbd..411d529b33f29b 100644 --- a/homeassistant/components/upnp/sensor.py +++ b/homeassistant/components/upnp/sensor.py @@ -12,8 +12,6 @@ _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 3ed82de41dbb95..55451d4bbfda28 100644 --- a/homeassistant/components/ups/sensor.py +++ b/homeassistant/components/ups/sensor.py @@ -15,8 +15,6 @@ 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 8e11966b6809d4..90b71c026dc466 100644 --- a/homeassistant/components/uptimerobot/binary_sensor.py +++ b/homeassistant/components/uptimerobot/binary_sensor.py @@ -8,8 +8,6 @@ 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 501c6c9665c909..59b37c7ea65a39 100644 --- a/homeassistant/components/uscis/sensor.py +++ b/homeassistant/components/uscis/sensor.py @@ -13,8 +13,6 @@ _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 1d11b1971ccaaf..60d1f6925a4c04 100644 --- a/homeassistant/components/usgs_earthquakes_feed/geo_location.py +++ b/homeassistant/components/usgs_earthquakes_feed/geo_location.py @@ -16,8 +16,6 @@ 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 8a7d7d52255fd2..eb2882d2a56bf9 100644 --- a/homeassistant/components/usps/__init__.py +++ b/homeassistant/components/usps/__init__.py @@ -10,8 +10,6 @@ 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 5b5eaca4ce293a..cd0a216517ba19 100644 --- a/homeassistant/components/usps/camera.py +++ b/homeassistant/components/usps/camera.py @@ -8,8 +8,6 @@ _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 3e5fea5c4ee7f0..4580978da75f83 100644 --- a/homeassistant/components/usps/sensor.py +++ b/homeassistant/components/usps/sensor.py @@ -11,8 +11,6 @@ _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['usps'] - STATUS_DELIVERED = 'delivered' diff --git a/homeassistant/components/uvc/camera.py b/homeassistant/components/uvc/camera.py index 65251054060484..423c27e0781a17 100644 --- a/homeassistant/components/uvc/camera.py +++ b/homeassistant/components/uvc/camera.py @@ -10,8 +10,6 @@ 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 02266986ccfbef..0e44d494b564d6 100644 --- a/homeassistant/components/vacuum/__init__.py +++ b/homeassistant/components/vacuum/__init__.py @@ -20,8 +20,6 @@ _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 d8e9f1e7675262..45279fa8933fa2 100644 --- a/homeassistant/components/vasttrafik/sensor.py +++ b/homeassistant/components/vasttrafik/sensor.py @@ -11,8 +11,6 @@ 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 4e808dc21ca5ce..73cd0d734bdd1c 100644 --- a/homeassistant/components/velbus/__init__.py +++ b/homeassistant/components/velbus/__init__.py @@ -7,8 +7,6 @@ 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 cbe1350bd4f667..82a1c5568fc026 100644 --- a/homeassistant/components/velbus/binary_sensor.py +++ b/homeassistant/components/velbus/binary_sensor.py @@ -7,8 +7,6 @@ _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 470524bb6f3dff..0471e5b87e069d 100644 --- a/homeassistant/components/velbus/climate.py +++ b/homeassistant/components/velbus/climate.py @@ -10,8 +10,6 @@ _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 b176ab76c4b74f..fb9cea93455646 100644 --- a/homeassistant/components/velbus/cover.py +++ b/homeassistant/components/velbus/cover.py @@ -24,8 +24,6 @@ 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 ad78a795a30b56..b8287aef41a1b9 100644 --- a/homeassistant/components/velbus/sensor.py +++ b/homeassistant/components/velbus/sensor.py @@ -5,8 +5,6 @@ _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 b5ef89ca48031d..0835e2bd209bf0 100644 --- a/homeassistant/components/velbus/switch.py +++ b/homeassistant/components/velbus/switch.py @@ -7,8 +7,6 @@ _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 a46f62dbd5fcf8..1a1444f22aefa6 100644 --- a/homeassistant/components/velux/__init__.py +++ b/homeassistant/components/velux/__init__.py @@ -12,8 +12,6 @@ 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 1893909b70608c..3c1b6ecb1eb0ff 100644 --- a/homeassistant/components/velux/cover.py +++ b/homeassistant/components/velux/cover.py @@ -6,8 +6,6 @@ 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 614d3f349a2366..f33296780d7664 100644 --- a/homeassistant/components/velux/scene.py +++ b/homeassistant/components/velux/scene.py @@ -3,8 +3,6 @@ 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 f3e7542af5ce9f..68b6ff88857b2a 100644 --- a/homeassistant/components/venstar/climate.py +++ b/homeassistant/components/venstar/climate.py @@ -17,8 +17,6 @@ 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 3f4c66d238a89b..1c5d9f811ad13c 100644 --- a/homeassistant/components/vera/__init__.py +++ b/homeassistant/components/vera/__init__.py @@ -14,8 +14,6 @@ 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 c81fa31938f554..7482e39e721e92 100644 --- a/homeassistant/components/vera/binary_sensor.py +++ b/homeassistant/components/vera/binary_sensor.py @@ -6,8 +6,6 @@ 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 f8ff9c21b89aae..dba074f73efafa 100644 --- a/homeassistant/components/vera/climate.py +++ b/homeassistant/components/vera/climate.py @@ -11,8 +11,6 @@ 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 4cf2aac3bb4e3c..ac61a913128713 100644 --- a/homeassistant/components/vera/cover.py +++ b/homeassistant/components/vera/cover.py @@ -6,8 +6,6 @@ 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 e4e315bb52e87d..4ea9ad4400a3c7 100644 --- a/homeassistant/components/vera/light.py +++ b/homeassistant/components/vera/light.py @@ -10,8 +10,6 @@ _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 5ace07b87d7087..9ceb06d8a8658c 100644 --- a/homeassistant/components/vera/lock.py +++ b/homeassistant/components/vera/lock.py @@ -8,8 +8,6 @@ _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 5000f9bc50f9c8..f3659fa3e9b5fc 100644 --- a/homeassistant/components/vera/scene.py +++ b/homeassistant/components/vera/scene.py @@ -8,8 +8,6 @@ _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 3c026046b3eea0..caec102eb1f68c 100644 --- a/homeassistant/components/vera/sensor.py +++ b/homeassistant/components/vera/sensor.py @@ -11,8 +11,6 @@ _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 f422e49bf42f8e..0f7654c97201e6 100644 --- a/homeassistant/components/vera/switch.py +++ b/homeassistant/components/vera/switch.py @@ -8,8 +8,6 @@ _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 393a4066002dbf..195f065ee85da8 100644 --- a/homeassistant/components/verisure/__init__.py +++ b/homeassistant/components/verisure/__init__.py @@ -11,8 +11,6 @@ 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 7c8f2b1662a151..6aed6da17f7fd5 100644 --- a/homeassistant/components/version/sensor.py +++ b/homeassistant/components/version/sensor.py @@ -11,8 +11,6 @@ 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 d37728624ef533..d8fa3d317ff116 100644 --- a/homeassistant/components/vesync/switch.py +++ b/homeassistant/components/vesync/switch.py @@ -6,8 +6,6 @@ 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 bab54c68a908fa..7b47a388325845 100644 --- a/homeassistant/components/vizio/media_player.py +++ b/homeassistant/components/vizio/media_player.py @@ -15,8 +15,6 @@ 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 41f9b5b16d4efa..be930d02b0c766 100644 --- a/homeassistant/components/vlc/media_player.py +++ b/homeassistant/components/vlc/media_player.py @@ -13,8 +13,6 @@ 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 5b808ff3c38dcb..550dc395ee72c6 100644 --- a/homeassistant/components/volkszaehler/sensor.py +++ b/homeassistant/components/volkszaehler/sensor.py @@ -14,8 +14,6 @@ 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 36e3959338e746..88ab41994bede3 100644 --- a/homeassistant/components/volvooncall/__init__.py +++ b/homeassistant/components/volvooncall/__init__.py @@ -21,8 +21,6 @@ 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 9f2efabd412b06..d7f5b30507a85a 100644 --- a/homeassistant/components/vultr/__init__.py +++ b/homeassistant/components/vultr/__init__.py @@ -8,8 +8,6 @@ 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 87e8e93bda7b3c..087f38b77f5f9d 100644 --- a/homeassistant/components/vultr/binary_sensor.py +++ b/homeassistant/components/vultr/binary_sensor.py @@ -18,8 +18,6 @@ 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 f7e03dddace4e9..4f9692fe5c868f 100644 --- a/homeassistant/components/vultr/sensor.py +++ b/homeassistant/components/vultr/sensor.py @@ -15,8 +15,6 @@ _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 502aaf9daa8767..33eeafbab68bc6 100644 --- a/homeassistant/components/vultr/switch.py +++ b/homeassistant/components/vultr/switch.py @@ -16,8 +16,6 @@ _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 d2c0cf6b968fbd..920a90fbc52c5e 100644 --- a/homeassistant/components/w800rf32/__init__.py +++ b/homeassistant/components/w800rf32/__init__.py @@ -10,8 +10,6 @@ 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 c942483495306d..caa3771b88e7ad 100644 --- a/homeassistant/components/w800rf32/binary_sensor.py +++ b/homeassistant/components/w800rf32/binary_sensor.py @@ -15,7 +15,6 @@ _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 e6e12ef0afe3d7..064568cdf1b513 100644 --- a/homeassistant/components/wake_on_lan/__init__.py +++ b/homeassistant/components/wake_on_lan/__init__.py @@ -7,8 +7,6 @@ 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 c81a476f0f8b2b..e08e531a644648 100644 --- a/homeassistant/components/wake_on_lan/switch.py +++ b/homeassistant/components/wake_on_lan/switch.py @@ -10,8 +10,6 @@ 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 f3000890de6800..451b8173562d4d 100644 --- a/homeassistant/components/waqi/sensor.py +++ b/homeassistant/components/waqi/sensor.py @@ -14,8 +14,6 @@ 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 38fd44cd1c7d3b..848037f584ef18 100644 --- a/homeassistant/components/waterfurnace/__init__.py +++ b/homeassistant/components/waterfurnace/__init__.py @@ -13,8 +13,6 @@ 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 e9a907ee6d2e1d..cefce56de07a8b 100644 --- a/homeassistant/components/watson_iot/__init__.py +++ b/homeassistant/components/watson_iot/__init__.py @@ -13,8 +13,6 @@ 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 984a5800898dd4..282637b15076b7 100644 --- a/homeassistant/components/waze_travel_time/sensor.py +++ b/homeassistant/components/waze_travel_time/sensor.py @@ -13,8 +13,6 @@ 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 59be3ab1890662..7d8dda06e4d52a 100644 --- a/homeassistant/components/webhook/__init__.py +++ b/homeassistant/components/webhook/__init__.py @@ -12,8 +12,6 @@ _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 35c3c456680d27..fa62e29f233be8 100644 --- a/homeassistant/components/webostv/media_player.py +++ b/homeassistant/components/webostv/media_player.py @@ -21,8 +21,6 @@ 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 5887586df65d41..d8b1d04f8bf192 100644 --- a/homeassistant/components/webostv/notify.py +++ b/homeassistant/components/webostv/notify.py @@ -8,8 +8,6 @@ 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 709b3ec8672755..017538b93d4960 100644 --- a/homeassistant/components/wemo/__init__.py +++ b/homeassistant/components/wemo/__init__.py @@ -11,8 +11,6 @@ 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 d6c1ad721b9abe..b6c1a456cdacb3 100644 --- a/homeassistant/components/wemo/binary_sensor.py +++ b/homeassistant/components/wemo/binary_sensor.py @@ -8,8 +8,6 @@ from homeassistant.components.binary_sensor import BinarySensorDevice from homeassistant.exceptions import PlatformNotReady -DEPENDENCIES = ['wemo'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wemo/fan.py b/homeassistant/components/wemo/fan.py index 29a493bf5bc256..e33465d460f1a5 100644 --- a/homeassistant/components/wemo/fan.py +++ b/homeassistant/components/wemo/fan.py @@ -14,7 +14,6 @@ from homeassistant.exceptions import PlatformNotReady from homeassistant.const import ATTR_ENTITY_ID -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 e0f729fb165e8c..67173a23baee2e 100644 --- a/homeassistant/components/wemo/light.py +++ b/homeassistant/components/wemo/light.py @@ -13,8 +13,6 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.util.color as color_util -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 0a583e49e966a0..2e160bd2097202 100644 --- a/homeassistant/components/wemo/switch.py +++ b/homeassistant/components/wemo/switch.py @@ -12,7 +12,6 @@ from homeassistant.const import ( STATE_OFF, STATE_ON, STATE_STANDBY, STATE_UNKNOWN) -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 e36bdea08c3f63..5a369190c94f6f 100644 --- a/homeassistant/components/whois/sensor.py +++ b/homeassistant/components/whois/sensor.py @@ -9,8 +9,6 @@ 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 2b03d7711acbd6..4e25fc4fd0dede 100644 --- a/homeassistant/components/wink/__init__.py +++ b/homeassistant/components/wink/__init__.py @@ -20,8 +20,6 @@ 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 73ca9a3cac4ac0..61699c763ce110 100644 --- a/homeassistant/components/wink/alarm_control_panel.py +++ b/homeassistant/components/wink/alarm_control_panel.py @@ -9,8 +9,6 @@ _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 f3757d7bf39624..d8f9163c46ef8b 100644 --- a/homeassistant/components/wink/binary_sensor.py +++ b/homeassistant/components/wink/binary_sensor.py @@ -7,8 +7,6 @@ _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 f5e75c1fb8d591..fd02fdd4ec3ffd 100644 --- a/homeassistant/components/wink/climate.py +++ b/homeassistant/components/wink/climate.py @@ -26,8 +26,6 @@ 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 f4c4841c2a2d0e..b8152adbfdabd5 100644 --- a/homeassistant/components/wink/cover.py +++ b/homeassistant/components/wink/cover.py @@ -3,8 +3,6 @@ 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 52a27eb3c3df19..3fb06abc145726 100644 --- a/homeassistant/components/wink/fan.py +++ b/homeassistant/components/wink/fan.py @@ -9,8 +9,6 @@ _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 95747bcc1b2c63..0da432f7fe3be5 100644 --- a/homeassistant/components/wink/light.py +++ b/homeassistant/components/wink/light.py @@ -8,8 +8,6 @@ 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 8e6fb9b280530e..01e038e9d09947 100644 --- a/homeassistant/components/wink/lock.py +++ b/homeassistant/components/wink/lock.py @@ -10,8 +10,6 @@ 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 e77402c4d45880..d0e03ef0688585 100644 --- a/homeassistant/components/wink/scene.py +++ b/homeassistant/components/wink/scene.py @@ -7,8 +7,6 @@ _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 3dfd704d564a36..b233089458407c 100644 --- a/homeassistant/components/wink/sensor.py +++ b/homeassistant/components/wink/sensor.py @@ -7,8 +7,6 @@ _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 6ee777dd1fcccd..1102087ed2a964 100644 --- a/homeassistant/components/wink/switch.py +++ b/homeassistant/components/wink/switch.py @@ -5,8 +5,6 @@ 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 28c8cb4d5156c2..61209a8293b5f8 100644 --- a/homeassistant/components/wirelesstag/__init__.py +++ b/homeassistant/components/wirelesstag/__init__.py @@ -11,8 +11,6 @@ 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 aefa5ed34a9dad..7dd3e8df6cae1d 100644 --- a/homeassistant/components/wirelesstag/binary_sensor.py +++ b/homeassistant/components/wirelesstag/binary_sensor.py @@ -14,8 +14,6 @@ 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 ca26e07b985ae9..bba3f1503c9b7e 100644 --- a/homeassistant/components/wirelesstag/sensor.py +++ b/homeassistant/components/wirelesstag/sensor.py @@ -12,8 +12,6 @@ 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 4a2b64acda1d75..c909f10c75c67d 100644 --- a/homeassistant/components/wirelesstag/switch.py +++ b/homeassistant/components/wirelesstag/switch.py @@ -9,8 +9,6 @@ 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 b505e075018acc..73fa8133c9ff38 100644 --- a/homeassistant/components/workday/binary_sensor.py +++ b/homeassistant/components/workday/binary_sensor.py @@ -9,8 +9,6 @@ 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 d67cf089b5e752..5c85c7468266ce 100644 --- a/homeassistant/components/wunderlist/__init__.py +++ b/homeassistant/components/wunderlist/__init__.py @@ -7,8 +7,6 @@ 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 9f8a02686accb6..874c16296941cb 100644 --- a/homeassistant/components/xbox_live/sensor.py +++ b/homeassistant/components/xbox_live/sensor.py @@ -8,8 +8,6 @@ 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 dd0ee432707718..60f7ab2c972865 100644 --- a/homeassistant/components/xeoma/camera.py +++ b/homeassistant/components/xeoma/camera.py @@ -8,8 +8,6 @@ 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 04702355de7634..bdde650091d53b 100644 --- a/homeassistant/components/xfinity/device_tracker.py +++ b/homeassistant/components/xfinity/device_tracker.py @@ -9,8 +9,6 @@ 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 98e54d2bc73515..e541936ef0e700 100644 --- a/homeassistant/components/xiaomi/camera.py +++ b/homeassistant/components/xiaomi/camera.py @@ -11,7 +11,6 @@ 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 9b113170f8a751..22a8ec95c33fd8 100644 --- a/homeassistant/components/xiaomi_aqara/__init__.py +++ b/homeassistant/components/xiaomi_aqara/__init__.py @@ -16,8 +16,6 @@ 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 e7ea9fbbb408d9..5e5485364dfe0b 100644 --- a/homeassistant/components/xiaomi_miio/device_tracker.py +++ b/homeassistant/components/xiaomi_miio/device_tracker.py @@ -8,8 +8,6 @@ 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 51d4780160dacf..ea00cd6d95e5eb 100644 --- a/homeassistant/components/xiaomi_miio/fan.py +++ b/homeassistant/components/xiaomi_miio/fan.py @@ -13,8 +13,6 @@ 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 ec07a557342cca..fa853d1f83d44d 100644 --- a/homeassistant/components/xiaomi_miio/light.py +++ b/homeassistant/components/xiaomi_miio/light.py @@ -17,8 +17,6 @@ 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 450279c18253e2..7cb0cd68439a16 100644 --- a/homeassistant/components/xiaomi_miio/remote.py +++ b/homeassistant/components/xiaomi_miio/remote.py @@ -17,8 +17,6 @@ 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 41d3ce65b13d84..be500f665f42f6 100644 --- a/homeassistant/components/xiaomi_miio/sensor.py +++ b/homeassistant/components/xiaomi_miio/sensor.py @@ -9,8 +9,6 @@ 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 d1acce02e47ca9..91924c8282148b 100644 --- a/homeassistant/components/xiaomi_miio/switch.py +++ b/homeassistant/components/xiaomi_miio/switch.py @@ -12,8 +12,6 @@ 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 2673a5b897ccab..ce527d41e254a1 100644 --- a/homeassistant/components/xiaomi_miio/vacuum.py +++ b/homeassistant/components/xiaomi_miio/vacuum.py @@ -16,8 +16,6 @@ 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 2c8a2e1ea83b70..862ed3bcc396ef 100644 --- a/homeassistant/components/xiaomi_tv/media_player.py +++ b/homeassistant/components/xiaomi_tv/media_player.py @@ -10,8 +10,6 @@ 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 d8036f5ee1e43a..79e6edafdb453f 100644 --- a/homeassistant/components/xmpp/notify.py +++ b/homeassistant/components/xmpp/notify.py @@ -17,8 +17,6 @@ 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 f67eb8fd15affc..7e245dc813590e 100644 --- a/homeassistant/components/xs1/__init__.py +++ b/homeassistant/components/xs1/__init__.py @@ -11,8 +11,6 @@ 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 080b87c13469a2..1d12fcc90fa6c9 100644 --- a/homeassistant/components/xs1/climate.py +++ b/homeassistant/components/xs1/climate.py @@ -8,7 +8,6 @@ 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 f5fdcf1fb34503..150c2da1f372a6 100644 --- a/homeassistant/components/xs1/sensor.py +++ b/homeassistant/components/xs1/sensor.py @@ -5,7 +5,6 @@ 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 d8b344fc716a39..2513d888dd878a 100644 --- a/homeassistant/components/xs1/switch.py +++ b/homeassistant/components/xs1/switch.py @@ -7,8 +7,6 @@ _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 1a8e03a6363120..ac1b220b12084d 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 @@ 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 53c6b466f6e3a3..6ccbb1b93dbf90 100644 --- a/homeassistant/components/yamaha/media_player.py +++ b/homeassistant/components/yamaha/media_player.py @@ -18,8 +18,6 @@ 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 94002a4cc55b27..cfca4ae52f3ccb 100644 --- a/homeassistant/components/yamaha_musiccast/media_player.py +++ b/homeassistant/components/yamaha_musiccast/media_player.py @@ -15,8 +15,6 @@ 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 9b9778fd5d28be..8c2c9c957c6809 100644 --- a/homeassistant/components/yeelight/__init__.py +++ b/homeassistant/components/yeelight/__init__.py @@ -16,8 +16,6 @@ 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 0b44966f15c439..b2a61090a30097 100644 --- a/homeassistant/components/yeelight/binary_sensor.py +++ b/homeassistant/components/yeelight/binary_sensor.py @@ -6,8 +6,6 @@ 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 8aa5c3d7300c26..fa62bdc35d7c97 100644 --- a/homeassistant/components/yeelight/light.py +++ b/homeassistant/components/yeelight/light.py @@ -22,8 +22,6 @@ 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 9252143526bfa5..a8636a280f5cd3 100644 --- a/homeassistant/components/yeelightsunflower/light.py +++ b/homeassistant/components/yeelightsunflower/light.py @@ -10,8 +10,6 @@ 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 c229c361e2884f..5c3af591a1275f 100644 --- a/homeassistant/components/yessssms/notify.py +++ b/homeassistant/components/yessssms/notify.py @@ -9,8 +9,6 @@ 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 7ed36b97868db6..0dbb42c384ea8b 100644 --- a/homeassistant/components/yi/camera.py +++ b/homeassistant/components/yi/camera.py @@ -12,8 +12,6 @@ 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 4c898a7c9fe64d..c9f57abf5d916c 100644 --- a/homeassistant/components/yr/sensor.py +++ b/homeassistant/components/yr/sensor.py @@ -20,8 +20,6 @@ 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 129532ceb57477..fc49d79d11051a 100644 --- a/homeassistant/components/yweather/sensor.py +++ b/homeassistant/components/yweather/sensor.py @@ -12,8 +12,6 @@ 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 e4eb34a039ac62..4d7986d8a5cb01 100644 --- a/homeassistant/components/yweather/weather.py +++ b/homeassistant/components/yweather/weather.py @@ -10,8 +10,6 @@ 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 f33c60b1c3930b..041f67b37ee15e 100644 --- a/homeassistant/components/zabbix/__init__.py +++ b/homeassistant/components/zabbix/__init__.py @@ -8,8 +8,6 @@ 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 ae2e70ede2c426..004c176570ab10 100644 --- a/homeassistant/components/zabbix/sensor.py +++ b/homeassistant/components/zabbix/sensor.py @@ -11,8 +11,6 @@ _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 8bbd56a483ec12..e066ad9da65956 100644 --- a/homeassistant/components/zengge/light.py +++ b/homeassistant/components/zengge/light.py @@ -10,8 +10,6 @@ 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 844246528a60db..d2dcd907885782 100644 --- a/homeassistant/components/zeroconf/__init__.py +++ b/homeassistant/components/zeroconf/__init__.py @@ -7,11 +7,8 @@ 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 f69e3b16ebe584..e66aad701b7972 100644 --- a/homeassistant/components/zestimate/sensor.py +++ b/homeassistant/components/zestimate/sensor.py @@ -12,8 +12,6 @@ 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 08362eba082845..647601701507a0 100644 --- a/homeassistant/components/zha/__init__.py +++ b/homeassistant/components/zha/__init__.py @@ -20,14 +20,6 @@ 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 b4254eb83e7a49..e9fa25c2577897 100644 --- a/homeassistant/components/zha/binary_sensor.py +++ b/homeassistant/components/zha/binary_sensor.py @@ -14,8 +14,6 @@ _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 b80834af1d7d20..9619049bc7f72a 100644 --- a/homeassistant/components/zha/fan.py +++ b/homeassistant/components/zha/fan.py @@ -12,8 +12,6 @@ ) 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 12bc12c5f6edb1..ec840d5edb39de 100644 --- a/homeassistant/components/zha/light.py +++ b/homeassistant/components/zha/light.py @@ -17,8 +17,6 @@ _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 13932d7dd7ab1b..b6ac70fa1876b6 100644 --- a/homeassistant/components/zha/sensor.py +++ b/homeassistant/components/zha/sensor.py @@ -16,8 +16,6 @@ _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 34c9ab2514d003..7efcbabd74e1be 100644 --- a/homeassistant/components/zha/switch.py +++ b/homeassistant/components/zha/switch.py @@ -13,8 +13,6 @@ _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 7fd2b971009e17..d01d1028507e81 100644 --- a/homeassistant/components/zhong_hong/climate.py +++ b/homeassistant/components/zhong_hong/climate.py @@ -14,8 +14,6 @@ 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 0e2d3587829c92..516ac3453c846d 100644 --- a/homeassistant/components/zigbee/__init__.py +++ b/homeassistant/components/zigbee/__init__.py @@ -11,8 +11,6 @@ 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 ccf4e70df34a18..8cf7f4d7dc02e9 100644 --- a/homeassistant/components/zigbee/binary_sensor.py +++ b/homeassistant/components/zigbee/binary_sensor.py @@ -8,8 +8,6 @@ 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 b9be0d893239d0..1ff38af02e48b4 100644 --- a/homeassistant/components/zigbee/light.py +++ b/homeassistant/components/zigbee/light.py @@ -8,8 +8,6 @@ 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 48301ac9728ee5..480064c5715d3c 100644 --- a/homeassistant/components/zigbee/sensor.py +++ b/homeassistant/components/zigbee/sensor.py @@ -16,8 +16,6 @@ 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 ddfd47a047e9c6..26a9e8fac835c3 100644 --- a/homeassistant/components/zigbee/switch.py +++ b/homeassistant/components/zigbee/switch.py @@ -5,12 +5,10 @@ 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 574d08e97a4504..9bbc61869240aa 100644 --- a/homeassistant/components/ziggo_mediabox_xl/media_player.py +++ b/homeassistant/components/ziggo_mediabox_xl/media_player.py @@ -14,8 +14,6 @@ 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 a4d90d523aacca..4e2585a34e3f83 100644 --- a/homeassistant/components/zoneminder/__init__.py +++ b/homeassistant/components/zoneminder/__init__.py @@ -11,8 +11,6 @@ _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 ce59d4573bea1d..23196cf571fe95 100644 --- a/homeassistant/components/zoneminder/binary_sensor.py +++ b/homeassistant/components/zoneminder/binary_sensor.py @@ -3,8 +3,6 @@ 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 fe3333fa3ed274..da625e6ee462df 100644 --- a/homeassistant/components/zoneminder/camera.py +++ b/homeassistant/components/zoneminder/camera.py @@ -9,8 +9,6 @@ _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 e205d921422be2..6a44d335a3e95e 100644 --- a/homeassistant/components/zoneminder/sensor.py +++ b/homeassistant/components/zoneminder/sensor.py @@ -12,8 +12,6 @@ _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 78e72c5fd4a88f..d70ba8f8fd8858 100644 --- a/homeassistant/components/zoneminder/switch.py +++ b/homeassistant/components/zoneminder/switch.py @@ -11,8 +11,6 @@ _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 6028e5547c6c79..1b23df333c1efe 100644 --- a/homeassistant/components/zwave/__init__.py +++ b/homeassistant/components/zwave/__init__.py @@ -37,8 +37,6 @@ 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' From 3fda5b66f2a5df2352fd773e5572244ff640c3ce Mon Sep 17 00:00:00 2001 From: Tobias Sauerwein Date: Fri, 12 Apr 2019 14:40:54 +0200 Subject: [PATCH 6/8] Fix flake8 complaints --- .../components/cisco_mobility_express/device_tracker.py | 2 -- homeassistant/components/coinbase/sensor.py | 1 + homeassistant/components/knx/light.py | 1 + homeassistant/components/somfy_mylink/cover.py | 1 + homeassistant/components/sonos/__init__.py | 1 + homeassistant/components/tesla/switch.py | 1 + 6 files changed, 5 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/cisco_mobility_express/device_tracker.py b/homeassistant/components/cisco_mobility_express/device_tracker.py index 5d5a244875957d..4af94588d3b18f 100644 --- a/homeassistant/components/cisco_mobility_express/device_tracker.py +++ b/homeassistant/components/cisco_mobility_express/device_tracker.py @@ -9,8 +9,6 @@ from homeassistant.const import ( CONF_HOST, CONF_USERNAME, CONF_PASSWORD, CONF_SSL, CONF_VERIFY_SSL) - - _LOGGER = logging.getLogger(__name__) DEFAULT_SSL = False diff --git a/homeassistant/components/coinbase/sensor.py b/homeassistant/components/coinbase/sensor.py index 37e9a4166bd472..9470999efbb93b 100644 --- a/homeassistant/components/coinbase/sensor.py +++ b/homeassistant/components/coinbase/sensor.py @@ -18,6 +18,7 @@ DATA_COINBASE = 'coinbase_cache' + def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Coinbase sensors.""" if discovery_info is None: diff --git a/homeassistant/components/knx/light.py b/homeassistant/components/knx/light.py index 0ceee7589e6f71..b94d91514af40e 100644 --- a/homeassistant/components/knx/light.py +++ b/homeassistant/components/knx/light.py @@ -31,6 +31,7 @@ DEFAULT_MIN_KELVIN = 2700 # 370 mireds DEFAULT_MAX_KELVIN = 6000 # 166 mireds + class ColorTempModes(Enum): """Color temperature modes for config validation.""" diff --git a/homeassistant/components/somfy_mylink/cover.py b/homeassistant/components/somfy_mylink/cover.py index b9ae4c3dd662af..16046d8b4111bf 100755 --- a/homeassistant/components/somfy_mylink/cover.py +++ b/homeassistant/components/somfy_mylink/cover.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) + async def async_setup_platform(hass, config, async_add_entities, diff --git a/homeassistant/components/sonos/__init__.py b/homeassistant/components/sonos/__init__.py index ade3bfcb4dd697..b661fa26fe7711 100644 --- a/homeassistant/components/sonos/__init__.py +++ b/homeassistant/components/sonos/__init__.py @@ -5,6 +5,7 @@ DOMAIN = 'sonos' + async def async_setup(hass, config): """Set up the Sonos component.""" conf = config.get(DOMAIN) diff --git a/homeassistant/components/tesla/switch.py b/homeassistant/components/tesla/switch.py index 39c5deb7a6cc86..9b15ca092b41ad 100644 --- a/homeassistant/components/tesla/switch.py +++ b/homeassistant/components/tesla/switch.py @@ -8,6 +8,7 @@ _LOGGER = logging.getLogger(__name__) + def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Tesla switch platform.""" controller = hass.data[TESLA_DOMAIN]['devices']['controller'] From 9e45a34c41370c58dab9e8d31351be6688445eb1 Mon Sep 17 00:00:00 2001 From: Tobias Sauerwein Date: Fri, 12 Apr 2019 14:47:02 +0200 Subject: [PATCH 7/8] Fix more flake8 complaints --- .../components/default_config/__init__.py | 17 +++++++++++++++++ homeassistant/components/hlk_sw16/switch.py | 2 +- homeassistant/components/unifi/switch.py | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/default_config/__init__.py b/homeassistant/components/default_config/__init__.py index b5919c4d827b9b..6743893888d819 100644 --- a/homeassistant/components/default_config/__init__.py +++ b/homeassistant/components/default_config/__init__.py @@ -5,6 +5,23 @@ 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') diff --git a/homeassistant/components/hlk_sw16/switch.py b/homeassistant/components/hlk_sw16/switch.py index 1614534d557f37..b7353f037c1269 100644 --- a/homeassistant/components/hlk_sw16/switch.py +++ b/homeassistant/components/hlk_sw16/switch.py @@ -4,7 +4,7 @@ from homeassistant.components.switch import ToggleEntity from homeassistant.const import CONF_NAME -from . import DATA_DEVICE_REGISTER, DOMAIN as HLK_SW16, SW16Device +from . import DATA_DEVICE_REGISTER, SW16Device _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/unifi/switch.py b/homeassistant/components/unifi/switch.py index 514d74f6f82cee..5f33a9c08d35fb 100644 --- a/homeassistant/components/unifi/switch.py +++ b/homeassistant/components/unifi/switch.py @@ -11,7 +11,7 @@ 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 SCAN_INTERVAL = timedelta(seconds=15) From e44540dbebf41019c4a282bb58ea15d59fed30d4 Mon Sep 17 00:00:00 2001 From: Tobias Sauerwein Date: Fri, 12 Apr 2019 15:48:09 +0200 Subject: [PATCH 8/8] Revert non-component removals --- .../components/default_config/__init__.py | 20 ------------------- .../components/emulated_hue/__init__.py | 1 - 2 files changed, 21 deletions(-) diff --git a/homeassistant/components/default_config/__init__.py b/homeassistant/components/default_config/__init__.py index 6743893888d819..273513262d5f9b 100644 --- a/homeassistant/components/default_config/__init__.py +++ b/homeassistant/components/default_config/__init__.py @@ -5,26 +5,6 @@ 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/emulated_hue/__init__.py b/homeassistant/components/emulated_hue/__init__.py index c8ed263a2dc208..2ef0aaca134523 100644 --- a/homeassistant/components/emulated_hue/__init__.py +++ b/homeassistant/components/emulated_hue/__init__.py @@ -8,7 +8,6 @@ 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