From 2c07bfb9e0ac03fdf74b83152f4511ed7f7104b0 Mon Sep 17 00:00:00 2001 From: cgtobi Date: Fri, 12 Apr 2019 19:13:30 +0200 Subject: [PATCH] Remove dependencies and requirements (#23024) * Remove dependencies and requirements * Revert "Remove dependencies and requirements" This reverts commit fe7171b4cd30889bad5adc9a4fd60059d05ba5a7. * Remove dependencies and requirements * Revert "Remove dependencies and requirements" This reverts commit 391355ee2cc53cbe6954f940062b18ae34b05621. * Remove dependencies and requirements * Fix flake8 complaints * Fix more flake8 complaints * Revert non-component removals --- homeassistant/components/abode/__init__.py | 2 -- .../components/abode/alarm_control_panel.py | 2 -- .../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 -- .../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 -- .../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 -- .../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 -- .../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 ---- .../components/automation/__init__.py | 1 - .../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 -- .../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 -- .../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 -- .../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 --- .../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 -- .../bt_home_hub_5/device_tracker.py | 2 -- .../components/bt_smarthub/device_tracker.py | 2 -- homeassistant/components/buienradar/sensor.py | 2 -- .../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 | 4 ---- .../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 --- .../components/cloud/binary_sensor.py | 2 -- .../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 | 1 - .../components/coinmarketcap/sensor.py | 2 -- .../components/comfoconnect/__init__.py | 2 -- homeassistant/components/comfoconnect/fan.py | 2 -- .../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 - .../components/coolmaster/climate.py | 2 -- homeassistant/components/cover/__init__.py | 1 - .../components/cppm_tracker/device_tracker.py | 2 -- homeassistant/components/cpuspeed/sensor.py | 2 -- .../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 | 20 ------------------- 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 -- .../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 -- .../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 -- .../components/duke_energy/sensor.py | 2 -- .../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 -- .../components/ecoal_boiler/sensor.py | 2 -- .../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 -- .../components/econet/water_heater.py | 2 -- homeassistant/components/ecovacs/__init__.py | 2 -- homeassistant/components/ecovacs/vacuum.py | 2 -- .../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 -- .../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_hue/__init__.py | 1 - .../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 - .../entur_public_transport/sensor.py | 2 -- homeassistant/components/envirophat/sensor.py | 3 --- .../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 -- .../components/epson/media_player.py | 2 -- .../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 - .../components/fastdotcom/__init__.py | 2 -- homeassistant/components/fastdotcom/sensor.py | 2 -- homeassistant/components/fedex/sensor.py | 2 -- .../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 --- .../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 -- .../components/foursquare/__init__.py | 1 - .../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 ----- .../frontier_silicon/media_player.py | 2 -- homeassistant/components/futurenow/light.py | 2 -- homeassistant/components/gc100/__init__.py | 2 -- .../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 -- .../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 -- .../components/googlehome/__init__.py | 2 -- .../components/googlehome/device_tracker.py | 2 -- homeassistant/components/googlehome/sensor.py | 2 -- .../components/gpmdp/media_player.py | 2 -- homeassistant/components/gpsd/sensor.py | 2 -- .../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 - .../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 -- .../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 | 4 +--- 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 -- .../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 -- .../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 --- .../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 - .../hunterdouglas_powerview/scene.py | 2 -- .../components/hydrawise/__init__.py | 2 -- .../components/hydrawise/binary_sensor.py | 2 -- homeassistant/components/hydrawise/sensor.py | 2 -- homeassistant/components/hydrawise/switch.py | 2 -- .../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 -- .../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 | 1 - 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 -- .../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 - .../components/lightwave/__init__.py | 2 -- homeassistant/components/lightwave/light.py | 2 -- homeassistant/components/lightwave/switch.py | 2 -- .../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 -- .../components/logi_circle/camera.py | 2 -- .../components/logi_circle/sensor.py | 2 -- .../components/london_underground/sensor.py | 2 -- homeassistant/components/loopenergy/sensor.py | 2 -- .../components/luci/device_tracker.py | 2 -- .../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 -- .../components/lutron_caseta/cover.py | 2 -- .../components/lutron_caseta/light.py | 2 -- .../components/lutron_caseta/scene.py | 2 -- .../components/lutron_caseta/switch.py | 2 -- homeassistant/components/lw12wifi/light.py | 2 -- homeassistant/components/lyft/sensor.py | 2 -- .../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 - .../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 -- .../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 -- .../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 -- .../components/mqtt/binary_sensor.py | 2 -- homeassistant/components/mqtt/camera.py | 2 -- homeassistant/components/mqtt/climate.py | 2 -- homeassistant/components/mqtt/cover.py | 2 -- .../components/mqtt/device_tracker.py | 2 -- homeassistant/components/mqtt/fan.py | 2 -- .../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 - .../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 -- .../nederlandse_spoorwegen/sensor.py | 2 -- homeassistant/components/nello/lock.py | 2 -- .../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 -- .../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 -- .../components/netgear_lte/notify.py | 2 -- .../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 -- .../components/nissan_leaf/sensor.py | 2 -- .../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 -- .../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 -- .../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 -- .../components/onboarding/__init__.py | 2 -- .../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 -- .../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 -- .../components/osramlightify/light.py | 2 -- homeassistant/components/otp/sensor.py | 2 -- homeassistant/components/owlet/__init__.py | 2 -- .../components/owntracks/__init__.py | 4 ---- .../components/owntracks/device_tracker.py | 2 -- .../panasonic_bluray/media_player.py | 2 -- .../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 -- .../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 -- .../components/plum_lightpad/light.py | 2 -- .../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 -- .../components/prometheus/__init__.py | 4 ---- .../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 -- .../components/qbittorrent/sensor.py | 2 -- homeassistant/components/qnap/sensor.py | 2 -- .../components/qrcode/image_processing.py | 2 -- .../quantum_gateway/device_tracker.py | 2 -- .../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 -- .../components/radiotherm/climate.py | 2 -- homeassistant/components/rainbird/__init__.py | 2 -- homeassistant/components/rainbird/sensor.py | 2 -- homeassistant/components/rainbird/switch.py | 2 -- .../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 - .../components/rainmachine/sensor.py | 1 - .../components/rainmachine/switch.py | 2 -- .../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 -- .../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 -- .../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 -- .../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 -- .../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 -- .../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 -- .../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 -- .../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 -- .../components/smartthings/sensor.py | 2 -- .../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 -- .../components/snmp/device_tracker.py | 2 -- homeassistant/components/snmp/sensor.py | 2 -- homeassistant/components/snmp/switch.py | 2 -- homeassistant/components/sochain/sensor.py | 2 -- .../components/socialblade/sensor.py | 2 -- homeassistant/components/solaredge/sensor.py | 2 -- .../components/somfy_mylink/__init__.py | 1 - .../components/somfy_mylink/cover.py | 1 - .../components/songpal/media_player.py | 2 -- homeassistant/components/sonos/__init__.py | 1 - .../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 -- .../components/starlingbank/sensor.py | 2 -- homeassistant/components/startca/sensor.py | 2 -- homeassistant/components/statsd/__init__.py | 2 -- .../components/steam_online/sensor.py | 2 -- homeassistant/components/stream/__init__.py | 4 ---- homeassistant/components/stride/notify.py | 2 -- .../swiss_hydrological_data/sensor.py | 2 -- .../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 -- .../components/synologydsm/sensor.py | 2 -- .../components/system_health/__init__.py | 1 - .../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 -- .../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 -- .../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 -- .../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 | 1 - homeassistant/components/tfiac/climate.py | 2 -- .../components/thermoworks_smoke/sensor.py | 2 -- .../components/thethingsnetwork/sensor.py | 2 -- .../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 -- .../components/tile/device_tracker.py | 2 -- homeassistant/components/todoist/calendar.py | 2 -- homeassistant/components/tof/sensor.py | 4 ---- homeassistant/components/toon/__init__.py | 2 -- .../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 -- .../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 -- .../components/transmission/sensor.py | 2 -- .../components/transmission/switch.py | 2 -- .../components/transport_nsw/sensor.py | 2 -- homeassistant/components/travisci/sensor.py | 2 -- .../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 --- .../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 -- .../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 | 3 +-- .../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 -- .../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 -- .../components/vizio/media_player.py | 2 -- homeassistant/components/vlc/media_player.py | 2 -- .../components/volkszaehler/sensor.py | 2 -- .../components/volvooncall/__init__.py | 2 -- homeassistant/components/vultr/__init__.py | 2 -- .../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 -- .../components/wake_on_lan/switch.py | 2 -- homeassistant/components/waqi/sensor.py | 2 -- .../components/waterfurnace/__init__.py | 2 -- .../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 -- .../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 -- .../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 -- .../components/wirelesstag/sensor.py | 2 -- .../components/wirelesstag/switch.py | 2 -- .../components/workday/binary_sensor.py | 2 -- .../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 -- .../components/xiaomi_miio/remote.py | 2 -- .../components/xiaomi_miio/sensor.py | 2 -- .../components/xiaomi_miio/switch.py | 2 -- .../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 -- .../components/yamaha/media_player.py | 2 -- .../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 -- .../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 -- .../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 -- 1156 files changed, 2 insertions(+), 2320 deletions(-) diff --git a/homeassistant/components/abode/__init__.py b/homeassistant/components/abode/__init__.py index 591bae1a9..3a64a5e31 100644 --- a/homeassistant/components/abode/__init__.py +++ b/homeassistant/components/abode/__init__.py @@ -13,8 +13,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers import discovery from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['abodepy==0.15.0'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by goabode.com" diff --git a/homeassistant/components/abode/alarm_control_panel.py b/homeassistant/components/abode/alarm_control_panel.py index d7426e041..d1d75b741 100644 --- a/homeassistant/components/abode/alarm_control_panel.py +++ b/homeassistant/components/abode/alarm_control_panel.py @@ -8,8 +8,6 @@ from homeassistant.const import ( from . import ATTRIBUTION, DOMAIN as ABODE_DOMAIN, AbodeDevice -DEPENDENCIES = ['abode'] - _LOGGER = logging.getLogger(__name__) ICON = 'mdi:security' diff --git a/homeassistant/components/abode/binary_sensor.py b/homeassistant/components/abode/binary_sensor.py index 874723420..e3f74e9f4 100644 --- a/homeassistant/components/abode/binary_sensor.py +++ b/homeassistant/components/abode/binary_sensor.py @@ -7,8 +7,6 @@ from . import DOMAIN as ABODE_DOMAIN, AbodeAutomation, AbodeDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['abode'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up a sensor for an Abode device.""" diff --git a/homeassistant/components/abode/camera.py b/homeassistant/components/abode/camera.py index d37644ecc..d0e4e8330 100644 --- a/homeassistant/components/abode/camera.py +++ b/homeassistant/components/abode/camera.py @@ -9,8 +9,6 @@ from homeassistant.util import Throttle from . import DOMAIN as ABODE_DOMAIN, AbodeDevice -DEPENDENCIES = ['abode'] - MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=90) _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/abode/cover.py b/homeassistant/components/abode/cover.py index c40159164..4c868daf4 100644 --- a/homeassistant/components/abode/cover.py +++ b/homeassistant/components/abode/cover.py @@ -5,8 +5,6 @@ from homeassistant.components.cover import CoverDevice from . import DOMAIN as ABODE_DOMAIN, AbodeDevice -DEPENDENCIES = ['abode'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/abode/light.py b/homeassistant/components/abode/light.py index 9e88acce4..6b3e5025c 100644 --- a/homeassistant/components/abode/light.py +++ b/homeassistant/components/abode/light.py @@ -10,8 +10,6 @@ from homeassistant.util.color import ( from . import DOMAIN as ABODE_DOMAIN, AbodeDevice -DEPENDENCIES = ['abode'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/abode/lock.py b/homeassistant/components/abode/lock.py index 0f568a4ac..c1272a3de 100644 --- a/homeassistant/components/abode/lock.py +++ b/homeassistant/components/abode/lock.py @@ -5,8 +5,6 @@ from homeassistant.components.lock import LockDevice from . import DOMAIN as ABODE_DOMAIN, AbodeDevice -DEPENDENCIES = ['abode'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/abode/sensor.py b/homeassistant/components/abode/sensor.py index ef6941c76..b7e8fc1a1 100644 --- a/homeassistant/components/abode/sensor.py +++ b/homeassistant/components/abode/sensor.py @@ -8,8 +8,6 @@ from . import DOMAIN as ABODE_DOMAIN, AbodeDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['abode'] - # Sensor types: Name, icon SENSOR_TYPES = { 'temp': ['Temperature', DEVICE_CLASS_TEMPERATURE], diff --git a/homeassistant/components/abode/switch.py b/homeassistant/components/abode/switch.py index 3e3ce0318..74d1ea57b 100644 --- a/homeassistant/components/abode/switch.py +++ b/homeassistant/components/abode/switch.py @@ -7,8 +7,6 @@ from . import DOMAIN as ABODE_DOMAIN, AbodeAutomation, AbodeDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['abode'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up Abode switch devices.""" diff --git a/homeassistant/components/acer_projector/switch.py b/homeassistant/components/acer_projector/switch.py index df6fb8816..242f3f4a0 100644 --- a/homeassistant/components/acer_projector/switch.py +++ b/homeassistant/components/acer_projector/switch.py @@ -9,8 +9,6 @@ from homeassistant.const import ( STATE_ON, STATE_OFF, STATE_UNKNOWN, CONF_NAME, CONF_FILENAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyserial==3.1.1'] - _LOGGER = logging.getLogger(__name__) CONF_TIMEOUT = 'timeout' diff --git a/homeassistant/components/ads/__init__.py b/homeassistant/components/ads/__init__.py index 92c6ecb33..ba49f8abd 100644 --- a/homeassistant/components/ads/__init__.py +++ b/homeassistant/components/ads/__init__.py @@ -14,8 +14,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyads==3.0.7'] - _LOGGER = logging.getLogger(__name__) DATA_ADS = 'data_ads' diff --git a/homeassistant/components/ads/binary_sensor.py b/homeassistant/components/ads/binary_sensor.py index baa44cb49..b6f3a54e4 100644 --- a/homeassistant/components/ads/binary_sensor.py +++ b/homeassistant/components/ads/binary_sensor.py @@ -13,8 +13,6 @@ from . import CONF_ADS_VAR, DATA_ADS, AdsEntity, STATE_KEY_STATE _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'ADS binary sensor' -DEPENDENCIES = ['ads'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADS_VAR): cv.string, vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, diff --git a/homeassistant/components/ads/light.py b/homeassistant/components/ads/light.py index 49961565d..5168f49ac 100644 --- a/homeassistant/components/ads/light.py +++ b/homeassistant/components/ads/light.py @@ -12,7 +12,6 @@ from . import CONF_ADS_VAR, CONF_ADS_VAR_BRIGHTNESS, DATA_ADS, \ AdsEntity, STATE_KEY_BRIGHTNESS, STATE_KEY_STATE _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ads'] DEFAULT_NAME = 'ADS Light' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADS_VAR): cv.string, diff --git a/homeassistant/components/ads/sensor.py b/homeassistant/components/ads/sensor.py index e74b8753d..415eea09d 100644 --- a/homeassistant/components/ads/sensor.py +++ b/homeassistant/components/ads/sensor.py @@ -14,8 +14,6 @@ from . import CONF_ADS_FACTOR, CONF_ADS_TYPE, CONF_ADS_VAR, \ _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = "ADS sensor" -DEPENDENCIES = ['ads'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADS_VAR): cv.string, vol.Optional(CONF_ADS_FACTOR): cv.positive_int, diff --git a/homeassistant/components/ads/switch.py b/homeassistant/components/ads/switch.py index 0dfbeb811..23e130f26 100644 --- a/homeassistant/components/ads/switch.py +++ b/homeassistant/components/ads/switch.py @@ -11,8 +11,6 @@ from . import CONF_ADS_VAR, DATA_ADS, AdsEntity, STATE_KEY_STATE _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ads'] - DEFAULT_NAME = 'ADS Switch' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/aftership/sensor.py b/homeassistant/components/aftership/sensor.py index eefbb299a..fae3e38c9 100644 --- a/homeassistant/components/aftership/sensor.py +++ b/homeassistant/components/aftership/sensor.py @@ -13,8 +13,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle from .const import DOMAIN -REQUIREMENTS = ['pyaftership==0.1.2'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = 'Information provided by AfterShip' diff --git a/homeassistant/components/airvisual/sensor.py b/homeassistant/components/airvisual/sensor.py index 7fad7bb35..556700201 100644 --- a/homeassistant/components/airvisual/sensor.py +++ b/homeassistant/components/airvisual/sensor.py @@ -13,7 +13,6 @@ from homeassistant.helpers import aiohttp_client, config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pyairvisual==3.0.1'] _LOGGER = getLogger(__name__) ATTR_CITY = 'city' diff --git a/homeassistant/components/aladdin_connect/cover.py b/homeassistant/components/aladdin_connect/cover.py index 01146fecb..70c85fd58 100644 --- a/homeassistant/components/aladdin_connect/cover.py +++ b/homeassistant/components/aladdin_connect/cover.py @@ -9,8 +9,6 @@ from homeassistant.const import (CONF_USERNAME, CONF_PASSWORD, STATE_CLOSED, STATE_OPENING, STATE_CLOSING, STATE_OPEN) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['aladdin_connect==0.3'] - _LOGGER = logging.getLogger(__name__) NOTIFICATION_ID = 'aladdin_notification' diff --git a/homeassistant/components/alarmdecoder/__init__.py b/homeassistant/components/alarmdecoder/__init__.py index 5b1296b39..b4d1a2e0b 100644 --- a/homeassistant/components/alarmdecoder/__init__.py +++ b/homeassistant/components/alarmdecoder/__init__.py @@ -10,8 +10,6 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.util import dt as dt_util from homeassistant.components.binary_sensor import DEVICE_CLASSES_SCHEMA -REQUIREMENTS = ['alarmdecoder==1.13.2'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'alarmdecoder' diff --git a/homeassistant/components/alarmdecoder/alarm_control_panel.py b/homeassistant/components/alarmdecoder/alarm_control_panel.py index d7eced933..51645b516 100644 --- a/homeassistant/components/alarmdecoder/alarm_control_panel.py +++ b/homeassistant/components/alarmdecoder/alarm_control_panel.py @@ -13,8 +13,6 @@ from . import DATA_AD, SIGNAL_PANEL_MESSAGE _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['alarmdecoder'] - SERVICE_ALARM_TOGGLE_CHIME = 'alarmdecoder_alarm_toggle_chime' ALARM_TOGGLE_CHIME_SCHEMA = vol.Schema({ vol.Required(ATTR_CODE): cv.string, diff --git a/homeassistant/components/alarmdecoder/binary_sensor.py b/homeassistant/components/alarmdecoder/binary_sensor.py index 09e63b4d6..91ff8b381 100644 --- a/homeassistant/components/alarmdecoder/binary_sensor.py +++ b/homeassistant/components/alarmdecoder/binary_sensor.py @@ -8,8 +8,6 @@ from . import ( CONF_ZONE_RFID, CONF_ZONE_TYPE, CONF_ZONES, SIGNAL_REL_MESSAGE, SIGNAL_RFX_MESSAGE, SIGNAL_ZONE_FAULT, SIGNAL_ZONE_RESTORE, ZONE_SCHEMA) -DEPENDENCIES = ['alarmdecoder'] - _LOGGER = logging.getLogger(__name__) ATTR_RF_BIT0 = 'rf_bit0' diff --git a/homeassistant/components/alarmdecoder/sensor.py b/homeassistant/components/alarmdecoder/sensor.py index 88371dad1..9fb37d623 100644 --- a/homeassistant/components/alarmdecoder/sensor.py +++ b/homeassistant/components/alarmdecoder/sensor.py @@ -7,8 +7,6 @@ from . import SIGNAL_PANEL_MESSAGE _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['alarmdecoder'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up for AlarmDecoder sensor devices.""" diff --git a/homeassistant/components/alarmdotcom/alarm_control_panel.py b/homeassistant/components/alarmdotcom/alarm_control_panel.py index ea581aca7..5919bf84f 100644 --- a/homeassistant/components/alarmdotcom/alarm_control_panel.py +++ b/homeassistant/components/alarmdotcom/alarm_control_panel.py @@ -12,8 +12,6 @@ from homeassistant.const import ( from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyalarmdotcom==0.3.2'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Alarm.com' diff --git a/homeassistant/components/alexa/__init__.py b/homeassistant/components/alexa/__init__.py index 062d698d5..862605b64 100644 --- a/homeassistant/components/alexa/__init__.py +++ b/homeassistant/components/alexa/__init__.py @@ -17,8 +17,6 @@ _LOGGER = logging.getLogger(__name__) CONF_FLASH_BRIEFINGS = 'flash_briefings' CONF_SMART_HOME = 'smart_home' -DEPENDENCIES = ['http'] - ALEXA_ENTITY_SCHEMA = vol.Schema({ vol.Optional(smart_home.CONF_DESCRIPTION): cv.string, vol.Optional(smart_home.CONF_DISPLAY_CATEGORIES): cv.string, diff --git a/homeassistant/components/alpha_vantage/sensor.py b/homeassistant/components/alpha_vantage/sensor.py index 0eb57e5b2..9ea6797a5 100644 --- a/homeassistant/components/alpha_vantage/sensor.py +++ b/homeassistant/components/alpha_vantage/sensor.py @@ -10,8 +10,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['alpha_vantage==2.1.0'] - _LOGGER = logging.getLogger(__name__) ATTR_CLOSE = 'close' diff --git a/homeassistant/components/amazon_polly/tts.py b/homeassistant/components/amazon_polly/tts.py index d29ae32fb..4511a587a 100644 --- a/homeassistant/components/amazon_polly/tts.py +++ b/homeassistant/components/amazon_polly/tts.py @@ -6,8 +6,6 @@ import voluptuous as vol from homeassistant.components.tts import PLATFORM_SCHEMA, Provider import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['boto3==1.9.16'] - _LOGGER = logging.getLogger(__name__) CONF_REGION = 'region_name' diff --git a/homeassistant/components/ambient_station/__init__.py b/homeassistant/components/ambient_station/__init__.py index 944d4e14e..2c185c3bc 100644 --- a/homeassistant/components/ambient_station/__init__.py +++ b/homeassistant/components/ambient_station/__init__.py @@ -20,8 +20,6 @@ from .const import ( ATTR_LAST_DATA, CONF_APP_KEY, DATA_CLIENT, DOMAIN, TOPIC_UPDATE, TYPE_BINARY_SENSOR, TYPE_SENSOR) -REQUIREMENTS = ['aioambient==0.3.0'] - _LOGGER = logging.getLogger(__name__) DATA_CONFIG = 'config' diff --git a/homeassistant/components/ambient_station/binary_sensor.py b/homeassistant/components/ambient_station/binary_sensor.py index 04a389016..02f7590c3 100644 --- a/homeassistant/components/ambient_station/binary_sensor.py +++ b/homeassistant/components/ambient_station/binary_sensor.py @@ -12,8 +12,6 @@ from .const import ATTR_LAST_DATA, DATA_CLIENT, DOMAIN, TYPE_BINARY_SENSOR _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ambient_station'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/ambient_station/sensor.py b/homeassistant/components/ambient_station/sensor.py index b394dc558..9c50d97fb 100644 --- a/homeassistant/components/ambient_station/sensor.py +++ b/homeassistant/components/ambient_station/sensor.py @@ -8,8 +8,6 @@ from .const import ATTR_LAST_DATA, DATA_CLIENT, DOMAIN, TYPE_SENSOR _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ambient_station'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/amcrest/__init__.py b/homeassistant/components/amcrest/__init__.py index a4c020efc..3a0a983fc 100644 --- a/homeassistant/components/amcrest/__init__.py +++ b/homeassistant/components/amcrest/__init__.py @@ -12,9 +12,6 @@ from homeassistant.const import ( from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['amcrest==1.3.0'] -DEPENDENCIES = ['ffmpeg'] - _LOGGER = logging.getLogger(__name__) CONF_AUTHENTICATION = 'authentication' diff --git a/homeassistant/components/amcrest/binary_sensor.py b/homeassistant/components/amcrest/binary_sensor.py index 113918ed0..b591616a8 100644 --- a/homeassistant/components/amcrest/binary_sensor.py +++ b/homeassistant/components/amcrest/binary_sensor.py @@ -7,8 +7,6 @@ from homeassistant.components.binary_sensor import ( from homeassistant.const import CONF_NAME, CONF_BINARY_SENSORS from . import DATA_AMCREST, BINARY_SENSORS -DEPENDENCIES = ['amcrest'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=5) diff --git a/homeassistant/components/amcrest/camera.py b/homeassistant/components/amcrest/camera.py index f361c4e01..07f5d403b 100644 --- a/homeassistant/components/amcrest/camera.py +++ b/homeassistant/components/amcrest/camera.py @@ -12,8 +12,6 @@ from homeassistant.helpers.aiohttp_client import ( from . import DATA_AMCREST, STREAM_SOURCE_LIST, TIMEOUT -DEPENDENCIES = ['amcrest', 'ffmpeg'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/amcrest/sensor.py b/homeassistant/components/amcrest/sensor.py index 119520e6a..56cb02105 100644 --- a/homeassistant/components/amcrest/sensor.py +++ b/homeassistant/components/amcrest/sensor.py @@ -7,8 +7,6 @@ from homeassistant.helpers.entity import Entity from . import DATA_AMCREST, SENSORS -DEPENDENCIES = ['amcrest'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=10) diff --git a/homeassistant/components/amcrest/switch.py b/homeassistant/components/amcrest/switch.py index 0bbd290b3..90f750d17 100644 --- a/homeassistant/components/amcrest/switch.py +++ b/homeassistant/components/amcrest/switch.py @@ -8,8 +8,6 @@ from . import DATA_AMCREST, SWITCHES _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['amcrest'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/ampio/air_quality.py b/homeassistant/components/ampio/air_quality.py index f7aa98aec..339f490ba 100644 --- a/homeassistant/components/ampio/air_quality.py +++ b/homeassistant/components/ampio/air_quality.py @@ -11,8 +11,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['asmog==0.0.6'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = 'Data provided by Ampio' diff --git a/homeassistant/components/android_ip_webcam/__init__.py b/homeassistant/components/android_ip_webcam/__init__.py index 600efd55a..dfb6d143e 100644 --- a/homeassistant/components/android_ip_webcam/__init__.py +++ b/homeassistant/components/android_ip_webcam/__init__.py @@ -21,8 +21,6 @@ from homeassistant.util.dt import utcnow from homeassistant.components.mjpeg.camera import ( CONF_MJPEG_URL, CONF_STILL_IMAGE_URL) -REQUIREMENTS = ['pydroid-ipcam==0.8'] - _LOGGER = logging.getLogger(__name__) ATTR_AUD_CONNS = 'Audio Connections' diff --git a/homeassistant/components/android_ip_webcam/binary_sensor.py b/homeassistant/components/android_ip_webcam/binary_sensor.py index c058c44c5..dbe50d818 100644 --- a/homeassistant/components/android_ip_webcam/binary_sensor.py +++ b/homeassistant/components/android_ip_webcam/binary_sensor.py @@ -3,8 +3,6 @@ from homeassistant.components.binary_sensor import BinarySensorDevice from . import CONF_HOST, CONF_NAME, DATA_IP_WEBCAM, KEY_MAP, AndroidIPCamEntity -DEPENDENCIES = ['android_ip_webcam'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/android_ip_webcam/sensor.py b/homeassistant/components/android_ip_webcam/sensor.py index 4d29493d6..9748b6ba5 100644 --- a/homeassistant/components/android_ip_webcam/sensor.py +++ b/homeassistant/components/android_ip_webcam/sensor.py @@ -5,8 +5,6 @@ from . import ( CONF_HOST, CONF_NAME, CONF_SENSORS, DATA_IP_WEBCAM, ICON_MAP, KEY_MAP, AndroidIPCamEntity) -DEPENDENCIES = ['android_ip_webcam'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/android_ip_webcam/switch.py b/homeassistant/components/android_ip_webcam/switch.py index 0304c5747..e894913f5 100644 --- a/homeassistant/components/android_ip_webcam/switch.py +++ b/homeassistant/components/android_ip_webcam/switch.py @@ -5,8 +5,6 @@ from . import ( CONF_HOST, CONF_NAME, CONF_SWITCHES, DATA_IP_WEBCAM, ICON_MAP, KEY_MAP, AndroidIPCamEntity) -DEPENDENCIES = ['android_ip_webcam'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/androidtv/media_player.py b/homeassistant/components/androidtv/media_player.py index 706ef6f84..2677144a1 100644 --- a/homeassistant/components/androidtv/media_player.py +++ b/homeassistant/components/androidtv/media_player.py @@ -18,8 +18,6 @@ import homeassistant.helpers.config_validation as cv ANDROIDTV_DOMAIN = 'androidtv' -REQUIREMENTS = ['androidtv==0.0.15'] - _LOGGER = logging.getLogger(__name__) SUPPORT_ANDROIDTV = SUPPORT_PAUSE | SUPPORT_PLAY | \ diff --git a/homeassistant/components/anel_pwrctrl/switch.py b/homeassistant/components/anel_pwrctrl/switch.py index b9b3070b9..7552e35fe 100644 --- a/homeassistant/components/anel_pwrctrl/switch.py +++ b/homeassistant/components/anel_pwrctrl/switch.py @@ -10,8 +10,6 @@ from homeassistant.components.switch import (SwitchDevice, PLATFORM_SCHEMA) from homeassistant.const import (CONF_HOST, CONF_PASSWORD, CONF_USERNAME) from homeassistant.util import Throttle -REQUIREMENTS = ['anel_pwrctrl-homeassistant==0.0.1.dev2'] - _LOGGER = logging.getLogger(__name__) CONF_PORT_RECV = 'port_recv' diff --git a/homeassistant/components/anthemav/media_player.py b/homeassistant/components/anthemav/media_player.py index c7ee579bc..1a335fc2c 100644 --- a/homeassistant/components/anthemav/media_player.py +++ b/homeassistant/components/anthemav/media_player.py @@ -13,8 +13,6 @@ from homeassistant.const import ( STATE_ON) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['anthemav==1.1.10'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'anthemav' diff --git a/homeassistant/components/apcupsd/__init__.py b/homeassistant/components/apcupsd/__init__.py index aab6f6dda..d4649db02 100644 --- a/homeassistant/components/apcupsd/__init__.py +++ b/homeassistant/components/apcupsd/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import (CONF_HOST, CONF_PORT) import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['apcaccess==0.0.13'] - _LOGGER = logging.getLogger(__name__) CONF_TYPE = 'type' diff --git a/homeassistant/components/apcupsd/binary_sensor.py b/homeassistant/components/apcupsd/binary_sensor.py index 445dab9b0..367b3c2b9 100644 --- a/homeassistant/components/apcupsd/binary_sensor.py +++ b/homeassistant/components/apcupsd/binary_sensor.py @@ -8,8 +8,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components import apcupsd DEFAULT_NAME = 'UPS Online Status' -DEPENDENCIES = [apcupsd.DOMAIN] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, }) diff --git a/homeassistant/components/apcupsd/sensor.py b/homeassistant/components/apcupsd/sensor.py index 09f9b324b..ae1ad1022 100644 --- a/homeassistant/components/apcupsd/sensor.py +++ b/homeassistant/components/apcupsd/sensor.py @@ -11,8 +11,6 @@ from homeassistant.helpers.entity import Entity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = [apcupsd.DOMAIN] - SENSOR_PREFIX = 'UPS ' SENSOR_TYPES = { 'alarmdel': ['Alarm Delay', '', 'mdi:alarm'], diff --git a/homeassistant/components/api/__init__.py b/homeassistant/components/api/__init__.py index beba17ee2..0e860854a 100644 --- a/homeassistant/components/api/__init__.py +++ b/homeassistant/components/api/__init__.py @@ -33,8 +33,6 @@ ATTR_REQUIRES_API_PASSWORD = 'requires_api_password' ATTR_VERSION = 'version' DOMAIN = 'api' -DEPENDENCIES = ['http'] - STREAM_PING_PAYLOAD = 'ping' STREAM_PING_INTERVAL = 50 # seconds diff --git a/homeassistant/components/apns/notify.py b/homeassistant/components/apns/notify.py index d7f6559fe..365bdbcb4 100644 --- a/homeassistant/components/apns/notify.py +++ b/homeassistant/components/apns/notify.py @@ -13,8 +13,6 @@ from homeassistant.helpers.event import track_state_change from homeassistant.components.notify import ( ATTR_DATA, ATTR_TARGET, DOMAIN, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['apns2==0.3.0'] - APNS_DEVICES = 'apns.yaml' CONF_CERTFILE = 'cert_file' CONF_TOPIC = 'topic' diff --git a/homeassistant/components/apple_tv/__init__.py b/homeassistant/components/apple_tv/__init__.py index b265dc533..0ebe29ed4 100644 --- a/homeassistant/components/apple_tv/__init__.py +++ b/homeassistant/components/apple_tv/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers import discovery from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyatv==0.3.12'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'apple_tv' diff --git a/homeassistant/components/apple_tv/media_player.py b/homeassistant/components/apple_tv/media_player.py index e00ce6ed1..9698ef4c7 100644 --- a/homeassistant/components/apple_tv/media_player.py +++ b/homeassistant/components/apple_tv/media_player.py @@ -14,8 +14,6 @@ import homeassistant.util.dt as dt_util from . import ATTR_ATV, ATTR_POWER, DATA_APPLE_TV, DATA_ENTITIES -DEPENDENCIES = ['apple_tv'] - _LOGGER = logging.getLogger(__name__) SUPPORT_APPLE_TV = SUPPORT_TURN_ON | SUPPORT_TURN_OFF | SUPPORT_PLAY_MEDIA | \ diff --git a/homeassistant/components/apple_tv/remote.py b/homeassistant/components/apple_tv/remote.py index 25b500ac0..2839e3a53 100644 --- a/homeassistant/components/apple_tv/remote.py +++ b/homeassistant/components/apple_tv/remote.py @@ -4,8 +4,6 @@ from homeassistant.const import CONF_HOST, CONF_NAME from . import ATTR_ATV, ATTR_POWER, DATA_APPLE_TV -DEPENDENCIES = ['apple_tv'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/aqualogic/__init__.py b/homeassistant/components/aqualogic/__init__.py index a4f83b573..657184632 100644 --- a/homeassistant/components/aqualogic/__init__.py +++ b/homeassistant/components/aqualogic/__init__.py @@ -11,8 +11,6 @@ from homeassistant.const import (CONF_HOST, CONF_PORT, EVENT_HOMEASSISTANT_STOP) from homeassistant.helpers import config_validation as cv -REQUIREMENTS = ["aqualogic==1.0"] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'aqualogic' diff --git a/homeassistant/components/aqualogic/sensor.py b/homeassistant/components/aqualogic/sensor.py index dc06a2127..454cdbd7f 100644 --- a/homeassistant/components/aqualogic/sensor.py +++ b/homeassistant/components/aqualogic/sensor.py @@ -14,8 +14,6 @@ from . import DOMAIN, UPDATE_TOPIC _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['aqualogic'] - TEMP_UNITS = [TEMP_CELSIUS, TEMP_FAHRENHEIT] PERCENT_UNITS = ['%', '%'] SALT_UNITS = ['g/L', 'PPM'] diff --git a/homeassistant/components/aqualogic/switch.py b/homeassistant/components/aqualogic/switch.py index 21e573f94..b8bd8e412 100644 --- a/homeassistant/components/aqualogic/switch.py +++ b/homeassistant/components/aqualogic/switch.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from . import DOMAIN, UPDATE_TOPIC -DEPENDENCIES = ['aqualogic'] - _LOGGER = logging.getLogger(__name__) SWITCH_TYPES = { diff --git a/homeassistant/components/aquostv/media_player.py b/homeassistant/components/aquostv/media_player.py index 0ffe48d21..a4e88f02a 100644 --- a/homeassistant/components/aquostv/media_player.py +++ b/homeassistant/components/aquostv/media_player.py @@ -15,8 +15,6 @@ from homeassistant.const import ( CONF_USERNAME, STATE_OFF, STATE_ON) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['sharp_aquos_rc==0.3.2'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Sharp Aquos TV' diff --git a/homeassistant/components/arduino/__init__.py b/homeassistant/components/arduino/__init__.py index 351122e74..a6841e075 100644 --- a/homeassistant/components/arduino/__init__.py +++ b/homeassistant/components/arduino/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import ( from homeassistant.const import CONF_PORT import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['PyMata==2.14'] - _LOGGER = logging.getLogger(__name__) BOARD = None diff --git a/homeassistant/components/arduino/sensor.py b/homeassistant/components/arduino/sensor.py index ff758ea58..0cc6e006b 100644 --- a/homeassistant/components/arduino/sensor.py +++ b/homeassistant/components/arduino/sensor.py @@ -14,8 +14,6 @@ _LOGGER = logging.getLogger(__name__) CONF_PINS = 'pins' CONF_TYPE = 'analog' -DEPENDENCIES = ['arduino'] - PIN_SCHEMA = vol.Schema({ vol.Required(CONF_NAME): cv.string, }) diff --git a/homeassistant/components/arduino/switch.py b/homeassistant/components/arduino/switch.py index 947c51887..92e91196a 100644 --- a/homeassistant/components/arduino/switch.py +++ b/homeassistant/components/arduino/switch.py @@ -8,8 +8,6 @@ from homeassistant.components.switch import (SwitchDevice, PLATFORM_SCHEMA) from homeassistant.const import CONF_NAME import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['arduino'] - _LOGGER = logging.getLogger(__name__) CONF_PINS = 'pins' diff --git a/homeassistant/components/arlo/__init__.py b/homeassistant/components/arlo/__init__.py index cbb720778..38230c2f0 100644 --- a/homeassistant/components/arlo/__init__.py +++ b/homeassistant/components/arlo/__init__.py @@ -11,8 +11,6 @@ from homeassistant.const import ( from homeassistant.helpers.event import track_time_interval from homeassistant.helpers.dispatcher import dispatcher_send -REQUIREMENTS = ['pyarlo==0.2.3'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by arlo.netgear.com" diff --git a/homeassistant/components/arlo/alarm_control_panel.py b/homeassistant/components/arlo/alarm_control_panel.py index 3557ed125..a7addfb86 100644 --- a/homeassistant/components/arlo/alarm_control_panel.py +++ b/homeassistant/components/arlo/alarm_control_panel.py @@ -22,8 +22,6 @@ CONF_HOME_MODE_NAME = 'home_mode_name' CONF_AWAY_MODE_NAME = 'away_mode_name' CONF_NIGHT_MODE_NAME = 'night_mode_name' -DEPENDENCIES = ['arlo'] - DISARMED = 'disarmed' ICON = 'mdi:security' diff --git a/homeassistant/components/arlo/camera.py b/homeassistant/components/arlo/camera.py index d4b00f006..166e07810 100644 --- a/homeassistant/components/arlo/camera.py +++ b/homeassistant/components/arlo/camera.py @@ -13,8 +13,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_connect from . import DATA_ARLO, DEFAULT_BRAND, SIGNAL_UPDATE_ARLO -DEPENDENCIES = ['arlo', 'ffmpeg'] - _LOGGER = logging.getLogger(__name__) ARLO_MODE_ARMED = 'armed' diff --git a/homeassistant/components/arlo/sensor.py b/homeassistant/components/arlo/sensor.py index e08669eb8..f83caec38 100644 --- a/homeassistant/components/arlo/sensor.py +++ b/homeassistant/components/arlo/sensor.py @@ -17,8 +17,6 @@ from . import ATTRIBUTION, DATA_ARLO, DEFAULT_BRAND, SIGNAL_UPDATE_ARLO _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['arlo'] - # sensor_type [ description, unit, icon ] SENSOR_TYPES = { 'last_capture': ['Last', None, 'run-fast'], diff --git a/homeassistant/components/aruba/device_tracker.py b/homeassistant/components/aruba/device_tracker.py index ed1fee25a..cde144e68 100644 --- a/homeassistant/components/aruba/device_tracker.py +++ b/homeassistant/components/aruba/device_tracker.py @@ -11,8 +11,6 @@ from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_USERNAME _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pexpect==4.6.0'] - _DEVICES_REGEX = re.compile( r'(?P([^\s]+)?)\s+' + r'(?P([0-9]{1,3}[\.]){3}[0-9]{1,3})\s+' + diff --git a/homeassistant/components/arwn/sensor.py b/homeassistant/components/arwn/sensor.py index aef43c4b4..94b552c6e 100644 --- a/homeassistant/components/arwn/sensor.py +++ b/homeassistant/components/arwn/sensor.py @@ -10,7 +10,6 @@ from homeassistant.util import slugify _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] DOMAIN = 'arwn' DATA_ARWN = 'arwn' diff --git a/homeassistant/components/asterisk_cdr/mailbox.py b/homeassistant/components/asterisk_cdr/mailbox.py index db5d4e8d6..647067b60 100644 --- a/homeassistant/components/asterisk_cdr/mailbox.py +++ b/homeassistant/components/asterisk_cdr/mailbox.py @@ -11,8 +11,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_connect _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['asterisk_mbox'] - MAILBOX_NAME = 'asterisk_cdr' diff --git a/homeassistant/components/asterisk_mbox/__init__.py b/homeassistant/components/asterisk_mbox/__init__.py index d8d3b194c..a354226bb 100644 --- a/homeassistant/components/asterisk_mbox/__init__.py +++ b/homeassistant/components/asterisk_mbox/__init__.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.dispatcher import ( async_dispatcher_send, dispatcher_connect) -REQUIREMENTS = ['asterisk_mbox==0.5.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'asterisk_mbox' diff --git a/homeassistant/components/asterisk_mbox/mailbox.py b/homeassistant/components/asterisk_mbox/mailbox.py index a3e7c3f4d..f79c89222 100644 --- a/homeassistant/components/asterisk_mbox/mailbox.py +++ b/homeassistant/components/asterisk_mbox/mailbox.py @@ -10,8 +10,6 @@ from . import DOMAIN as ASTERISK_DOMAIN _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['asterisk_mbox'] - SIGNAL_MESSAGE_REQUEST = 'asterisk_mbox.message_request' SIGNAL_MESSAGE_UPDATE = 'asterisk_mbox.message_updated' diff --git a/homeassistant/components/asuswrt/__init__.py b/homeassistant/components/asuswrt/__init__.py index 9b004b5bc..cc51a15f8 100644 --- a/homeassistant/components/asuswrt/__init__.py +++ b/homeassistant/components/asuswrt/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import ( from homeassistant.helpers import config_validation as cv from homeassistant.helpers.discovery import async_load_platform -REQUIREMENTS = ['aioasuswrt==1.1.21'] - _LOGGER = logging.getLogger(__name__) CONF_PUB_KEY = 'pub_key' diff --git a/homeassistant/components/asuswrt/device_tracker.py b/homeassistant/components/asuswrt/device_tracker.py index d115e640f..68641f670 100644 --- a/homeassistant/components/asuswrt/device_tracker.py +++ b/homeassistant/components/asuswrt/device_tracker.py @@ -5,8 +5,6 @@ from homeassistant.components.device_tracker import DeviceScanner from . import DATA_ASUSWRT -DEPENDENCIES = ['asuswrt'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/asuswrt/sensor.py b/homeassistant/components/asuswrt/sensor.py index ac80a447e..8ae629bd1 100644 --- a/homeassistant/components/asuswrt/sensor.py +++ b/homeassistant/components/asuswrt/sensor.py @@ -5,8 +5,6 @@ from homeassistant.helpers.entity import Entity from . import DATA_ASUSWRT -DEPENDENCIES = ['asuswrt'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/august/__init__.py b/homeassistant/components/august/__init__.py index 8e749dca4..e18c25706 100644 --- a/homeassistant/components/august/__init__.py +++ b/homeassistant/components/august/__init__.py @@ -15,8 +15,6 @@ _LOGGER = logging.getLogger(__name__) _CONFIGURING = {} -REQUIREMENTS = ['py-august==0.7.0'] - DEFAULT_TIMEOUT = 10 ACTIVITY_FETCH_LIMIT = 10 ACTIVITY_INITIAL_FETCH_LIMIT = 20 diff --git a/homeassistant/components/august/binary_sensor.py b/homeassistant/components/august/binary_sensor.py index 3a69d4117..d1f696458 100644 --- a/homeassistant/components/august/binary_sensor.py +++ b/homeassistant/components/august/binary_sensor.py @@ -8,8 +8,6 @@ from . import DATA_AUGUST _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['august'] - SCAN_INTERVAL = timedelta(seconds=5) diff --git a/homeassistant/components/august/camera.py b/homeassistant/components/august/camera.py index 53a9d78bc..0bf8a28f9 100644 --- a/homeassistant/components/august/camera.py +++ b/homeassistant/components/august/camera.py @@ -7,8 +7,6 @@ from homeassistant.components.camera import Camera from . import DATA_AUGUST, DEFAULT_TIMEOUT -DEPENDENCIES = ['august'] - SCAN_INTERVAL = timedelta(seconds=5) diff --git a/homeassistant/components/august/lock.py b/homeassistant/components/august/lock.py index e112eaa25..5ad2bdc3b 100644 --- a/homeassistant/components/august/lock.py +++ b/homeassistant/components/august/lock.py @@ -9,8 +9,6 @@ from . import DATA_AUGUST _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['august'] - SCAN_INTERVAL = timedelta(seconds=5) diff --git a/homeassistant/components/auth/__init__.py b/homeassistant/components/auth/__init__.py index d0157158a..f1deaf0cb 100644 --- a/homeassistant/components/auth/__init__.py +++ b/homeassistant/components/auth/__init__.py @@ -138,8 +138,6 @@ from . import login_flow from . import mfa_setup_flow DOMAIN = 'auth' -DEPENDENCIES = ['http'] - WS_TYPE_CURRENT_USER = 'auth/current_user' SCHEMA_WS_CURRENT_USER = websocket_api.BASE_COMMAND_MESSAGE_SCHEMA.extend({ vol.Required('type'): WS_TYPE_CURRENT_USER, diff --git a/homeassistant/components/automatic/device_tracker.py b/homeassistant/components/automatic/device_tracker.py index 8abd81e63..04e069a04 100644 --- a/homeassistant/components/automatic/device_tracker.py +++ b/homeassistant/components/automatic/device_tracker.py @@ -18,8 +18,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv from homeassistant.helpers.event import async_track_time_interval -REQUIREMENTS = ['aioautomatic==0.6.5'] - _LOGGER = logging.getLogger(__name__) ATTR_FUEL_LEVEL = 'fuel_level' @@ -34,8 +32,6 @@ DATA_CONFIGURING = 'automatic_configurator_clients' DATA_REFRESH_TOKEN = 'refresh_token' DEFAULT_SCOPE = ['location', 'trip', 'vehicle:events', 'vehicle:profile'] DEFAULT_TIMEOUT = 5 -DEPENDENCIES = ['http'] - EVENT_AUTOMATIC_UPDATE = 'automatic_update' FULL_SCOPE = DEFAULT_SCOPE + ['current_location'] diff --git a/homeassistant/components/automation/__init__.py b/homeassistant/components/automation/__init__.py index b1470582d..fa8b77da7 100644 --- a/homeassistant/components/automation/__init__.py +++ b/homeassistant/components/automation/__init__.py @@ -21,7 +21,6 @@ from homeassistant.loader import bind_hass from homeassistant.util.dt import utcnow DOMAIN = 'automation' -DEPENDENCIES = ['group'] ENTITY_ID_FORMAT = DOMAIN + '.{}' GROUP_NAME_ALL_AUTOMATIONS = 'all automations' diff --git a/homeassistant/components/automation/litejet.py b/homeassistant/components/automation/litejet.py index 20c689d74..51ec5bacc 100644 --- a/homeassistant/components/automation/litejet.py +++ b/homeassistant/components/automation/litejet.py @@ -9,8 +9,6 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util from homeassistant.helpers.event import track_point_in_utc_time -DEPENDENCIES = ['litejet'] - _LOGGER = logging.getLogger(__name__) CONF_NUMBER = 'number' diff --git a/homeassistant/components/automation/mqtt.py b/homeassistant/components/automation/mqtt.py index ff89cd470..837a22362 100644 --- a/homeassistant/components/automation/mqtt.py +++ b/homeassistant/components/automation/mqtt.py @@ -8,8 +8,6 @@ from homeassistant.components import mqtt from homeassistant.const import (CONF_PLATFORM, CONF_PAYLOAD) import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['mqtt'] - CONF_ENCODING = 'encoding' CONF_TOPIC = 'topic' DEFAULT_ENCODING = 'utf-8' diff --git a/homeassistant/components/avion/light.py b/homeassistant/components/avion/light.py index 65172025b..b138b8bf6 100644 --- a/homeassistant/components/avion/light.py +++ b/homeassistant/components/avion/light.py @@ -12,8 +12,6 @@ from homeassistant.const import ( CONF_USERNAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['avion==0.10'] - _LOGGER = logging.getLogger(__name__) SUPPORT_AVION_LED = SUPPORT_BRIGHTNESS diff --git a/homeassistant/components/awair/sensor.py b/homeassistant/components/awair/sensor.py index 7fdcc6735..85f18e87d 100644 --- a/homeassistant/components/awair/sensor.py +++ b/homeassistant/components/awair/sensor.py @@ -15,8 +15,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle, dt -REQUIREMENTS = ['python_awair==0.0.4'] - _LOGGER = logging.getLogger(__name__) ATTR_SCORE = 'score' diff --git a/homeassistant/components/aws/__init__.py b/homeassistant/components/aws/__init__.py index a15e56e9d..9533d2c77 100644 --- a/homeassistant/components/aws/__init__.py +++ b/homeassistant/components/aws/__init__.py @@ -26,8 +26,6 @@ from .const import ( DOMAIN, ) -REQUIREMENTS = ["aiobotocore==0.10.2"] - _LOGGER = logging.getLogger(__name__) AWS_CREDENTIAL_SCHEMA = vol.Schema( diff --git a/homeassistant/components/aws/notify.py b/homeassistant/components/aws/notify.py index 48b80b64c..3a6193f40 100644 --- a/homeassistant/components/aws/notify.py +++ b/homeassistant/components/aws/notify.py @@ -21,8 +21,6 @@ from .const import ( DATA_SESSIONS, ) -DEPENDENCIES = ["aws"] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/axis/__init__.py b/homeassistant/components/axis/__init__.py index e9ed37477..0cfa89236 100644 --- a/homeassistant/components/axis/__init__.py +++ b/homeassistant/components/axis/__init__.py @@ -11,8 +11,6 @@ from .config_flow import DEVICE_SCHEMA from .const import CONF_CAMERA, CONF_EVENTS, DEFAULT_TRIGGER_TIME, DOMAIN from .device import AxisNetworkDevice, get_device -REQUIREMENTS = ['axis==19'] - CONFIG_SCHEMA = vol.Schema({ DOMAIN: cv.schema_with_slug_keys(DEVICE_SCHEMA), }, extra=vol.ALLOW_EXTRA) diff --git a/homeassistant/components/axis/binary_sensor.py b/homeassistant/components/axis/binary_sensor.py index 30e0e759a..c43933803 100644 --- a/homeassistant/components/axis/binary_sensor.py +++ b/homeassistant/components/axis/binary_sensor.py @@ -11,8 +11,6 @@ from homeassistant.util.dt import utcnow from .const import DOMAIN as AXIS_DOMAIN, LOGGER -DEPENDENCIES = [AXIS_DOMAIN] - async def async_setup_entry(hass, config_entry, async_add_entities): """Set up a Axis binary sensor.""" diff --git a/homeassistant/components/axis/camera.py b/homeassistant/components/axis/camera.py index 62b694a99..11368339e 100644 --- a/homeassistant/components/axis/camera.py +++ b/homeassistant/components/axis/camera.py @@ -11,8 +11,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_connect from .const import DOMAIN as AXIS_DOMAIN -DEPENDENCIES = [AXIS_DOMAIN] - AXIS_IMAGE = 'http://{}:{}/axis-cgi/jpg/image.cgi' AXIS_VIDEO = 'http://{}:{}/axis-cgi/mjpg/video.cgi' AXIS_STREAM = 'rtsp://{}:{}@{}/axis-media/media.amp?videocodec=h264' diff --git a/homeassistant/components/baidu/tts.py b/homeassistant/components/baidu/tts.py index fbe27591e..faf62e926 100644 --- a/homeassistant/components/baidu/tts.py +++ b/homeassistant/components/baidu/tts.py @@ -7,8 +7,6 @@ from homeassistant.components.tts import CONF_LANG, PLATFORM_SCHEMA, Provider from homeassistant.const import CONF_API_KEY import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ["baidu-aip==1.6.6"] - _LOGGER = logging.getLogger(__name__) SUPPORTED_LANGUAGES = ['zh'] diff --git a/homeassistant/components/bbb_gpio/__init__.py b/homeassistant/components/bbb_gpio/__init__.py index 7749af8f3..85ea57537 100644 --- a/homeassistant/components/bbb_gpio/__init__.py +++ b/homeassistant/components/bbb_gpio/__init__.py @@ -4,8 +4,6 @@ import logging from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['Adafruit_BBIO==1.0.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'bbb_gpio' diff --git a/homeassistant/components/bbb_gpio/binary_sensor.py b/homeassistant/components/bbb_gpio/binary_sensor.py index 1ee371dcc..bcc45a4af 100644 --- a/homeassistant/components/bbb_gpio/binary_sensor.py +++ b/homeassistant/components/bbb_gpio/binary_sensor.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['bbb_gpio'] - CONF_PINS = 'pins' CONF_BOUNCETIME = 'bouncetime' CONF_INVERT_LOGIC = 'invert_logic' diff --git a/homeassistant/components/bbb_gpio/switch.py b/homeassistant/components/bbb_gpio/switch.py index 3ad46fd61..49b4c5de1 100644 --- a/homeassistant/components/bbb_gpio/switch.py +++ b/homeassistant/components/bbb_gpio/switch.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['bbb_gpio'] - CONF_PINS = 'pins' CONF_INITIAL = 'initial' CONF_INVERT_LOGIC = 'invert_logic' diff --git a/homeassistant/components/bbox/device_tracker.py b/homeassistant/components/bbox/device_tracker.py index badbcdc8a..f70969aa6 100644 --- a/homeassistant/components/bbox/device_tracker.py +++ b/homeassistant/components/bbox/device_tracker.py @@ -12,8 +12,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pybbox==0.0.5-alpha'] - _LOGGER = logging.getLogger(__name__) DEFAULT_HOST = '192.168.1.254' diff --git a/homeassistant/components/bbox/sensor.py b/homeassistant/components/bbox/sensor.py index 5b3c31d1d..80fa82b30 100644 --- a/homeassistant/components/bbox/sensor.py +++ b/homeassistant/components/bbox/sensor.py @@ -12,8 +12,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pybbox==0.0.5-alpha'] - _LOGGER = logging.getLogger(__name__) BANDWIDTH_MEGABITS_SECONDS = 'Mb/s' # type: str diff --git a/homeassistant/components/bh1750/sensor.py b/homeassistant/components/bh1750/sensor.py index e30eededa..eaee023ce 100644 --- a/homeassistant/components/bh1750/sensor.py +++ b/homeassistant/components/bh1750/sensor.py @@ -9,9 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.const import CONF_NAME, DEVICE_CLASS_ILLUMINANCE from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['i2csense==0.0.4', - 'smbus-cffi==0.5.1'] - _LOGGER = logging.getLogger(__name__) CONF_I2C_ADDRESS = 'i2c_address' diff --git a/homeassistant/components/bitcoin/sensor.py b/homeassistant/components/bitcoin/sensor.py index 3bc14637a..6ccb10f50 100644 --- a/homeassistant/components/bitcoin/sensor.py +++ b/homeassistant/components/bitcoin/sensor.py @@ -10,8 +10,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['blockchain==1.4.4'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by blockchain.info" diff --git a/homeassistant/components/blackbird/media_player.py b/homeassistant/components/blackbird/media_player.py index c66bc4121..be0538a89 100644 --- a/homeassistant/components/blackbird/media_player.py +++ b/homeassistant/components/blackbird/media_player.py @@ -14,8 +14,6 @@ from homeassistant.const import ( STATE_ON) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyblackbird==0.5'] - _LOGGER = logging.getLogger(__name__) SUPPORT_BLACKBIRD = SUPPORT_TURN_ON | SUPPORT_TURN_OFF | SUPPORT_SELECT_SOURCE diff --git a/homeassistant/components/blink/__init__.py b/homeassistant/components/blink/__init__.py index 488209e36..397ee097c 100644 --- a/homeassistant/components/blink/__init__.py +++ b/homeassistant/components/blink/__init__.py @@ -10,8 +10,6 @@ from homeassistant.const import ( CONF_BINARY_SENSORS, CONF_SENSORS, CONF_FILENAME, CONF_MONITORED_CONDITIONS, TEMP_FAHRENHEIT) -REQUIREMENTS = ['blinkpy==0.13.1'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'blink' diff --git a/homeassistant/components/blink/alarm_control_panel.py b/homeassistant/components/blink/alarm_control_panel.py index 75e645dff..8cc89d90b 100644 --- a/homeassistant/components/blink/alarm_control_panel.py +++ b/homeassistant/components/blink/alarm_control_panel.py @@ -9,8 +9,6 @@ from . import BLINK_DATA, DEFAULT_ATTRIBUTION _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['blink'] - ICON = 'mdi:security' diff --git a/homeassistant/components/blink/binary_sensor.py b/homeassistant/components/blink/binary_sensor.py index 466b73caf..4c268989d 100644 --- a/homeassistant/components/blink/binary_sensor.py +++ b/homeassistant/components/blink/binary_sensor.py @@ -4,8 +4,6 @@ from homeassistant.const import CONF_MONITORED_CONDITIONS from . import BINARY_SENSORS, BLINK_DATA -DEPENDENCIES = ['blink'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the blink binary sensors.""" diff --git a/homeassistant/components/blink/camera.py b/homeassistant/components/blink/camera.py index 1da3080e3..d1301319a 100644 --- a/homeassistant/components/blink/camera.py +++ b/homeassistant/components/blink/camera.py @@ -7,8 +7,6 @@ from . import BLINK_DATA, DEFAULT_BRAND _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['blink'] - ATTR_VIDEO_CLIP = 'video' ATTR_IMAGE = 'image' diff --git a/homeassistant/components/blink/sensor.py b/homeassistant/components/blink/sensor.py index 0e97db9d7..6fb8be8e4 100644 --- a/homeassistant/components/blink/sensor.py +++ b/homeassistant/components/blink/sensor.py @@ -8,8 +8,6 @@ from . import BLINK_DATA, SENSORS _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['blink'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up a Blink sensor.""" diff --git a/homeassistant/components/blinksticklight/light.py b/homeassistant/components/blinksticklight/light.py index 0d4c7b736..8eab6afae 100644 --- a/homeassistant/components/blinksticklight/light.py +++ b/homeassistant/components/blinksticklight/light.py @@ -10,8 +10,6 @@ from homeassistant.const import CONF_NAME import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['blinkstick==1.1.8'] - _LOGGER = logging.getLogger(__name__) CONF_SERIAL = 'serial' diff --git a/homeassistant/components/blinkt/light.py b/homeassistant/components/blinkt/light.py index 57d191726..cb3e854b3 100644 --- a/homeassistant/components/blinkt/light.py +++ b/homeassistant/components/blinkt/light.py @@ -11,8 +11,6 @@ from homeassistant.components.light import ( from homeassistant.const import CONF_NAME import homeassistant.util.color as color_util -REQUIREMENTS = ['blinkt==0.1.0'] - _LOGGER = logging.getLogger(__name__) SUPPORT_BLINKT = (SUPPORT_BRIGHTNESS | SUPPORT_COLOR) diff --git a/homeassistant/components/blockchain/sensor.py b/homeassistant/components/blockchain/sensor.py index def1dc330..436e2979a 100644 --- a/homeassistant/components/blockchain/sensor.py +++ b/homeassistant/components/blockchain/sensor.py @@ -9,8 +9,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import (CONF_NAME, ATTR_ATTRIBUTION) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['python-blockchain-api==0.0.2'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by blockchain.info" diff --git a/homeassistant/components/bloomsky/binary_sensor.py b/homeassistant/components/bloomsky/binary_sensor.py index 8d4a89a01..b17c4e4c2 100644 --- a/homeassistant/components/bloomsky/binary_sensor.py +++ b/homeassistant/components/bloomsky/binary_sensor.py @@ -12,8 +12,6 @@ from . import BLOOMSKY _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['bloomsky'] - SENSOR_TYPES = { 'Rain': 'moisture', 'Night': None, diff --git a/homeassistant/components/bloomsky/camera.py b/homeassistant/components/bloomsky/camera.py index a2e1d8e2d..a748ff2b5 100644 --- a/homeassistant/components/bloomsky/camera.py +++ b/homeassistant/components/bloomsky/camera.py @@ -7,8 +7,6 @@ from homeassistant.components.camera import Camera from . import BLOOMSKY -DEPENDENCIES = ['bloomsky'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up access to BloomSky cameras.""" diff --git a/homeassistant/components/bloomsky/sensor.py b/homeassistant/components/bloomsky/sensor.py index 6909c57ee..e7d4bc5c8 100644 --- a/homeassistant/components/bloomsky/sensor.py +++ b/homeassistant/components/bloomsky/sensor.py @@ -12,8 +12,6 @@ from . import BLOOMSKY LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['bloomsky'] - # These are the available sensors SENSOR_TYPES = ['Temperature', 'Humidity', diff --git a/homeassistant/components/bluesound/media_player.py b/homeassistant/components/bluesound/media_player.py index c4cd3572e..080afeea2 100644 --- a/homeassistant/components/bluesound/media_player.py +++ b/homeassistant/components/bluesound/media_player.py @@ -29,8 +29,6 @@ from homeassistant.helpers.event import async_track_time_interval from homeassistant.util import Throttle import homeassistant.util.dt as dt_util -REQUIREMENTS = ['xmltodict==0.11.0'] - _LOGGER = logging.getLogger(__name__) ATTR_MASTER = 'master' diff --git a/homeassistant/components/bluetooth_le_tracker/device_tracker.py b/homeassistant/components/bluetooth_le_tracker/device_tracker.py index dfb5fa073..f1aab4e1f 100644 --- a/homeassistant/components/bluetooth_le_tracker/device_tracker.py +++ b/homeassistant/components/bluetooth_le_tracker/device_tracker.py @@ -10,8 +10,6 @@ import homeassistant.util.dt as dt_util _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pygatt[GATTTOOL]==3.2.0'] - BLE_PREFIX = 'BLE_' MIN_SEEN_NEW = 5 diff --git a/homeassistant/components/bluetooth_tracker/device_tracker.py b/homeassistant/components/bluetooth_tracker/device_tracker.py index 3a4aa8880..d464e87ce 100644 --- a/homeassistant/components/bluetooth_tracker/device_tracker.py +++ b/homeassistant/components/bluetooth_tracker/device_tracker.py @@ -13,8 +13,6 @@ import homeassistant.util.dt as dt_util _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pybluez==0.22', 'bt_proximity==0.1.2'] - BT_PREFIX = 'BT_' CONF_REQUEST_RSSI = 'request_rssi' diff --git a/homeassistant/components/bme280/sensor.py b/homeassistant/components/bme280/sensor.py index 73982ecc6..66b4ba672 100644 --- a/homeassistant/components/bme280/sensor.py +++ b/homeassistant/components/bme280/sensor.py @@ -13,9 +13,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle from homeassistant.util.temperature import celsius_to_fahrenheit -REQUIREMENTS = ['i2csense==0.0.4', - 'smbus-cffi==0.5.1'] - _LOGGER = logging.getLogger(__name__) CONF_I2C_ADDRESS = 'i2c_address' diff --git a/homeassistant/components/bme680/sensor.py b/homeassistant/components/bme680/sensor.py index 8f515cc46..73fe827be 100644 --- a/homeassistant/components/bme680/sensor.py +++ b/homeassistant/components/bme680/sensor.py @@ -13,9 +13,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity from homeassistant.util.temperature import celsius_to_fahrenheit -REQUIREMENTS = ['bme680==1.0.5', - 'smbus-cffi==0.5.1'] - _LOGGER = logging.getLogger(__name__) CONF_I2C_ADDRESS = 'i2c_address' diff --git a/homeassistant/components/bmw_connected_drive/__init__.py b/homeassistant/components/bmw_connected_drive/__init__.py index e1ac30120..10c586967 100644 --- a/homeassistant/components/bmw_connected_drive/__init__.py +++ b/homeassistant/components/bmw_connected_drive/__init__.py @@ -9,8 +9,6 @@ from homeassistant.helpers import discovery from homeassistant.helpers.event import track_utc_time_change import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['bimmer_connected==0.5.3'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'bmw_connected_drive' diff --git a/homeassistant/components/bmw_connected_drive/binary_sensor.py b/homeassistant/components/bmw_connected_drive/binary_sensor.py index deab15729..8769fcf7d 100644 --- a/homeassistant/components/bmw_connected_drive/binary_sensor.py +++ b/homeassistant/components/bmw_connected_drive/binary_sensor.py @@ -6,8 +6,6 @@ from homeassistant.const import LENGTH_KILOMETERS from . import DOMAIN as BMW_DOMAIN -DEPENDENCIES = ['bmw_connected_drive'] - _LOGGER = logging.getLogger(__name__) SENSOR_TYPES = { diff --git a/homeassistant/components/bmw_connected_drive/device_tracker.py b/homeassistant/components/bmw_connected_drive/device_tracker.py index 20e84e33e..229488186 100644 --- a/homeassistant/components/bmw_connected_drive/device_tracker.py +++ b/homeassistant/components/bmw_connected_drive/device_tracker.py @@ -5,8 +5,6 @@ from homeassistant.util import slugify from . import DOMAIN as BMW_DOMAIN -DEPENDENCIES = ['bmw_connected_drive'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bmw_connected_drive/lock.py b/homeassistant/components/bmw_connected_drive/lock.py index fe646dcd1..455e1427b 100644 --- a/homeassistant/components/bmw_connected_drive/lock.py +++ b/homeassistant/components/bmw_connected_drive/lock.py @@ -6,8 +6,6 @@ from homeassistant.const import STATE_LOCKED, STATE_UNLOCKED from . import DOMAIN as BMW_DOMAIN -DEPENDENCIES = ['bmw_connected_drive'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/bmw_connected_drive/sensor.py b/homeassistant/components/bmw_connected_drive/sensor.py index 03c03f01b..4d8b7adde 100644 --- a/homeassistant/components/bmw_connected_drive/sensor.py +++ b/homeassistant/components/bmw_connected_drive/sensor.py @@ -9,8 +9,6 @@ from homeassistant.helpers.icon import icon_for_battery_level from . import DOMAIN as BMW_DOMAIN -DEPENDENCIES = ['bmw_connected_drive'] - _LOGGER = logging.getLogger(__name__) ATTR_TO_HA_METRIC = { diff --git a/homeassistant/components/bom/camera.py b/homeassistant/components/bom/camera.py index d3e780340..87ffd4ab7 100644 --- a/homeassistant/components/bom/camera.py +++ b/homeassistant/components/bom/camera.py @@ -5,8 +5,6 @@ from homeassistant.components.camera import PLATFORM_SCHEMA, Camera from homeassistant.const import CONF_ID, CONF_NAME from homeassistant.helpers import config_validation as cv -REQUIREMENTS = ['bomradarloop==0.1.2'] - CONF_DELTA = 'delta' CONF_FRAMES = 'frames' CONF_LOCATION = 'location' diff --git a/homeassistant/components/braviatv/media_player.py b/homeassistant/components/braviatv/media_player.py index 45fdb63a4..637756100 100644 --- a/homeassistant/components/braviatv/media_player.py +++ b/homeassistant/components/braviatv/media_player.py @@ -15,8 +15,6 @@ from homeassistant.const import CONF_HOST, CONF_NAME, STATE_OFF, STATE_ON import homeassistant.helpers.config_validation as cv from homeassistant.util.json import load_json, save_json -REQUIREMENTS = ['braviarc-homeassistant==0.3.7.dev0'] - BRAVIA_CONFIG_FILE = 'bravia.conf' CLIENTID_PREFIX = 'HomeAssistant' diff --git a/homeassistant/components/broadlink/sensor.py b/homeassistant/components/broadlink/sensor.py index b3ce245a9..c542d8f55 100644 --- a/homeassistant/components/broadlink/sensor.py +++ b/homeassistant/components/broadlink/sensor.py @@ -14,8 +14,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['broadlink==0.9.0'] - _LOGGER = logging.getLogger(__name__) DEVICE_DEFAULT_NAME = 'Broadlink sensor' diff --git a/homeassistant/components/broadlink/switch.py b/homeassistant/components/broadlink/switch.py index 8695f7078..f2f7b4a5d 100644 --- a/homeassistant/components/broadlink/switch.py +++ b/homeassistant/components/broadlink/switch.py @@ -17,8 +17,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle, slugify from homeassistant.util.dt import utcnow -REQUIREMENTS = ['broadlink==0.9.0'] - _LOGGER = logging.getLogger(__name__) TIME_BETWEEN_UPDATES = timedelta(seconds=5) diff --git a/homeassistant/components/brottsplatskartan/sensor.py b/homeassistant/components/brottsplatskartan/sensor.py index f990dd1ab..c36c5c0ad 100644 --- a/homeassistant/components/brottsplatskartan/sensor.py +++ b/homeassistant/components/brottsplatskartan/sensor.py @@ -12,8 +12,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['brottsplatskartan==0.0.1'] - _LOGGER = logging.getLogger(__name__) CONF_AREA = 'area' diff --git a/homeassistant/components/brunt/cover.py b/homeassistant/components/brunt/cover.py index dc17cebce..f9455ae09 100644 --- a/homeassistant/components/brunt/cover.py +++ b/homeassistant/components/brunt/cover.py @@ -13,8 +13,6 @@ from homeassistant.components.cover import ( ) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['brunt==0.1.3'] - _LOGGER = logging.getLogger(__name__) COVER_FEATURES = SUPPORT_OPEN | SUPPORT_CLOSE | SUPPORT_SET_POSITION diff --git a/homeassistant/components/bt_home_hub_5/device_tracker.py b/homeassistant/components/bt_home_hub_5/device_tracker.py index 61853c0af..65f88e05d 100644 --- a/homeassistant/components/bt_home_hub_5/device_tracker.py +++ b/homeassistant/components/bt_home_hub_5/device_tracker.py @@ -8,8 +8,6 @@ from homeassistant.components.device_tracker import (DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST -REQUIREMENTS = ['bthomehub5-devicelist==0.1.1'] - _LOGGER = logging.getLogger(__name__) CONF_DEFAULT_IP = '192.168.1.254' diff --git a/homeassistant/components/bt_smarthub/device_tracker.py b/homeassistant/components/bt_smarthub/device_tracker.py index 5820feda5..adc873f56 100644 --- a/homeassistant/components/bt_smarthub/device_tracker.py +++ b/homeassistant/components/bt_smarthub/device_tracker.py @@ -8,8 +8,6 @@ from homeassistant.components.device_tracker import ( DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST -REQUIREMENTS = ['btsmarthub_devicelist==0.1.3'] - _LOGGER = logging.getLogger(__name__) CONF_DEFAULT_IP = '192.168.1.254' diff --git a/homeassistant/components/buienradar/sensor.py b/homeassistant/components/buienradar/sensor.py index 754873fa2..f3aaa9b75 100644 --- a/homeassistant/components/buienradar/sensor.py +++ b/homeassistant/components/buienradar/sensor.py @@ -17,8 +17,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import async_track_point_in_utc_time from homeassistant.util import dt as dt_util -REQUIREMENTS = ['buienradar==0.91'] - _LOGGER = logging.getLogger(__name__) MEASURED_LABEL = 'Measured' diff --git a/homeassistant/components/buienradar/weather.py b/homeassistant/components/buienradar/weather.py index 86dcb229a..7d77bec7c 100644 --- a/homeassistant/components/buienradar/weather.py +++ b/homeassistant/components/buienradar/weather.py @@ -13,8 +13,6 @@ from homeassistant.helpers import config_validation as cv # Reuse data and API logic from the sensor implementation from .sensor import BrData -REQUIREMENTS = ['buienradar==0.91'] - _LOGGER = logging.getLogger(__name__) DATA_CONDITION = 'buienradar_condition' diff --git a/homeassistant/components/caldav/calendar.py b/homeassistant/components/caldav/calendar.py index 65cb20811..446473c7f 100644 --- a/homeassistant/components/caldav/calendar.py +++ b/homeassistant/components/caldav/calendar.py @@ -12,8 +12,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle, dt -REQUIREMENTS = ['caldav==0.5.0'] - _LOGGER = logging.getLogger(__name__) CONF_DEVICE_ID = 'device_id' diff --git a/homeassistant/components/calendar/__init__.py b/homeassistant/components/calendar/__init__.py index aa9e3153f..73a779816 100644 --- a/homeassistant/components/calendar/__init__.py +++ b/homeassistant/components/calendar/__init__.py @@ -22,8 +22,6 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'calendar' -DEPENDENCIES = ['http'] - ENTITY_ID_FORMAT = DOMAIN + '.{}' SCAN_INTERVAL = timedelta(seconds=60) diff --git a/homeassistant/components/camera/__init__.py b/homeassistant/components/camera/__init__.py index 2ddab537a..1287de92f 100644 --- a/homeassistant/components/camera/__init__.py +++ b/homeassistant/components/camera/__init__.py @@ -36,8 +36,6 @@ import homeassistant.helpers.config_validation as cv from .const import DOMAIN, DATA_CAMERA_PREFS from .prefs import CameraPreferences -DEPENDENCIES = ['http'] - _LOGGER = logging.getLogger(__name__) SERVICE_ENABLE_MOTION = 'enable_motion_detection' diff --git a/homeassistant/components/canary/__init__.py b/homeassistant/components/canary/__init__.py index e53c7e22d..52b38f147 100644 --- a/homeassistant/components/canary/__init__.py +++ b/homeassistant/components/canary/__init__.py @@ -10,8 +10,6 @@ from homeassistant.const import CONF_USERNAME, CONF_PASSWORD, CONF_TIMEOUT from homeassistant.helpers import discovery from homeassistant.util import Throttle -REQUIREMENTS = ['py-canary==0.5.0'] - _LOGGER = logging.getLogger(__name__) NOTIFICATION_ID = 'canary_notification' diff --git a/homeassistant/components/canary/alarm_control_panel.py b/homeassistant/components/canary/alarm_control_panel.py index faa7d819a..7402d7855 100644 --- a/homeassistant/components/canary/alarm_control_panel.py +++ b/homeassistant/components/canary/alarm_control_panel.py @@ -8,8 +8,6 @@ from homeassistant.const import ( from . import DATA_CANARY -DEPENDENCIES = ['canary'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/canary/camera.py b/homeassistant/components/canary/camera.py index fc740a46f..33e126592 100644 --- a/homeassistant/components/canary/camera.py +++ b/homeassistant/components/canary/camera.py @@ -13,8 +13,6 @@ from homeassistant.util import Throttle from . import DATA_CANARY, DEFAULT_TIMEOUT -DEPENDENCIES = ['canary', 'ffmpeg'] - _LOGGER = logging.getLogger(__name__) CONF_FFMPEG_ARGUMENTS = 'ffmpeg_arguments' diff --git a/homeassistant/components/canary/sensor.py b/homeassistant/components/canary/sensor.py index fb3aaf78b..220abc9b3 100644 --- a/homeassistant/components/canary/sensor.py +++ b/homeassistant/components/canary/sensor.py @@ -6,8 +6,6 @@ from homeassistant.helpers.icon import icon_for_battery_level from . import DATA_CANARY -DEPENDENCIES = ['canary'] - SENSOR_VALUE_PRECISION = 2 ATTR_AIR_QUALITY = "air_quality" diff --git a/homeassistant/components/cast/__init__.py b/homeassistant/components/cast/__init__.py index 0ec3ac150..1a93020c2 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 afe29ae07..abd3281d1 100644 --- a/homeassistant/components/channels/media_player.py +++ b/homeassistant/components/channels/media_player.py @@ -15,8 +15,6 @@ from homeassistant.const import ( STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pychannels==1.0.0'] - _LOGGER = logging.getLogger(__name__) DATA_CHANNELS = 'channels' diff --git a/homeassistant/components/cisco_ios/device_tracker.py b/homeassistant/components/cisco_ios/device_tracker.py index d5a64626e..5eb039709 100644 --- a/homeassistant/components/cisco_ios/device_tracker.py +++ b/homeassistant/components/cisco_ios/device_tracker.py @@ -11,8 +11,6 @@ from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_USERNAME, \ _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pexpect==4.6.0'] - PLATFORM_SCHEMA = vol.All( PLATFORM_SCHEMA.extend({ vol.Required(CONF_HOST): cv.string, diff --git a/homeassistant/components/cisco_mobility_express/device_tracker.py b/homeassistant/components/cisco_mobility_express/device_tracker.py index a722a9943..4af94588d 100644 --- a/homeassistant/components/cisco_mobility_express/device_tracker.py +++ b/homeassistant/components/cisco_mobility_express/device_tracker.py @@ -9,10 +9,6 @@ from homeassistant.components.device_tracker import ( from homeassistant.const import ( CONF_HOST, CONF_USERNAME, CONF_PASSWORD, CONF_SSL, CONF_VERIFY_SSL) - -REQUIREMENTS = ['ciscomobilityexpress==0.1.5'] - - _LOGGER = logging.getLogger(__name__) DEFAULT_SSL = False diff --git a/homeassistant/components/cisco_webex_teams/notify.py b/homeassistant/components/cisco_webex_teams/notify.py index f893d4071..22f8679f6 100644 --- a/homeassistant/components/cisco_webex_teams/notify.py +++ b/homeassistant/components/cisco_webex_teams/notify.py @@ -8,8 +8,6 @@ from homeassistant.components.notify import ( from homeassistant.const import (CONF_TOKEN) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['webexteamssdk==1.1.1'] - _LOGGER = logging.getLogger(__name__) CONF_ROOM_ID = 'room_id' diff --git a/homeassistant/components/ciscospark/notify.py b/homeassistant/components/ciscospark/notify.py index 2eccb233a..320c342b1 100644 --- a/homeassistant/components/ciscospark/notify.py +++ b/homeassistant/components/ciscospark/notify.py @@ -9,8 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.notify import (ATTR_TITLE, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['ciscosparkapi==0.4.2'] - _LOGGER = logging.getLogger(__name__) CONF_ROOMID = 'roomid' diff --git a/homeassistant/components/clementine/media_player.py b/homeassistant/components/clementine/media_player.py index 65c6be198..fc6e27be1 100644 --- a/homeassistant/components/clementine/media_player.py +++ b/homeassistant/components/clementine/media_player.py @@ -16,8 +16,6 @@ from homeassistant.const import ( STATE_PAUSED, STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-clementine-remote==1.0.1'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Clementine Remote' diff --git a/homeassistant/components/cloud/__init__.py b/homeassistant/components/cloud/__init__.py index 41045ba1f..ee0cd0c00 100644 --- a/homeassistant/components/cloud/__init__.py +++ b/homeassistant/components/cloud/__init__.py @@ -24,9 +24,6 @@ from .const import ( CONF_USER_POOL_ID, DOMAIN, MODE_DEV, MODE_PROD) from .prefs import CloudPreferences -REQUIREMENTS = ['hass-nabucasa==0.11'] -DEPENDENCIES = ['http'] - _LOGGER = logging.getLogger(__name__) DEFAULT_MODE = MODE_PROD diff --git a/homeassistant/components/cloud/binary_sensor.py b/homeassistant/components/cloud/binary_sensor.py index 19a6528e3..3e4aaf9cc 100644 --- a/homeassistant/components/cloud/binary_sensor.py +++ b/homeassistant/components/cloud/binary_sensor.py @@ -6,8 +6,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_connect from .const import DISPATCHER_REMOTE_UPDATE, DOMAIN -DEPENDENCIES = ['cloud'] - WAIT_UNTIL_CHANGE = 3 diff --git a/homeassistant/components/cloudflare/__init__.py b/homeassistant/components/cloudflare/__init__.py index 363e7c5ee..ce88f820f 100644 --- a/homeassistant/components/cloudflare/__init__.py +++ b/homeassistant/components/cloudflare/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import CONF_API_KEY, CONF_EMAIL, CONF_ZONE import homeassistant.helpers.config_validation as cv from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['pycfdns==0.0.1'] - _LOGGER = logging.getLogger(__name__) CONF_RECORDS = 'records' diff --git a/homeassistant/components/cmus/media_player.py b/homeassistant/components/cmus/media_player.py index e5134508f..4f1dfc505 100644 --- a/homeassistant/components/cmus/media_player.py +++ b/homeassistant/components/cmus/media_player.py @@ -14,8 +14,6 @@ from homeassistant.const import ( STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pycmus==0.1.1'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'cmus' diff --git a/homeassistant/components/co2signal/sensor.py b/homeassistant/components/co2signal/sensor.py index b9ae5e26e..990521d04 100644 --- a/homeassistant/components/co2signal/sensor.py +++ b/homeassistant/components/co2signal/sensor.py @@ -11,8 +11,6 @@ from homeassistant.helpers.entity import Entity CONF_COUNTRY_CODE = "country_code" -REQUIREMENTS = ['co2signal==0.4.2'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = 'Data provided by CO2signal' diff --git a/homeassistant/components/coinbase/__init__.py b/homeassistant/components/coinbase/__init__.py index 40d04eadb..21efd5f9b 100644 --- a/homeassistant/components/coinbase/__init__.py +++ b/homeassistant/components/coinbase/__init__.py @@ -9,8 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform from homeassistant.util import Throttle -REQUIREMENTS = ['coinbase==2.1.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'coinbase' diff --git a/homeassistant/components/coinbase/sensor.py b/homeassistant/components/coinbase/sensor.py index 2483d46b3..9470999ef 100644 --- a/homeassistant/components/coinbase/sensor.py +++ b/homeassistant/components/coinbase/sensor.py @@ -17,7 +17,6 @@ DEFAULT_COIN_ICON = 'mdi:coin' ATTRIBUTION = "Data provided by coinbase.com" DATA_COINBASE = 'coinbase_cache' -DEPENDENCIES = ['coinbase'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/coinmarketcap/sensor.py b/homeassistant/components/coinmarketcap/sensor.py index a39f11b53..4d8af5a72 100644 --- a/homeassistant/components/coinmarketcap/sensor.py +++ b/homeassistant/components/coinmarketcap/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import ( ATTR_ATTRIBUTION, CONF_DISPLAY_CURRENCY) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['coinmarketcap==5.0.3'] - _LOGGER = logging.getLogger(__name__) ATTR_VOLUME_24H = 'volume_24h' diff --git a/homeassistant/components/comfoconnect/__init__.py b/homeassistant/components/comfoconnect/__init__.py index 64ebec185..3c50f3fb7 100644 --- a/homeassistant/components/comfoconnect/__init__.py +++ b/homeassistant/components/comfoconnect/__init__.py @@ -9,8 +9,6 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv from homeassistant.helpers.dispatcher import dispatcher_send -REQUIREMENTS = ['pycomfoconnect==0.3'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'comfoconnect' diff --git a/homeassistant/components/comfoconnect/fan.py b/homeassistant/components/comfoconnect/fan.py index 88dcffcfd..56175f0bc 100644 --- a/homeassistant/components/comfoconnect/fan.py +++ b/homeassistant/components/comfoconnect/fan.py @@ -10,8 +10,6 @@ from . import DOMAIN, SIGNAL_COMFOCONNECT_UPDATE_RECEIVED, ComfoConnectBridge _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['comfoconnect'] - SPEED_MAPPING = { 0: SPEED_OFF, 1: SPEED_LOW, diff --git a/homeassistant/components/comfoconnect/sensor.py b/homeassistant/components/comfoconnect/sensor.py index edb96b8d2..db2a9393e 100644 --- a/homeassistant/components/comfoconnect/sensor.py +++ b/homeassistant/components/comfoconnect/sensor.py @@ -12,8 +12,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['comfoconnect'] - SENSOR_TYPES = {} diff --git a/homeassistant/components/concord232/alarm_control_panel.py b/homeassistant/components/concord232/alarm_control_panel.py index a209fba93..c56e7e715 100644 --- a/homeassistant/components/concord232/alarm_control_panel.py +++ b/homeassistant/components/concord232/alarm_control_panel.py @@ -12,8 +12,6 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_PORT, CONF_CODE, CONF_MODE, STATE_ALARM_ARMED_AWAY, STATE_ALARM_ARMED_HOME, STATE_ALARM_DISARMED) -REQUIREMENTS = ['concord232==0.15'] - _LOGGER = logging.getLogger(__name__) DEFAULT_HOST = 'localhost' diff --git a/homeassistant/components/concord232/binary_sensor.py b/homeassistant/components/concord232/binary_sensor.py index c1a31eb9e..ae464da97 100644 --- a/homeassistant/components/concord232/binary_sensor.py +++ b/homeassistant/components/concord232/binary_sensor.py @@ -10,8 +10,6 @@ from homeassistant.components.binary_sensor import ( from homeassistant.const import (CONF_HOST, CONF_PORT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['concord232==0.15'] - _LOGGER = logging.getLogger(__name__) CONF_EXCLUDE_ZONES = 'exclude_zones' diff --git a/homeassistant/components/config/__init__.py b/homeassistant/components/config/__init__.py index 7807c5273..3752d5d37 100644 --- a/homeassistant/components/config/__init__.py +++ b/homeassistant/components/config/__init__.py @@ -12,7 +12,6 @@ from homeassistant.components.http import HomeAssistantView from homeassistant.util.yaml import load_yaml, dump DOMAIN = 'config' -DEPENDENCIES = ['http'] SECTIONS = ( 'area_registry', 'auth', diff --git a/homeassistant/components/conversation/__init__.py b/homeassistant/components/conversation/__init__.py index bb2d692f2..bd577127f 100644 --- a/homeassistant/components/conversation/__init__.py +++ b/homeassistant/components/conversation/__init__.py @@ -21,7 +21,6 @@ _LOGGER = logging.getLogger(__name__) ATTR_TEXT = 'text' -DEPENDENCIES = ['http'] DOMAIN = 'conversation' REGEX_TURN_COMMAND = re.compile(r'turn (?P(?: |\w)+) (?P\w+)') diff --git a/homeassistant/components/coolmaster/climate.py b/homeassistant/components/coolmaster/climate.py index 77bb9a6b2..d6402bd89 100644 --- a/homeassistant/components/coolmaster/climate.py +++ b/homeassistant/components/coolmaster/climate.py @@ -13,8 +13,6 @@ from homeassistant.const import ( ATTR_TEMPERATURE, CONF_HOST, CONF_PORT, TEMP_CELSIUS, TEMP_FAHRENHEIT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pycoolmasternet==0.0.4'] - SUPPORT_FLAGS = (SUPPORT_TARGET_TEMPERATURE | SUPPORT_FAN_MODE | SUPPORT_OPERATION_MODE | SUPPORT_ON_OFF) diff --git a/homeassistant/components/cover/__init__.py b/homeassistant/components/cover/__init__.py index 9bb1aacfa..8609d3c9c 100644 --- a/homeassistant/components/cover/__init__.py +++ b/homeassistant/components/cover/__init__.py @@ -22,7 +22,6 @@ from homeassistant.const import ( _LOGGER = logging.getLogger(__name__) DOMAIN = 'cover' -DEPENDENCIES = ['group'] SCAN_INTERVAL = timedelta(seconds=15) GROUP_NAME_ALL_COVERS = 'all covers' diff --git a/homeassistant/components/cppm_tracker/device_tracker.py b/homeassistant/components/cppm_tracker/device_tracker.py index 31d812269..608ce6dad 100755 --- a/homeassistant/components/cppm_tracker/device_tracker.py +++ b/homeassistant/components/cppm_tracker/device_tracker.py @@ -11,8 +11,6 @@ from homeassistant.const import ( CONF_HOST, CONF_API_KEY ) -REQUIREMENTS = ['clearpasspy==1.0.2'] - SCAN_INTERVAL = timedelta(seconds=120) CLIENT_ID = 'client_id' diff --git a/homeassistant/components/cpuspeed/sensor.py b/homeassistant/components/cpuspeed/sensor.py index 98d22c20d..ef9cb218c 100644 --- a/homeassistant/components/cpuspeed/sensor.py +++ b/homeassistant/components/cpuspeed/sensor.py @@ -8,8 +8,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import CONF_NAME from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['py-cpuinfo==5.0.0'] - _LOGGER = logging.getLogger(__name__) ATTR_BRAND = 'Brand' diff --git a/homeassistant/components/crimereports/sensor.py b/homeassistant/components/crimereports/sensor.py index 139346755..5e25d8002 100644 --- a/homeassistant/components/crimereports/sensor.py +++ b/homeassistant/components/crimereports/sensor.py @@ -16,8 +16,6 @@ from homeassistant.util.distance import convert from homeassistant.util.dt import now import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['crimereports==1.0.1'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'crimereports' diff --git a/homeassistant/components/cups/sensor.py b/homeassistant/components/cups/sensor.py index 97f894aed..cf0ba5f7f 100644 --- a/homeassistant/components/cups/sensor.py +++ b/homeassistant/components/cups/sensor.py @@ -10,8 +10,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import CONF_HOST, CONF_PORT from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pycups==1.9.73'] - _LOGGER = logging.getLogger(__name__) ATTR_DEVICE_URI = 'device_uri' diff --git a/homeassistant/components/daikin/__init__.py b/homeassistant/components/daikin/__init__.py index 8e96ccb87..fc15ebea7 100644 --- a/homeassistant/components/daikin/__init__.py +++ b/homeassistant/components/daikin/__init__.py @@ -17,8 +17,6 @@ from homeassistant.util import Throttle from . import config_flow # noqa pylint_disable=unused-import -REQUIREMENTS = ['pydaikin==1.4.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'daikin' diff --git a/homeassistant/components/danfoss_air/__init__.py b/homeassistant/components/danfoss_air/__init__.py index f4a7b92c1..a340b94e9 100644 --- a/homeassistant/components/danfoss_air/__init__.py +++ b/homeassistant/components/danfoss_air/__init__.py @@ -9,8 +9,6 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['pydanfossair==0.0.7'] - _LOGGER = logging.getLogger(__name__) DANFOSS_AIR_PLATFORMS = ['sensor', 'binary_sensor', 'switch'] diff --git a/homeassistant/components/darksky/sensor.py b/homeassistant/components/darksky/sensor.py index 6aee3457a..63c2f782d 100644 --- a/homeassistant/components/darksky/sensor.py +++ b/homeassistant/components/darksky/sensor.py @@ -14,8 +14,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['python-forecastio==1.4.0'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Powered by Dark Sky" diff --git a/homeassistant/components/darksky/weather.py b/homeassistant/components/darksky/weather.py index 5b3db4312..dd945e7b0 100644 --- a/homeassistant/components/darksky/weather.py +++ b/homeassistant/components/darksky/weather.py @@ -16,8 +16,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle from homeassistant.util.pressure import convert as convert_pressure -REQUIREMENTS = ['python-forecastio==1.4.0'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Powered by Dark Sky" diff --git a/homeassistant/components/datadog/__init__.py b/homeassistant/components/datadog/__init__.py index 3b519514d..a59d82830 100644 --- a/homeassistant/components/datadog/__init__.py +++ b/homeassistant/components/datadog/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import ( from homeassistant.helpers import state as state_helper import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['datadog==0.15.0'] - _LOGGER = logging.getLogger(__name__) CONF_RATE = 'rate' diff --git a/homeassistant/components/deconz/__init__.py b/homeassistant/components/deconz/__init__.py index 807f82821..153e654f3 100644 --- a/homeassistant/components/deconz/__init__.py +++ b/homeassistant/components/deconz/__init__.py @@ -13,8 +13,6 @@ from .const import ( CONF_MASTER_GATEWAY, DEFAULT_PORT, DOMAIN, _LOGGER) from .gateway import DeconzGateway -REQUIREMENTS = ['pydeconz==54'] - CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({ vol.Optional(CONF_API_KEY): cv.string, diff --git a/homeassistant/components/deconz/binary_sensor.py b/homeassistant/components/deconz/binary_sensor.py index 70de1fd7c..fbb15abc7 100644 --- a/homeassistant/components/deconz/binary_sensor.py +++ b/homeassistant/components/deconz/binary_sensor.py @@ -8,8 +8,6 @@ from .const import ATTR_DARK, ATTR_ON, NEW_SENSOR from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] - ATTR_ORIENTATION = 'orientation' ATTR_TILTANGLE = 'tiltangle' ATTR_VIBRATIONSTRENGTH = 'vibrationstrength' diff --git a/homeassistant/components/deconz/climate.py b/homeassistant/components/deconz/climate.py index c4327d3c4..c4a021a80 100644 --- a/homeassistant/components/deconz/climate.py +++ b/homeassistant/components/deconz/climate.py @@ -11,8 +11,6 @@ from .const import ATTR_OFFSET, ATTR_VALVE, NEW_SENSOR from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] - async def async_setup_entry(hass, config_entry, async_add_entities): """Set up the deCONZ climate devices. diff --git a/homeassistant/components/deconz/cover.py b/homeassistant/components/deconz/cover.py index 903c1160e..45a1b0c67 100644 --- a/homeassistant/components/deconz/cover.py +++ b/homeassistant/components/deconz/cover.py @@ -9,8 +9,6 @@ from .const import COVER_TYPES, DAMPERS, NEW_LIGHT, WINDOW_COVERS from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] - ZIGBEE_SPEC = ['lumi.curtain'] diff --git a/homeassistant/components/deconz/light.py b/homeassistant/components/deconz/light.py index b5a2b075f..7514162fe 100644 --- a/homeassistant/components/deconz/light.py +++ b/homeassistant/components/deconz/light.py @@ -12,8 +12,6 @@ from .const import COVER_TYPES, NEW_GROUP, NEW_LIGHT, SWITCH_TYPES from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/deconz/scene.py b/homeassistant/components/deconz/scene.py index 1ae1e079d..d2e7f6719 100644 --- a/homeassistant/components/deconz/scene.py +++ b/homeassistant/components/deconz/scene.py @@ -6,8 +6,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_connect from .const import NEW_SCENE from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/deconz/sensor.py b/homeassistant/components/deconz/sensor.py index 7c3109e1f..9f1e87db4 100644 --- a/homeassistant/components/deconz/sensor.py +++ b/homeassistant/components/deconz/sensor.py @@ -9,8 +9,6 @@ from .const import ATTR_DARK, ATTR_ON, NEW_SENSOR from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] - ATTR_CURRENT = 'current' ATTR_DAYLIGHT = 'daylight' ATTR_EVENT_ID = 'event_id' diff --git a/homeassistant/components/deconz/switch.py b/homeassistant/components/deconz/switch.py index b9f959766..c399f5da1 100644 --- a/homeassistant/components/deconz/switch.py +++ b/homeassistant/components/deconz/switch.py @@ -7,8 +7,6 @@ from .const import NEW_LIGHT, POWER_PLUGS, SIRENS from .deconz_device import DeconzDevice from .gateway import get_gateway_from_config_entry -DEPENDENCIES = ['deconz'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/decora/light.py b/homeassistant/components/decora/light.py index fc8b2859c..2f6c050b7 100644 --- a/homeassistant/components/decora/light.py +++ b/homeassistant/components/decora/light.py @@ -12,8 +12,6 @@ from homeassistant.components.light import ( PLATFORM_SCHEMA) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['decora==0.6', 'bluepy==1.1.4'] - _LOGGER = logging.getLogger(__name__) SUPPORT_DECORA_LED = (SUPPORT_BRIGHTNESS) diff --git a/homeassistant/components/decora_wifi/light.py b/homeassistant/components/decora_wifi/light.py index b7be6bffb..390af765b 100644 --- a/homeassistant/components/decora_wifi/light.py +++ b/homeassistant/components/decora_wifi/light.py @@ -12,8 +12,6 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['decora_wifi==1.3'] - _LOGGER = logging.getLogger(__name__) # Validation of the user's configuration diff --git a/homeassistant/components/default_config/__init__.py b/homeassistant/components/default_config/__init__.py index 674389388..273513262 100644 --- a/homeassistant/components/default_config/__init__.py +++ b/homeassistant/components/default_config/__init__.py @@ -5,26 +5,6 @@ except ImportError: av = None DOMAIN = 'default_config' -DEPENDENCIES = [ - 'automation', - 'cloud', - 'config', - 'conversation', - 'frontend', - 'history', - 'logbook', - 'map', - 'mobile_app', - 'person', - 'script', - 'sun', - 'system_health', - 'updater', - 'zeroconf', -] -# Only automatically set up the stream component when dependency installed -if av is not None: - DEPENDENCIES.append('stream') async def async_setup(hass, config): diff --git a/homeassistant/components/deluge/sensor.py b/homeassistant/components/deluge/sensor.py index 32b1c16a4..1002ae510 100644 --- a/homeassistant/components/deluge/sensor.py +++ b/homeassistant/components/deluge/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['deluge-client==1.4.0'] - _LOGGER = logging.getLogger(__name__) _THROTTLED_REFRESH = None diff --git a/homeassistant/components/deluge/switch.py b/homeassistant/components/deluge/switch.py index d7c60bd96..d72ce9a53 100644 --- a/homeassistant/components/deluge/switch.py +++ b/homeassistant/components/deluge/switch.py @@ -11,8 +11,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import ToggleEntity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['deluge-client==1.4.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Deluge Switch' diff --git a/homeassistant/components/demo/__init__.py b/homeassistant/components/demo/__init__.py index 354f0c0e3..50d1eebdc 100644 --- a/homeassistant/components/demo/__init__.py +++ b/homeassistant/components/demo/__init__.py @@ -7,7 +7,6 @@ from homeassistant import bootstrap import homeassistant.core as ha from homeassistant.const import ATTR_ENTITY_ID, CONF_PLATFORM -DEPENDENCIES = ['conversation', 'zone'] DOMAIN = 'demo' COMPONENTS_WITH_DEMO_PLATFORM = [ diff --git a/homeassistant/components/denonavr/media_player.py b/homeassistant/components/denonavr/media_player.py index 0adafe4f4..da416ce80 100644 --- a/homeassistant/components/denonavr/media_player.py +++ b/homeassistant/components/denonavr/media_player.py @@ -18,8 +18,6 @@ from homeassistant.const import ( STATE_PAUSED, STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['denonavr==0.7.8'] - _LOGGER = logging.getLogger(__name__) ATTR_SOUND_MODE_RAW = 'sound_mode_raw' diff --git a/homeassistant/components/deutsche_bahn/sensor.py b/homeassistant/components/deutsche_bahn/sensor.py index 41584b256..9c7518eb8 100644 --- a/homeassistant/components/deutsche_bahn/sensor.py +++ b/homeassistant/components/deutsche_bahn/sensor.py @@ -9,8 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity import homeassistant.util.dt as dt_util -REQUIREMENTS = ['schiene==0.23'] - _LOGGER = logging.getLogger(__name__) CONF_DESTINATION = 'to' diff --git a/homeassistant/components/device_sun_light_trigger/__init__.py b/homeassistant/components/device_sun_light_trigger/__init__.py index 00adefc6b..945f83686 100644 --- a/homeassistant/components/device_sun_light_trigger/__init__.py +++ b/homeassistant/components/device_sun_light_trigger/__init__.py @@ -17,8 +17,6 @@ from homeassistant.helpers.sun import is_up, get_astral_event_next import homeassistant.helpers.config_validation as cv DOMAIN = 'device_sun_light_trigger' -DEPENDENCIES = ['light', 'device_tracker', 'group'] - CONF_DEVICE_GROUP = 'device_group' CONF_DISABLE_TURN_OFF = 'disable_turn_off' CONF_LIGHT_GROUP = 'light_group' diff --git a/homeassistant/components/device_tracker/__init__.py b/homeassistant/components/device_tracker/__init__.py index 42d301721..60dac103a 100644 --- a/homeassistant/components/device_tracker/__init__.py +++ b/homeassistant/components/device_tracker/__init__.py @@ -35,8 +35,6 @@ from homeassistant.const import ( _LOGGER = logging.getLogger(__name__) DOMAIN = 'device_tracker' -DEPENDENCIES = ['zone', 'group'] - GROUP_NAME_ALL_DEVICES = 'all devices' ENTITY_ID_ALL_DEVICES = group.ENTITY_ID_FORMAT.format('all_devices') diff --git a/homeassistant/components/dht/sensor.py b/homeassistant/components/dht/sensor.py index 719c2525f..d544bfa74 100644 --- a/homeassistant/components/dht/sensor.py +++ b/homeassistant/components/dht/sensor.py @@ -12,8 +12,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle from homeassistant.util.temperature import celsius_to_fahrenheit -REQUIREMENTS = ['Adafruit-DHT==1.4.0'] - _LOGGER = logging.getLogger(__name__) CONF_PIN = 'pin' diff --git a/homeassistant/components/dialogflow/__init__.py b/homeassistant/components/dialogflow/__init__.py index 1536fe3d2..a6134d4b1 100644 --- a/homeassistant/components/dialogflow/__init__.py +++ b/homeassistant/components/dialogflow/__init__.py @@ -10,7 +10,6 @@ from homeassistant.helpers import intent, template, config_entry_flow _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['webhook'] DOMAIN = 'dialogflow' SOURCE = "Home Assistant Dialogflow" diff --git a/homeassistant/components/digital_ocean/__init__.py b/homeassistant/components/digital_ocean/__init__.py index 7975a6eea..9e034b242 100644 --- a/homeassistant/components/digital_ocean/__init__.py +++ b/homeassistant/components/digital_ocean/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import CONF_ACCESS_TOKEN from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-digitalocean==1.13.2'] - _LOGGER = logging.getLogger(__name__) ATTR_CREATED_AT = 'created_at' diff --git a/homeassistant/components/digital_ocean/binary_sensor.py b/homeassistant/components/digital_ocean/binary_sensor.py index d496a0916..83406247a 100644 --- a/homeassistant/components/digital_ocean/binary_sensor.py +++ b/homeassistant/components/digital_ocean/binary_sensor.py @@ -17,8 +17,6 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Droplet' DEFAULT_DEVICE_CLASS = 'moving' -DEPENDENCIES = ['digital_ocean'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_DROPLETS): vol.All(cv.ensure_list, [cv.string]), }) diff --git a/homeassistant/components/digital_ocean/switch.py b/homeassistant/components/digital_ocean/switch.py index bc4a6a29b..8016ccef0 100644 --- a/homeassistant/components/digital_ocean/switch.py +++ b/homeassistant/components/digital_ocean/switch.py @@ -14,8 +14,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['digital_ocean'] - DEFAULT_NAME = 'Droplet' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/digitalloggers/switch.py b/homeassistant/components/digitalloggers/switch.py index 89973cfad..4d1a87c44 100644 --- a/homeassistant/components/digitalloggers/switch.py +++ b/homeassistant/components/digitalloggers/switch.py @@ -10,8 +10,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['dlipower==0.7.165'] - _LOGGER = logging.getLogger(__name__) CONF_CYCLETIME = 'cycletime' diff --git a/homeassistant/components/directv/media_player.py b/homeassistant/components/directv/media_player.py index 3a30282bd..aaffd44d5 100644 --- a/homeassistant/components/directv/media_player.py +++ b/homeassistant/components/directv/media_player.py @@ -15,8 +15,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['directpy==0.5'] - _LOGGER = logging.getLogger(__name__) ATTR_MEDIA_CURRENTLY_RECORDING = 'media_currently_recording' diff --git a/homeassistant/components/discogs/sensor.py b/homeassistant/components/discogs/sensor.py index f8d66688b..f9f821668 100644 --- a/homeassistant/components/discogs/sensor.py +++ b/homeassistant/components/discogs/sensor.py @@ -12,8 +12,6 @@ from homeassistant.helpers.aiohttp_client import SERVER_SOFTWARE import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['discogs_client==2.2.1'] - _LOGGER = logging.getLogger(__name__) ATTR_IDENTITY = 'identity' diff --git a/homeassistant/components/discord/notify.py b/homeassistant/components/discord/notify.py index cb6fc8329..faf79d14e 100644 --- a/homeassistant/components/discord/notify.py +++ b/homeassistant/components/discord/notify.py @@ -12,8 +12,6 @@ from homeassistant.components.notify import (ATTR_DATA, ATTR_TARGET, _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['discord.py==0.16.12'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_TOKEN): cv.string }) diff --git a/homeassistant/components/discovery/__init__.py b/homeassistant/components/discovery/__init__.py index 8e3a350c5..7490b5309 100644 --- a/homeassistant/components/discovery/__init__.py +++ b/homeassistant/components/discovery/__init__.py @@ -20,8 +20,6 @@ from homeassistant.helpers.event import async_track_point_in_utc_time from homeassistant.helpers.discovery import async_load_platform, async_discover import homeassistant.util.dt as dt_util -REQUIREMENTS = ['netdisco==2.6.0'] - DOMAIN = 'discovery' SCAN_INTERVAL = timedelta(seconds=300) diff --git a/homeassistant/components/dlib_face_detect/image_processing.py b/homeassistant/components/dlib_face_detect/image_processing.py index 49fbfadff..0bc657a61 100644 --- a/homeassistant/components/dlib_face_detect/image_processing.py +++ b/homeassistant/components/dlib_face_detect/image_processing.py @@ -8,8 +8,6 @@ from homeassistant.components.image_processing import PLATFORM_SCHEMA # noqa from homeassistant.components.image_processing import ( ImageProcessingFaceEntity, CONF_SOURCE, CONF_ENTITY_ID, CONF_NAME) -REQUIREMENTS = ['face_recognition==1.2.3'] - _LOGGER = logging.getLogger(__name__) ATTR_LOCATION = 'location' diff --git a/homeassistant/components/dlib_face_identify/image_processing.py b/homeassistant/components/dlib_face_identify/image_processing.py index a3b912351..569b1ecec 100644 --- a/homeassistant/components/dlib_face_identify/image_processing.py +++ b/homeassistant/components/dlib_face_identify/image_processing.py @@ -10,8 +10,6 @@ from homeassistant.components.image_processing import ( CONF_NAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['face_recognition==1.2.3'] - _LOGGER = logging.getLogger(__name__) ATTR_NAME = 'name' diff --git a/homeassistant/components/dlink/switch.py b/homeassistant/components/dlink/switch.py index 812fd3882..7164bb231 100644 --- a/homeassistant/components/dlink/switch.py +++ b/homeassistant/components/dlink/switch.py @@ -12,8 +12,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.util import dt as dt_util -REQUIREMENTS = ['pyW215==0.6.0'] - _LOGGER = logging.getLogger(__name__) ATTR_TOTAL_CONSUMPTION = 'total_consumption' diff --git a/homeassistant/components/dlna_dmr/media_player.py b/homeassistant/components/dlna_dmr/media_player.py index 54c19f70e..6f29bd65d 100644 --- a/homeassistant/components/dlna_dmr/media_player.py +++ b/homeassistant/components/dlna_dmr/media_player.py @@ -27,8 +27,6 @@ from homeassistant.helpers.typing import HomeAssistantType import homeassistant.helpers.config_validation as cv from homeassistant.util import get_local_ip -REQUIREMENTS = ['async-upnp-client==0.14.7'] - _LOGGER = logging.getLogger(__name__) DLNA_DMR_DATA = 'dlna_dmr' diff --git a/homeassistant/components/dnsip/sensor.py b/homeassistant/components/dnsip/sensor.py index 13c9be7bb..976abb140 100644 --- a/homeassistant/components/dnsip/sensor.py +++ b/homeassistant/components/dnsip/sensor.py @@ -8,8 +8,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['aiodns==1.1.1'] - _LOGGER = logging.getLogger(__name__) CONF_NAME = 'name' diff --git a/homeassistant/components/dominos/__init__.py b/homeassistant/components/dominos/__init__.py index 1c8966f3b..3c5cb3ed6 100644 --- a/homeassistant/components/dominos/__init__.py +++ b/homeassistant/components/dominos/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.entity_component import EntityComponent from homeassistant.util import Throttle -REQUIREMENTS = ['pizzapi==0.0.3'] - _LOGGER = logging.getLogger(__name__) # The domain of your component. Should be equal to the name of your component. @@ -34,8 +32,6 @@ ATTR_ORDER_CODES = 'codes' MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=10) MIN_TIME_BETWEEN_STORE_UPDATES = timedelta(minutes=3330) -DEPENDENCIES = ['http'] - _ORDERS_SCHEMA = vol.Schema({ vol.Required(ATTR_ORDER_NAME): cv.string, vol.Required(ATTR_ORDER_CODES): vol.All(cv.ensure_list, [cv.string]), diff --git a/homeassistant/components/doorbird/__init__.py b/homeassistant/components/doorbird/__init__.py index 25a2c5caf..477d96770 100644 --- a/homeassistant/components/doorbird/__init__.py +++ b/homeassistant/components/doorbird/__init__.py @@ -11,8 +11,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.util import dt as dt_util, slugify -REQUIREMENTS = ['doorbirdpy==2.0.8'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'doorbird' diff --git a/homeassistant/components/doorbird/camera.py b/homeassistant/components/doorbird/camera.py index a93b0fbf1..9a20a91c7 100644 --- a/homeassistant/components/doorbird/camera.py +++ b/homeassistant/components/doorbird/camera.py @@ -11,8 +11,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession from . import DOMAIN as DOORBIRD_DOMAIN -DEPENDENCIES = ['doorbird'] - _CAMERA_LAST_VISITOR = "{} Last Ring" _CAMERA_LAST_MOTION = "{} Last Motion" _CAMERA_LIVE = "{} Live" diff --git a/homeassistant/components/doorbird/switch.py b/homeassistant/components/doorbird/switch.py index ba6f96660..f3b1f5f05 100644 --- a/homeassistant/components/doorbird/switch.py +++ b/homeassistant/components/doorbird/switch.py @@ -6,8 +6,6 @@ from homeassistant.components.switch import SwitchDevice from . import DOMAIN as DOORBIRD_DOMAIN -DEPENDENCIES = ['doorbird'] - _LOGGER = logging.getLogger(__name__) IR_RELAY = '__ir_light__' diff --git a/homeassistant/components/dovado/__init__.py b/homeassistant/components/dovado/__init__.py index df2eed301..2a240c2a7 100644 --- a/homeassistant/components/dovado/__init__.py +++ b/homeassistant/components/dovado/__init__.py @@ -12,8 +12,6 @@ from homeassistant.util import Throttle _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['dovado==0.4.1'] - DOMAIN = 'dovado' CONFIG_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/dovado/notify.py b/homeassistant/components/dovado/notify.py index 59827529e..f9d9e5574 100644 --- a/homeassistant/components/dovado/notify.py +++ b/homeassistant/components/dovado/notify.py @@ -8,8 +8,6 @@ from . import DOMAIN as DOVADO_DOMAIN _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['dovado'] - def get_service(hass, config, discovery_info=None): """Get the Dovado Router SMS notification service.""" diff --git a/homeassistant/components/dovado/sensor.py b/homeassistant/components/dovado/sensor.py index 56c4ee03a..7a825118f 100644 --- a/homeassistant/components/dovado/sensor.py +++ b/homeassistant/components/dovado/sensor.py @@ -14,8 +14,6 @@ from . import DOMAIN as DOVADO_DOMAIN _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['dovado'] - MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=30) SENSOR_UPLOAD = 'upload' diff --git a/homeassistant/components/dsmr/sensor.py b/homeassistant/components/dsmr/sensor.py index 74f6cb37f..d7acc5c28 100644 --- a/homeassistant/components/dsmr/sensor.py +++ b/homeassistant/components/dsmr/sensor.py @@ -15,8 +15,6 @@ from homeassistant.helpers.entity import Entity _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['dsmr_parser==0.12'] - CONF_DSMR_VERSION = 'dsmr_version' CONF_RECONNECT_INTERVAL = 'reconnect_interval' CONF_PRECISION = 'precision' diff --git a/homeassistant/components/duke_energy/sensor.py b/homeassistant/components/duke_energy/sensor.py index 9aada3484..e364e3504 100644 --- a/homeassistant/components/duke_energy/sensor.py +++ b/homeassistant/components/duke_energy/sensor.py @@ -8,8 +8,6 @@ from homeassistant.const import CONF_USERNAME, CONF_PASSWORD from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pydukeenergy==0.0.6'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/dunehd/media_player.py b/homeassistant/components/dunehd/media_player.py index 70d96424c..a5698c746 100644 --- a/homeassistant/components/dunehd/media_player.py +++ b/homeassistant/components/dunehd/media_player.py @@ -11,8 +11,6 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, STATE_OFF, STATE_ON, STATE_PAUSED, STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pdunehd==1.3'] - DEFAULT_NAME = 'DuneHD' CONF_SOURCES = 'sources' diff --git a/homeassistant/components/dweet/__init__.py b/homeassistant/components/dweet/__init__.py index f8e5b1811..148eeeec9 100644 --- a/homeassistant/components/dweet/__init__.py +++ b/homeassistant/components/dweet/__init__.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers import state as state_helper from homeassistant.util import Throttle -REQUIREMENTS = ['dweepy==0.3.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'dweet' diff --git a/homeassistant/components/dweet/sensor.py b/homeassistant/components/dweet/sensor.py index d1a64201e..55f3c5341 100644 --- a/homeassistant/components/dweet/sensor.py +++ b/homeassistant/components/dweet/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import ( CONF_NAME, CONF_VALUE_TEMPLATE, CONF_UNIT_OF_MEASUREMENT, CONF_DEVICE) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['dweepy==0.3.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Dweet.io Sensor' diff --git a/homeassistant/components/dyson/__init__.py b/homeassistant/components/dyson/__init__.py index eccf8aac3..a857d6657 100644 --- a/homeassistant/components/dyson/__init__.py +++ b/homeassistant/components/dyson/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import ( CONF_DEVICES, CONF_PASSWORD, CONF_TIMEOUT, CONF_USERNAME) from homeassistant.helpers import discovery -REQUIREMENTS = ['libpurecool==0.5.0'] - _LOGGER = logging.getLogger(__name__) CONF_LANGUAGE = 'language' diff --git a/homeassistant/components/dyson/fan.py b/homeassistant/components/dyson/fan.py index 014037896..03a55f8ab 100644 --- a/homeassistant/components/dyson/fan.py +++ b/homeassistant/components/dyson/fan.py @@ -27,7 +27,6 @@ ATTR_CARBON_FILTER = 'carbon_filter' ATTR_DYSON_SPEED = 'dyson_speed' ATTR_DYSON_SPEED_LIST = 'dyson_speed_list' -DEPENDENCIES = ['dyson'] DYSON_DOMAIN = 'dyson' DYSON_FAN_DEVICES = 'dyson_fan_devices' diff --git a/homeassistant/components/dyson/sensor.py b/homeassistant/components/dyson/sensor.py index 2c7a71f57..56c924d1a 100644 --- a/homeassistant/components/dyson/sensor.py +++ b/homeassistant/components/dyson/sensor.py @@ -6,8 +6,6 @@ from homeassistant.helpers.entity import Entity from . import DYSON_DEVICES -DEPENDENCIES = ['dyson'] - SENSOR_UNITS = { 'air_quality': None, 'dust': None, diff --git a/homeassistant/components/dyson/vacuum.py b/homeassistant/components/dyson/vacuum.py index f1822b404..0bb2368f6 100644 --- a/homeassistant/components/dyson/vacuum.py +++ b/homeassistant/components/dyson/vacuum.py @@ -15,8 +15,6 @@ ATTR_CLEAN_ID = 'clean_id' ATTR_FULL_CLEAN_TYPE = 'full_clean_type' ATTR_POSITION = 'position' -DEPENDENCIES = ['dyson'] - DYSON_360_EYE_DEVICES = "dyson_360_eye_devices" SUPPORT_DYSON = SUPPORT_TURN_ON | SUPPORT_TURN_OFF | SUPPORT_PAUSE | \ diff --git a/homeassistant/components/ebox/sensor.py b/homeassistant/components/ebox/sensor.py index 24458e444..aaf3384d5 100644 --- a/homeassistant/components/ebox/sensor.py +++ b/homeassistant/components/ebox/sensor.py @@ -21,8 +21,6 @@ from homeassistant.util import Throttle from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['pyebox==1.1.4'] - _LOGGER = logging.getLogger(__name__) GIGABITS = 'Gb' # type: str diff --git a/homeassistant/components/ebusd/__init__.py b/homeassistant/components/ebusd/__init__.py index bc1b3aa95..15ff523f4 100644 --- a/homeassistant/components/ebusd/__init__.py +++ b/homeassistant/components/ebusd/__init__.py @@ -13,8 +13,6 @@ from homeassistant.util import Throttle from .const import (DOMAIN, SENSOR_TYPES) -REQUIREMENTS = ['ebusdpy==0.0.16'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'ebusd' diff --git a/homeassistant/components/ebusd/sensor.py b/homeassistant/components/ebusd/sensor.py index 942ba1075..f73bb09b5 100644 --- a/homeassistant/components/ebusd/sensor.py +++ b/homeassistant/components/ebusd/sensor.py @@ -6,8 +6,6 @@ from homeassistant.helpers.entity import Entity from .const import DOMAIN -DEPENDENCIES = ['ebusd'] - TIME_FRAME1_BEGIN = 'time_frame1_begin' TIME_FRAME1_END = 'time_frame1_end' TIME_FRAME2_BEGIN = 'time_frame2_begin' diff --git a/homeassistant/components/ecoal_boiler/__init__.py b/homeassistant/components/ecoal_boiler/__init__.py index 6ab9fc318..796324d93 100644 --- a/homeassistant/components/ecoal_boiler/__init__.py +++ b/homeassistant/components/ecoal_boiler/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import (CONF_HOST, CONF_PASSWORD, CONF_USERNAME, import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform -REQUIREMENTS = ['ecoaliface==0.4.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = "ecoal_boiler" diff --git a/homeassistant/components/ecoal_boiler/sensor.py b/homeassistant/components/ecoal_boiler/sensor.py index ef8b39842..f1998dd5b 100644 --- a/homeassistant/components/ecoal_boiler/sensor.py +++ b/homeassistant/components/ecoal_boiler/sensor.py @@ -8,8 +8,6 @@ from . import AVAILABLE_SENSORS, DATA_ECOAL_BOILER _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ecoal_boiler'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the ecoal sensors.""" diff --git a/homeassistant/components/ecoal_boiler/switch.py b/homeassistant/components/ecoal_boiler/switch.py index db8759a03..9f286e625 100644 --- a/homeassistant/components/ecoal_boiler/switch.py +++ b/homeassistant/components/ecoal_boiler/switch.py @@ -8,8 +8,6 @@ from . import AVAILABLE_PUMPS, DATA_ECOAL_BOILER _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ecoal_boiler'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up switches based on ecoal interface.""" diff --git a/homeassistant/components/ecobee/__init__.py b/homeassistant/components/ecobee/__init__.py index 167132a5f..5f9ae6a91 100644 --- a/homeassistant/components/ecobee/__init__.py +++ b/homeassistant/components/ecobee/__init__.py @@ -11,8 +11,6 @@ from homeassistant.const import CONF_API_KEY from homeassistant.util import Throttle from homeassistant.util.json import save_json -REQUIREMENTS = ['python-ecobee-api==0.0.18'] - _CONFIGURING = {} _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ecobee/binary_sensor.py b/homeassistant/components/ecobee/binary_sensor.py index ca8e551bf..0989b9ded 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 44a3800af..3fe1646ee 100644 --- a/homeassistant/components/ecobee/climate.py +++ b/homeassistant/components/ecobee/climate.py @@ -27,8 +27,6 @@ TEMPERATURE_HOLD = 'temp' VACATION_HOLD = 'vacation' AWAY_MODE = 'awayMode' -DEPENDENCIES = ['ecobee'] - SERVICE_SET_FAN_MIN_ON_TIME = 'ecobee_set_fan_min_on_time' SERVICE_RESUME_PROGRAM = 'ecobee_resume_program' diff --git a/homeassistant/components/ecobee/notify.py b/homeassistant/components/ecobee/notify.py index 9824d20b8..d6e4e8f0c 100644 --- a/homeassistant/components/ecobee/notify.py +++ b/homeassistant/components/ecobee/notify.py @@ -10,8 +10,6 @@ from homeassistant.components.notify import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ecobee'] - CONF_INDEX = 'index' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/ecobee/sensor.py b/homeassistant/components/ecobee/sensor.py index 1f9fd5cbd..436903a64 100644 --- a/homeassistant/components/ecobee/sensor.py +++ b/homeassistant/components/ecobee/sensor.py @@ -4,8 +4,6 @@ from homeassistant.const import ( DEVICE_CLASS_HUMIDITY, DEVICE_CLASS_TEMPERATURE, TEMP_FAHRENHEIT) from homeassistant.helpers.entity import Entity -DEPENDENCIES = ['ecobee'] - ECOBEE_CONFIG_FILE = 'ecobee.conf' SENSOR_TYPES = { diff --git a/homeassistant/components/ecobee/weather.py b/homeassistant/components/ecobee/weather.py index 2ba5f362b..f5058434f 100644 --- a/homeassistant/components/ecobee/weather.py +++ b/homeassistant/components/ecobee/weather.py @@ -7,8 +7,6 @@ from homeassistant.components.weather import ( ATTR_FORECAST_TIME, ATTR_FORECAST_WIND_SPEED, WeatherEntity) from homeassistant.const import TEMP_FAHRENHEIT -DEPENDENCIES = ['ecobee'] - ATTR_FORECAST_TEMP_HIGH = 'temphigh' ATTR_FORECAST_PRESSURE = 'pressure' ATTR_FORECAST_VISIBILITY = 'visibility' diff --git a/homeassistant/components/econet/water_heater.py b/homeassistant/components/econet/water_heater.py index 90176842b..4c47e24d7 100644 --- a/homeassistant/components/econet/water_heater.py +++ b/homeassistant/components/econet/water_heater.py @@ -13,8 +13,6 @@ from homeassistant.const import ( TEMP_FAHRENHEIT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyeconet==0.0.10'] - _LOGGER = logging.getLogger(__name__) ATTR_VACATION_START = 'next_vacation_start_date' diff --git a/homeassistant/components/ecovacs/__init__.py b/homeassistant/components/ecovacs/__init__.py index 124cae3ca..da87af722 100644 --- a/homeassistant/components/ecovacs/__init__.py +++ b/homeassistant/components/ecovacs/__init__.py @@ -10,8 +10,6 @@ from homeassistant.const import ( from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['sucks==0.9.3'] - _LOGGER = logging.getLogger(__name__) DOMAIN = "ecovacs" diff --git a/homeassistant/components/ecovacs/vacuum.py b/homeassistant/components/ecovacs/vacuum.py index b9fe94f2b..ee374871d 100644 --- a/homeassistant/components/ecovacs/vacuum.py +++ b/homeassistant/components/ecovacs/vacuum.py @@ -11,8 +11,6 @@ from . import ECOVACS_DEVICES _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ecovacs'] - SUPPORT_ECOVACS = ( SUPPORT_BATTERY | SUPPORT_RETURN_HOME | SUPPORT_CLEAN_SPOT | SUPPORT_STOP | SUPPORT_TURN_OFF | SUPPORT_TURN_ON | SUPPORT_LOCATE | diff --git a/homeassistant/components/eddystone_temperature/sensor.py b/homeassistant/components/eddystone_temperature/sensor.py index ae3d498d3..aad279934 100644 --- a/homeassistant/components/eddystone_temperature/sensor.py +++ b/homeassistant/components/eddystone_temperature/sensor.py @@ -18,8 +18,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['beacontools[scan]==1.2.3', 'construct==2.9.45'] - _LOGGER = logging.getLogger(__name__) CONF_BEACONS = 'beacons' diff --git a/homeassistant/components/edimax/switch.py b/homeassistant/components/edimax/switch.py index 338e6ac93..535ae6580 100644 --- a/homeassistant/components/edimax/switch.py +++ b/homeassistant/components/edimax/switch.py @@ -8,8 +8,6 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_PASSWORD, CONF_USERNAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyedimax==0.1'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Edimax Smart Plug' diff --git a/homeassistant/components/edp_redy/__init__.py b/homeassistant/components/edp_redy/__init__.py index 9b8bfaa43..af0120641 100644 --- a/homeassistant/components/edp_redy/__init__.py +++ b/homeassistant/components/edp_redy/__init__.py @@ -20,8 +20,6 @@ EDP_REDY = 'edp_redy' DATA_UPDATE_TOPIC = '{0}_data_update'.format(DOMAIN) UPDATE_INTERVAL = 60 -REQUIREMENTS = ['edp_redy==0.0.3'] - CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({ vol.Required(CONF_USERNAME): cv.string, diff --git a/homeassistant/components/edp_redy/sensor.py b/homeassistant/components/edp_redy/sensor.py index b8f9c031c..cf9766ede 100644 --- a/homeassistant/components/edp_redy/sensor.py +++ b/homeassistant/components/edp_redy/sensor.py @@ -8,8 +8,6 @@ from . import EDP_REDY, EdpRedyDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['edp_redy'] - # Load power in watts (W) ATTR_ACTIVE_POWER = 'active_power' diff --git a/homeassistant/components/edp_redy/switch.py b/homeassistant/components/edp_redy/switch.py index 0c92f80cc..3f6dfe6b8 100644 --- a/homeassistant/components/edp_redy/switch.py +++ b/homeassistant/components/edp_redy/switch.py @@ -7,8 +7,6 @@ from . import EDP_REDY, EdpRedyDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['edp_redy'] - # Load power in watts (W) ATTR_ACTIVE_POWER = 'active_power' diff --git a/homeassistant/components/ee_brightbox/device_tracker.py b/homeassistant/components/ee_brightbox/device_tracker.py index 46e4a3c3c..6af5065ed 100644 --- a/homeassistant/components/ee_brightbox/device_tracker.py +++ b/homeassistant/components/ee_brightbox/device_tracker.py @@ -8,8 +8,6 @@ from homeassistant.components.device_tracker import ( from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_USERNAME import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['eebrightbox==0.0.4'] - _LOGGER = logging.getLogger(__name__) CONF_VERSION = 'version' diff --git a/homeassistant/components/egardia/__init__.py b/homeassistant/components/egardia/__init__.py index fe613824c..cf0bb20f0 100644 --- a/homeassistant/components/egardia/__init__.py +++ b/homeassistant/components/egardia/__init__.py @@ -10,8 +10,6 @@ from homeassistant.const import ( from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pythonegardia==1.0.39'] - _LOGGER = logging.getLogger(__name__) ATTR_DISCOVER_DEVICES = 'egardia_sensor' diff --git a/homeassistant/components/egardia/alarm_control_panel.py b/homeassistant/components/egardia/alarm_control_panel.py index 7fc60d5fb..ab48181f9 100644 --- a/homeassistant/components/egardia/alarm_control_panel.py +++ b/homeassistant/components/egardia/alarm_control_panel.py @@ -13,8 +13,6 @@ from . import ( CONF_REPORT_SERVER_PORT, EGARDIA_DEVICE, EGARDIA_SERVER, REPORT_SERVER_CODES_IGNORE) -DEPENDENCIES = ['egardia'] - _LOGGER = logging.getLogger(__name__) STATES = { diff --git a/homeassistant/components/egardia/binary_sensor.py b/homeassistant/components/egardia/binary_sensor.py index d11894ae6..965b2dd1d 100644 --- a/homeassistant/components/egardia/binary_sensor.py +++ b/homeassistant/components/egardia/binary_sensor.py @@ -8,8 +8,6 @@ from . import ATTR_DISCOVER_DEVICES, EGARDIA_DEVICE _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['egardia'] - EGARDIA_TYPE_TO_DEVICE_CLASS = { 'IR Sensor': 'motion', 'Door Contact': 'opening', diff --git a/homeassistant/components/eight_sleep/__init__.py b/homeassistant/components/eight_sleep/__init__.py index ca6c8a5a5..d74218796 100644 --- a/homeassistant/components/eight_sleep/__init__.py +++ b/homeassistant/components/eight_sleep/__init__.py @@ -16,8 +16,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import async_track_point_in_utc_time from homeassistant.util.dt import utcnow -REQUIREMENTS = ['pyeight==0.1.1'] - _LOGGER = logging.getLogger(__name__) CONF_PARTNER = 'partner' diff --git a/homeassistant/components/eight_sleep/binary_sensor.py b/homeassistant/components/eight_sleep/binary_sensor.py index a3ca27b57..b38421067 100644 --- a/homeassistant/components/eight_sleep/binary_sensor.py +++ b/homeassistant/components/eight_sleep/binary_sensor.py @@ -7,8 +7,6 @@ from . import CONF_BINARY_SENSORS, DATA_EIGHT, NAME_MAP, EightSleepHeatEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['eight_sleep'] - async def async_setup_platform(hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/eight_sleep/sensor.py b/homeassistant/components/eight_sleep/sensor.py index a1ad93ec5..b7b0f5881 100644 --- a/homeassistant/components/eight_sleep/sensor.py +++ b/homeassistant/components/eight_sleep/sensor.py @@ -5,8 +5,6 @@ from . import ( CONF_SENSORS, DATA_EIGHT, NAME_MAP, EightSleepHeatEntity, EightSleepUserEntity) -DEPENDENCIES = ['eight_sleep'] - ATTR_ROOM_TEMP = 'Room Temperature' ATTR_AVG_ROOM_TEMP = 'Average Room Temperature' ATTR_BED_TEMP = 'Bed Temperature' diff --git a/homeassistant/components/eliqonline/sensor.py b/homeassistant/components/eliqonline/sensor.py index 198ca3279..12752b8db 100644 --- a/homeassistant/components/eliqonline/sensor.py +++ b/homeassistant/components/eliqonline/sensor.py @@ -10,8 +10,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['eliqonline==1.2.2'] - _LOGGER = logging.getLogger(__name__) CONF_CHANNEL_ID = 'channel_id' diff --git a/homeassistant/components/elkm1/__init__.py b/homeassistant/components/elkm1/__init__.py index a0c08bf54..564f0e74c 100644 --- a/homeassistant/components/elkm1/__init__.py +++ b/homeassistant/components/elkm1/__init__.py @@ -12,8 +12,6 @@ from homeassistant.helpers import discovery from homeassistant.helpers.entity import Entity from homeassistant.helpers.typing import ConfigType # noqa -REQUIREMENTS = ['elkm1-lib==0.7.13'] - DOMAIN = 'elkm1' CONF_AREA = 'area' diff --git a/homeassistant/components/elkm1/alarm_control_panel.py b/homeassistant/components/elkm1/alarm_control_panel.py index e9155dd17..b885913a0 100644 --- a/homeassistant/components/elkm1/alarm_control_panel.py +++ b/homeassistant/components/elkm1/alarm_control_panel.py @@ -12,8 +12,6 @@ from homeassistant.helpers.dispatcher import ( from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities -DEPENDENCIES = [ELK_DOMAIN] - SIGNAL_ARM_ENTITY = 'elkm1_arm' SIGNAL_DISPLAY_MESSAGE = 'elkm1_display_message' diff --git a/homeassistant/components/elkm1/climate.py b/homeassistant/components/elkm1/climate.py index 93e4aa66b..23c183128 100644 --- a/homeassistant/components/elkm1/climate.py +++ b/homeassistant/components/elkm1/climate.py @@ -9,8 +9,6 @@ from homeassistant.const import PRECISION_WHOLE, STATE_ON from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities -DEPENDENCIES = [ELK_DOMAIN] - async def async_setup_platform(hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/elkm1/light.py b/homeassistant/components/elkm1/light.py index fe84ab3f2..ee6fe09a7 100644 --- a/homeassistant/components/elkm1/light.py +++ b/homeassistant/components/elkm1/light.py @@ -4,8 +4,6 @@ from homeassistant.components.light import ( from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities -DEPENDENCIES = [ELK_DOMAIN] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/elkm1/scene.py b/homeassistant/components/elkm1/scene.py index 1d08f4cf9..aaae8bb0a 100644 --- a/homeassistant/components/elkm1/scene.py +++ b/homeassistant/components/elkm1/scene.py @@ -3,8 +3,6 @@ from homeassistant.components.scene import Scene from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities -DEPENDENCIES = [ELK_DOMAIN] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/elkm1/sensor.py b/homeassistant/components/elkm1/sensor.py index da27a3ac4..0e3672656 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 740a29658..df2949143 100644 --- a/homeassistant/components/elkm1/switch.py +++ b/homeassistant/components/elkm1/switch.py @@ -3,8 +3,6 @@ from homeassistant.components.switch import SwitchDevice from . import DOMAIN as ELK_DOMAIN, ElkEntity, create_elk_entities -DEPENDENCIES = [ELK_DOMAIN] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/emby/media_player.py b/homeassistant/components/emby/media_player.py index 8a94664f3..fa1c09670 100644 --- a/homeassistant/components/emby/media_player.py +++ b/homeassistant/components/emby/media_player.py @@ -17,8 +17,6 @@ from homeassistant.core import callback import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pyemby==1.6'] - _LOGGER = logging.getLogger(__name__) CONF_AUTO_HIDE = 'auto_hide' diff --git a/homeassistant/components/emulated_hue/__init__.py b/homeassistant/components/emulated_hue/__init__.py index c8ed263a2..2ef0aaca1 100644 --- a/homeassistant/components/emulated_hue/__init__.py +++ b/homeassistant/components/emulated_hue/__init__.py @@ -8,7 +8,6 @@ from homeassistant import util from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP, ) -from homeassistant.components.http import REQUIREMENTS # NOQA from homeassistant.exceptions import HomeAssistantError from homeassistant.helpers.deprecation import get_deprecated import homeassistant.helpers.config_validation as cv diff --git a/homeassistant/components/emulated_roku/__init__.py b/homeassistant/components/emulated_roku/__init__.py index ef87e14ec..72d4dff72 100644 --- a/homeassistant/components/emulated_roku/__init__.py +++ b/homeassistant/components/emulated_roku/__init__.py @@ -11,8 +11,6 @@ from .const import ( CONF_ADVERTISE_IP, CONF_ADVERTISE_PORT, CONF_HOST_IP, CONF_LISTEN_PORT, CONF_SERVERS, CONF_UPNP_BIND_MULTICAST, DOMAIN) -REQUIREMENTS = ['emulated_roku==0.1.8'] - SERVER_CONFIG_SCHEMA = vol.Schema({ vol.Required(CONF_NAME): cv.string, vol.Required(CONF_LISTEN_PORT): cv.port, diff --git a/homeassistant/components/enigma2/media_player.py b/homeassistant/components/enigma2/media_player.py index 11c3e0fe3..4662c7076 100644 --- a/homeassistant/components/enigma2/media_player.py +++ b/homeassistant/components/enigma2/media_player.py @@ -14,8 +14,6 @@ from homeassistant.const import ( STATE_OFF, STATE_ON, STATE_PLAYING, CONF_PORT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['openwebifpy==3.1.1'] - _LOGGER = logging.getLogger(__name__) ATTR_MEDIA_CURRENTLY_RECORDING = 'media_currently_recording' diff --git a/homeassistant/components/enocean/__init__.py b/homeassistant/components/enocean/__init__.py index 8b3c27025..2dcf6a3a0 100644 --- a/homeassistant/components/enocean/__init__.py +++ b/homeassistant/components/enocean/__init__.py @@ -6,8 +6,6 @@ import voluptuous as vol from homeassistant.const import CONF_DEVICE import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['enocean==0.40'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'enocean' diff --git a/homeassistant/components/enocean/binary_sensor.py b/homeassistant/components/enocean/binary_sensor.py index 1fde8c79e..649bec024 100644 --- a/homeassistant/components/enocean/binary_sensor.py +++ b/homeassistant/components/enocean/binary_sensor.py @@ -12,7 +12,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['enocean'] DEFAULT_NAME = 'EnOcean binary sensor' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/enocean/light.py b/homeassistant/components/enocean/light.py index f574f89f9..9ec3f4ab2 100644 --- a/homeassistant/components/enocean/light.py +++ b/homeassistant/components/enocean/light.py @@ -15,8 +15,6 @@ _LOGGER = logging.getLogger(__name__) CONF_SENDER_ID = 'sender_id' DEFAULT_NAME = 'EnOcean Light' -DEPENDENCIES = ['enocean'] - SUPPORT_ENOCEAN = SUPPORT_BRIGHTNESS PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/enocean/sensor.py b/homeassistant/components/enocean/sensor.py index 8d79de2c5..530738e1f 100644 --- a/homeassistant/components/enocean/sensor.py +++ b/homeassistant/components/enocean/sensor.py @@ -12,8 +12,6 @@ from homeassistant.components import enocean _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'EnOcean sensor' -DEPENDENCIES = ['enocean'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ID): vol.All(cv.ensure_list, [vol.Coerce(int)]), vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, diff --git a/homeassistant/components/enocean/switch.py b/homeassistant/components/enocean/switch.py index 4dfbafd36..f0b132c9d 100644 --- a/homeassistant/components/enocean/switch.py +++ b/homeassistant/components/enocean/switch.py @@ -12,7 +12,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'EnOcean Switch' -DEPENDENCIES = ['enocean'] CONF_CHANNEL = 'channel' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/enphase_envoy/sensor.py b/homeassistant/components/enphase_envoy/sensor.py index 2b62732dc..7077e12d7 100644 --- a/homeassistant/components/enphase_envoy/sensor.py +++ b/homeassistant/components/enphase_envoy/sensor.py @@ -10,7 +10,6 @@ from homeassistant.const import ( CONF_IP_ADDRESS, CONF_MONITORED_CONDITIONS, POWER_WATT) -REQUIREMENTS = ['envoy_reader==0.3'] _LOGGER = logging.getLogger(__name__) SENSORS = { diff --git a/homeassistant/components/entur_public_transport/sensor.py b/homeassistant/components/entur_public_transport/sensor.py index b2e228676..61b183b94 100644 --- a/homeassistant/components/entur_public_transport/sensor.py +++ b/homeassistant/components/entur_public_transport/sensor.py @@ -14,8 +14,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle import homeassistant.util.dt as dt_util -REQUIREMENTS = ['enturclient==0.2.0'] - _LOGGER = logging.getLogger(__name__) API_CLIENT_NAME = 'homeassistant-homeassistant' diff --git a/homeassistant/components/envirophat/sensor.py b/homeassistant/components/envirophat/sensor.py index 16cb79406..6d792df24 100644 --- a/homeassistant/components/envirophat/sensor.py +++ b/homeassistant/components/envirophat/sensor.py @@ -11,9 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['envirophat==0.0.6', - 'smbus-cffi==0.5.1'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'envirophat' diff --git a/homeassistant/components/envisalink/__init__.py b/homeassistant/components/envisalink/__init__.py index c46a26c6f..d7a015e8e 100644 --- a/homeassistant/components/envisalink/__init__.py +++ b/homeassistant/components/envisalink/__init__.py @@ -12,8 +12,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.discovery import async_load_platform from homeassistant.helpers.dispatcher import async_dispatcher_send -REQUIREMENTS = ['pyenvisalink==3.8'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'envisalink' diff --git a/homeassistant/components/envisalink/alarm_control_panel.py b/homeassistant/components/envisalink/alarm_control_panel.py index 44874c6d5..91a59d8f8 100644 --- a/homeassistant/components/envisalink/alarm_control_panel.py +++ b/homeassistant/components/envisalink/alarm_control_panel.py @@ -18,8 +18,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['envisalink'] - SERVICE_ALARM_KEYPRESS = 'envisalink_alarm_keypress' ATTR_KEYPRESS = 'keypress' ALARM_KEYPRESS_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/envisalink/binary_sensor.py b/homeassistant/components/envisalink/binary_sensor.py index 267bba8cd..bf47749d2 100644 --- a/homeassistant/components/envisalink/binary_sensor.py +++ b/homeassistant/components/envisalink/binary_sensor.py @@ -14,8 +14,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['envisalink'] - async def async_setup_platform(hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/envisalink/sensor.py b/homeassistant/components/envisalink/sensor.py index 67a601b02..2652a7e21 100644 --- a/homeassistant/components/envisalink/sensor.py +++ b/homeassistant/components/envisalink/sensor.py @@ -11,8 +11,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['envisalink'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/ephember/climate.py b/homeassistant/components/ephember/climate.py index 3052dd911..4e741dacf 100644 --- a/homeassistant/components/ephember/climate.py +++ b/homeassistant/components/ephember/climate.py @@ -11,8 +11,6 @@ from homeassistant.const import ( ATTR_TEMPERATURE, TEMP_CELSIUS, CONF_USERNAME, CONF_PASSWORD, STATE_OFF) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyephember==0.2.0'] - _LOGGER = logging.getLogger(__name__) # Return cached results if last scan was less then this time ago diff --git a/homeassistant/components/epson/media_player.py b/homeassistant/components/epson/media_player.py index 57bd18e0e..8273ca9a2 100644 --- a/homeassistant/components/epson/media_player.py +++ b/homeassistant/components/epson/media_player.py @@ -15,8 +15,6 @@ from homeassistant.const import ( from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['epson-projector==0.1.3'] - _LOGGER = logging.getLogger(__name__) ATTR_CMODE = 'cmode' diff --git a/homeassistant/components/eq3btsmart/climate.py b/homeassistant/components/eq3btsmart/climate.py index f02bd2bc9..fc12438fc 100644 --- a/homeassistant/components/eq3btsmart/climate.py +++ b/homeassistant/components/eq3btsmart/climate.py @@ -13,8 +13,6 @@ from homeassistant.const import ( TEMP_CELSIUS, PRECISION_HALVES) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-eq3bt==0.1.9', 'construct==2.9.45'] - _LOGGER = logging.getLogger(__name__) STATE_BOOST = 'boost' diff --git a/homeassistant/components/esphome/__init__.py b/homeassistant/components/esphome/__init__.py index 9e6f6367c..9b1e0691d 100644 --- a/homeassistant/components/esphome/__init__.py +++ b/homeassistant/components/esphome/__init__.py @@ -32,8 +32,6 @@ if TYPE_CHECKING: ServiceCall, UserService DOMAIN = 'esphome' -REQUIREMENTS = ['aioesphomeapi==2.0.0'] - _LOGGER = logging.getLogger(__name__) DISPATCHER_UPDATE_ENTITY = 'esphome_{entry_id}_update_{component_key}_{key}' diff --git a/homeassistant/components/esphome/binary_sensor.py b/homeassistant/components/esphome/binary_sensor.py index 2db2f209f..ff3fc2597 100644 --- a/homeassistant/components/esphome/binary_sensor.py +++ b/homeassistant/components/esphome/binary_sensor.py @@ -10,7 +10,6 @@ if TYPE_CHECKING: # pylint: disable=unused-import from aioesphomeapi import BinarySensorInfo, BinarySensorState # noqa -DEPENDENCIES = ['esphome'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/esphome/camera.py b/homeassistant/components/esphome/camera.py index 319a2c2a4..bb80ca727 100644 --- a/homeassistant/components/esphome/camera.py +++ b/homeassistant/components/esphome/camera.py @@ -13,7 +13,6 @@ if TYPE_CHECKING: # pylint: disable=unused-import from aioesphomeapi import CameraInfo, CameraState # noqa -DEPENDENCIES = ['esphome'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/esphome/climate.py b/homeassistant/components/esphome/climate.py index e3cd9e488..e95f9e446 100644 --- a/homeassistant/components/esphome/climate.py +++ b/homeassistant/components/esphome/climate.py @@ -19,7 +19,6 @@ if TYPE_CHECKING: # pylint: disable=unused-import from aioesphomeapi import ClimateInfo, ClimateState, ClimateMode # noqa -DEPENDENCIES = ['esphome'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/esphome/cover.py b/homeassistant/components/esphome/cover.py index 68eb4221a..5eb12aa86 100644 --- a/homeassistant/components/esphome/cover.py +++ b/homeassistant/components/esphome/cover.py @@ -15,7 +15,6 @@ if TYPE_CHECKING: # pylint: disable=unused-import from aioesphomeapi import CoverInfo, CoverState # noqa -DEPENDENCIES = ['esphome'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/esphome/fan.py b/homeassistant/components/esphome/fan.py index 973fa8577..35938de24 100644 --- a/homeassistant/components/esphome/fan.py +++ b/homeassistant/components/esphome/fan.py @@ -14,7 +14,6 @@ if TYPE_CHECKING: # pylint: disable=unused-import from aioesphomeapi import FanInfo, FanState, FanSpeed # noqa -DEPENDENCIES = ['esphome'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/esphome/light.py b/homeassistant/components/esphome/light.py index c84c50010..3d55713b1 100644 --- a/homeassistant/components/esphome/light.py +++ b/homeassistant/components/esphome/light.py @@ -17,7 +17,6 @@ if TYPE_CHECKING: # pylint: disable=unused-import from aioesphomeapi import LightInfo, LightState # noqa -DEPENDENCIES = ['esphome'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/esphome/sensor.py b/homeassistant/components/esphome/sensor.py index e4fb7ef82..d8ae91e92 100644 --- a/homeassistant/components/esphome/sensor.py +++ b/homeassistant/components/esphome/sensor.py @@ -13,7 +13,6 @@ if TYPE_CHECKING: from aioesphomeapi import ( # noqa SensorInfo, SensorState, TextSensorInfo, TextSensorState) -DEPENDENCIES = ['esphome'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/esphome/switch.py b/homeassistant/components/esphome/switch.py index e736c1df2..41c566353 100644 --- a/homeassistant/components/esphome/switch.py +++ b/homeassistant/components/esphome/switch.py @@ -12,7 +12,6 @@ if TYPE_CHECKING: # pylint: disable=unused-import from aioesphomeapi import SwitchInfo, SwitchState # noqa -DEPENDENCIES = ['esphome'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/etherscan/sensor.py b/homeassistant/components/etherscan/sensor.py index 082295bfe..83805ec4d 100644 --- a/homeassistant/components/etherscan/sensor.py +++ b/homeassistant/components/etherscan/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['python-etherscan-api==0.0.3'] - ATTRIBUTION = "Data provided by etherscan.io" CONF_TOKEN_ADDRESS = 'token_address' diff --git a/homeassistant/components/eufy/__init__.py b/homeassistant/components/eufy/__init__.py index b0bd91093..8425780b7 100644 --- a/homeassistant/components/eufy/__init__.py +++ b/homeassistant/components/eufy/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import ( from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['lakeside==0.12'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'eufy' diff --git a/homeassistant/components/eufy/light.py b/homeassistant/components/eufy/light.py index 62bc058f1..1d08e42ff 100644 --- a/homeassistant/components/eufy/light.py +++ b/homeassistant/components/eufy/light.py @@ -11,8 +11,6 @@ from homeassistant.util.color import ( color_temperature_mired_to_kelvin as mired_to_kelvin, color_temperature_kelvin_to_mired as kelvin_to_mired) -DEPENDENCIES = ['eufy'] - _LOGGER = logging.getLogger(__name__) EUFY_MAX_KELVIN = 6500 diff --git a/homeassistant/components/eufy/switch.py b/homeassistant/components/eufy/switch.py index 96d681941..3216bfed6 100644 --- a/homeassistant/components/eufy/switch.py +++ b/homeassistant/components/eufy/switch.py @@ -3,8 +3,6 @@ import logging from homeassistant.components.switch import SwitchDevice -DEPENDENCIES = ['eufy'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/everlights/light.py b/homeassistant/components/everlights/light.py index a628f25ea..c5fb02537 100644 --- a/homeassistant/components/everlights/light.py +++ b/homeassistant/components/everlights/light.py @@ -15,8 +15,6 @@ import homeassistant.util.color as color_util from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['pyeverlights==0.1.0'] - _LOGGER = logging.getLogger(__name__) SUPPORT_EVERLIGHTS = (SUPPORT_EFFECT | SUPPORT_BRIGHTNESS | SUPPORT_COLOR) diff --git a/homeassistant/components/evohome/__init__.py b/homeassistant/components/evohome/__init__.py index 87a563ecd..459a3636a 100644 --- a/homeassistant/components/evohome/__init__.py +++ b/homeassistant/components/evohome/__init__.py @@ -19,8 +19,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.dispatcher import async_dispatcher_send -REQUIREMENTS = ['evohomeclient==0.3.2'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'evohome' diff --git a/homeassistant/components/familyhub/camera.py b/homeassistant/components/familyhub/camera.py index 18aa96913..e9a8bcd94 100644 --- a/homeassistant/components/familyhub/camera.py +++ b/homeassistant/components/familyhub/camera.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['python-family-hub-local==0.0.2'] - DEFAULT_NAME = 'FamilyHub Camera' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/fan/__init__.py b/homeassistant/components/fan/__init__.py index e67ba390a..23015769f 100644 --- a/homeassistant/components/fan/__init__.py +++ b/homeassistant/components/fan/__init__.py @@ -18,7 +18,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) DOMAIN = 'fan' -DEPENDENCIES = ['group'] SCAN_INTERVAL = timedelta(seconds=30) GROUP_NAME_ALL_FANS = 'all fans' diff --git a/homeassistant/components/fastdotcom/__init__.py b/homeassistant/components/fastdotcom/__init__.py index 973cc8e36..3fe860a81 100644 --- a/homeassistant/components/fastdotcom/__init__.py +++ b/homeassistant/components/fastdotcom/__init__.py @@ -10,8 +10,6 @@ from homeassistant.helpers.discovery import async_load_platform from homeassistant.helpers.dispatcher import dispatcher_send from homeassistant.helpers.event import async_track_time_interval -REQUIREMENTS = ['fastdotcom==0.0.3'] - DOMAIN = 'fastdotcom' DATA_UPDATED = '{}_data_updated'.format(DOMAIN) diff --git a/homeassistant/components/fastdotcom/sensor.py b/homeassistant/components/fastdotcom/sensor.py index 37fc0815d..c9af8e53a 100644 --- a/homeassistant/components/fastdotcom/sensor.py +++ b/homeassistant/components/fastdotcom/sensor.py @@ -7,8 +7,6 @@ from homeassistant.helpers.restore_state import RestoreEntity from . import DATA_UPDATED, DOMAIN as FASTDOTCOM_DOMAIN -DEPENDENCIES = ['fastdotcom'] - _LOGGER = logging.getLogger(__name__) ICON = 'mdi:speedometer' diff --git a/homeassistant/components/fedex/sensor.py b/homeassistant/components/fedex/sensor.py index 74ad4f7d0..aec1cee05 100644 --- a/homeassistant/components/fedex/sensor.py +++ b/homeassistant/components/fedex/sensor.py @@ -14,8 +14,6 @@ from homeassistant.util import Throttle from homeassistant.util import slugify from homeassistant.util.dt import now, parse_date -REQUIREMENTS = ['fedexdeliverymanager==1.0.6'] - _LOGGER = logging.getLogger(__name__) COOKIE = 'fedexdeliverymanager_cookies.pickle' diff --git a/homeassistant/components/feedreader/__init__.py b/homeassistant/components/feedreader/__init__.py index 86744bfd3..d2acb674e 100644 --- a/homeassistant/components/feedreader/__init__.py +++ b/homeassistant/components/feedreader/__init__.py @@ -11,8 +11,6 @@ from homeassistant.const import EVENT_HOMEASSISTANT_START, CONF_SCAN_INTERVAL from homeassistant.helpers.event import track_time_interval import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['feedparser-homeassistant==5.2.2.dev1'] - _LOGGER = getLogger(__name__) CONF_URLS = 'urls' diff --git a/homeassistant/components/ffmpeg/__init__.py b/homeassistant/components/ffmpeg/__init__.py index 05bc1d991..7252e617c 100644 --- a/homeassistant/components/ffmpeg/__init__.py +++ b/homeassistant/components/ffmpeg/__init__.py @@ -12,8 +12,6 @@ from homeassistant.helpers.dispatcher import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['ha-ffmpeg==2.0'] - DOMAIN = 'ffmpeg' _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ffmpeg/camera.py b/homeassistant/components/ffmpeg/camera.py index 8bca13cfb..0e8a69e0b 100644 --- a/homeassistant/components/ffmpeg/camera.py +++ b/homeassistant/components/ffmpeg/camera.py @@ -14,8 +14,6 @@ from . import CONF_EXTRA_ARGUMENTS, CONF_INPUT, DATA_FFMPEG _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ffmpeg'] - DEFAULT_NAME = 'FFmpeg' DEFAULT_ARGUMENTS = "-pred 1" diff --git a/homeassistant/components/ffmpeg_motion/binary_sensor.py b/homeassistant/components/ffmpeg_motion/binary_sensor.py index c274d8432..03aacf3aa 100644 --- a/homeassistant/components/ffmpeg_motion/binary_sensor.py +++ b/homeassistant/components/ffmpeg_motion/binary_sensor.py @@ -12,8 +12,6 @@ from homeassistant.components.ffmpeg import ( CONF_INITIAL_STATE) from homeassistant.const import CONF_NAME -DEPENDENCIES = ['ffmpeg'] - _LOGGER = logging.getLogger(__name__) CONF_RESET = 'reset' diff --git a/homeassistant/components/ffmpeg_noise/binary_sensor.py b/homeassistant/components/ffmpeg_noise/binary_sensor.py index 7efcc3ded..7fbda8ca1 100644 --- a/homeassistant/components/ffmpeg_noise/binary_sensor.py +++ b/homeassistant/components/ffmpeg_noise/binary_sensor.py @@ -12,8 +12,6 @@ from homeassistant.components.ffmpeg import ( CONF_INITIAL_STATE) from homeassistant.const import CONF_NAME -DEPENDENCIES = ['ffmpeg'] - _LOGGER = logging.getLogger(__name__) CONF_PEAK = 'peak' diff --git a/homeassistant/components/fibaro/__init__.py b/homeassistant/components/fibaro/__init__.py index 6b37b178a..9e60d1c0c 100644 --- a/homeassistant/components/fibaro/__init__.py +++ b/homeassistant/components/fibaro/__init__.py @@ -13,8 +13,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import convert, slugify -REQUIREMENTS = ['fiblary3==0.1.7'] - _LOGGER = logging.getLogger(__name__) ATTR_CURRENT_ENERGY_KWH = 'current_energy_kwh' diff --git a/homeassistant/components/fibaro/binary_sensor.py b/homeassistant/components/fibaro/binary_sensor.py index f71a5f366..44448227a 100644 --- a/homeassistant/components/fibaro/binary_sensor.py +++ b/homeassistant/components/fibaro/binary_sensor.py @@ -7,8 +7,6 @@ from homeassistant.const import CONF_DEVICE_CLASS, CONF_ICON from . import FIBARO_DEVICES, FibaroDevice -DEPENDENCIES = ['fibaro'] - _LOGGER = logging.getLogger(__name__) SENSOR_TYPES = { diff --git a/homeassistant/components/fibaro/climate.py b/homeassistant/components/fibaro/climate.py index 0d1ecc3a7..4b12a907c 100644 --- a/homeassistant/components/fibaro/climate.py +++ b/homeassistant/components/fibaro/climate.py @@ -44,8 +44,6 @@ FAN_LEFT_RIGHT = 'left_right' FAN_UP_DOWN = 'up_down' FAN_QUIET = 'quiet' -DEPENDENCIES = ['fibaro'] - _LOGGER = logging.getLogger(__name__) # SDS13781-10 Z-Wave Application Command Class Specification 2019-01-04 diff --git a/homeassistant/components/fibaro/cover.py b/homeassistant/components/fibaro/cover.py index 0f5cc32bc..0ccbed014 100644 --- a/homeassistant/components/fibaro/cover.py +++ b/homeassistant/components/fibaro/cover.py @@ -6,8 +6,6 @@ from homeassistant.components.cover import ( from . import FIBARO_DEVICES, FibaroDevice -DEPENDENCIES = ['fibaro'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fibaro/light.py b/homeassistant/components/fibaro/light.py index 600b566b3..a741de972 100644 --- a/homeassistant/components/fibaro/light.py +++ b/homeassistant/components/fibaro/light.py @@ -14,8 +14,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['fibaro'] - def scaleto255(value): """Scale the input value from 0-100 to 0-255.""" diff --git a/homeassistant/components/fibaro/scene.py b/homeassistant/components/fibaro/scene.py index 93f0cd5b6..f9f968443 100644 --- a/homeassistant/components/fibaro/scene.py +++ b/homeassistant/components/fibaro/scene.py @@ -5,8 +5,6 @@ from homeassistant.components.scene import Scene from . import FIBARO_DEVICES, FibaroDevice -DEPENDENCIES = ['fibaro'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fibaro/sensor.py b/homeassistant/components/fibaro/sensor.py index 20a37fd3c..db9d103d8 100644 --- a/homeassistant/components/fibaro/sensor.py +++ b/homeassistant/components/fibaro/sensor.py @@ -22,7 +22,6 @@ SENSOR_TYPES = { ['Light', 'lx', None, DEVICE_CLASS_ILLUMINANCE] } -DEPENDENCIES = ['fibaro'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fibaro/switch.py b/homeassistant/components/fibaro/switch.py index 024531f62..f134b4244 100644 --- a/homeassistant/components/fibaro/switch.py +++ b/homeassistant/components/fibaro/switch.py @@ -6,7 +6,6 @@ from homeassistant.util import convert from . import FIBARO_DEVICES, FibaroDevice -DEPENDENCIES = ['fibaro'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fido/sensor.py b/homeassistant/components/fido/sensor.py index 00754c5ba..ea66acaf8 100644 --- a/homeassistant/components/fido/sensor.py +++ b/homeassistant/components/fido/sensor.py @@ -20,8 +20,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyfido==2.1.1'] - _LOGGER = logging.getLogger(__name__) KILOBITS = 'Kb' # type: str diff --git a/homeassistant/components/fints/sensor.py b/homeassistant/components/fints/sensor.py index dce52785f..cb993ada8 100644 --- a/homeassistant/components/fints/sensor.py +++ b/homeassistant/components/fints/sensor.py @@ -10,8 +10,6 @@ from homeassistant.const import CONF_USERNAME, CONF_PIN, CONF_URL, CONF_NAME import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['fints==1.0.1'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(hours=4) diff --git a/homeassistant/components/fitbit/sensor.py b/homeassistant/components/fitbit/sensor.py index abbe69c3e..889920239 100644 --- a/homeassistant/components/fitbit/sensor.py +++ b/homeassistant/components/fitbit/sensor.py @@ -17,8 +17,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util.json import load_json, save_json -REQUIREMENTS = ['fitbit==0.3.0'] - _CONFIGURING = {} _LOGGER = logging.getLogger(__name__) @@ -32,8 +30,6 @@ CONF_MONITORED_RESOURCES = 'monitored_resources' CONF_CLOCK_FORMAT = 'clock_format' ATTRIBUTION = 'Data provided by Fitbit.com' -DEPENDENCIES = ['http'] - FITBIT_AUTH_CALLBACK_PATH = '/api/fitbit/callback' FITBIT_AUTH_START = '/api/fitbit' FITBIT_CONFIG_FILE = 'fitbit.conf' diff --git a/homeassistant/components/fixer/sensor.py b/homeassistant/components/fixer/sensor.py index f746d2008..4cf2b0b92 100644 --- a/homeassistant/components/fixer/sensor.py +++ b/homeassistant/components/fixer/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import ATTR_ATTRIBUTION, CONF_API_KEY, CONF_NAME import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['fixerio==1.0.0a0'] - _LOGGER = logging.getLogger(__name__) ATTR_EXCHANGE_RATE = 'Exchange rate' diff --git a/homeassistant/components/flexit/climate.py b/homeassistant/components/flexit/climate.py index fe7b5ff8e..d1cf97f04 100644 --- a/homeassistant/components/flexit/climate.py +++ b/homeassistant/components/flexit/climate.py @@ -25,9 +25,6 @@ from homeassistant.components.modbus import ( CONF_HUB, DEFAULT_HUB, DOMAIN as MODBUS_DOMAIN) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyflexit==0.3'] -DEPENDENCIES = ['modbus'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_HUB, default=DEFAULT_HUB): cv.string, vol.Required(CONF_SLAVE): vol.All(int, vol.Range(min=0, max=32)), diff --git a/homeassistant/components/flic/binary_sensor.py b/homeassistant/components/flic/binary_sensor.py index 083ac01ab..3381550b5 100644 --- a/homeassistant/components/flic/binary_sensor.py +++ b/homeassistant/components/flic/binary_sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import ( from homeassistant.components.binary_sensor import ( BinarySensorDevice, PLATFORM_SCHEMA) -REQUIREMENTS = ['pyflic-homeassistant==0.4.dev0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_TIMEOUT = 3 diff --git a/homeassistant/components/flunearyou/sensor.py b/homeassistant/components/flunearyou/sensor.py index 65de2c6ae..148a3ee41 100644 --- a/homeassistant/components/flunearyou/sensor.py +++ b/homeassistant/components/flunearyou/sensor.py @@ -13,7 +13,6 @@ from homeassistant.helpers import aiohttp_client from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pyflunearyou==1.0.3'] _LOGGER = logging.getLogger(__name__) ATTR_CITY = 'city' diff --git a/homeassistant/components/flux/switch.py b/homeassistant/components/flux/switch.py index fdd0c09b9..f0134f04d 100644 --- a/homeassistant/components/flux/switch.py +++ b/homeassistant/components/flux/switch.py @@ -42,8 +42,6 @@ MODE_XY = 'xy' MODE_MIRED = 'mired' MODE_RGB = 'rgb' DEFAULT_MODE = MODE_XY -DEPENDENCIES = ['light'] - PLATFORM_SCHEMA = vol.Schema({ vol.Required(CONF_PLATFORM): 'flux', diff --git a/homeassistant/components/flux_led/light.py b/homeassistant/components/flux_led/light.py index 0ed14c49e..56d088f20 100644 --- a/homeassistant/components/flux_led/light.py +++ b/homeassistant/components/flux_led/light.py @@ -15,8 +15,6 @@ from homeassistant.components.light import ( import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['flux_led==0.22'] - _LOGGER = logging.getLogger(__name__) CONF_AUTOMATIC_ADD = 'automatic_add' diff --git a/homeassistant/components/folder_watcher/__init__.py b/homeassistant/components/folder_watcher/__init__.py index babfbd9e9..411f6b480 100644 --- a/homeassistant/components/folder_watcher/__init__.py +++ b/homeassistant/components/folder_watcher/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['watchdog==0.8.3'] - _LOGGER = logging.getLogger(__name__) CONF_FOLDER = 'folder' diff --git a/homeassistant/components/foobot/sensor.py b/homeassistant/components/foobot/sensor.py index 2eeca5243..f59392bde 100644 --- a/homeassistant/components/foobot/sensor.py +++ b/homeassistant/components/foobot/sensor.py @@ -16,8 +16,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['foobot_async==0.3.1'] - _LOGGER = logging.getLogger(__name__) ATTR_HUMIDITY = 'humidity' diff --git a/homeassistant/components/foscam/camera.py b/homeassistant/components/foscam/camera.py index 6ce8f1865..f83c3f196 100644 --- a/homeassistant/components/foscam/camera.py +++ b/homeassistant/components/foscam/camera.py @@ -11,8 +11,6 @@ from homeassistant.helpers import config_validation as cv _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['libpyfoscam==1.0'] - CONF_IP = 'ip' CONF_RTSP_PORT = 'rtsp_port' diff --git a/homeassistant/components/foursquare/__init__.py b/homeassistant/components/foursquare/__init__.py index 0c5a48049..dd8349998 100644 --- a/homeassistant/components/foursquare/__init__.py +++ b/homeassistant/components/foursquare/__init__.py @@ -12,7 +12,6 @@ _LOGGER = logging.getLogger(__name__) CONF_PUSH_SECRET = 'push_secret' -DEPENDENCIES = ['http'] DOMAIN = 'foursquare' EVENT_CHECKIN = 'foursquare.checkin' diff --git a/homeassistant/components/free_mobile/notify.py b/homeassistant/components/free_mobile/notify.py index 03beef523..c7dacd440 100644 --- a/homeassistant/components/free_mobile/notify.py +++ b/homeassistant/components/free_mobile/notify.py @@ -9,8 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.notify import (PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['freesms==0.1.2'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/freebox/__init__.py b/homeassistant/components/freebox/__init__.py index 7accf7820..2cd9f6b35 100644 --- a/homeassistant/components/freebox/__init__.py +++ b/homeassistant/components/freebox/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import CONF_HOST, CONF_PORT, EVENT_HOMEASSISTANT_STOP from homeassistant.helpers import config_validation as cv, discovery from homeassistant.helpers.discovery import async_load_platform -REQUIREMENTS = ['aiofreepybox==0.0.8'] - _LOGGER = logging.getLogger(__name__) DOMAIN = "freebox" diff --git a/homeassistant/components/freebox/device_tracker.py b/homeassistant/components/freebox/device_tracker.py index 5418c1c61..40c1967f6 100644 --- a/homeassistant/components/freebox/device_tracker.py +++ b/homeassistant/components/freebox/device_tracker.py @@ -6,8 +6,6 @@ from homeassistant.components.device_tracker import DeviceScanner from . import DATA_FREEBOX -DEPENDENCIES = ['freebox'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/freebox/sensor.py b/homeassistant/components/freebox/sensor.py index 328665ab5..8dcc5f54b 100644 --- a/homeassistant/components/freebox/sensor.py +++ b/homeassistant/components/freebox/sensor.py @@ -5,8 +5,6 @@ from homeassistant.helpers.entity import Entity from . import DATA_FREEBOX -DEPENDENCIES = ['freebox'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/freebox/switch.py b/homeassistant/components/freebox/switch.py index 4de194fc9..e0c24d2b9 100644 --- a/homeassistant/components/freebox/switch.py +++ b/homeassistant/components/freebox/switch.py @@ -5,8 +5,6 @@ from homeassistant.components.switch import SwitchDevice from . import DATA_FREEBOX -DEPENDENCIES = ['freebox'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fritz/device_tracker.py b/homeassistant/components/fritz/device_tracker.py index 3e3e04f44..fc9f65633 100644 --- a/homeassistant/components/fritz/device_tracker.py +++ b/homeassistant/components/fritz/device_tracker.py @@ -8,8 +8,6 @@ from homeassistant.components.device_tracker import ( DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_USERNAME -REQUIREMENTS = ['fritzconnection==0.6.5'] - _LOGGER = logging.getLogger(__name__) CONF_DEFAULT_IP = '169.254.1.1' # This IP is valid for all FRITZ!Box routers. diff --git a/homeassistant/components/fritzbox/__init__.py b/homeassistant/components/fritzbox/__init__.py index 81ba019ac..610c68741 100644 --- a/homeassistant/components/fritzbox/__init__.py +++ b/homeassistant/components/fritzbox/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers import discovery _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pyfritzhome==0.4.0'] - SUPPORTED_DOMAINS = ['binary_sensor', 'climate', 'switch', 'sensor'] DOMAIN = 'fritzbox' diff --git a/homeassistant/components/fritzbox/binary_sensor.py b/homeassistant/components/fritzbox/binary_sensor.py index 65578c571..a763a3b3b 100644 --- a/homeassistant/components/fritzbox/binary_sensor.py +++ b/homeassistant/components/fritzbox/binary_sensor.py @@ -7,8 +7,6 @@ from homeassistant.components.binary_sensor import BinarySensorDevice from . import DOMAIN as FRITZBOX_DOMAIN -DEPENDENCIES = ['fritzbox'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fritzbox/climate.py b/homeassistant/components/fritzbox/climate.py index e2c9be833..4dfa09c49 100644 --- a/homeassistant/components/fritzbox/climate.py +++ b/homeassistant/components/fritzbox/climate.py @@ -16,8 +16,6 @@ from . import ( ATTR_STATE_LOCKED, ATTR_STATE_SUMMER_MODE, ATTR_STATE_WINDOW_OPEN, DOMAIN as FRITZBOX_DOMAIN) -DEPENDENCIES = ['fritzbox'] - _LOGGER = logging.getLogger(__name__) SUPPORT_FLAGS = (SUPPORT_TARGET_TEMPERATURE | SUPPORT_OPERATION_MODE) diff --git a/homeassistant/components/fritzbox/sensor.py b/homeassistant/components/fritzbox/sensor.py index 7309f8cc6..123d88353 100644 --- a/homeassistant/components/fritzbox/sensor.py +++ b/homeassistant/components/fritzbox/sensor.py @@ -9,8 +9,6 @@ from homeassistant.helpers.entity import Entity from . import ( ATTR_STATE_DEVICE_LOCKED, ATTR_STATE_LOCKED, DOMAIN as FRITZBOX_DOMAIN) -DEPENDENCIES = ['fritzbox'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/fritzbox/switch.py b/homeassistant/components/fritzbox/switch.py index e227cdaef..ae1219cef 100644 --- a/homeassistant/components/fritzbox/switch.py +++ b/homeassistant/components/fritzbox/switch.py @@ -10,8 +10,6 @@ from homeassistant.const import ( from . import ( ATTR_STATE_DEVICE_LOCKED, ATTR_STATE_LOCKED, DOMAIN as FRITZBOX_DOMAIN) -DEPENDENCIES = ['fritzbox'] - _LOGGER = logging.getLogger(__name__) ATTR_TOTAL_CONSUMPTION = 'total_consumption' diff --git a/homeassistant/components/fritzbox_callmonitor/sensor.py b/homeassistant/components/fritzbox_callmonitor/sensor.py index a6641bc14..95c087999 100644 --- a/homeassistant/components/fritzbox_callmonitor/sensor.py +++ b/homeassistant/components/fritzbox_callmonitor/sensor.py @@ -16,8 +16,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['fritzconnection==0.6.5'] - _LOGGER = logging.getLogger(__name__) CONF_PHONEBOOK = 'phonebook' diff --git a/homeassistant/components/fritzbox_netmonitor/sensor.py b/homeassistant/components/fritzbox_netmonitor/sensor.py index 93f834a89..ec8e38bb2 100644 --- a/homeassistant/components/fritzbox_netmonitor/sensor.py +++ b/homeassistant/components/fritzbox_netmonitor/sensor.py @@ -11,8 +11,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['fritzconnection==0.6.5'] - _LOGGER = logging.getLogger(__name__) CONF_DEFAULT_NAME = 'fritz_netmonitor' diff --git a/homeassistant/components/fritzdect/switch.py b/homeassistant/components/fritzdect/switch.py index 449ae5a76..d3cd00a73 100644 --- a/homeassistant/components/fritzdect/switch.py +++ b/homeassistant/components/fritzdect/switch.py @@ -11,8 +11,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.const import TEMP_CELSIUS, ATTR_TEMPERATURE -REQUIREMENTS = ['fritzhome==1.0.4'] - _LOGGER = logging.getLogger(__name__) # Standard Fritz Box IP diff --git a/homeassistant/components/frontend/__init__.py b/homeassistant/components/frontend/__init__.py index cfee41dc6..6f258b2d5 100644 --- a/homeassistant/components/frontend/__init__.py +++ b/homeassistant/components/frontend/__init__.py @@ -21,12 +21,7 @@ from homeassistant.loader import bind_hass from .storage import async_setup_frontend_storage -REQUIREMENTS = ['home-assistant-frontend==20190410.0'] - DOMAIN = 'frontend' -DEPENDENCIES = ['api', 'websocket_api', 'http', 'system_log', - 'auth', 'onboarding', 'lovelace'] - CONF_THEMES = 'themes' CONF_EXTRA_HTML_URL = 'extra_html_url' CONF_EXTRA_HTML_URL_ES5 = 'extra_html_url_es5' diff --git a/homeassistant/components/frontier_silicon/media_player.py b/homeassistant/components/frontier_silicon/media_player.py index 4f28d83e6..64aa1d3a0 100644 --- a/homeassistant/components/frontier_silicon/media_player.py +++ b/homeassistant/components/frontier_silicon/media_player.py @@ -15,8 +15,6 @@ from homeassistant.const import ( STATE_PLAYING, STATE_UNKNOWN) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['afsapi==0.0.4'] - _LOGGER = logging.getLogger(__name__) SUPPORT_FRONTIER_SILICON = SUPPORT_PAUSE | SUPPORT_VOLUME_SET | \ diff --git a/homeassistant/components/futurenow/light.py b/homeassistant/components/futurenow/light.py index 4b570fd0a..91ec8b079 100644 --- a/homeassistant/components/futurenow/light.py +++ b/homeassistant/components/futurenow/light.py @@ -11,8 +11,6 @@ from homeassistant.components.light import ( PLATFORM_SCHEMA) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyfnip==0.2'] - _LOGGER = logging.getLogger(__name__) CONF_DRIVER = 'driver' diff --git a/homeassistant/components/gc100/__init__.py b/homeassistant/components/gc100/__init__.py index 36e9c61b1..b875d045c 100644 --- a/homeassistant/components/gc100/__init__.py +++ b/homeassistant/components/gc100/__init__.py @@ -7,8 +7,6 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_STOP, CONF_HOST, CONF_PORT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-gc100==1.0.3a'] - _LOGGER = logging.getLogger(__name__) CONF_PORTS = 'ports' diff --git a/homeassistant/components/gc100/binary_sensor.py b/homeassistant/components/gc100/binary_sensor.py index 9588506af..4ba68a177 100644 --- a/homeassistant/components/gc100/binary_sensor.py +++ b/homeassistant/components/gc100/binary_sensor.py @@ -8,8 +8,6 @@ import homeassistant.helpers.config_validation as cv from . import CONF_PORTS, DATA_GC100 -DEPENDENCIES = ['gc100'] - _SENSORS_SCHEMA = vol.Schema({ cv.string: cv.string, }) diff --git a/homeassistant/components/gc100/switch.py b/homeassistant/components/gc100/switch.py index 1ffb27264..eea98a4dc 100644 --- a/homeassistant/components/gc100/switch.py +++ b/homeassistant/components/gc100/switch.py @@ -8,8 +8,6 @@ from homeassistant.helpers.entity import ToggleEntity from . import CONF_PORTS, DATA_GC100 -DEPENDENCIES = ['gc100'] - _SWITCH_SCHEMA = vol.Schema({ cv.string: cv.string, }) diff --git a/homeassistant/components/gearbest/sensor.py b/homeassistant/components/gearbest/sensor.py index e4f85a189..ee0ee6d4e 100644 --- a/homeassistant/components/gearbest/sensor.py +++ b/homeassistant/components/gearbest/sensor.py @@ -11,7 +11,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval from homeassistant.const import (CONF_NAME, CONF_ID, CONF_URL, CONF_CURRENCY) -REQUIREMENTS = ['gearbest_parser==1.0.7'] _LOGGER = logging.getLogger(__name__) CONF_ITEMS = 'items' diff --git a/homeassistant/components/geizhals/sensor.py b/homeassistant/components/geizhals/sensor.py index d619d768c..03c263f54 100644 --- a/homeassistant/components/geizhals/sensor.py +++ b/homeassistant/components/geizhals/sensor.py @@ -10,8 +10,6 @@ from homeassistant.util import Throttle from homeassistant.helpers.entity import Entity from homeassistant.const import CONF_NAME -REQUIREMENTS = ['geizhals==0.0.9'] - _LOGGER = logging.getLogger(__name__) CONF_DESCRIPTION = 'description' diff --git a/homeassistant/components/generic_thermostat/climate.py b/homeassistant/components/generic_thermostat/climate.py index 35efa82c8..cfa8ba64e 100644 --- a/homeassistant/components/generic_thermostat/climate.py +++ b/homeassistant/components/generic_thermostat/climate.py @@ -23,8 +23,6 @@ from homeassistant.components.climate.const import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['switch', 'sensor'] - DEFAULT_TOLERANCE = 0.3 DEFAULT_NAME = 'Generic Thermostat' diff --git a/homeassistant/components/geo_json_events/geo_location.py b/homeassistant/components/geo_json_events/geo_location.py index e89616126..f7d79ae71 100644 --- a/homeassistant/components/geo_json_events/geo_location.py +++ b/homeassistant/components/geo_json_events/geo_location.py @@ -16,8 +16,6 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_connect, dispatcher_send) from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['geojson_client==0.3'] - _LOGGER = logging.getLogger(__name__) ATTR_EXTERNAL_ID = 'external_id' diff --git a/homeassistant/components/geo_rss_events/sensor.py b/homeassistant/components/geo_rss_events/sensor.py index f71a60c2e..f90081238 100644 --- a/homeassistant/components/geo_rss_events/sensor.py +++ b/homeassistant/components/geo_rss_events/sensor.py @@ -20,8 +20,6 @@ from homeassistant.const import ( CONF_LATITUDE, CONF_LONGITUDE, CONF_RADIUS, CONF_URL) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['georss_generic_client==0.2'] - _LOGGER = logging.getLogger(__name__) ATTR_CATEGORY = 'category' diff --git a/homeassistant/components/geofency/__init__.py b/homeassistant/components/geofency/__init__.py index 88b72f02c..0b4b757ce 100644 --- a/homeassistant/components/geofency/__init__.py +++ b/homeassistant/components/geofency/__init__.py @@ -16,8 +16,6 @@ from homeassistant.util import slugify _LOGGER = logging.getLogger(__name__) DOMAIN = 'geofency' -DEPENDENCIES = ['webhook'] - CONF_MOBILE_BEACONS = 'mobile_beacons' CONFIG_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/geofency/device_tracker.py b/homeassistant/components/geofency/device_tracker.py index 0a1a9d5f3..abccf610f 100644 --- a/homeassistant/components/geofency/device_tracker.py +++ b/homeassistant/components/geofency/device_tracker.py @@ -9,8 +9,6 @@ from . import DOMAIN as GEOFENCY_DOMAIN, TRACKER_UPDATE _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['geofency'] - DATA_KEY = '{}.{}'.format(GEOFENCY_DOMAIN, DEVICE_TRACKER_DOMAIN) diff --git a/homeassistant/components/github/sensor.py b/homeassistant/components/github/sensor.py index 5a86233d5..d552d2c65 100644 --- a/homeassistant/components/github/sensor.py +++ b/homeassistant/components/github/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['PyGithub==1.43.5'] - _LOGGER = logging.getLogger(__name__) CONF_REPOS = 'repositories' diff --git a/homeassistant/components/gitlab_ci/sensor.py b/homeassistant/components/gitlab_ci/sensor.py index dd574b348..54cbf34fd 100644 --- a/homeassistant/components/gitlab_ci/sensor.py +++ b/homeassistant/components/gitlab_ci/sensor.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['python-gitlab==1.6.0'] - _LOGGER = logging.getLogger(__name__) ATTR_BUILD_BRANCH = 'build branch' diff --git a/homeassistant/components/gitter/sensor.py b/homeassistant/components/gitter/sensor.py index 2af9c20fb..06fb6e3a3 100644 --- a/homeassistant/components/gitter/sensor.py +++ b/homeassistant/components/gitter/sensor.py @@ -8,8 +8,6 @@ from homeassistant.const import CONF_API_KEY, CONF_NAME, CONF_ROOM import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['gitterpy==0.1.7'] - _LOGGER = logging.getLogger(__name__) ATTR_MENTION = 'mention' diff --git a/homeassistant/components/glances/sensor.py b/homeassistant/components/glances/sensor.py index db8f03978..2a883e33d 100644 --- a/homeassistant/components/glances/sensor.py +++ b/homeassistant/components/glances/sensor.py @@ -14,8 +14,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['glances_api==0.2.0'] - _LOGGER = logging.getLogger(__name__) CONF_VERSION = 'version' diff --git a/homeassistant/components/gntp/notify.py b/homeassistant/components/gntp/notify.py index fb3e96e83..005043c13 100644 --- a/homeassistant/components/gntp/notify.py +++ b/homeassistant/components/gntp/notify.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['gntp==1.0.3'] - _LOGGER = logging.getLogger(__name__) _GNTP_LOGGER = logging.getLogger('gntp') diff --git a/homeassistant/components/goalfeed/__init__.py b/homeassistant/components/goalfeed/__init__.py index 6f0149f65..4a7e4ea98 100644 --- a/homeassistant/components/goalfeed/__init__.py +++ b/homeassistant/components/goalfeed/__init__.py @@ -9,7 +9,6 @@ from homeassistant.const import CONF_PASSWORD, CONF_USERNAME # Version downgraded due to regression in library # For details: https://github.com/nlsdfnbch/Pysher/issues/38 -REQUIREMENTS = ['pysher==1.0.1'] DOMAIN = 'goalfeed' CONFIG_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/gogogate2/cover.py b/homeassistant/components/gogogate2/cover.py index 4d40ddd2c..610c131bd 100644 --- a/homeassistant/components/gogogate2/cover.py +++ b/homeassistant/components/gogogate2/cover.py @@ -10,8 +10,6 @@ from homeassistant.const import ( CONF_IP_ADDRESS, CONF_NAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pygogogate2==0.1.1'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'gogogate2' diff --git a/homeassistant/components/google/__init__.py b/homeassistant/components/google/__init__.py index 0216094de..e9bbf3f96 100644 --- a/homeassistant/components/google/__init__.py +++ b/homeassistant/components/google/__init__.py @@ -13,12 +13,6 @@ from homeassistant.helpers.entity import generate_entity_id from homeassistant.helpers.event import track_time_change from homeassistant.util import convert, dt -REQUIREMENTS = [ - 'google-api-python-client==1.6.4', - 'httplib2==0.10.3', - 'oauth2client==4.0.0', -] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'google' diff --git a/homeassistant/components/google/tts.py b/homeassistant/components/google/tts.py index 49a945cbb..4d988bed2 100644 --- a/homeassistant/components/google/tts.py +++ b/homeassistant/components/google/tts.py @@ -12,8 +12,6 @@ import yarl from homeassistant.components.tts import CONF_LANG, PLATFORM_SCHEMA, Provider from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['gTTS-token==1.1.3'] - _LOGGER = logging.getLogger(__name__) GOOGLE_SPEECH_URL = "https://translate.google.com/translate_tts" diff --git a/homeassistant/components/google_assistant/__init__.py b/homeassistant/components/google_assistant/__init__.py index 0fd167c27..2d3a19afa 100644 --- a/homeassistant/components/google_assistant/__init__.py +++ b/homeassistant/components/google_assistant/__init__.py @@ -28,8 +28,6 @@ from .http import async_register_http _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['http'] - ENTITY_SCHEMA = vol.Schema({ vol.Optional(CONF_NAME): cv.string, vol.Optional(CONF_EXPOSE): cv.boolean, diff --git a/homeassistant/components/google_maps/device_tracker.py b/homeassistant/components/google_maps/device_tracker.py index 7bc9be00b..578839219 100644 --- a/homeassistant/components/google_maps/device_tracker.py +++ b/homeassistant/components/google_maps/device_tracker.py @@ -14,8 +14,6 @@ from homeassistant.helpers.event import track_time_interval from homeassistant.helpers.typing import ConfigType from homeassistant.util import slugify, dt as dt_util -REQUIREMENTS = ['locationsharinglib==3.0.11'] - _LOGGER = logging.getLogger(__name__) ATTR_ADDRESS = 'address' diff --git a/homeassistant/components/google_pubsub/__init__.py b/homeassistant/components/google_pubsub/__init__.py index 18c068ea4..8aaa7a17a 100644 --- a/homeassistant/components/google_pubsub/__init__.py +++ b/homeassistant/components/google_pubsub/__init__.py @@ -15,8 +15,6 @@ from homeassistant.helpers.entityfilter import FILTER_SCHEMA _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['google-cloud-pubsub==0.39.1'] - DOMAIN = 'google_pubsub' CONF_PROJECT_ID = 'project_id' diff --git a/homeassistant/components/google_travel_time/sensor.py b/homeassistant/components/google_travel_time/sensor.py index b448830ab..ef4fc76f5 100644 --- a/homeassistant/components/google_travel_time/sensor.py +++ b/homeassistant/components/google_travel_time/sensor.py @@ -15,8 +15,6 @@ from homeassistant.helpers import location from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['googlemaps==2.5.1'] - _LOGGER = logging.getLogger(__name__) CONF_DESTINATION = 'destination' diff --git a/homeassistant/components/googlehome/__init__.py b/homeassistant/components/googlehome/__init__.py index 6ebc2f512..073081a96 100644 --- a/homeassistant/components/googlehome/__init__.py +++ b/homeassistant/components/googlehome/__init__.py @@ -10,8 +10,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['googledevices==1.0.2'] - DOMAIN = 'googlehome' CLIENT = 'googlehome_client' diff --git a/homeassistant/components/googlehome/device_tracker.py b/homeassistant/components/googlehome/device_tracker.py index c024cde0c..3b6bc5d34 100644 --- a/homeassistant/components/googlehome/device_tracker.py +++ b/homeassistant/components/googlehome/device_tracker.py @@ -10,8 +10,6 @@ from . import CLIENT, DOMAIN as GOOGLEHOME_DOMAIN, NAME _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['googlehome'] - DEFAULT_SCAN_INTERVAL = timedelta(seconds=10) diff --git a/homeassistant/components/googlehome/sensor.py b/homeassistant/components/googlehome/sensor.py index 4f37740da..088f4352f 100644 --- a/homeassistant/components/googlehome/sensor.py +++ b/homeassistant/components/googlehome/sensor.py @@ -8,8 +8,6 @@ import homeassistant.util.dt as dt_util from . import CLIENT, DOMAIN as GOOGLEHOME_DOMAIN, NAME -DEPENDENCIES = ['googlehome'] - SCAN_INTERVAL = timedelta(seconds=10) _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gpmdp/media_player.py b/homeassistant/components/gpmdp/media_player.py index 788126b95..76253d32d 100644 --- a/homeassistant/components/gpmdp/media_player.py +++ b/homeassistant/components/gpmdp/media_player.py @@ -16,8 +16,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.util.json import load_json, save_json -REQUIREMENTS = ['websocket-client==0.54.0'] - _CONFIGURING = {} _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/gpsd/sensor.py b/homeassistant/components/gpsd/sensor.py index 62307cb10..cccf59a82 100644 --- a/homeassistant/components/gpsd/sensor.py +++ b/homeassistant/components/gpsd/sensor.py @@ -10,8 +10,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['gps3==0.33.3'] - _LOGGER = logging.getLogger(__name__) ATTR_CLIMB = 'climb' diff --git a/homeassistant/components/gpslogger/__init__.py b/homeassistant/components/gpslogger/__init__.py index 6bc9d11a6..6887b85d0 100644 --- a/homeassistant/components/gpslogger/__init__.py +++ b/homeassistant/components/gpslogger/__init__.py @@ -15,8 +15,6 @@ from homeassistant.components.device_tracker import DOMAIN as DEVICE_TRACKER _LOGGER = logging.getLogger(__name__) DOMAIN = 'gpslogger' -DEPENDENCIES = ['webhook'] - TRACKER_UPDATE = '{}_tracker_update'.format(DOMAIN) ATTR_ALTITUDE = 'altitude' diff --git a/homeassistant/components/gpslogger/device_tracker.py b/homeassistant/components/gpslogger/device_tracker.py index c94969752..679678210 100644 --- a/homeassistant/components/gpslogger/device_tracker.py +++ b/homeassistant/components/gpslogger/device_tracker.py @@ -10,8 +10,6 @@ from . import DOMAIN as GPSLOGGER_DOMAIN, TRACKER_UPDATE _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['gpslogger'] - DATA_KEY = '{}.{}'.format(GPSLOGGER_DOMAIN, DEVICE_TRACKER_DOMAIN) diff --git a/homeassistant/components/greeneye_monitor/__init__.py b/homeassistant/components/greeneye_monitor/__init__.py index aedc98aac..0f12c3cd4 100644 --- a/homeassistant/components/greeneye_monitor/__init__.py +++ b/homeassistant/components/greeneye_monitor/__init__.py @@ -11,8 +11,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import async_load_platform -REQUIREMENTS = ['greeneye_monitor==1.0'] - _LOGGER = logging.getLogger(__name__) CONF_CHANNELS = 'channels' diff --git a/homeassistant/components/greeneye_monitor/sensor.py b/homeassistant/components/greeneye_monitor/sensor.py index 8321bb768..ddfa5c150 100644 --- a/homeassistant/components/greeneye_monitor/sensor.py +++ b/homeassistant/components/greeneye_monitor/sensor.py @@ -23,8 +23,6 @@ from ..greeneye_monitor import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['greeneye_monitor'] - DATA_PULSES = 'pulses' DATA_WATT_SECONDS = 'watt_seconds' diff --git a/homeassistant/components/greenwave/light.py b/homeassistant/components/greenwave/light.py index b8efe8ae1..a8418a01a 100644 --- a/homeassistant/components/greenwave/light.py +++ b/homeassistant/components/greenwave/light.py @@ -10,7 +10,6 @@ from homeassistant.const import CONF_HOST import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['greenwavereality==0.5.1'] _LOGGER = logging.getLogger(__name__) CONF_VERSION = 'version' diff --git a/homeassistant/components/gstreamer/media_player.py b/homeassistant/components/gstreamer/media_player.py index 094a561d3..f74040105 100644 --- a/homeassistant/components/gstreamer/media_player.py +++ b/homeassistant/components/gstreamer/media_player.py @@ -11,8 +11,6 @@ from homeassistant.components.media_player.const import ( from homeassistant.const import CONF_NAME, EVENT_HOMEASSISTANT_STOP, STATE_IDLE import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['gstreamer-player==1.1.2'] - _LOGGER = logging.getLogger(__name__) CONF_PIPELINE = 'pipeline' diff --git a/homeassistant/components/gtfs/sensor.py b/homeassistant/components/gtfs/sensor.py index 9e89a8ad8..0a9301f8c 100644 --- a/homeassistant/components/gtfs/sensor.py +++ b/homeassistant/components/gtfs/sensor.py @@ -17,8 +17,6 @@ from homeassistant.helpers.typing import ConfigType, HomeAssistantType from homeassistant.util import slugify import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pygtfs==0.1.5'] - _LOGGER = logging.getLogger(__name__) ATTR_ARRIVAL = 'arrival' diff --git a/homeassistant/components/gtt/sensor.py b/homeassistant/components/gtt/sensor.py index 659984fad..ecabd5f0a 100644 --- a/homeassistant/components/gtt/sensor.py +++ b/homeassistant/components/gtt/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import DEVICE_CLASS_TIMESTAMP from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pygtt==1.1.2'] - _LOGGER = logging.getLogger(__name__) CONF_STOP = 'stop' diff --git a/homeassistant/components/habitica/__init__.py b/homeassistant/components/habitica/__init__.py index 23113a138..611e8df00 100644 --- a/homeassistant/components/habitica/__init__.py +++ b/homeassistant/components/habitica/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import ( from homeassistant.helpers import config_validation as cv, discovery from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['habitipy==0.2.0'] - _LOGGER = logging.getLogger(__name__) CONF_API_USER = 'api_user' diff --git a/homeassistant/components/hangouts/__init__.py b/homeassistant/components/hangouts/__init__.py index 29cdc29e5..50936ac62 100644 --- a/homeassistant/components/hangouts/__init__.py +++ b/homeassistant/components/hangouts/__init__.py @@ -19,8 +19,6 @@ from .const import ( MESSAGE_SCHEMA, SERVICE_RECONNECT, SERVICE_SEND_MESSAGE, SERVICE_UPDATE, TARGETS_SCHEMA) -REQUIREMENTS = ['hangups==0.4.9'] - _LOGGER = logging.getLogger(__name__) CONFIG_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/hangouts/notify.py b/homeassistant/components/hangouts/notify.py index de9af2e07..e88f80afb 100644 --- a/homeassistant/components/hangouts/notify.py +++ b/homeassistant/components/hangouts/notify.py @@ -12,8 +12,6 @@ from .const import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = [DOMAIN] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_DEFAULT_CONVERSATIONS): [TARGETS_SCHEMA] }) diff --git a/homeassistant/components/harman_kardon_avr/media_player.py b/homeassistant/components/harman_kardon_avr/media_player.py index cec0ac4f5..dc200f39b 100644 --- a/homeassistant/components/harman_kardon_avr/media_player.py +++ b/homeassistant/components/harman_kardon_avr/media_player.py @@ -12,8 +12,6 @@ from homeassistant.components.media_player.const import ( from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_PORT, STATE_OFF, STATE_ON) -REQUIREMENTS = ['hkavr==0.0.5'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Harman Kardon AVR' diff --git a/homeassistant/components/harmony/remote.py b/homeassistant/components/harmony/remote.py index 12b3a91e1..c4aebb1bd 100644 --- a/homeassistant/components/harmony/remote.py +++ b/homeassistant/components/harmony/remote.py @@ -16,8 +16,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.exceptions import PlatformNotReady from homeassistant.util import slugify -REQUIREMENTS = ['aioharmony==0.1.11'] - _LOGGER = logging.getLogger(__name__) ATTR_CHANNEL = 'channel' diff --git a/homeassistant/components/hassio/__init__.py b/homeassistant/components/hassio/__init__.py index e8d04b159..2fdb859c3 100644 --- a/homeassistant/components/hassio/__init__.py +++ b/homeassistant/components/hassio/__init__.py @@ -25,7 +25,6 @@ from .ingress import async_setup_ingress _LOGGER = logging.getLogger(__name__) DOMAIN = 'hassio' -DEPENDENCIES = ['http'] STORAGE_KEY = DOMAIN STORAGE_VERSION = 1 diff --git a/homeassistant/components/hdmi_cec/__init__.py b/homeassistant/components/hdmi_cec/__init__.py index 8eb13c5ab..189cc748d 100644 --- a/homeassistant/components/hdmi_cec/__init__.py +++ b/homeassistant/components/hdmi_cec/__init__.py @@ -17,8 +17,6 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyCEC==0.4.13'] - DOMAIN = 'hdmi_cec' _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hdmi_cec/media_player.py b/homeassistant/components/hdmi_cec/media_player.py index b2d2910e1..4468fd9d6 100644 --- a/homeassistant/components/hdmi_cec/media_player.py +++ b/homeassistant/components/hdmi_cec/media_player.py @@ -11,8 +11,6 @@ from homeassistant.const import ( from . import ATTR_NEW, CecDevice -DEPENDENCIES = ['hdmi_cec'] - _LOGGER = logging.getLogger(__name__) ENTITY_ID_FORMAT = DOMAIN + '.{}' diff --git a/homeassistant/components/hdmi_cec/switch.py b/homeassistant/components/hdmi_cec/switch.py index 639f54570..9fb003f6d 100644 --- a/homeassistant/components/hdmi_cec/switch.py +++ b/homeassistant/components/hdmi_cec/switch.py @@ -6,8 +6,6 @@ from homeassistant.const import STATE_OFF, STATE_ON, STATE_STANDBY from . import ATTR_NEW, CecDevice -DEPENDENCIES = ['hdmi_cec'] - _LOGGER = logging.getLogger(__name__) ENTITY_ID_FORMAT = DOMAIN + '.{}' diff --git a/homeassistant/components/heatmiser/climate.py b/homeassistant/components/heatmiser/climate.py index fc9057bc9..045ffdd34 100644 --- a/homeassistant/components/heatmiser/climate.py +++ b/homeassistant/components/heatmiser/climate.py @@ -10,8 +10,6 @@ from homeassistant.const import ( TEMP_CELSIUS, ATTR_TEMPERATURE, CONF_PORT, CONF_NAME, CONF_ID) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['heatmiserV3==0.9.1'] - _LOGGER = logging.getLogger(__name__) CONF_IPADDRESS = 'ipaddress' diff --git a/homeassistant/components/heos/__init__.py b/homeassistant/components/heos/__init__.py index 084444be4..529ee2799 100644 --- a/homeassistant/components/heos/__init__.py +++ b/homeassistant/components/heos/__init__.py @@ -19,8 +19,6 @@ from .const import ( COMMAND_RETRY_ATTEMPTS, COMMAND_RETRY_DELAY, DATA_CONTROLLER, DATA_SOURCE_MANAGER, DOMAIN, SIGNAL_HEOS_SOURCES_UPDATED) -REQUIREMENTS = ['pyheos==0.3.1'] - CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({ vol.Required(CONF_HOST): cv.string diff --git a/homeassistant/components/heos/media_player.py b/homeassistant/components/heos/media_player.py index 72d42f8f6..0da9db31b 100644 --- a/homeassistant/components/heos/media_player.py +++ b/homeassistant/components/heos/media_player.py @@ -17,8 +17,6 @@ from homeassistant.util.dt import utcnow from .const import ( DATA_SOURCE_MANAGER, DOMAIN as HEOS_DOMAIN, SIGNAL_HEOS_SOURCES_UPDATED) -DEPENDENCIES = ['heos'] - BASE_SUPPORTED_FEATURES = SUPPORT_VOLUME_MUTE | SUPPORT_VOLUME_SET | \ SUPPORT_VOLUME_STEP | SUPPORT_CLEAR_PLAYLIST | \ SUPPORT_SHUFFLE_SET | SUPPORT_SELECT_SOURCE diff --git a/homeassistant/components/hikvision/binary_sensor.py b/homeassistant/components/hikvision/binary_sensor.py index a6a82c9ee..f15d67396 100644 --- a/homeassistant/components/hikvision/binary_sensor.py +++ b/homeassistant/components/hikvision/binary_sensor.py @@ -13,7 +13,6 @@ from homeassistant.const import ( CONF_SSL, EVENT_HOMEASSISTANT_STOP, EVENT_HOMEASSISTANT_START, ATTR_LAST_TRIP_TIME, CONF_CUSTOMIZE) -REQUIREMENTS = ['pyhik==0.2.2'] _LOGGER = logging.getLogger(__name__) CONF_IGNORED = 'ignored' diff --git a/homeassistant/components/hikvisioncam/switch.py b/homeassistant/components/hikvisioncam/switch.py index 6e5dcdac9..373f84cee 100644 --- a/homeassistant/components/hikvisioncam/switch.py +++ b/homeassistant/components/hikvisioncam/switch.py @@ -10,7 +10,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import ToggleEntity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['hikvision==0.4'] # This is the last working version, please test before updating _LOGGING = logging.getLogger(__name__) diff --git a/homeassistant/components/hipchat/notify.py b/homeassistant/components/hipchat/notify.py index 5128b8bee..f12fd1ffa 100644 --- a/homeassistant/components/hipchat/notify.py +++ b/homeassistant/components/hipchat/notify.py @@ -10,8 +10,6 @@ from homeassistant.components.notify import (ATTR_DATA, ATTR_TARGET, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['hipnotify==1.0.8'] - _LOGGER = logging.getLogger(__name__) CONF_COLOR = 'color' diff --git a/homeassistant/components/history/__init__.py b/homeassistant/components/history/__init__.py index 7b07fac19..7efe4f2be 100644 --- a/homeassistant/components/history/__init__.py +++ b/homeassistant/components/history/__init__.py @@ -19,8 +19,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) DOMAIN = 'history' -DEPENDENCIES = ['recorder', 'http'] - CONF_ORDER = 'use_include_order' CONFIG_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/history_graph/__init__.py b/homeassistant/components/history_graph/__init__.py index 893f3514d..964d47d25 100644 --- a/homeassistant/components/history_graph/__init__.py +++ b/homeassistant/components/history_graph/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import CONF_ENTITIES, CONF_NAME, ATTR_ENTITY_ID from homeassistant.helpers.entity import Entity from homeassistant.helpers.entity_component import EntityComponent -DEPENDENCIES = ['history'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'history_graph' diff --git a/homeassistant/components/history_stats/sensor.py b/homeassistant/components/history_stats/sensor.py index f1eea4dd6..a0a08d483 100644 --- a/homeassistant/components/history_stats/sensor.py +++ b/homeassistant/components/history_stats/sensor.py @@ -20,8 +20,6 @@ from homeassistant.helpers.event import async_track_state_change _LOGGER = logging.getLogger(__name__) DOMAIN = 'history_stats' -DEPENDENCIES = ['history'] - CONF_START = 'start' CONF_END = 'end' CONF_DURATION = 'duration' diff --git a/homeassistant/components/hive/__init__.py b/homeassistant/components/hive/__init__.py index 934c44028..fdda1f1f5 100644 --- a/homeassistant/components/hive/__init__.py +++ b/homeassistant/components/hive/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform -REQUIREMENTS = ['pyhiveapi==0.2.17'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'hive' diff --git a/homeassistant/components/hive/binary_sensor.py b/homeassistant/components/hive/binary_sensor.py index a0973f4d8..97900c285 100644 --- a/homeassistant/components/hive/binary_sensor.py +++ b/homeassistant/components/hive/binary_sensor.py @@ -3,8 +3,6 @@ from homeassistant.components.binary_sensor import BinarySensorDevice from . import DATA_HIVE, DOMAIN -DEPENDENCIES = ['hive'] - DEVICETYPE_DEVICE_CLASS = { 'motionsensor': 'motion', 'contactsensor': 'opening', diff --git a/homeassistant/components/hive/climate.py b/homeassistant/components/hive/climate.py index dac7feb29..ab9b63dad 100644 --- a/homeassistant/components/hive/climate.py +++ b/homeassistant/components/hive/climate.py @@ -8,8 +8,6 @@ from homeassistant.const import ( from . import DATA_HIVE, DOMAIN -DEPENDENCIES = ['hive'] - HIVE_TO_HASS_STATE = { 'SCHEDULE': STATE_AUTO, 'MANUAL': STATE_HEAT, diff --git a/homeassistant/components/hive/light.py b/homeassistant/components/hive/light.py index 3a2176c3e..67331b12b 100644 --- a/homeassistant/components/hive/light.py +++ b/homeassistant/components/hive/light.py @@ -6,8 +6,6 @@ import homeassistant.util.color as color_util from . import DATA_HIVE, DOMAIN -DEPENDENCIES = ['hive'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up Hive light devices.""" diff --git a/homeassistant/components/hive/sensor.py b/homeassistant/components/hive/sensor.py index e7b7d6b45..b8887d274 100644 --- a/homeassistant/components/hive/sensor.py +++ b/homeassistant/components/hive/sensor.py @@ -4,8 +4,6 @@ from homeassistant.helpers.entity import Entity from . import DATA_HIVE, DOMAIN -DEPENDENCIES = ['hive'] - FRIENDLY_NAMES = { 'Hub_OnlineStatus': 'Hive Hub Status', 'Hive_OutsideTemperature': 'Outside Temperature', diff --git a/homeassistant/components/hive/switch.py b/homeassistant/components/hive/switch.py index fd4d3d69b..ea4094d57 100644 --- a/homeassistant/components/hive/switch.py +++ b/homeassistant/components/hive/switch.py @@ -3,8 +3,6 @@ from homeassistant.components.switch import SwitchDevice from . import DATA_HIVE, DOMAIN -DEPENDENCIES = ['hive'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up Hive switches.""" diff --git a/homeassistant/components/hlk_sw16/__init__.py b/homeassistant/components/hlk_sw16/__init__.py index acb604bc0..79de0bd18 100644 --- a/homeassistant/components/hlk_sw16/__init__.py +++ b/homeassistant/components/hlk_sw16/__init__.py @@ -13,8 +13,6 @@ from homeassistant.helpers.discovery import async_load_platform from homeassistant.helpers.dispatcher import ( async_dispatcher_send, async_dispatcher_connect) -REQUIREMENTS = ['hlk-sw16==0.0.7'] - _LOGGER = logging.getLogger(__name__) DATA_DEVICE_REGISTER = 'hlk_sw16_device_register' diff --git a/homeassistant/components/hlk_sw16/switch.py b/homeassistant/components/hlk_sw16/switch.py index 164a504fa..b7353f037 100644 --- a/homeassistant/components/hlk_sw16/switch.py +++ b/homeassistant/components/hlk_sw16/switch.py @@ -4,9 +4,7 @@ import logging from homeassistant.components.switch import ToggleEntity from homeassistant.const import CONF_NAME -from . import DATA_DEVICE_REGISTER, DOMAIN as HLK_SW16, SW16Device - -DEPENDENCIES = [HLK_SW16] +from . import DATA_DEVICE_REGISTER, SW16Device _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit/__init__.py b/homeassistant/components/homekit/__init__.py index 9d7de58be..f524455fe 100644 --- a/homeassistant/components/homekit/__init__.py +++ b/homeassistant/components/homekit/__init__.py @@ -26,8 +26,6 @@ from .const import ( from .util import ( show_setup_message, validate_entity_config, validate_media_player_features) -REQUIREMENTS = ['HAP-python==2.5.0'] - _LOGGER = logging.getLogger(__name__) MAX_DEVICES = 100 diff --git a/homeassistant/components/homekit_controller/__init__.py b/homeassistant/components/homekit_controller/__init__.py index 2a43d0ac9..6765db008 100644 --- a/homeassistant/components/homekit_controller/__init__.py +++ b/homeassistant/components/homekit_controller/__init__.py @@ -12,8 +12,6 @@ from .const import ( ) from .const import DOMAIN # noqa: pylint: disable=unused-import -REQUIREMENTS = ['homekit[IP]==0.13.0'] - HOMEKIT_IGNORE = [ 'BSB002', 'Home Assistant Bridge', diff --git a/homeassistant/components/homekit_controller/alarm_control_panel.py b/homeassistant/components/homekit_controller/alarm_control_panel.py index f9bc25f42..fe15cfe2e 100644 --- a/homeassistant/components/homekit_controller/alarm_control_panel.py +++ b/homeassistant/components/homekit_controller/alarm_control_panel.py @@ -8,8 +8,6 @@ from homeassistant.const import ( from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] - ICON = 'mdi:security' _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit_controller/binary_sensor.py b/homeassistant/components/homekit_controller/binary_sensor.py index 2bd03b189..a5b700820 100644 --- a/homeassistant/components/homekit_controller/binary_sensor.py +++ b/homeassistant/components/homekit_controller/binary_sensor.py @@ -5,8 +5,6 @@ from homeassistant.components.binary_sensor import BinarySensorDevice from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit_controller/climate.py b/homeassistant/components/homekit_controller/climate.py index 67f1fb72b..dfbd6f68d 100644 --- a/homeassistant/components/homekit_controller/climate.py +++ b/homeassistant/components/homekit_controller/climate.py @@ -9,8 +9,6 @@ from homeassistant.const import ATTR_TEMPERATURE, STATE_OFF, TEMP_CELSIUS from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] - _LOGGER = logging.getLogger(__name__) # Map of Homekit operation modes to hass modes diff --git a/homeassistant/components/homekit_controller/cover.py b/homeassistant/components/homekit_controller/cover.py index 26b7613ed..0c9ce2bc5 100644 --- a/homeassistant/components/homekit_controller/cover.py +++ b/homeassistant/components/homekit_controller/cover.py @@ -12,8 +12,6 @@ from . import KNOWN_DEVICES, HomeKitEntity STATE_STOPPED = 'stopped' -DEPENDENCIES = ['homekit_controller'] - _LOGGER = logging.getLogger(__name__) CURRENT_GARAGE_STATE_MAP = { diff --git a/homeassistant/components/homekit_controller/light.py b/homeassistant/components/homekit_controller/light.py index cb9259df4..a139b1f29 100644 --- a/homeassistant/components/homekit_controller/light.py +++ b/homeassistant/components/homekit_controller/light.py @@ -7,8 +7,6 @@ from homeassistant.components.light import ( from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homekit_controller/lock.py b/homeassistant/components/homekit_controller/lock.py index 0d0275fda..67de2bfaf 100644 --- a/homeassistant/components/homekit_controller/lock.py +++ b/homeassistant/components/homekit_controller/lock.py @@ -7,8 +7,6 @@ from homeassistant.const import ( from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] - _LOGGER = logging.getLogger(__name__) STATE_JAMMED = 'jammed' diff --git a/homeassistant/components/homekit_controller/sensor.py b/homeassistant/components/homekit_controller/sensor.py index 8cbc8f248..b377da801 100644 --- a/homeassistant/components/homekit_controller/sensor.py +++ b/homeassistant/components/homekit_controller/sensor.py @@ -3,8 +3,6 @@ from homeassistant.const import TEMP_CELSIUS from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] - HUMIDITY_ICON = 'mdi-water-percent' TEMP_C_ICON = "mdi-temperature-celsius" BRIGHTNESS_ICON = "mdi-brightness-6" diff --git a/homeassistant/components/homekit_controller/switch.py b/homeassistant/components/homekit_controller/switch.py index 34e83c065..c09502373 100644 --- a/homeassistant/components/homekit_controller/switch.py +++ b/homeassistant/components/homekit_controller/switch.py @@ -5,8 +5,6 @@ from homeassistant.components.switch import SwitchDevice from . import KNOWN_DEVICES, HomeKitEntity -DEPENDENCIES = ['homekit_controller'] - OUTLET_IN_USE = "outlet_in_use" _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematic/__init__.py b/homeassistant/components/homematic/__init__.py index a8109af5e..97c805aa2 100644 --- a/homeassistant/components/homematic/__init__.py +++ b/homeassistant/components/homematic/__init__.py @@ -14,8 +14,6 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyhomematic==0.1.58'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'homematic' diff --git a/homeassistant/components/homematic/binary_sensor.py b/homeassistant/components/homematic/binary_sensor.py index 7bf260a9b..dfd7b7a72 100644 --- a/homeassistant/components/homematic/binary_sensor.py +++ b/homeassistant/components/homematic/binary_sensor.py @@ -8,8 +8,6 @@ from . import ATTR_DISCOVER_DEVICES, HMDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematic'] - SENSOR_TYPES_CLASS = { 'IPShutterContact': 'opening', 'MaxShutterContact': 'opening', diff --git a/homeassistant/components/homematic/climate.py b/homeassistant/components/homematic/climate.py index 146cad1bc..e10d486b7 100644 --- a/homeassistant/components/homematic/climate.py +++ b/homeassistant/components/homematic/climate.py @@ -9,8 +9,6 @@ from homeassistant.const import ATTR_TEMPERATURE, TEMP_CELSIUS from . import ATTR_DISCOVER_DEVICES, HM_ATTRIBUTE_SUPPORT, HMDevice -DEPENDENCIES = ['homematic'] - _LOGGER = logging.getLogger(__name__) STATE_BOOST = 'boost' diff --git a/homeassistant/components/homematic/cover.py b/homeassistant/components/homematic/cover.py index 33b764dc3..387eb26f4 100644 --- a/homeassistant/components/homematic/cover.py +++ b/homeassistant/components/homematic/cover.py @@ -9,8 +9,6 @@ from . import ATTR_DISCOVER_DEVICES, HMDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematic'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the platform.""" diff --git a/homeassistant/components/homematic/light.py b/homeassistant/components/homematic/light.py index c36014611..72aa9a977 100644 --- a/homeassistant/components/homematic/light.py +++ b/homeassistant/components/homematic/light.py @@ -9,8 +9,6 @@ from . import ATTR_DISCOVER_DEVICES, HMDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematic'] - SUPPORT_HOMEMATIC = SUPPORT_BRIGHTNESS diff --git a/homeassistant/components/homematic/lock.py b/homeassistant/components/homematic/lock.py index 3c0ca040c..7f796b328 100644 --- a/homeassistant/components/homematic/lock.py +++ b/homeassistant/components/homematic/lock.py @@ -8,8 +8,6 @@ from . import ATTR_DISCOVER_DEVICES, HMDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematic'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Homematic lock platform.""" diff --git a/homeassistant/components/homematic/notify.py b/homeassistant/components/homematic/notify.py index 9054c1fa0..74ea7095b 100644 --- a/homeassistant/components/homematic/notify.py +++ b/homeassistant/components/homematic/notify.py @@ -13,8 +13,6 @@ from . import ( SERVICE_SET_DEVICE_VALUE) _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ["homematic"] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(ATTR_ADDRESS): vol.All(cv.string, vol.Upper), vol.Required(ATTR_CHANNEL): vol.Coerce(int), diff --git a/homeassistant/components/homematic/sensor.py b/homeassistant/components/homematic/sensor.py index 401d11f70..fca8c746a 100644 --- a/homeassistant/components/homematic/sensor.py +++ b/homeassistant/components/homematic/sensor.py @@ -7,8 +7,6 @@ from . import ATTR_DISCOVER_DEVICES, HMDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematic'] - HM_STATE_HA_CAST = { 'RotaryHandleSensor': {0: 'closed', 1: 'tilted', 2: 'open'}, 'RotaryHandleSensorIP': {0: 'closed', 1: 'tilted', 2: 'open'}, diff --git a/homeassistant/components/homematic/switch.py b/homeassistant/components/homematic/switch.py index 393ad09b3..b77b3a1f7 100644 --- a/homeassistant/components/homematic/switch.py +++ b/homeassistant/components/homematic/switch.py @@ -8,8 +8,6 @@ from . import ATTR_DISCOVER_DEVICES, HMDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematic'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the HomeMatic switch platform.""" diff --git a/homeassistant/components/homematicip_cloud/__init__.py b/homeassistant/components/homematicip_cloud/__init__.py index 1330a2750..4a24120be 100644 --- a/homeassistant/components/homematicip_cloud/__init__.py +++ b/homeassistant/components/homematicip_cloud/__init__.py @@ -15,8 +15,6 @@ from .const import ( from .device import HomematicipGenericDevice # noqa: F401 from .hap import HomematicipAuth, HomematicipHAP # noqa: F401 -REQUIREMENTS = ['homematicip==0.10.7'] - _LOGGER = logging.getLogger(__name__) CONFIG_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/homematicip_cloud/alarm_control_panel.py b/homeassistant/components/homematicip_cloud/alarm_control_panel.py index df0201340..cb35833c2 100644 --- a/homeassistant/components/homematicip_cloud/alarm_control_panel.py +++ b/homeassistant/components/homematicip_cloud/alarm_control_panel.py @@ -10,8 +10,6 @@ from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematicip_cloud'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/homematicip_cloud/binary_sensor.py b/homeassistant/components/homematicip_cloud/binary_sensor.py index 44c17282d..48e9520a9 100644 --- a/homeassistant/components/homematicip_cloud/binary_sensor.py +++ b/homeassistant/components/homematicip_cloud/binary_sensor.py @@ -6,8 +6,6 @@ from homeassistant.components.binary_sensor import BinarySensorDevice from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice from .device import ATTR_GROUP_MEMBER_UNREACHABLE -DEPENDENCIES = ['homematicip_cloud'] - _LOGGER = logging.getLogger(__name__) ATTR_MOTIONDETECTED = 'motion detected' diff --git a/homeassistant/components/homematicip_cloud/cover.py b/homeassistant/components/homematicip_cloud/cover.py index 735e87896..e572e3d97 100644 --- a/homeassistant/components/homematicip_cloud/cover.py +++ b/homeassistant/components/homematicip_cloud/cover.py @@ -5,8 +5,6 @@ from homeassistant.components.cover import ATTR_POSITION, CoverDevice from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice -DEPENDENCIES = ['homematicip_cloud'] - _LOGGER = logging.getLogger(__name__) HMIP_COVER_OPEN = 0 diff --git a/homeassistant/components/homematicip_cloud/light.py b/homeassistant/components/homematicip_cloud/light.py index f5bac6638..b67e4114d 100644 --- a/homeassistant/components/homematicip_cloud/light.py +++ b/homeassistant/components/homematicip_cloud/light.py @@ -7,8 +7,6 @@ from homeassistant.components.light import ( from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice -DEPENDENCIES = ['homematicip_cloud'] - _LOGGER = logging.getLogger(__name__) ATTR_ENERGY_COUNTER = 'energy_counter_kwh' diff --git a/homeassistant/components/homematicip_cloud/sensor.py b/homeassistant/components/homematicip_cloud/sensor.py index 5f345f419..201a5be6c 100644 --- a/homeassistant/components/homematicip_cloud/sensor.py +++ b/homeassistant/components/homematicip_cloud/sensor.py @@ -9,8 +9,6 @@ from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['homematicip_cloud'] - ATTR_TEMPERATURE_OFFSET = 'temperature_offset' ATTR_WIND_DIRECTION = 'wind_direction' ATTR_WIND_DIRECTION_VARIATION = 'wind_direction_variation_in_degree' diff --git a/homeassistant/components/homematicip_cloud/switch.py b/homeassistant/components/homematicip_cloud/switch.py index f9713cd8c..b96e0c4cf 100644 --- a/homeassistant/components/homematicip_cloud/switch.py +++ b/homeassistant/components/homematicip_cloud/switch.py @@ -6,8 +6,6 @@ from homeassistant.components.switch import SwitchDevice from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice from .device import ATTR_GROUP_MEMBER_UNREACHABLE -DEPENDENCIES = ['homematicip_cloud'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homematicip_cloud/weather.py b/homeassistant/components/homematicip_cloud/weather.py index ba3157471..74b302b18 100644 --- a/homeassistant/components/homematicip_cloud/weather.py +++ b/homeassistant/components/homematicip_cloud/weather.py @@ -7,8 +7,6 @@ from homeassistant.const import TEMP_CELSIUS from . import DOMAIN as HMIPC_DOMAIN, HMIPC_HAPID, HomematicipGenericDevice -DEPENDENCIES = ['homematicip_cloud'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/homeworks/__init__.py b/homeassistant/components/homeworks/__init__.py index d0769ed25..b722a5a4a 100644 --- a/homeassistant/components/homeworks/__init__.py +++ b/homeassistant/components/homeworks/__init__.py @@ -12,8 +12,6 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_connect, dispatcher_send) from homeassistant.util import slugify -REQUIREMENTS = ['pyhomeworks==0.0.6'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'homeworks' diff --git a/homeassistant/components/homeworks/light.py b/homeassistant/components/homeworks/light.py index ca41dff98..710be7c00 100644 --- a/homeassistant/components/homeworks/light.py +++ b/homeassistant/components/homeworks/light.py @@ -11,8 +11,6 @@ from . import ( CONF_ADDR, CONF_DIMMERS, CONF_RATE, ENTITY_SIGNAL, HOMEWORKS_CONTROLLER, HomeworksDevice) -DEPENDENCIES = ['homeworks'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/honeywell/climate.py b/homeassistant/components/honeywell/climate.py index 7460ed6e9..df19f67a8 100644 --- a/homeassistant/components/honeywell/climate.py +++ b/homeassistant/components/honeywell/climate.py @@ -15,8 +15,6 @@ from homeassistant.const import ( CONF_PASSWORD, CONF_USERNAME, TEMP_CELSIUS, TEMP_FAHRENHEIT, ATTR_TEMPERATURE, CONF_REGION) -REQUIREMENTS = ['evohomeclient==0.3.2', 'somecomfort==0.5.2'] - _LOGGER = logging.getLogger(__name__) ATTR_FAN = 'fan' diff --git a/homeassistant/components/horizon/media_player.py b/homeassistant/components/horizon/media_player.py index 51168e4ef..ab72b051f 100644 --- a/homeassistant/components/horizon/media_player.py +++ b/homeassistant/components/horizon/media_player.py @@ -16,8 +16,6 @@ from homeassistant.const import ( from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['horimote==0.4.1'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Horizon' diff --git a/homeassistant/components/hp_ilo/sensor.py b/homeassistant/components/hp_ilo/sensor.py index a017f0ee3..46fde8856 100644 --- a/homeassistant/components/hp_ilo/sensor.py +++ b/homeassistant/components/hp_ilo/sensor.py @@ -13,8 +13,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['python-hpilo==3.9'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = "HP ILO" diff --git a/homeassistant/components/html5/notify.py b/homeassistant/components/html5/notify.py index fa7bf660b..2fcaa266b 100644 --- a/homeassistant/components/html5/notify.py +++ b/homeassistant/components/html5/notify.py @@ -24,10 +24,6 @@ from homeassistant.components.notify import ( ATTR_DATA, ATTR_TARGET, ATTR_TITLE, ATTR_TITLE_DEFAULT, DOMAIN, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['pywebpush==1.9.2'] - -DEPENDENCIES = ['frontend'] - _LOGGER = logging.getLogger(__name__) REGISTRATIONS_FILE = 'html5_push_registrations.conf' diff --git a/homeassistant/components/http/__init__.py b/homeassistant/components/http/__init__.py index 0bcf3f85f..ad64b3820 100644 --- a/homeassistant/components/http/__init__.py +++ b/homeassistant/components/http/__init__.py @@ -29,8 +29,6 @@ from .real_ip import setup_real_ip from .static import CACHE_HEADERS, CachingStaticResource from .view import HomeAssistantView # noqa -REQUIREMENTS = ['aiohttp_cors==0.7.0'] - DOMAIN = 'http' CONF_API_PASSWORD = 'api_password' diff --git a/homeassistant/components/htu21d/sensor.py b/homeassistant/components/htu21d/sensor.py index 17182bb83..01c2b0399 100644 --- a/homeassistant/components/htu21d/sensor.py +++ b/homeassistant/components/htu21d/sensor.py @@ -12,9 +12,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle from homeassistant.util.temperature import celsius_to_fahrenheit -REQUIREMENTS = ['i2csense==0.0.4', - 'smbus-cffi==0.5.1'] - _LOGGER = logging.getLogger(__name__) CONF_I2C_BUS = 'i2c_bus' diff --git a/homeassistant/components/huawei_lte/__init__.py b/homeassistant/components/huawei_lte/__init__.py index a462b1b30..8e401dfd2 100644 --- a/homeassistant/components/huawei_lte/__init__.py +++ b/homeassistant/components/huawei_lte/__init__.py @@ -19,8 +19,6 @@ _LOGGER = logging.getLogger(__name__) # https://github.com/quandyfactory/dicttoxml/issues/60 logging.getLogger('dicttoxml').setLevel(logging.WARNING) -REQUIREMENTS = ['huawei-lte-api==1.1.5'] - MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=10) DOMAIN = 'huawei_lte' diff --git a/homeassistant/components/huawei_lte/device_tracker.py b/homeassistant/components/huawei_lte/device_tracker.py index 69bf42fb3..d6c49f5e2 100644 --- a/homeassistant/components/huawei_lte/device_tracker.py +++ b/homeassistant/components/huawei_lte/device_tracker.py @@ -11,8 +11,6 @@ from homeassistant.components.device_tracker import ( from homeassistant.const import CONF_URL from ..huawei_lte import DATA_KEY, RouterData -DEPENDENCIES = ['huawei_lte'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_URL): cv.url, }) diff --git a/homeassistant/components/huawei_lte/notify.py b/homeassistant/components/huawei_lte/notify.py index 5e20a774c..6394140c0 100644 --- a/homeassistant/components/huawei_lte/notify.py +++ b/homeassistant/components/huawei_lte/notify.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from ..huawei_lte import DATA_KEY -DEPENDENCIES = ['huawei_lte'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/huawei_lte/sensor.py b/homeassistant/components/huawei_lte/sensor.py index 42ad4b52f..42bd1f162 100644 --- a/homeassistant/components/huawei_lte/sensor.py +++ b/homeassistant/components/huawei_lte/sensor.py @@ -16,8 +16,6 @@ from ..huawei_lte import DATA_KEY, RouterData _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['huawei_lte'] - DEFAULT_NAME_TEMPLATE = 'Huawei {} {}' DEFAULT_SENSORS = [ diff --git a/homeassistant/components/hue/__init__.py b/homeassistant/components/hue/__init__.py index 8f5c27f65..ac17e6e85 100644 --- a/homeassistant/components/hue/__init__.py +++ b/homeassistant/components/hue/__init__.py @@ -14,8 +14,6 @@ from .bridge import HueBridge # Loading the config flow file will register the flow from .config_flow import configured_hosts -REQUIREMENTS = ['aiohue==1.9.1'] - _LOGGER = logging.getLogger(__name__) CONF_BRIDGES = "bridges" diff --git a/homeassistant/components/hue/light.py b/homeassistant/components/hue/light.py index 0725c86bd..3ba92ef12 100644 --- a/homeassistant/components/hue/light.py +++ b/homeassistant/components/hue/light.py @@ -16,7 +16,6 @@ from homeassistant.components.light import ( Light) from homeassistant.util import color -DEPENDENCIES = ['hue'] SCAN_INTERVAL = timedelta(seconds=5) _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/hunterdouglas_powerview/scene.py b/homeassistant/components/hunterdouglas_powerview/scene.py index 7f0709aa6..571e15ab9 100644 --- a/homeassistant/components/hunterdouglas_powerview/scene.py +++ b/homeassistant/components/hunterdouglas_powerview/scene.py @@ -10,8 +10,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.helpers.entity import async_generate_entity_id _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['aiopvapi==1.6.14'] - ENTITY_ID_FORMAT = DOMAIN + '.{}' HUB_ADDRESS = 'address' diff --git a/homeassistant/components/hydrawise/__init__.py b/homeassistant/components/hydrawise/__init__.py index 9c7baf6db..6ac0ee032 100644 --- a/homeassistant/components/hydrawise/__init__.py +++ b/homeassistant/components/hydrawise/__init__.py @@ -14,8 +14,6 @@ from homeassistant.helpers.dispatcher import ( from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['hydrawiser==0.1.1'] - _LOGGER = logging.getLogger(__name__) ALLOWED_WATERING_TIME = [5, 10, 15, 30, 45, 60] diff --git a/homeassistant/components/hydrawise/binary_sensor.py b/homeassistant/components/hydrawise/binary_sensor.py index 85a51d364..980e495c7 100644 --- a/homeassistant/components/hydrawise/binary_sensor.py +++ b/homeassistant/components/hydrawise/binary_sensor.py @@ -12,8 +12,6 @@ from . import ( BINARY_SENSORS, DATA_HYDRAWISE, DEVICE_MAP, DEVICE_MAP_INDEX, HydrawiseEntity) -DEPENDENCIES = ['hydrawise'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/hydrawise/sensor.py b/homeassistant/components/hydrawise/sensor.py index fc15a54ed..908529c78 100644 --- a/homeassistant/components/hydrawise/sensor.py +++ b/homeassistant/components/hydrawise/sensor.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from . import ( DATA_HYDRAWISE, DEVICE_MAP, DEVICE_MAP_INDEX, SENSORS, HydrawiseEntity) -DEPENDENCIES = ['hydrawise'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/hydrawise/switch.py b/homeassistant/components/hydrawise/switch.py index dcbd5274a..ccfa9333e 100644 --- a/homeassistant/components/hydrawise/switch.py +++ b/homeassistant/components/hydrawise/switch.py @@ -12,8 +12,6 @@ from . import ( DEFAULT_WATERING_TIME, DEVICE_MAP, DEVICE_MAP_INDEX, SWITCHES, HydrawiseEntity) -DEPENDENCIES = ['hydrawise'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/hydroquebec/sensor.py b/homeassistant/components/hydroquebec/sensor.py index 5f0fd9e01..0ec48f305 100644 --- a/homeassistant/components/hydroquebec/sensor.py +++ b/homeassistant/components/hydroquebec/sensor.py @@ -20,8 +20,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyhydroquebec==2.2.2'] - _LOGGER = logging.getLogger(__name__) KILOWATT_HOUR = ENERGY_KILO_WATT_HOUR diff --git a/homeassistant/components/ialarm/alarm_control_panel.py b/homeassistant/components/ialarm/alarm_control_panel.py index 8152c2496..27ff4fc68 100644 --- a/homeassistant/components/ialarm/alarm_control_panel.py +++ b/homeassistant/components/ialarm/alarm_control_panel.py @@ -12,8 +12,6 @@ from homeassistant.const import ( STATE_ALARM_TRIGGERED) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyialarm==0.3'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'iAlarm' diff --git a/homeassistant/components/icloud/device_tracker.py b/homeassistant/components/icloud/device_tracker.py index 1d0e0d2fa..908fe5ecf 100644 --- a/homeassistant/components/icloud/device_tracker.py +++ b/homeassistant/components/icloud/device_tracker.py @@ -17,8 +17,6 @@ from homeassistant.util.location import distance _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pyicloud==0.9.1'] - CONF_ACCOUNTNAME = 'account_name' CONF_MAX_INTERVAL = 'max_interval' CONF_GPS_ACCURACY_THRESHOLD = 'gps_accuracy_threshold' diff --git a/homeassistant/components/idteck_prox/__init__.py b/homeassistant/components/idteck_prox/__init__.py index 3de7aa7cc..bfb227e0f 100644 --- a/homeassistant/components/idteck_prox/__init__.py +++ b/homeassistant/components/idteck_prox/__init__.py @@ -7,8 +7,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.const import ( CONF_HOST, CONF_PORT, CONF_NAME, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['rfk101py==0.0.1'] - _LOGGER = logging.getLogger(__name__) DOMAIN = "idteck_prox" diff --git a/homeassistant/components/ifttt/__init__.py b/homeassistant/components/ifttt/__init__.py index bad3984ea..6b5934702 100644 --- a/homeassistant/components/ifttt/__init__.py +++ b/homeassistant/components/ifttt/__init__.py @@ -9,9 +9,6 @@ from homeassistant.const import CONF_WEBHOOK_ID from homeassistant.helpers import config_entry_flow import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyfttt==0.3'] -DEPENDENCIES = ['webhook'] - _LOGGER = logging.getLogger(__name__) EVENT_RECEIVED = 'ifttt_webhook_received' diff --git a/homeassistant/components/ifttt/alarm_control_panel.py b/homeassistant/components/ifttt/alarm_control_panel.py index 3f8061731..a0492a210 100644 --- a/homeassistant/components/ifttt/alarm_control_panel.py +++ b/homeassistant/components/ifttt/alarm_control_panel.py @@ -15,8 +15,6 @@ import homeassistant.helpers.config_validation as cv from . import ATTR_EVENT, DOMAIN as IFTTT_DOMAIN, SERVICE_TRIGGER -DEPENDENCIES = ['ifttt'] - _LOGGER = logging.getLogger(__name__) ALLOWED_STATES = [ diff --git a/homeassistant/components/iglo/light.py b/homeassistant/components/iglo/light.py index 6851141ef..1a6b58390 100644 --- a/homeassistant/components/iglo/light.py +++ b/homeassistant/components/iglo/light.py @@ -12,8 +12,6 @@ from homeassistant.const import CONF_HOST, CONF_NAME, CONF_PORT import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['iglo==1.2.7'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'iGlo Light' diff --git a/homeassistant/components/ihc/__init__.py b/homeassistant/components/ihc/__init__.py index 102acd825..7d8acfbdf 100644 --- a/homeassistant/components/ihc/__init__.py +++ b/homeassistant/components/ihc/__init__.py @@ -21,8 +21,6 @@ from .const import ( SERVICE_SET_RUNTIME_VALUE_FLOAT, SERVICE_SET_RUNTIME_VALUE_INT) from .util import async_pulse -REQUIREMENTS = ['ihcsdk==2.3.0', 'defusedxml==0.5.0'] - _LOGGER = logging.getLogger(__name__) AUTO_SETUP_YAML = 'ihc_auto_setup.yaml' diff --git a/homeassistant/components/ihc/binary_sensor.py b/homeassistant/components/ihc/binary_sensor.py index 69e3e1685..a9a2b66cd 100644 --- a/homeassistant/components/ihc/binary_sensor.py +++ b/homeassistant/components/ihc/binary_sensor.py @@ -6,8 +6,6 @@ from . import IHC_CONTROLLER, IHC_DATA, IHC_INFO from .const import CONF_INVERTING from .ihcdevice import IHCDevice -DEPENDENCIES = ['ihc'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the IHC binary sensor platform.""" diff --git a/homeassistant/components/ihc/light.py b/homeassistant/components/ihc/light.py index ad6d0fb65..72c0dc8f0 100644 --- a/homeassistant/components/ihc/light.py +++ b/homeassistant/components/ihc/light.py @@ -9,8 +9,6 @@ from .const import CONF_DIMMABLE, CONF_OFF_ID, CONF_ON_ID from .ihcdevice import IHCDevice from .util import async_pulse, async_set_bool, async_set_int -DEPENDENCIES = ['ihc'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ihc/sensor.py b/homeassistant/components/ihc/sensor.py index fd1f2cee5..4c63cf41e 100644 --- a/homeassistant/components/ihc/sensor.py +++ b/homeassistant/components/ihc/sensor.py @@ -5,8 +5,6 @@ from homeassistant.helpers.entity import Entity from . import IHC_CONTROLLER, IHC_DATA, IHC_INFO from .ihcdevice import IHCDevice -DEPENDENCIES = ['ihc'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the IHC sensor platform.""" diff --git a/homeassistant/components/ihc/switch.py b/homeassistant/components/ihc/switch.py index e2189492b..6d3a72a3b 100644 --- a/homeassistant/components/ihc/switch.py +++ b/homeassistant/components/ihc/switch.py @@ -6,8 +6,6 @@ from .const import CONF_OFF_ID, CONF_ON_ID from .ihcdevice import IHCDevice from .util import async_pulse, async_set_bool -DEPENDENCIES = ['ihc'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the IHC switch platform.""" diff --git a/homeassistant/components/image_processing/__init__.py b/homeassistant/components/image_processing/__init__.py index e51939856..ce49ebf93 100644 --- a/homeassistant/components/image_processing/__init__.py +++ b/homeassistant/components/image_processing/__init__.py @@ -17,8 +17,6 @@ from homeassistant.util.async_ import run_callback_threadsafe _LOGGER = logging.getLogger(__name__) DOMAIN = 'image_processing' -DEPENDENCIES = ['camera'] - SCAN_INTERVAL = timedelta(seconds=10) DEVICE_CLASSES = [ diff --git a/homeassistant/components/imap/sensor.py b/homeassistant/components/imap/sensor.py index 5ff23eb8e..cbc470bee 100644 --- a/homeassistant/components/imap/sensor.py +++ b/homeassistant/components/imap/sensor.py @@ -15,8 +15,6 @@ from homeassistant.helpers.entity import Entity _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['aioimaplib==0.7.15'] - CONF_SERVER = 'server' CONF_FOLDER = 'folder' CONF_SEARCH = 'search' diff --git a/homeassistant/components/influxdb/__init__.py b/homeassistant/components/influxdb/__init__.py index 551996983..bf2ba1b8e 100644 --- a/homeassistant/components/influxdb/__init__.py +++ b/homeassistant/components/influxdb/__init__.py @@ -18,8 +18,6 @@ from homeassistant.helpers import state as state_helper, event as event_helper import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity_values import EntityValues -REQUIREMENTS = ['influxdb==5.2.0'] - _LOGGER = logging.getLogger(__name__) CONF_DB_NAME = 'database' diff --git a/homeassistant/components/influxdb/sensor.py b/homeassistant/components/influxdb/sensor.py index 3bec7e3c6..81a93cfc5 100644 --- a/homeassistant/components/influxdb/sensor.py +++ b/homeassistant/components/influxdb/sensor.py @@ -18,8 +18,6 @@ from . import CONF_DB_NAME _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['influxdb==5.2.0'] - DEFAULT_HOST = 'localhost' DEFAULT_PORT = 8086 DEFAULT_DATABASE = 'home_assistant' diff --git a/homeassistant/components/insteon/__init__.py b/homeassistant/components/insteon/__init__.py index a462ac0f6..a1eea2fb1 100644 --- a/homeassistant/components/insteon/__init__.py +++ b/homeassistant/components/insteon/__init__.py @@ -13,8 +13,6 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['insteonplm==0.15.2'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'insteon' diff --git a/homeassistant/components/insteon/binary_sensor.py b/homeassistant/components/insteon/binary_sensor.py index 6f1e56756..50e7a8fb6 100644 --- a/homeassistant/components/insteon/binary_sensor.py +++ b/homeassistant/components/insteon/binary_sensor.py @@ -7,8 +7,6 @@ from . import InsteonEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['insteon'] - SENSOR_TYPES = { 'openClosedSensor': 'opening', 'ioLincSensor': 'opening', diff --git a/homeassistant/components/insteon/cover.py b/homeassistant/components/insteon/cover.py index 1bb316152..da339bb4b 100644 --- a/homeassistant/components/insteon/cover.py +++ b/homeassistant/components/insteon/cover.py @@ -10,7 +10,6 @@ from . import InsteonEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['insteon'] SUPPORTED_FEATURES = SUPPORT_OPEN | SUPPORT_CLOSE | SUPPORT_SET_POSITION diff --git a/homeassistant/components/insteon/fan.py b/homeassistant/components/insteon/fan.py index 26a56d6df..888fcfe95 100644 --- a/homeassistant/components/insteon/fan.py +++ b/homeassistant/components/insteon/fan.py @@ -10,8 +10,6 @@ from . import InsteonEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['insteon'] - SPEED_TO_HEX = { SPEED_OFF: 0x00, SPEED_LOW: 0x3f, diff --git a/homeassistant/components/insteon/light.py b/homeassistant/components/insteon/light.py index 676c05332..5103bedc6 100644 --- a/homeassistant/components/insteon/light.py +++ b/homeassistant/components/insteon/light.py @@ -8,8 +8,6 @@ from . import InsteonEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['insteon'] - MAX_BRIGHTNESS = 255 diff --git a/homeassistant/components/insteon/sensor.py b/homeassistant/components/insteon/sensor.py index edea87e1f..a7c1c0b89 100644 --- a/homeassistant/components/insteon/sensor.py +++ b/homeassistant/components/insteon/sensor.py @@ -5,8 +5,6 @@ from homeassistant.helpers.entity import Entity from . import InsteonEntity -DEPENDENCIES = ['insteon'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/insteon/switch.py b/homeassistant/components/insteon/switch.py index 4fdcdb20b..6c7b2b020 100644 --- a/homeassistant/components/insteon/switch.py +++ b/homeassistant/components/insteon/switch.py @@ -5,8 +5,6 @@ from homeassistant.components.switch import SwitchDevice from . import InsteonEntity -DEPENDENCIES = ['insteon'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ios/__init__.py b/homeassistant/components/ios/__init__.py index cc8bd6229..a9395ed5f 100644 --- a/homeassistant/components/ios/__init__.py +++ b/homeassistant/components/ios/__init__.py @@ -17,8 +17,6 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'ios' -DEPENDENCIES = ['device_tracker', 'http', 'zeroconf'] - CONF_PUSH = 'push' CONF_PUSH_CATEGORIES = 'categories' CONF_PUSH_CATEGORIES_NAME = 'name' diff --git a/homeassistant/components/ios/notify.py b/homeassistant/components/ios/notify.py index 1f8aade4e..ecbbfb205 100644 --- a/homeassistant/components/ios/notify.py +++ b/homeassistant/components/ios/notify.py @@ -14,8 +14,6 @@ _LOGGER = logging.getLogger(__name__) PUSH_URL = "https://ios-push.home-assistant.io/push" -DEPENDENCIES = ["ios"] - # pylint: disable=invalid-name def log_rate_limits(hass, target, resp, level=20): diff --git a/homeassistant/components/ios/sensor.py b/homeassistant/components/ios/sensor.py index 404b31336..5c5be2b26 100644 --- a/homeassistant/components/ios/sensor.py +++ b/homeassistant/components/ios/sensor.py @@ -3,8 +3,6 @@ from homeassistant.components import ios from homeassistant.helpers.entity import Entity from homeassistant.helpers.icon import icon_for_battery_level -DEPENDENCIES = ['ios'] - SENSOR_TYPES = { 'level': ['Battery Level', '%'], 'state': ['Battery State', None] diff --git a/homeassistant/components/iota/__init__.py b/homeassistant/components/iota/__init__.py index e28de61aa..c3140e00b 100644 --- a/homeassistant/components/iota/__init__.py +++ b/homeassistant/components/iota/__init__.py @@ -8,8 +8,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyota==2.0.5'] - _LOGGER = logging.getLogger(__name__) CONF_IRI = 'iri' diff --git a/homeassistant/components/iota/sensor.py b/homeassistant/components/iota/sensor.py index 2955828af..c278ab728 100644 --- a/homeassistant/components/iota/sensor.py +++ b/homeassistant/components/iota/sensor.py @@ -15,8 +15,6 @@ CONF_IRI = 'iri' CONF_SEED = 'seed' CONF_TESTNET = 'testnet' -DEPENDENCIES = ['iota'] - SCAN_INTERVAL = timedelta(minutes=3) diff --git a/homeassistant/components/iperf3/__init__.py b/homeassistant/components/iperf3/__init__.py index 01ac2194f..00a5738db 100644 --- a/homeassistant/components/iperf3/__init__.py +++ b/homeassistant/components/iperf3/__init__.py @@ -12,8 +12,6 @@ from homeassistant.helpers.discovery import async_load_platform from homeassistant.helpers.dispatcher import dispatcher_send from homeassistant.helpers.event import async_track_time_interval -REQUIREMENTS = ['iperf3==0.1.10'] - DOMAIN = 'iperf3' DATA_UPDATED = '{}_data_updated'.format(DOMAIN) diff --git a/homeassistant/components/iperf3/sensor.py b/homeassistant/components/iperf3/sensor.py index db9aafcdf..efc34d8bd 100644 --- a/homeassistant/components/iperf3/sensor.py +++ b/homeassistant/components/iperf3/sensor.py @@ -6,8 +6,6 @@ from homeassistant.helpers.restore_state import RestoreEntity from . import ATTR_VERSION, DATA_UPDATED, DOMAIN as IPERF3_DOMAIN, SENSOR_TYPES -DEPENDENCIES = ['iperf3'] - ATTRIBUTION = 'Data retrieved using Iperf3' ICON = 'mdi:speedometer' diff --git a/homeassistant/components/ipma/weather.py b/homeassistant/components/ipma/weather.py index 7122957ad..e976bcb98 100644 --- a/homeassistant/components/ipma/weather.py +++ b/homeassistant/components/ipma/weather.py @@ -15,8 +15,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.helpers import config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['pyipma==1.2.1'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = 'Instituto Português do Mar e Atmosfera' diff --git a/homeassistant/components/irish_rail_transport/sensor.py b/homeassistant/components/irish_rail_transport/sensor.py index e17ecfde5..586568ca9 100644 --- a/homeassistant/components/irish_rail_transport/sensor.py +++ b/homeassistant/components/irish_rail_transport/sensor.py @@ -9,8 +9,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import CONF_NAME, ATTR_ATTRIBUTION from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyirishrail==0.0.2'] - _LOGGER = logging.getLogger(__name__) ATTR_STATION = "Station" diff --git a/homeassistant/components/islamic_prayer_times/sensor.py b/homeassistant/components/islamic_prayer_times/sensor.py index 9efbc237e..c50c01c2e 100644 --- a/homeassistant/components/islamic_prayer_times/sensor.py +++ b/homeassistant/components/islamic_prayer_times/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import DEVICE_CLASS_TIMESTAMP from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import async_track_point_in_time -REQUIREMENTS = ['prayer_times_calculator==0.0.3'] - _LOGGER = logging.getLogger(__name__) PRAYER_TIMES_ICON = 'mdi:calendar-clock' diff --git a/homeassistant/components/iss/binary_sensor.py b/homeassistant/components/iss/binary_sensor.py index 381bc1679..97e508781 100644 --- a/homeassistant/components/iss/binary_sensor.py +++ b/homeassistant/components/iss/binary_sensor.py @@ -12,8 +12,6 @@ from homeassistant.const import ( CONF_NAME, ATTR_LONGITUDE, ATTR_LATITUDE, CONF_SHOW_ON_MAP) from homeassistant.util import Throttle -REQUIREMENTS = ['pyiss==1.0.1'] - _LOGGER = logging.getLogger(__name__) ATTR_ISS_NEXT_RISE = 'next_rise' diff --git a/homeassistant/components/isy994/__init__.py b/homeassistant/components/isy994/__init__.py index 4eaa71dee..de5e09f62 100644 --- a/homeassistant/components/isy994/__init__.py +++ b/homeassistant/components/isy994/__init__.py @@ -12,8 +12,6 @@ from homeassistant.helpers import config_validation as cv, discovery from homeassistant.helpers.entity import Entity from homeassistant.helpers.typing import ConfigType, Dict -REQUIREMENTS = ['PyISY==1.1.1'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'isy994' diff --git a/homeassistant/components/itach/remote.py b/homeassistant/components/itach/remote.py index beb773838..54dfa1fcf 100644 --- a/homeassistant/components/itach/remote.py +++ b/homeassistant/components/itach/remote.py @@ -10,8 +10,6 @@ from homeassistant.const import ( CONF_DEVICES) from homeassistant.components.remote import PLATFORM_SCHEMA -REQUIREMENTS = ['pyitachip2ir==0.0.7'] - _LOGGER = logging.getLogger(__name__) DEFAULT_PORT = 4998 diff --git a/homeassistant/components/jewish_calendar/sensor.py b/homeassistant/components/jewish_calendar/sensor.py index 478bbed98..ec86abecc 100644 --- a/homeassistant/components/jewish_calendar/sensor.py +++ b/homeassistant/components/jewish_calendar/sensor.py @@ -11,8 +11,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.sun import get_astral_event_date import homeassistant.util.dt as dt_util -REQUIREMENTS = ['hdate==0.8.7'] - _LOGGER = logging.getLogger(__name__) SENSOR_TYPES = { diff --git a/homeassistant/components/joaoapps_join/__init__.py b/homeassistant/components/joaoapps_join/__init__.py index f1371deed..4a3cf737c 100644 --- a/homeassistant/components/joaoapps_join/__init__.py +++ b/homeassistant/components/joaoapps_join/__init__.py @@ -6,8 +6,6 @@ import voluptuous as vol import homeassistant.helpers.config_validation as cv from homeassistant.const import CONF_NAME, CONF_API_KEY -REQUIREMENTS = ['python-join-api==0.0.4'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'joaoapps_join' diff --git a/homeassistant/components/joaoapps_join/notify.py b/homeassistant/components/joaoapps_join/notify.py index 013752004..d9eabce54 100644 --- a/homeassistant/components/joaoapps_join/notify.py +++ b/homeassistant/components/joaoapps_join/notify.py @@ -7,8 +7,6 @@ from homeassistant.components.notify import ( from homeassistant.const import CONF_API_KEY import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-join-api==0.0.4'] - _LOGGER = logging.getLogger(__name__) CONF_DEVICE_ID = 'device_id' diff --git a/homeassistant/components/juicenet/__init__.py b/homeassistant/components/juicenet/__init__.py index f62331d15..919322487 100644 --- a/homeassistant/components/juicenet/__init__.py +++ b/homeassistant/components/juicenet/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import CONF_ACCESS_TOKEN from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-juicenet==0.0.5'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'juicenet' diff --git a/homeassistant/components/juicenet/sensor.py b/homeassistant/components/juicenet/sensor.py index 6b55e5395..60369b1f9 100644 --- a/homeassistant/components/juicenet/sensor.py +++ b/homeassistant/components/juicenet/sensor.py @@ -8,8 +8,6 @@ from . import DOMAIN, JuicenetDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['juicenet'] - SENSOR_TYPES = { 'status': ['Charging Status', None], 'temperature': ['Temperature', TEMP_CELSIUS], diff --git a/homeassistant/components/keenetic_ndms2/device_tracker.py b/homeassistant/components/keenetic_ndms2/device_tracker.py index f87350711..e52dff747 100644 --- a/homeassistant/components/keenetic_ndms2/device_tracker.py +++ b/homeassistant/components/keenetic_ndms2/device_tracker.py @@ -10,8 +10,6 @@ from homeassistant.const import ( CONF_HOST, CONF_PORT, CONF_PASSWORD, CONF_USERNAME ) -REQUIREMENTS = ['ndms2_client==0.0.6'] - _LOGGER = logging.getLogger(__name__) # Interface name to track devices for. Most likely one will not need to diff --git a/homeassistant/components/keyboard/__init__.py b/homeassistant/components/keyboard/__init__.py index 44accca2f..f841e7e96 100644 --- a/homeassistant/components/keyboard/__init__.py +++ b/homeassistant/components/keyboard/__init__.py @@ -6,8 +6,6 @@ from homeassistant.const import ( SERVICE_MEDIA_PREVIOUS_TRACK, SERVICE_VOLUME_DOWN, SERVICE_VOLUME_MUTE, SERVICE_VOLUME_UP) -REQUIREMENTS = ['pyuserinput==0.1.11'] - DOMAIN = 'keyboard' TAP_KEY_SCHEMA = vol.Schema({}) diff --git a/homeassistant/components/keyboard_remote/__init__.py b/homeassistant/components/keyboard_remote/__init__.py index e786fe458..71df70f51 100644 --- a/homeassistant/components/keyboard_remote/__init__.py +++ b/homeassistant/components/keyboard_remote/__init__.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['evdev==0.6.1'] - _LOGGER = logging.getLogger(__name__) DEVICE_DESCRIPTOR = 'device_descriptor' diff --git a/homeassistant/components/kira/__init__.py b/homeassistant/components/kira/__init__.py index d60d8e0cf..7cf27d342 100644 --- a/homeassistant/components/kira/__init__.py +++ b/homeassistant/components/kira/__init__.py @@ -12,8 +12,6 @@ from homeassistant.const import ( from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pykira==0.1.1'] - DOMAIN = 'kira' _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/kiwi/lock.py b/homeassistant/components/kiwi/lock.py index 0b5806425..bbeb2dce0 100644 --- a/homeassistant/components/kiwi/lock.py +++ b/homeassistant/components/kiwi/lock.py @@ -11,8 +11,6 @@ from homeassistant.const import ( from homeassistant.helpers.event import async_call_later from homeassistant.core import callback -REQUIREMENTS = ['kiwiki-client==0.1.1'] - _LOGGER = logging.getLogger(__name__) ATTR_TYPE = 'hardware_type' diff --git a/homeassistant/components/knx/__init__.py b/homeassistant/components/knx/__init__.py index ea5b18b7e..04b51730b 100644 --- a/homeassistant/components/knx/__init__.py +++ b/homeassistant/components/knx/__init__.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.event import async_track_state_change from homeassistant.helpers.script import Script -REQUIREMENTS = ['xknx==0.10.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = "knx" diff --git a/homeassistant/components/knx/binary_sensor.py b/homeassistant/components/knx/binary_sensor.py index 8ee21e24c..65d107225 100644 --- a/homeassistant/components/knx/binary_sensor.py +++ b/homeassistant/components/knx/binary_sensor.py @@ -22,8 +22,6 @@ CONF_RESET_AFTER = 'reset_after' CONF__ACTION = 'turn_off_action' DEFAULT_NAME = 'KNX Binary Sensor' -DEPENDENCIES = ['knx'] - AUTOMATION_SCHEMA = vol.Schema({ vol.Optional(CONF_HOOK, default=CONF_DEFAULT_HOOK): cv.string, vol.Optional(CONF_COUNTER, default=CONF_DEFAULT_COUNTER): cv.port, diff --git a/homeassistant/components/knx/climate.py b/homeassistant/components/knx/climate.py index e11e54493..f4835389d 100644 --- a/homeassistant/components/knx/climate.py +++ b/homeassistant/components/knx/climate.py @@ -39,8 +39,6 @@ DEFAULT_NAME = 'KNX Climate' DEFAULT_SETPOINT_SHIFT_STEP = 0.5 DEFAULT_SETPOINT_SHIFT_MAX = 6 DEFAULT_SETPOINT_SHIFT_MIN = -6 -DEPENDENCIES = ['knx'] - # Map KNX operation modes to HA modes. This list might not be full. OPERATION_MODES = { # Map DPT 201.100 HVAC operating modes diff --git a/homeassistant/components/knx/cover.py b/homeassistant/components/knx/cover.py index b2b287d1e..bbee54e00 100644 --- a/homeassistant/components/knx/cover.py +++ b/homeassistant/components/knx/cover.py @@ -25,8 +25,6 @@ CONF_INVERT_ANGLE = 'invert_angle' DEFAULT_TRAVEL_TIME = 25 DEFAULT_NAME = 'KNX Cover' -DEPENDENCIES = ['knx'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, vol.Optional(CONF_MOVE_LONG_ADDRESS): cv.string, diff --git a/homeassistant/components/knx/light.py b/homeassistant/components/knx/light.py index cf59f1fc1..b94d91514 100644 --- a/homeassistant/components/knx/light.py +++ b/homeassistant/components/knx/light.py @@ -30,7 +30,6 @@ DEFAULT_BRIGHTNESS = 255 DEFAULT_COLOR_TEMP_MODE = 'absolute' DEFAULT_MIN_KELVIN = 2700 # 370 mireds DEFAULT_MAX_KELVIN = 6000 # 166 mireds -DEPENDENCIES = ['knx'] class ColorTempModes(Enum): diff --git a/homeassistant/components/knx/notify.py b/homeassistant/components/knx/notify.py index 742252d18..486908c3c 100644 --- a/homeassistant/components/knx/notify.py +++ b/homeassistant/components/knx/notify.py @@ -11,8 +11,6 @@ from . import ATTR_DISCOVER_DEVICES, DATA_KNX DEFAULT_NAME = 'KNX Notify' -DEPENDENCIES = ['knx'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADDRESS): cv.string, vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string diff --git a/homeassistant/components/knx/scene.py b/homeassistant/components/knx/scene.py index 4bf186c28..4f0c7b2d4 100644 --- a/homeassistant/components/knx/scene.py +++ b/homeassistant/components/knx/scene.py @@ -11,8 +11,6 @@ from . import ATTR_DISCOVER_DEVICES, DATA_KNX CONF_SCENE_NUMBER = 'scene_number' DEFAULT_NAME = 'KNX SCENE' -DEPENDENCIES = ['knx'] - PLATFORM_SCHEMA = vol.Schema({ vol.Required(CONF_PLATFORM): 'knx', vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, diff --git a/homeassistant/components/knx/sensor.py b/homeassistant/components/knx/sensor.py index 7ddafe53b..bb3128eae 100644 --- a/homeassistant/components/knx/sensor.py +++ b/homeassistant/components/knx/sensor.py @@ -10,8 +10,6 @@ from homeassistant.helpers.entity import Entity from . import ATTR_DISCOVER_DEVICES, DATA_KNX DEFAULT_NAME = 'KNX Sensor' -DEPENDENCIES = ['knx'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADDRESS): cv.string, vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, diff --git a/homeassistant/components/knx/switch.py b/homeassistant/components/knx/switch.py index e3beff396..461b27e94 100644 --- a/homeassistant/components/knx/switch.py +++ b/homeassistant/components/knx/switch.py @@ -11,8 +11,6 @@ from . import ATTR_DISCOVER_DEVICES, DATA_KNX CONF_STATE_ADDRESS = 'state_address' DEFAULT_NAME = 'KNX Switch' -DEPENDENCIES = ['knx'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_ADDRESS): cv.string, vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, diff --git a/homeassistant/components/kodi/media_player.py b/homeassistant/components/kodi/media_player.py index 81c93dba2..96fb02a08 100644 --- a/homeassistant/components/kodi/media_player.py +++ b/homeassistant/components/kodi/media_player.py @@ -31,8 +31,6 @@ from homeassistant.helpers.template import Template from homeassistant.util.yaml import dump import homeassistant.util.dt as dt_util -REQUIREMENTS = ['jsonrpc-async==0.6', 'jsonrpc-websocket==0.6'] - _LOGGER = logging.getLogger(__name__) EVENT_KODI_CALL_METHOD_RESULT = 'kodi_call_method_result' diff --git a/homeassistant/components/kodi/notify.py b/homeassistant/components/kodi/notify.py index f6ee2c47b..fb5326c83 100644 --- a/homeassistant/components/kodi/notify.py +++ b/homeassistant/components/kodi/notify.py @@ -14,8 +14,6 @@ from homeassistant.components.notify import ( ATTR_DATA, ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['jsonrpc-async==0.6'] - _LOGGER = logging.getLogger(__name__) DEFAULT_PORT = 8080 diff --git a/homeassistant/components/konnected/__init__.py b/homeassistant/components/konnected/__init__.py index 276e39581..ee4ba16e5 100644 --- a/homeassistant/components/konnected/__init__.py +++ b/homeassistant/components/konnected/__init__.py @@ -32,8 +32,6 @@ from .handlers import HANDLERS _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['konnected==0.1.5'] - _BINARY_SENSOR_SCHEMA = vol.All( vol.Schema({ vol.Exclusive(CONF_PIN, 's_pin'): vol.Any(*PIN_TO_ZONE), @@ -96,8 +94,6 @@ CONFIG_SCHEMA = vol.Schema( extra=vol.ALLOW_EXTRA, ) -DEPENDENCIES = ['http'] - async def async_setup(hass, config): """Set up the Konnected platform.""" diff --git a/homeassistant/components/konnected/binary_sensor.py b/homeassistant/components/konnected/binary_sensor.py index 1fbfbea18..3abd9be6c 100644 --- a/homeassistant/components/konnected/binary_sensor.py +++ b/homeassistant/components/konnected/binary_sensor.py @@ -12,8 +12,6 @@ from . import DOMAIN as KONNECTED_DOMAIN, PIN_TO_ZONE, SIGNAL_SENSOR_UPDATE _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['konnected'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/konnected/sensor.py b/homeassistant/components/konnected/sensor.py index a48d1a586..7881eacff 100644 --- a/homeassistant/components/konnected/sensor.py +++ b/homeassistant/components/konnected/sensor.py @@ -13,8 +13,6 @@ from .const import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['konnected'] - SENSOR_TYPES = { DEVICE_CLASS_TEMPERATURE: ['Temperature', TEMP_CELSIUS], DEVICE_CLASS_HUMIDITY: ['Humidity', '%'] diff --git a/homeassistant/components/konnected/switch.py b/homeassistant/components/konnected/switch.py index 3db602215..841e84e24 100644 --- a/homeassistant/components/konnected/switch.py +++ b/homeassistant/components/konnected/switch.py @@ -11,8 +11,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['konnected'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/kwb/sensor.py b/homeassistant/components/kwb/sensor.py index bad0ea3cd..7a153970d 100644 --- a/homeassistant/components/kwb/sensor.py +++ b/homeassistant/components/kwb/sensor.py @@ -9,8 +9,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.components.sensor import PLATFORM_SCHEMA import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pykwb==0.0.8'] - _LOGGER = logging.getLogger(__name__) DEFAULT_RAW = False diff --git a/homeassistant/components/lacrosse/sensor.py b/homeassistant/components/lacrosse/sensor.py index 9240343a5..dea51b0c9 100644 --- a/homeassistant/components/lacrosse/sensor.py +++ b/homeassistant/components/lacrosse/sensor.py @@ -14,8 +14,6 @@ from homeassistant.helpers.entity import Entity, async_generate_entity_id from homeassistant.helpers.event import async_track_point_in_utc_time from homeassistant.util import dt as dt_util -REQUIREMENTS = ['pylacrosse==0.3.1'] - _LOGGER = logging.getLogger(__name__) CONF_BAUD = 'baud' diff --git a/homeassistant/components/lametric/__init__.py b/homeassistant/components/lametric/__init__.py index 0c3c8b08d..057594f42 100644 --- a/homeassistant/components/lametric/__init__.py +++ b/homeassistant/components/lametric/__init__.py @@ -5,8 +5,6 @@ import voluptuous as vol import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['lmnotify==0.0.4'] - _LOGGER = logging.getLogger(__name__) CONF_CLIENT_ID = 'client_id' diff --git a/homeassistant/components/lametric/notify.py b/homeassistant/components/lametric/notify.py index 358bb056b..92b254cd2 100644 --- a/homeassistant/components/lametric/notify.py +++ b/homeassistant/components/lametric/notify.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from . import DOMAIN as LAMETRIC_DOMAIN -REQUIREMENTS = ['lmnotify==0.0.4'] - _LOGGER = logging.getLogger(__name__) AVAILABLE_PRIORITIES = ['info', 'warning', 'critical'] @@ -21,8 +19,6 @@ CONF_CYCLES = 'cycles' CONF_LIFETIME = 'lifetime' CONF_PRIORITY = 'priority' -DEPENDENCIES = ['lametric'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_ICON, default='a7956'): cv.string, vol.Optional(CONF_LIFETIME, default=10): cv.positive_int, diff --git a/homeassistant/components/lastfm/sensor.py b/homeassistant/components/lastfm/sensor.py index e4e28eff4..32774b1bf 100644 --- a/homeassistant/components/lastfm/sensor.py +++ b/homeassistant/components/lastfm/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import CONF_API_KEY, ATTR_ATTRIBUTION import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pylast==3.1.0'] - _LOGGER = logging.getLogger(__name__) ATTR_LAST_PLAYED = 'last_played' diff --git a/homeassistant/components/launch_library/sensor.py b/homeassistant/components/launch_library/sensor.py index 4b42ddba2..a1c5b5825 100644 --- a/homeassistant/components/launch_library/sensor.py +++ b/homeassistant/components/launch_library/sensor.py @@ -10,8 +10,6 @@ from homeassistant.const import ATTR_ATTRIBUTION, CONF_NAME from homeassistant.helpers.entity import Entity from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['pylaunches==0.2.0'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by Launch Library." diff --git a/homeassistant/components/lcn/__init__.py b/homeassistant/components/lcn/__init__.py index 44f69c261..418b6ffa8 100644 --- a/homeassistant/components/lcn/__init__.py +++ b/homeassistant/components/lcn/__init__.py @@ -20,8 +20,6 @@ from .const import ( _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pypck==0.5.9'] - def has_unique_connection_names(connections): """Validate that all connection names are unique. diff --git a/homeassistant/components/lcn/binary_sensor.py b/homeassistant/components/lcn/binary_sensor.py index 0ffa2e50d..ec37d3e51 100755 --- a/homeassistant/components/lcn/binary_sensor.py +++ b/homeassistant/components/lcn/binary_sensor.py @@ -6,8 +6,6 @@ from . import LcnDevice, get_connection from .const import ( BINSENSOR_PORTS, CONF_CONNECTIONS, CONF_SOURCE, DATA_LCN, SETPOINTS) -DEPENDENCIES = ['lcn'] - async def async_setup_platform(hass, hass_config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/lcn/cover.py b/homeassistant/components/lcn/cover.py index a32ff7c23..7123f2d5d 100755 --- a/homeassistant/components/lcn/cover.py +++ b/homeassistant/components/lcn/cover.py @@ -5,8 +5,6 @@ from homeassistant.const import CONF_ADDRESS from . import LcnDevice, get_connection from .const import CONF_CONNECTIONS, CONF_MOTOR, DATA_LCN -DEPENDENCIES = ['lcn'] - async def async_setup_platform(hass, hass_config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/lcn/light.py b/homeassistant/components/lcn/light.py index 00b782593..653873ba7 100644 --- a/homeassistant/components/lcn/light.py +++ b/homeassistant/components/lcn/light.py @@ -9,8 +9,6 @@ from .const import ( CONF_CONNECTIONS, CONF_DIMMABLE, CONF_OUTPUT, CONF_TRANSITION, DATA_LCN, OUTPUT_PORTS) -DEPENDENCIES = ['lcn'] - async def async_setup_platform( hass, hass_config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/lcn/sensor.py b/homeassistant/components/lcn/sensor.py index 5e50d092a..48ac8c726 100755 --- a/homeassistant/components/lcn/sensor.py +++ b/homeassistant/components/lcn/sensor.py @@ -6,8 +6,6 @@ from .const import ( CONF_CONNECTIONS, CONF_SOURCE, DATA_LCN, LED_PORTS, S0_INPUTS, SETPOINTS, THRESHOLDS, VARIABLES) -DEPENDENCIES = ['lcn'] - async def async_setup_platform(hass, hass_config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/lcn/switch.py b/homeassistant/components/lcn/switch.py index 7c375f4a5..48ae579fb 100755 --- a/homeassistant/components/lcn/switch.py +++ b/homeassistant/components/lcn/switch.py @@ -5,8 +5,6 @@ from homeassistant.const import CONF_ADDRESS from . import LcnDevice, get_connection from .const import CONF_CONNECTIONS, CONF_OUTPUT, DATA_LCN, OUTPUT_PORTS -DEPENDENCIES = ['lcn'] - async def async_setup_platform(hass, hass_config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/lg_netcast/media_player.py b/homeassistant/components/lg_netcast/media_player.py index 12fee5fae..da5946de1 100644 --- a/homeassistant/components/lg_netcast/media_player.py +++ b/homeassistant/components/lg_netcast/media_player.py @@ -17,8 +17,6 @@ from homeassistant.const import ( STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pylgnetcast-homeassistant==0.2.0.dev0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'LG TV Remote' diff --git a/homeassistant/components/lg_soundbar/media_player.py b/homeassistant/components/lg_soundbar/media_player.py index 2e2481a46..938b4e437 100644 --- a/homeassistant/components/lg_soundbar/media_player.py +++ b/homeassistant/components/lg_soundbar/media_player.py @@ -9,8 +9,6 @@ from homeassistant.components.media_player.const import ( from homeassistant.const import STATE_ON -REQUIREMENTS = ['temescal==0.1'] - _LOGGER = logging.getLogger(__name__) SUPPORT_LG = SUPPORT_VOLUME_SET | SUPPORT_VOLUME_MUTE | SUPPORT_SELECT_SOURCE \ diff --git a/homeassistant/components/lifx/__init__.py b/homeassistant/components/lifx/__init__.py index 82802bab4..849fecad4 100644 --- a/homeassistant/components/lifx/__init__.py +++ b/homeassistant/components/lifx/__init__.py @@ -8,8 +8,6 @@ from homeassistant.helpers import config_entry_flow from homeassistant.components.light import DOMAIN as LIGHT_DOMAIN DOMAIN = 'lifx' -REQUIREMENTS = ['aiolifx==0.6.7'] - CONF_SERVER = 'server' CONF_BROADCAST = 'broadcast' diff --git a/homeassistant/components/lifx/light.py b/homeassistant/components/lifx/light.py index 014ca9ae6..04f756e6d 100644 --- a/homeassistant/components/lifx/light.py +++ b/homeassistant/components/lifx/light.py @@ -30,9 +30,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lifx'] -REQUIREMENTS = ['aiolifx_effects==0.2.1'] - SCAN_INTERVAL = timedelta(seconds=10) DISCOVERY_INTERVAL = 60 diff --git a/homeassistant/components/lifx_legacy/light.py b/homeassistant/components/lifx_legacy/light.py index 6c5f68937..a31b875f2 100644 --- a/homeassistant/components/lifx_legacy/light.py +++ b/homeassistant/components/lifx_legacy/light.py @@ -22,8 +22,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['liffylights==0.9.4'] - BYTE_MAX = 255 CONF_BROADCAST = 'broadcast' diff --git a/homeassistant/components/light/__init__.py b/homeassistant/components/light/__init__.py index db2e9ce01..f9ce6eb05 100644 --- a/homeassistant/components/light/__init__.py +++ b/homeassistant/components/light/__init__.py @@ -24,7 +24,6 @@ from homeassistant.loader import bind_hass import homeassistant.util.color as color_util DOMAIN = 'light' -DEPENDENCIES = ['group'] SCAN_INTERVAL = timedelta(seconds=30) GROUP_NAME_ALL_LIGHTS = 'all lights' diff --git a/homeassistant/components/lightwave/__init__.py b/homeassistant/components/lightwave/__init__.py index f6e113522..2337c582b 100644 --- a/homeassistant/components/lightwave/__init__.py +++ b/homeassistant/components/lightwave/__init__.py @@ -5,8 +5,6 @@ from homeassistant.const import (CONF_HOST, CONF_LIGHTS, CONF_NAME, CONF_SWITCHES) from homeassistant.helpers.discovery import async_load_platform -REQUIREMENTS = ['lightwave==0.15'] - LIGHTWAVE_LINK = 'lightwave_link' DOMAIN = 'lightwave' diff --git a/homeassistant/components/lightwave/light.py b/homeassistant/components/lightwave/light.py index f22533d25..68c943003 100644 --- a/homeassistant/components/lightwave/light.py +++ b/homeassistant/components/lightwave/light.py @@ -5,8 +5,6 @@ from homeassistant.const import CONF_NAME from . import LIGHTWAVE_LINK -DEPENDENCIES = ['lightwave'] - MAX_BRIGHTNESS = 255 diff --git a/homeassistant/components/lightwave/switch.py b/homeassistant/components/lightwave/switch.py index dfa93b4b1..0d7e2cd38 100644 --- a/homeassistant/components/lightwave/switch.py +++ b/homeassistant/components/lightwave/switch.py @@ -4,8 +4,6 @@ from homeassistant.const import CONF_NAME from . import LIGHTWAVE_LINK -DEPENDENCIES = ['lightwave'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/limitlessled/light.py b/homeassistant/components/limitlessled/light.py index 4f187afa1..fa12bc76d 100644 --- a/homeassistant/components/limitlessled/light.py +++ b/homeassistant/components/limitlessled/light.py @@ -15,8 +15,6 @@ from homeassistant.util.color import ( color_temperature_mired_to_kelvin, color_hs_to_RGB) from homeassistant.helpers.restore_state import RestoreEntity -REQUIREMENTS = ['limitlessled==1.1.3'] - _LOGGER = logging.getLogger(__name__) CONF_BRIDGES = 'bridges' diff --git a/homeassistant/components/linksys_ap/device_tracker.py b/homeassistant/components/linksys_ap/device_tracker.py index 46cc78d4e..3871d5bed 100644 --- a/homeassistant/components/linksys_ap/device_tracker.py +++ b/homeassistant/components/linksys_ap/device_tracker.py @@ -14,8 +14,6 @@ from homeassistant.const import ( INTERFACES = 2 DEFAULT_TIMEOUT = 10 -REQUIREMENTS = ['beautifulsoup4==4.7.1'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/linky/sensor.py b/homeassistant/components/linky/sensor.py index 35f85f15e..63f7aaf54 100644 --- a/homeassistant/components/linky/sensor.py +++ b/homeassistant/components/linky/sensor.py @@ -12,7 +12,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pylinky==0.3.3'] _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(minutes=10) diff --git a/homeassistant/components/linode/__init__.py b/homeassistant/components/linode/__init__.py index 8bbd98c0a..f9270d95c 100644 --- a/homeassistant/components/linode/__init__.py +++ b/homeassistant/components/linode/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import CONF_ACCESS_TOKEN import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['linode-api==4.1.9b1'] - _LOGGER = logging.getLogger(__name__) ATTR_CREATED = 'created' diff --git a/homeassistant/components/linode/binary_sensor.py b/homeassistant/components/linode/binary_sensor.py index 19455917d..69079b3e6 100644 --- a/homeassistant/components/linode/binary_sensor.py +++ b/homeassistant/components/linode/binary_sensor.py @@ -16,8 +16,6 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Node' DEFAULT_DEVICE_CLASS = 'moving' -DEPENDENCIES = ['linode'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_NODES): vol.All(cv.ensure_list, [cv.string]), }) diff --git a/homeassistant/components/linode/switch.py b/homeassistant/components/linode/switch.py index e5f97ef75..6787d8493 100644 --- a/homeassistant/components/linode/switch.py +++ b/homeassistant/components/linode/switch.py @@ -13,8 +13,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['linode'] - DEFAULT_NAME = 'Node' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/linux_battery/sensor.py b/homeassistant/components/linux_battery/sensor.py index 7164315de..87061174d 100644 --- a/homeassistant/components/linux_battery/sensor.py +++ b/homeassistant/components/linux_battery/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import ATTR_NAME, CONF_NAME, DEVICE_CLASS_BATTERY import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['batinfo==0.4.2'] - _LOGGER = logging.getLogger(__name__) ATTR_PATH = 'path' diff --git a/homeassistant/components/lirc/__init__.py b/homeassistant/components/lirc/__init__.py index 0f00eda20..c3077cf6f 100644 --- a/homeassistant/components/lirc/__init__.py +++ b/homeassistant/components/lirc/__init__.py @@ -9,8 +9,6 @@ import voluptuous as vol from homeassistant.const import ( EVENT_HOMEASSISTANT_STOP, EVENT_HOMEASSISTANT_START) -REQUIREMENTS = ['python-lirc==1.2.3'] - _LOGGER = logging.getLogger(__name__) BUTTON_NAME = 'button_name' diff --git a/homeassistant/components/litejet/__init__.py b/homeassistant/components/litejet/__init__.py index b4e8e45fa..d8e02b518 100644 --- a/homeassistant/components/litejet/__init__.py +++ b/homeassistant/components/litejet/__init__.py @@ -7,8 +7,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers import discovery from homeassistant.const import CONF_PORT -REQUIREMENTS = ['pylitejet==0.1'] - _LOGGER = logging.getLogger(__name__) CONF_EXCLUDE_NAMES = 'exclude_names' diff --git a/homeassistant/components/litejet/light.py b/homeassistant/components/litejet/light.py index e52e50ed2..b87d77ebe 100644 --- a/homeassistant/components/litejet/light.py +++ b/homeassistant/components/litejet/light.py @@ -7,8 +7,6 @@ from homeassistant.components.light import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['litejet'] - ATTR_NUMBER = 'number' diff --git a/homeassistant/components/litejet/scene.py b/homeassistant/components/litejet/scene.py index 2563c9ceb..c347140a6 100644 --- a/homeassistant/components/litejet/scene.py +++ b/homeassistant/components/litejet/scene.py @@ -4,8 +4,6 @@ import logging from homeassistant.components import litejet from homeassistant.components.scene import Scene -DEPENDENCIES = ['litejet'] - ATTR_NUMBER = 'number' _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/litejet/switch.py b/homeassistant/components/litejet/switch.py index 9972dcb9f..7e3059dac 100644 --- a/homeassistant/components/litejet/switch.py +++ b/homeassistant/components/litejet/switch.py @@ -4,8 +4,6 @@ import logging from homeassistant.components import litejet from homeassistant.components.switch import SwitchDevice -DEPENDENCIES = ['litejet'] - ATTR_NUMBER = 'number' _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/liveboxplaytv/media_player.py b/homeassistant/components/liveboxplaytv/media_player.py index 1ee9931d2..05ceb68cc 100644 --- a/homeassistant/components/liveboxplaytv/media_player.py +++ b/homeassistant/components/liveboxplaytv/media_player.py @@ -18,8 +18,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['liveboxplaytv==2.0.2', 'pyteleloisirs==3.4'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Livebox Play TV' diff --git a/homeassistant/components/locative/__init__.py b/homeassistant/components/locative/__init__.py index 335ae4cfe..f21c55af2 100644 --- a/homeassistant/components/locative/__init__.py +++ b/homeassistant/components/locative/__init__.py @@ -16,8 +16,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_send _LOGGER = logging.getLogger(__name__) DOMAIN = 'locative' -DEPENDENCIES = ['webhook'] - TRACKER_UPDATE = '{}_tracker_update'.format(DOMAIN) diff --git a/homeassistant/components/locative/device_tracker.py b/homeassistant/components/locative/device_tracker.py index 51135f4e2..1e16bde58 100644 --- a/homeassistant/components/locative/device_tracker.py +++ b/homeassistant/components/locative/device_tracker.py @@ -10,8 +10,6 @@ from . import DOMAIN as LOCATIVE_DOMAIN, TRACKER_UPDATE _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['locative'] - DATA_KEY = '{}.{}'.format(LOCATIVE_DOMAIN, DEVICE_TRACKER_DOMAIN) diff --git a/homeassistant/components/lock/__init__.py b/homeassistant/components/lock/__init__.py index fe5286ba8..598de7961 100644 --- a/homeassistant/components/lock/__init__.py +++ b/homeassistant/components/lock/__init__.py @@ -19,7 +19,6 @@ from homeassistant.components import group ATTR_CHANGED_BY = 'changed_by' DOMAIN = 'lock' -DEPENDENCIES = ['group'] SCAN_INTERVAL = timedelta(seconds=30) ENTITY_ID_ALL_LOCKS = group.ENTITY_ID_FORMAT.format('all_locks') diff --git a/homeassistant/components/logbook/__init__.py b/homeassistant/components/logbook/__init__.py index 7a0fb5e26..70fe31e64 100644 --- a/homeassistant/components/logbook/__init__.py +++ b/homeassistant/components/logbook/__init__.py @@ -31,8 +31,6 @@ CONF_DOMAINS = 'domains' CONF_ENTITIES = 'entities' CONTINUOUS_DOMAINS = ['proximity', 'sensor'] -DEPENDENCIES = ['recorder', 'frontend'] - DOMAIN = 'logbook' GROUP_BY_MINUTES = 15 diff --git a/homeassistant/components/logi_circle/__init__.py b/homeassistant/components/logi_circle/__init__.py index 433895293..1b74a9df0 100644 --- a/homeassistant/components/logi_circle/__init__.py +++ b/homeassistant/components/logi_circle/__init__.py @@ -20,8 +20,6 @@ from .const import ( RECORDING_MODE_KEY, SIGNAL_LOGI_CIRCLE_RECONFIGURE, SIGNAL_LOGI_CIRCLE_RECORD, SIGNAL_LOGI_CIRCLE_SNAPSHOT) -REQUIREMENTS = ['logi_circle==0.2.2'] - NOTIFICATION_ID = 'logi_circle_notification' NOTIFICATION_TITLE = 'Logi Circle Setup' diff --git a/homeassistant/components/logi_circle/camera.py b/homeassistant/components/logi_circle/camera.py index b69f23ac1..09baaa5ba 100644 --- a/homeassistant/components/logi_circle/camera.py +++ b/homeassistant/components/logi_circle/camera.py @@ -15,8 +15,6 @@ from .const import ( RECORDING_MODE_KEY, SIGNAL_LOGI_CIRCLE_RECONFIGURE, SIGNAL_LOGI_CIRCLE_RECORD, SIGNAL_LOGI_CIRCLE_SNAPSHOT) -DEPENDENCIES = ['logi_circle', 'ffmpeg'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=60) diff --git a/homeassistant/components/logi_circle/sensor.py b/homeassistant/components/logi_circle/sensor.py index 01d5492ee..6efd5065b 100644 --- a/homeassistant/components/logi_circle/sensor.py +++ b/homeassistant/components/logi_circle/sensor.py @@ -11,8 +11,6 @@ from homeassistant.util.dt import as_local from .const import ( ATTRIBUTION, DOMAIN as LOGI_CIRCLE_DOMAIN, LOGI_SENSORS as SENSOR_TYPES) -DEPENDENCIES = ['logi_circle'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/london_underground/sensor.py b/homeassistant/components/london_underground/sensor.py index c2502e2ab..9bee85697 100644 --- a/homeassistant/components/london_underground/sensor.py +++ b/homeassistant/components/london_underground/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import ATTR_ATTRIBUTION import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['london-tube-status==0.2'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Powered by TfL Open Data" diff --git a/homeassistant/components/loopenergy/sensor.py b/homeassistant/components/loopenergy/sensor.py index 23bdf48f6..b2afc36b8 100644 --- a/homeassistant/components/loopenergy/sensor.py +++ b/homeassistant/components/loopenergy/sensor.py @@ -12,8 +12,6 @@ from homeassistant.helpers.entity import Entity _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pyloopenergy==0.1.2'] - CONF_ELEC = 'electricity' CONF_GAS = 'gas' diff --git a/homeassistant/components/luci/device_tracker.py b/homeassistant/components/luci/device_tracker.py index 77273d89d..4068be840 100644 --- a/homeassistant/components/luci/device_tracker.py +++ b/homeassistant/components/luci/device_tracker.py @@ -9,8 +9,6 @@ from homeassistant.const import ( CONF_HOST, CONF_PASSWORD, CONF_SSL, CONF_USERNAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['openwrt-luci-rpc==1.0.5'] - _LOGGER = logging.getLogger(__name__) DEFAULT_SSL = False diff --git a/homeassistant/components/luftdaten/__init__.py b/homeassistant/components/luftdaten/__init__.py index 125cefb90..81b177f73 100644 --- a/homeassistant/components/luftdaten/__init__.py +++ b/homeassistant/components/luftdaten/__init__.py @@ -17,8 +17,6 @@ from homeassistant.helpers.event import async_track_time_interval from .config_flow import configured_sensors, duplicate_stations from .const import CONF_SENSOR_ID, DEFAULT_SCAN_INTERVAL, DOMAIN -REQUIREMENTS = ['luftdaten==0.3.4'] - _LOGGER = logging.getLogger(__name__) DATA_LUFTDATEN = 'luftdaten' diff --git a/homeassistant/components/luftdaten/sensor.py b/homeassistant/components/luftdaten/sensor.py index 107673bac..ca68075df 100644 --- a/homeassistant/components/luftdaten/sensor.py +++ b/homeassistant/components/luftdaten/sensor.py @@ -14,8 +14,6 @@ from .const import ATTR_SENSOR_ID _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['luftdaten'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/lupusec/__init__.py b/homeassistant/components/lupusec/__init__.py index 8a5f098f7..e97344f30 100644 --- a/homeassistant/components/lupusec/__init__.py +++ b/homeassistant/components/lupusec/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers.entity import Entity _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['lupupy==0.0.17'] - DOMAIN = 'lupusec' NOTIFICATION_ID = 'lupusec_notification' diff --git a/homeassistant/components/lupusec/alarm_control_panel.py b/homeassistant/components/lupusec/alarm_control_panel.py index 0a88f3bd5..9f3e72633 100644 --- a/homeassistant/components/lupusec/alarm_control_panel.py +++ b/homeassistant/components/lupusec/alarm_control_panel.py @@ -8,8 +8,6 @@ from homeassistant.const import ( from . import DOMAIN as LUPUSEC_DOMAIN, LupusecDevice -DEPENDENCIES = ['lupusec'] - ICON = 'mdi:security' SCAN_INTERVAL = timedelta(seconds=2) diff --git a/homeassistant/components/lupusec/binary_sensor.py b/homeassistant/components/lupusec/binary_sensor.py index 2c3f5e0e0..28833b3d2 100644 --- a/homeassistant/components/lupusec/binary_sensor.py +++ b/homeassistant/components/lupusec/binary_sensor.py @@ -7,8 +7,6 @@ from homeassistant.components.binary_sensor import ( from . import DOMAIN as LUPUSEC_DOMAIN, LupusecDevice -DEPENDENCIES = ['lupusec'] - SCAN_INTERVAL = timedelta(seconds=2) _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lupusec/switch.py b/homeassistant/components/lupusec/switch.py index 0d86ea0a3..b63919593 100644 --- a/homeassistant/components/lupusec/switch.py +++ b/homeassistant/components/lupusec/switch.py @@ -6,8 +6,6 @@ from homeassistant.components.switch import SwitchDevice from . import DOMAIN as LUPUSEC_DOMAIN, LupusecDevice -DEPENDENCIES = ['lupusec'] - SCAN_INTERVAL = timedelta(seconds=2) _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lutron/__init__.py b/homeassistant/components/lutron/__init__.py index f642e96d8..c91103f22 100644 --- a/homeassistant/components/lutron/__init__.py +++ b/homeassistant/components/lutron/__init__.py @@ -10,8 +10,6 @@ from homeassistant.helpers import discovery from homeassistant.helpers.entity import Entity from homeassistant.util import slugify -REQUIREMENTS = ['pylutron==0.2.0'] - DOMAIN = 'lutron' _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lutron/cover.py b/homeassistant/components/lutron/cover.py index da7f69095..4a2d72d31 100644 --- a/homeassistant/components/lutron/cover.py +++ b/homeassistant/components/lutron/cover.py @@ -9,8 +9,6 @@ from . import LUTRON_CONTROLLER, LUTRON_DEVICES, LutronDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Lutron shades.""" diff --git a/homeassistant/components/lutron/light.py b/homeassistant/components/lutron/light.py index 5f3fd4787..6ddf54e1f 100644 --- a/homeassistant/components/lutron/light.py +++ b/homeassistant/components/lutron/light.py @@ -8,8 +8,6 @@ from . import LUTRON_CONTROLLER, LUTRON_DEVICES, LutronDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Lutron lights.""" diff --git a/homeassistant/components/lutron/scene.py b/homeassistant/components/lutron/scene.py index a2d18c6d2..05deeef26 100644 --- a/homeassistant/components/lutron/scene.py +++ b/homeassistant/components/lutron/scene.py @@ -7,8 +7,6 @@ from . import LUTRON_CONTROLLER, LUTRON_DEVICES, LutronDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Lutron scenes.""" diff --git a/homeassistant/components/lutron/switch.py b/homeassistant/components/lutron/switch.py index b42c0d930..0b1705fb2 100644 --- a/homeassistant/components/lutron/switch.py +++ b/homeassistant/components/lutron/switch.py @@ -7,8 +7,6 @@ from . import LUTRON_CONTROLLER, LUTRON_DEVICES, LutronDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Lutron switches.""" diff --git a/homeassistant/components/lutron_caseta/__init__.py b/homeassistant/components/lutron_caseta/__init__.py index 61c005f60..516b5ccd7 100644 --- a/homeassistant/components/lutron_caseta/__init__.py +++ b/homeassistant/components/lutron_caseta/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import CONF_HOST from homeassistant.helpers import discovery from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pylutron-caseta==0.5.0'] - _LOGGER = logging.getLogger(__name__) LUTRON_CASETA_SMARTBRIDGE = 'lutron_smartbridge' diff --git a/homeassistant/components/lutron_caseta/cover.py b/homeassistant/components/lutron_caseta/cover.py index d970f5282..8793fc023 100644 --- a/homeassistant/components/lutron_caseta/cover.py +++ b/homeassistant/components/lutron_caseta/cover.py @@ -9,8 +9,6 @@ from . import LUTRON_CASETA_SMARTBRIDGE, LutronCasetaDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron_caseta'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/lutron_caseta/light.py b/homeassistant/components/lutron_caseta/light.py index d883da73c..af93a4590 100644 --- a/homeassistant/components/lutron_caseta/light.py +++ b/homeassistant/components/lutron_caseta/light.py @@ -10,8 +10,6 @@ from . import LUTRON_CASETA_SMARTBRIDGE, LutronCasetaDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron_caseta'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/lutron_caseta/scene.py b/homeassistant/components/lutron_caseta/scene.py index 2e7059a56..df0bb6a7a 100644 --- a/homeassistant/components/lutron_caseta/scene.py +++ b/homeassistant/components/lutron_caseta/scene.py @@ -7,8 +7,6 @@ from . import LUTRON_CASETA_SMARTBRIDGE _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron_caseta'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/lutron_caseta/switch.py b/homeassistant/components/lutron_caseta/switch.py index 54c670913..0ccf625f7 100644 --- a/homeassistant/components/lutron_caseta/switch.py +++ b/homeassistant/components/lutron_caseta/switch.py @@ -7,8 +7,6 @@ from . import LUTRON_CASETA_SMARTBRIDGE, LutronCasetaDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['lutron_caseta'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/lw12wifi/light.py b/homeassistant/components/lw12wifi/light.py index 5d9b7635a..a2ff77dc2 100644 --- a/homeassistant/components/lw12wifi/light.py +++ b/homeassistant/components/lw12wifi/light.py @@ -16,8 +16,6 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['lw12==0.9.2'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/lyft/sensor.py b/homeassistant/components/lyft/sensor.py index 98d79cd97..b5788e50b 100644 --- a/homeassistant/components/lyft/sensor.py +++ b/homeassistant/components/lyft/sensor.py @@ -9,8 +9,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['lyft_rides==0.2'] - _LOGGER = logging.getLogger(__name__) CONF_CLIENT_ID = 'client_id' diff --git a/homeassistant/components/magicseaweed/sensor.py b/homeassistant/components/magicseaweed/sensor.py index 4c09d1e09..772cfb073 100644 --- a/homeassistant/components/magicseaweed/sensor.py +++ b/homeassistant/components/magicseaweed/sensor.py @@ -11,8 +11,6 @@ import homeassistant.util.dt as dt_util from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['magicseaweed==1.0.3'] - _LOGGER = logging.getLogger(__name__) CONF_HOURS = 'hours' diff --git a/homeassistant/components/mailbox/__init__.py b/homeassistant/components/mailbox/__init__.py index 1907a1e9e..8f8511464 100644 --- a/homeassistant/components/mailbox/__init__.py +++ b/homeassistant/components/mailbox/__init__.py @@ -18,7 +18,6 @@ from homeassistant.setup import async_prepare_setup_platform _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['http'] DOMAIN = 'mailbox' EVENT = 'mailbox_updated' diff --git a/homeassistant/components/mailgun/__init__.py b/homeassistant/components/mailgun/__init__.py index 2a941d8bf..2f89904f1 100644 --- a/homeassistant/components/mailgun/__init__.py +++ b/homeassistant/components/mailgun/__init__.py @@ -15,7 +15,6 @@ _LOGGER = logging.getLogger(__name__) CONF_SANDBOX = 'sandbox' DEFAULT_SANDBOX = False -DEPENDENCIES = ['webhook'] DOMAIN = 'mailgun' MESSAGE_RECEIVED = '{}_message_received'.format(DOMAIN) diff --git a/homeassistant/components/mailgun/notify.py b/homeassistant/components/mailgun/notify.py index b9f5bf0b1..4709f87b7 100644 --- a/homeassistant/components/mailgun/notify.py +++ b/homeassistant/components/mailgun/notify.py @@ -11,12 +11,8 @@ from homeassistant.const import ( from . import CONF_SANDBOX, DOMAIN as MAILGUN_DOMAIN -REQUIREMENTS = ['pymailgunner==1.4'] - _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mailgun'] - # Images to attach to notification ATTR_IMAGES = 'images' diff --git a/homeassistant/components/manual_mqtt/alarm_control_panel.py b/homeassistant/components/manual_mqtt/alarm_control_panel.py index 8057a8993..d952dd68e 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 c1a91b831..d4b78cc4e 100644 --- a/homeassistant/components/mastodon/notify.py +++ b/homeassistant/components/mastodon/notify.py @@ -9,8 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.notify import (PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['Mastodon.py==1.3.1'] - _LOGGER = logging.getLogger(__name__) CONF_BASE_URL = 'base_url' diff --git a/homeassistant/components/matrix/__init__.py b/homeassistant/components/matrix/__init__.py index 4b3c1bf4d..0090d6eb6 100644 --- a/homeassistant/components/matrix/__init__.py +++ b/homeassistant/components/matrix/__init__.py @@ -14,8 +14,6 @@ from homeassistant.const import (CONF_USERNAME, CONF_PASSWORD, from homeassistant.util.json import load_json, save_json from homeassistant.exceptions import HomeAssistantError -REQUIREMENTS = ['matrix-client==0.2.0'] - _LOGGER = logging.getLogger(__name__) SESSION_FILE = '.matrix.conf' diff --git a/homeassistant/components/matrix/notify.py b/homeassistant/components/matrix/notify.py index f1f53268c..de2ac3bda 100644 --- a/homeassistant/components/matrix/notify.py +++ b/homeassistant/components/matrix/notify.py @@ -13,8 +13,6 @@ _LOGGER = logging.getLogger(__name__) CONF_DEFAULT_ROOM = 'default_room' DOMAIN = 'matrix' -DEPENDENCIES = [DOMAIN] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_DEFAULT_ROOM): cv.string, }) diff --git a/homeassistant/components/maxcube/__init__.py b/homeassistant/components/maxcube/__init__.py index c398ccbde..12a6fda2c 100644 --- a/homeassistant/components/maxcube/__init__.py +++ b/homeassistant/components/maxcube/__init__.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform from homeassistant.const import CONF_HOST, CONF_PORT, CONF_SCAN_INTERVAL -REQUIREMENTS = ['maxcube-api==0.1.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_PORT = 62910 diff --git a/homeassistant/components/media_extractor/__init__.py b/homeassistant/components/media_extractor/__init__.py index f44075816..98f03cd8f 100644 --- a/homeassistant/components/media_extractor/__init__.py +++ b/homeassistant/components/media_extractor/__init__.py @@ -12,15 +12,12 @@ from homeassistant.const import ( ATTR_ENTITY_ID) from homeassistant.helpers import config_validation as cv -REQUIREMENTS = ['youtube_dl==2019.04.07'] - _LOGGER = logging.getLogger(__name__) CONF_CUSTOMIZE_ENTITIES = 'customize' CONF_DEFAULT_STREAM_QUERY = 'default_query' DEFAULT_STREAM_QUERY = 'best' -DEPENDENCIES = ['media_player'] DOMAIN = 'media_extractor' CONFIG_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/media_player/__init__.py b/homeassistant/components/media_player/__init__.py index 5bc2d640e..7dcfdac52 100644 --- a/homeassistant/components/media_player/__init__.py +++ b/homeassistant/components/media_player/__init__.py @@ -51,8 +51,6 @@ from .reproduce_state import async_reproduce_states # noqa _LOGGER = logging.getLogger(__name__) _RND = SystemRandom() -DEPENDENCIES = ['http'] - ENTITY_ID_FORMAT = DOMAIN + '.{}' ENTITY_IMAGE_URL = '/api/media_player_proxy/{0}?token={1}&cache={2}' diff --git a/homeassistant/components/mediaroom/media_player.py b/homeassistant/components/mediaroom/media_player.py index acbc04627..75aa20daf 100644 --- a/homeassistant/components/mediaroom/media_player.py +++ b/homeassistant/components/mediaroom/media_player.py @@ -19,8 +19,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.dispatcher import ( async_dispatcher_connect, dispatcher_send) -REQUIREMENTS = ['pymediaroom==0.6.4'] - _LOGGER = logging.getLogger(__name__) DATA_MEDIAROOM = 'mediaroom_known_stb' diff --git a/homeassistant/components/melissa/__init__.py b/homeassistant/components/melissa/__init__.py index 2037caa11..14ecfadb5 100644 --- a/homeassistant/components/melissa/__init__.py +++ b/homeassistant/components/melissa/__init__.py @@ -7,8 +7,6 @@ from homeassistant.const import CONF_USERNAME, CONF_PASSWORD from homeassistant.helpers import config_validation as cv from homeassistant.helpers.discovery import async_load_platform -REQUIREMENTS = ["py-melissa-climate==2.0.0"] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'melissa' diff --git a/homeassistant/components/melissa/climate.py b/homeassistant/components/melissa/climate.py index 79d94a419..8d834691b 100644 --- a/homeassistant/components/melissa/climate.py +++ b/homeassistant/components/melissa/climate.py @@ -13,8 +13,6 @@ from homeassistant.const import ( from . import DATA_MELISSA -DEPENDENCIES = ['melissa'] - _LOGGER = logging.getLogger(__name__) SUPPORT_FLAGS = (SUPPORT_FAN_MODE | SUPPORT_OPERATION_MODE | diff --git a/homeassistant/components/meraki/device_tracker.py b/homeassistant/components/meraki/device_tracker.py index d12aff112..edca1fbd4 100644 --- a/homeassistant/components/meraki/device_tracker.py +++ b/homeassistant/components/meraki/device_tracker.py @@ -18,7 +18,6 @@ from homeassistant.components.device_tracker import ( CONF_VALIDATOR = 'validator' CONF_SECRET = 'secret' -DEPENDENCIES = ['http'] URL = '/api/meraki' VERSION = '2.0' diff --git a/homeassistant/components/message_bird/notify.py b/homeassistant/components/message_bird/notify.py index c801de34a..eecd563dc 100644 --- a/homeassistant/components/message_bird/notify.py +++ b/homeassistant/components/message_bird/notify.py @@ -9,8 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.notify import (ATTR_TARGET, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['messagebird==1.2.0'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/met/weather.py b/homeassistant/components/met/weather.py index 6c9613ac5..d9824e203 100644 --- a/homeassistant/components/met/weather.py +++ b/homeassistant/components/met/weather.py @@ -13,8 +13,6 @@ from homeassistant.helpers.event import ( async_call_later, async_track_utc_time_change) import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pyMetno==0.4.6'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Weather forecast from met.no, delivered by the Norwegian " \ diff --git a/homeassistant/components/meteo_france/__init__.py b/homeassistant/components/meteo_france/__init__.py index e084cff3c..df0292ec4 100644 --- a/homeassistant/components/meteo_france/__init__.py +++ b/homeassistant/components/meteo_france/__init__.py @@ -9,8 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform from homeassistant.util import Throttle -REQUIREMENTS = ['meteofrance==0.3.4'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by Météo-France" diff --git a/homeassistant/components/metoffice/sensor.py b/homeassistant/components/metoffice/sensor.py index 6c4e91517..ff334823e 100644 --- a/homeassistant/components/metoffice/sensor.py +++ b/homeassistant/components/metoffice/sensor.py @@ -14,8 +14,6 @@ from homeassistant.util import Throttle _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['datapoint==0.4.3'] - ATTR_LAST_UPDATE = 'last_update' ATTR_SENSOR_ID = 'sensor_id' ATTR_SITE_ID = 'site_id' diff --git a/homeassistant/components/metoffice/weather.py b/homeassistant/components/metoffice/weather.py index a67dcdcdb..409fc0991 100644 --- a/homeassistant/components/metoffice/weather.py +++ b/homeassistant/components/metoffice/weather.py @@ -10,8 +10,6 @@ from homeassistant.helpers import config_validation as cv from .sensor import ATTRIBUTION, CONDITION_CLASSES, MetOfficeCurrentData -REQUIREMENTS = ['datapoint==0.4.3'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = "Met Office" diff --git a/homeassistant/components/mfi/sensor.py b/homeassistant/components/mfi/sensor.py index 36f9d1a82..49ec86c93 100644 --- a/homeassistant/components/mfi/sensor.py +++ b/homeassistant/components/mfi/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['mficlient==0.3.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_SSL = True diff --git a/homeassistant/components/mfi/switch.py b/homeassistant/components/mfi/switch.py index 818081f7a..7b5181358 100644 --- a/homeassistant/components/mfi/switch.py +++ b/homeassistant/components/mfi/switch.py @@ -10,8 +10,6 @@ from homeassistant.const import ( CONF_VERIFY_SSL) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['mficlient==0.3.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_SSL = True diff --git a/homeassistant/components/mhz19/sensor.py b/homeassistant/components/mhz19/sensor.py index 3aa82950f..16e9da304 100644 --- a/homeassistant/components/mhz19/sensor.py +++ b/homeassistant/components/mhz19/sensor.py @@ -12,8 +12,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.util.temperature import celsius_to_fahrenheit from homeassistant.util import Throttle -REQUIREMENTS = ['pmsensor==0.4'] - _LOGGER = logging.getLogger(__name__) CONF_SERIAL_DEVICE = 'serial_device' diff --git a/homeassistant/components/microsoft/tts.py b/homeassistant/components/microsoft/tts.py index 9fe31ef49..39bd1186b 100644 --- a/homeassistant/components/microsoft/tts.py +++ b/homeassistant/components/microsoft/tts.py @@ -15,8 +15,6 @@ CONF_VOLUME = 'volume' CONF_PITCH = 'pitch' CONF_CONTOUR = 'contour' -REQUIREMENTS = ["pycsspeechtts==1.0.2"] - _LOGGER = logging.getLogger(__name__) SUPPORTED_LANGUAGES = [ diff --git a/homeassistant/components/microsoft_face/__init__.py b/homeassistant/components/microsoft_face/__init__.py index 9b3ee960f..25b74698d 100644 --- a/homeassistant/components/microsoft_face/__init__.py +++ b/homeassistant/components/microsoft_face/__init__.py @@ -25,7 +25,6 @@ CONF_AZURE_REGION = 'azure_region' DATA_MICROSOFT_FACE = 'microsoft_face' DEFAULT_TIMEOUT = 10 -DEPENDENCIES = ['camera'] DOMAIN = 'microsoft_face' FACE_API_URL = "api.cognitive.microsoft.com/face/v1.0/{0}" diff --git a/homeassistant/components/microsoft_face_detect/image_processing.py b/homeassistant/components/microsoft_face_detect/image_processing.py index 91eae07e9..addcea21c 100644 --- a/homeassistant/components/microsoft_face_detect/image_processing.py +++ b/homeassistant/components/microsoft_face_detect/image_processing.py @@ -11,8 +11,6 @@ from homeassistant.core import split_entity_id from homeassistant.exceptions import HomeAssistantError import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['microsoft_face'] - _LOGGER = logging.getLogger(__name__) SUPPORTED_ATTRIBUTES = [ diff --git a/homeassistant/components/microsoft_face_identify/image_processing.py b/homeassistant/components/microsoft_face_identify/image_processing.py index 52baa3617..055778be3 100644 --- a/homeassistant/components/microsoft_face_identify/image_processing.py +++ b/homeassistant/components/microsoft_face_identify/image_processing.py @@ -12,8 +12,6 @@ from homeassistant.core import split_entity_id from homeassistant.exceptions import HomeAssistantError import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['microsoft_face'] - _LOGGER = logging.getLogger(__name__) CONF_GROUP = 'group' diff --git a/homeassistant/components/miflora/sensor.py b/homeassistant/components/miflora/sensor.py index 04595b0da..0a8a51e0e 100644 --- a/homeassistant/components/miflora/sensor.py +++ b/homeassistant/components/miflora/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import ( CONF_SCAN_INTERVAL, EVENT_HOMEASSISTANT_START) from homeassistant.core import callback -REQUIREMENTS = ['miflora==0.4.0'] - _LOGGER = logging.getLogger(__name__) CONF_ADAPTER = 'adapter' diff --git a/homeassistant/components/mikrotik/device_tracker.py b/homeassistant/components/mikrotik/device_tracker.py index 7d376b431..0c3b6b313 100644 --- a/homeassistant/components/mikrotik/device_tracker.py +++ b/homeassistant/components/mikrotik/device_tracker.py @@ -11,8 +11,6 @@ from homeassistant.components.device_tracker import ( from homeassistant.const import ( CONF_HOST, CONF_PASSWORD, CONF_USERNAME, CONF_PORT, CONF_SSL, CONF_METHOD) -REQUIREMENTS = ['librouteros==2.2.0'] - _LOGGER = logging.getLogger(__name__) MTK_DEFAULT_API_PORT = '8728' diff --git a/homeassistant/components/mill/climate.py b/homeassistant/components/mill/climate.py index cb6d47a52..43877a1f8 100644 --- a/homeassistant/components/mill/climate.py +++ b/homeassistant/components/mill/climate.py @@ -15,8 +15,6 @@ from homeassistant.const import ( from homeassistant.helpers import config_validation as cv from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['millheater==0.3.4'] - _LOGGER = logging.getLogger(__name__) ATTR_AWAY_TEMP = 'away_temp' diff --git a/homeassistant/components/mitemp_bt/sensor.py b/homeassistant/components/mitemp_bt/sensor.py index cea2c6a55..c2afaecf7 100644 --- a/homeassistant/components/mitemp_bt/sensor.py +++ b/homeassistant/components/mitemp_bt/sensor.py @@ -12,8 +12,6 @@ from homeassistant.const import ( ) -REQUIREMENTS = ['mitemp_bt==0.0.1'] - _LOGGER = logging.getLogger(__name__) CONF_ADAPTER = 'adapter' diff --git a/homeassistant/components/mobile_app/__init__.py b/homeassistant/components/mobile_app/__init__.py index a4ae78959..711963a0b 100644 --- a/homeassistant/components/mobile_app/__init__.py +++ b/homeassistant/components/mobile_app/__init__.py @@ -15,10 +15,6 @@ from .http_api import RegistrationsView from .webhook import handle_webhook from .websocket_api import register_websocket_handlers -DEPENDENCIES = ['device_tracker', 'http', 'webhook'] - -REQUIREMENTS = ['PyNaCl==1.3.0'] - async def async_setup(hass: HomeAssistantType, config: ConfigType): """Set up the mobile app component.""" diff --git a/homeassistant/components/mobile_app/binary_sensor.py b/homeassistant/components/mobile_app/binary_sensor.py index 50943bb65..71d9fd9d5 100644 --- a/homeassistant/components/mobile_app/binary_sensor.py +++ b/homeassistant/components/mobile_app/binary_sensor.py @@ -13,8 +13,6 @@ from .const import (ATTR_SENSOR_STATE, from .entity import MobileAppEntity, sensor_id -DEPENDENCIES = ['mobile_app'] - async def async_setup_entry(hass, config_entry, async_add_entities): """Set up mobile app binary sensor from a config entry.""" diff --git a/homeassistant/components/mobile_app/notify.py b/homeassistant/components/mobile_app/notify.py index 8d2ac1b97..a69c020cf 100644 --- a/homeassistant/components/mobile_app/notify.py +++ b/homeassistant/components/mobile_app/notify.py @@ -22,8 +22,6 @@ from .const import (ATTR_APP_DATA, ATTR_APP_ID, ATTR_APP_VERSION, _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mobile_app'] - def push_registrations(hass): """Return a dictionary of push enabled registrations.""" diff --git a/homeassistant/components/mobile_app/sensor.py b/homeassistant/components/mobile_app/sensor.py index 64ad69c57..2e54c2f4f 100644 --- a/homeassistant/components/mobile_app/sensor.py +++ b/homeassistant/components/mobile_app/sensor.py @@ -12,8 +12,6 @@ from .const import (ATTR_SENSOR_STATE, from .entity import MobileAppEntity, sensor_id -DEPENDENCIES = ['mobile_app'] - async def async_setup_entry(hass, config_entry, async_add_entities): """Set up mobile app sensor from a config entry.""" diff --git a/homeassistant/components/mochad/__init__.py b/homeassistant/components/mochad/__init__.py index e10adf693..78d137c95 100644 --- a/homeassistant/components/mochad/__init__.py +++ b/homeassistant/components/mochad/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) from homeassistant.const import (CONF_HOST, CONF_PORT) -REQUIREMENTS = ['pymochad==0.2.0'] - _LOGGER = logging.getLogger(__name__) CONTROLLER = None diff --git a/homeassistant/components/mochad/light.py b/homeassistant/components/mochad/light.py index d2e1a567d..4a734be4e 100644 --- a/homeassistant/components/mochad/light.py +++ b/homeassistant/components/mochad/light.py @@ -12,8 +12,6 @@ from homeassistant.helpers import config_validation as cv _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mochad'] - CONF_BRIGHTNESS_LEVELS = 'brightness_levels' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/mochad/switch.py b/homeassistant/components/mochad/switch.py index 03fd2db07..a4fb46130 100644 --- a/homeassistant/components/mochad/switch.py +++ b/homeassistant/components/mochad/switch.py @@ -11,8 +11,6 @@ from homeassistant.helpers import config_validation as cv _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mochad'] - PLATFORM_SCHEMA = vol.Schema({ vol.Required(CONF_PLATFORM): mochad.DOMAIN, diff --git a/homeassistant/components/modbus/__init__.py b/homeassistant/components/modbus/__init__.py index 0500a904c..7d8820662 100644 --- a/homeassistant/components/modbus/__init__.py +++ b/homeassistant/components/modbus/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import ( CONF_TYPE, EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pymodbus==1.5.2'] - _LOGGER = logging.getLogger(__name__) ATTR_ADDRESS = 'address' diff --git a/homeassistant/components/modbus/binary_sensor.py b/homeassistant/components/modbus/binary_sensor.py index 0c1054845..3a17f3c19 100644 --- a/homeassistant/components/modbus/binary_sensor.py +++ b/homeassistant/components/modbus/binary_sensor.py @@ -15,8 +15,6 @@ _LOGGER = logging.getLogger(__name__) CONF_COIL = 'coil' CONF_COILS = 'coils' -DEPENDENCIES = ['modbus'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_COILS): [{ vol.Required(CONF_COIL): cv.positive_int, diff --git a/homeassistant/components/modbus/climate.py b/homeassistant/components/modbus/climate.py index 4d2b86903..cf7e29509 100644 --- a/homeassistant/components/modbus/climate.py +++ b/homeassistant/components/modbus/climate.py @@ -22,8 +22,6 @@ CONF_PRECISION = 'precision' DATA_TYPE_INT = 'int' DATA_TYPE_UINT = 'uint' DATA_TYPE_FLOAT = 'float' -DEPENDENCIES = ['modbus'] - SUPPORT_FLAGS = SUPPORT_TARGET_TEMPERATURE PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/modbus/sensor.py b/homeassistant/components/modbus/sensor.py index 10e11a9a6..bca5ef9d3 100644 --- a/homeassistant/components/modbus/sensor.py +++ b/homeassistant/components/modbus/sensor.py @@ -29,8 +29,6 @@ DATA_TYPE_FLOAT = 'float' DATA_TYPE_INT = 'int' DATA_TYPE_UINT = 'uint' -DEPENDENCIES = ['modbus'] - REGISTER_TYPE_HOLDING = 'holding' REGISTER_TYPE_INPUT = 'input' diff --git a/homeassistant/components/modbus/switch.py b/homeassistant/components/modbus/switch.py index 69c5e3e48..d74145eba 100644 --- a/homeassistant/components/modbus/switch.py +++ b/homeassistant/components/modbus/switch.py @@ -24,8 +24,6 @@ CONF_STATE_ON = 'state_on' CONF_VERIFY_REGISTER = 'verify_register' CONF_VERIFY_STATE = 'verify_state' -DEPENDENCIES = ['modbus'] - REGISTER_TYPE_HOLDING = 'holding' REGISTER_TYPE_INPUT = 'input' diff --git a/homeassistant/components/modem_callerid/sensor.py b/homeassistant/components/modem_callerid/sensor.py index b87f48403..0e1f02efe 100644 --- a/homeassistant/components/modem_callerid/sensor.py +++ b/homeassistant/components/modem_callerid/sensor.py @@ -9,8 +9,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['basicmodem==0.7'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Modem CallerID' ICON = 'mdi:phone-classic' diff --git a/homeassistant/components/monoprice/media_player.py b/homeassistant/components/monoprice/media_player.py index edffd6ac7..d8f22a5d0 100644 --- a/homeassistant/components/monoprice/media_player.py +++ b/homeassistant/components/monoprice/media_player.py @@ -13,8 +13,6 @@ from homeassistant.const import ( ATTR_ENTITY_ID, CONF_NAME, CONF_PORT, STATE_OFF, STATE_ON) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pymonoprice==0.3'] - _LOGGER = logging.getLogger(__name__) SUPPORT_MONOPRICE = SUPPORT_VOLUME_MUTE | SUPPORT_VOLUME_SET | \ diff --git a/homeassistant/components/mopar/__init__.py b/homeassistant/components/mopar/__init__.py index 4ee9f3219..ec723b94f 100644 --- a/homeassistant/components/mopar/__init__.py +++ b/homeassistant/components/mopar/__init__.py @@ -18,8 +18,6 @@ from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.dispatcher import dispatcher_send from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['motorparts==1.1.0'] - DOMAIN = 'mopar' DATA_UPDATED = '{}_data_updated'.format(DOMAIN) diff --git a/homeassistant/components/mopar/lock.py b/homeassistant/components/mopar/lock.py index aa2e01618..5a41058bb 100644 --- a/homeassistant/components/mopar/lock.py +++ b/homeassistant/components/mopar/lock.py @@ -7,8 +7,6 @@ from homeassistant.components.mopar import ( ) from homeassistant.const import STATE_LOCKED, STATE_UNLOCKED -DEPENDENCIES = ['mopar'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mopar/sensor.py b/homeassistant/components/mopar/sensor.py index 0d6e5765f..f09c0bdbe 100644 --- a/homeassistant/components/mopar/sensor.py +++ b/homeassistant/components/mopar/sensor.py @@ -10,7 +10,6 @@ from homeassistant.core import callback from homeassistant.helpers.dispatcher import async_dispatcher_connect from homeassistant.helpers.entity import Entity -DEPENDENCIES = ['mopar'] ICON = 'mdi:car' diff --git a/homeassistant/components/mopar/switch.py b/homeassistant/components/mopar/switch.py index 352cdafbd..4e1ff6061 100644 --- a/homeassistant/components/mopar/switch.py +++ b/homeassistant/components/mopar/switch.py @@ -5,8 +5,6 @@ from homeassistant.components.mopar import DOMAIN as MOPAR_DOMAIN from homeassistant.components.switch import SwitchDevice from homeassistant.const import STATE_ON, STATE_OFF -DEPENDENCIES = ['mopar'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mpd/media_player.py b/homeassistant/components/mpd/media_player.py index 8cbc1406e..5340bc46b 100644 --- a/homeassistant/components/mpd/media_player.py +++ b/homeassistant/components/mpd/media_player.py @@ -20,8 +20,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['python-mpd2==1.0.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'MPD' diff --git a/homeassistant/components/mqtt/__init__.py b/homeassistant/components/mqtt/__init__.py index 4f9ad9901..e226e966b 100644 --- a/homeassistant/components/mqtt/__init__.py +++ b/homeassistant/components/mqtt/__init__.py @@ -40,8 +40,6 @@ from .const import ( CONF_BROKER, CONF_DISCOVERY, DEFAULT_DISCOVERY, CONF_STATE_TOPIC, ATTR_DISCOVERY_HASH) -REQUIREMENTS = ['paho-mqtt==1.4.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'mqtt' diff --git a/homeassistant/components/mqtt/alarm_control_panel.py b/homeassistant/components/mqtt/alarm_control_panel.py index 03a2ac8e3..da3e2faf2 100644 --- a/homeassistant/components/mqtt/alarm_control_panel.py +++ b/homeassistant/components/mqtt/alarm_control_panel.py @@ -37,8 +37,6 @@ DEFAULT_ARM_AWAY = 'ARM_AWAY' DEFAULT_ARM_HOME = 'ARM_HOME' DEFAULT_DISARM = 'DISARM' DEFAULT_NAME = 'MQTT Alarm' -DEPENDENCIES = ['mqtt'] - PLATFORM_SCHEMA = mqtt.MQTT_BASE_PLATFORM_SCHEMA.extend({ vol.Optional(CONF_CODE): cv.string, vol.Optional(CONF_CODE_ARM_REQUIRED, default=True): cv.boolean, diff --git a/homeassistant/components/mqtt/binary_sensor.py b/homeassistant/components/mqtt/binary_sensor.py index 95daad9b2..904a456fc 100644 --- a/homeassistant/components/mqtt/binary_sensor.py +++ b/homeassistant/components/mqtt/binary_sensor.py @@ -29,8 +29,6 @@ DEFAULT_PAYLOAD_OFF = 'OFF' DEFAULT_PAYLOAD_ON = 'ON' DEFAULT_FORCE_UPDATE = False -DEPENDENCIES = ['mqtt'] - PLATFORM_SCHEMA = mqtt.MQTT_RO_PLATFORM_SCHEMA.extend({ vol.Optional(CONF_DEVICE): mqtt.MQTT_ENTITY_DEVICE_INFO_SCHEMA, vol.Optional(CONF_DEVICE_CLASS): DEVICE_CLASSES_SCHEMA, diff --git a/homeassistant/components/mqtt/camera.py b/homeassistant/components/mqtt/camera.py index f651050b6..0449bf79c 100644 --- a/homeassistant/components/mqtt/camera.py +++ b/homeassistant/components/mqtt/camera.py @@ -23,8 +23,6 @@ _LOGGER = logging.getLogger(__name__) CONF_TOPIC = 'topic' DEFAULT_NAME = 'MQTT Camera' -DEPENDENCIES = ['mqtt'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, vol.Required(CONF_TOPIC): mqtt.valid_subscribe_topic, diff --git a/homeassistant/components/mqtt/climate.py b/homeassistant/components/mqtt/climate.py index 17d32984b..6a8c4d839 100644 --- a/homeassistant/components/mqtt/climate.py +++ b/homeassistant/components/mqtt/climate.py @@ -31,8 +31,6 @@ from .discovery import MQTT_DISCOVERY_NEW, clear_discovery_hash _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] - DEFAULT_NAME = 'MQTT HVAC' CONF_POWER_COMMAND_TOPIC = 'power_command_topic' diff --git a/homeassistant/components/mqtt/cover.py b/homeassistant/components/mqtt/cover.py index 5cb7300f0..e1ad21564 100644 --- a/homeassistant/components/mqtt/cover.py +++ b/homeassistant/components/mqtt/cover.py @@ -25,8 +25,6 @@ from .discovery import MQTT_DISCOVERY_NEW, clear_discovery_hash _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] - CONF_GET_POSITION_TOPIC = 'position_topic' CONF_SET_POSITION_TEMPLATE = 'set_position_template' CONF_SET_POSITION_TOPIC = 'set_position_topic' diff --git a/homeassistant/components/mqtt/device_tracker.py b/homeassistant/components/mqtt/device_tracker.py index 659c6315b..25528471d 100644 --- a/homeassistant/components/mqtt/device_tracker.py +++ b/homeassistant/components/mqtt/device_tracker.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from . import CONF_QOS -DEPENDENCIES = ['mqtt'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(mqtt.SCHEMA_BASE).extend({ diff --git a/homeassistant/components/mqtt/fan.py b/homeassistant/components/mqtt/fan.py index d86390ee3..99aa68d19 100644 --- a/homeassistant/components/mqtt/fan.py +++ b/homeassistant/components/mqtt/fan.py @@ -23,8 +23,6 @@ from .discovery import MQTT_DISCOVERY_NEW, clear_discovery_hash _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] - CONF_STATE_VALUE_TEMPLATE = 'state_value_template' CONF_SPEED_STATE_TOPIC = 'speed_state_topic' CONF_SPEED_COMMAND_TOPIC = 'speed_command_topic' diff --git a/homeassistant/components/mqtt/light/__init__.py b/homeassistant/components/mqtt/light/__init__.py index 4ff6efb86..d115f07ce 100644 --- a/homeassistant/components/mqtt/light/__init__.py +++ b/homeassistant/components/mqtt/light/__init__.py @@ -17,8 +17,6 @@ from homeassistant.helpers.typing import HomeAssistantType, ConfigType _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] - CONF_SCHEMA = 'schema' diff --git a/homeassistant/components/mqtt/light/schema_basic.py b/homeassistant/components/mqtt/light/schema_basic.py index d5aa44801..382effe83 100644 --- a/homeassistant/components/mqtt/light/schema_basic.py +++ b/homeassistant/components/mqtt/light/schema_basic.py @@ -30,8 +30,6 @@ from . import MQTT_LIGHT_SCHEMA_SCHEMA _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] - CONF_BRIGHTNESS_COMMAND_TOPIC = 'brightness_command_topic' CONF_BRIGHTNESS_SCALE = 'brightness_scale' CONF_BRIGHTNESS_STATE_TOPIC = 'brightness_state_topic' diff --git a/homeassistant/components/mqtt/light/schema_json.py b/homeassistant/components/mqtt/light/schema_json.py index a52f3c58d..27c88edb1 100644 --- a/homeassistant/components/mqtt/light/schema_json.py +++ b/homeassistant/components/mqtt/light/schema_json.py @@ -35,8 +35,6 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'mqtt_json' -DEPENDENCIES = ['mqtt'] - DEFAULT_BRIGHTNESS = False DEFAULT_COLOR_TEMP = False DEFAULT_EFFECT = False diff --git a/homeassistant/components/mqtt/light/schema_template.py b/homeassistant/components/mqtt/light/schema_template.py index 49cba0824..ab9fb0e44 100644 --- a/homeassistant/components/mqtt/light/schema_template.py +++ b/homeassistant/components/mqtt/light/schema_template.py @@ -30,8 +30,6 @@ _LOGGER = logging.getLogger(__name__) DOMAIN = 'mqtt_template' -DEPENDENCIES = ['mqtt'] - DEFAULT_NAME = 'MQTT Template Light' DEFAULT_OPTIMISTIC = False diff --git a/homeassistant/components/mqtt/lock.py b/homeassistant/components/mqtt/lock.py index 235eacc94..75db4c374 100644 --- a/homeassistant/components/mqtt/lock.py +++ b/homeassistant/components/mqtt/lock.py @@ -27,8 +27,6 @@ DEFAULT_NAME = 'MQTT Lock' DEFAULT_OPTIMISTIC = False DEFAULT_PAYLOAD_LOCK = 'LOCK' DEFAULT_PAYLOAD_UNLOCK = 'UNLOCK' -DEPENDENCIES = ['mqtt'] - PLATFORM_SCHEMA = mqtt.MQTT_RW_PLATFORM_SCHEMA.extend({ vol.Optional(CONF_DEVICE): mqtt.MQTT_ENTITY_DEVICE_INFO_SCHEMA, vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, diff --git a/homeassistant/components/mqtt/sensor.py b/homeassistant/components/mqtt/sensor.py index b6419ea2c..02dafdb57 100644 --- a/homeassistant/components/mqtt/sensor.py +++ b/homeassistant/components/mqtt/sensor.py @@ -32,8 +32,6 @@ CONF_JSON_ATTRS = 'json_attributes' DEFAULT_NAME = 'MQTT Sensor' DEFAULT_FORCE_UPDATE = False -DEPENDENCIES = ['mqtt'] - PLATFORM_SCHEMA = mqtt.MQTT_RO_PLATFORM_SCHEMA.extend({ vol.Optional(CONF_DEVICE): mqtt.MQTT_ENTITY_DEVICE_INFO_SCHEMA, vol.Optional(CONF_DEVICE_CLASS): DEVICE_CLASSES_SCHEMA, diff --git a/homeassistant/components/mqtt/server.py b/homeassistant/components/mqtt/server.py index d7d36add5..8944aba2d 100644 --- a/homeassistant/components/mqtt/server.py +++ b/homeassistant/components/mqtt/server.py @@ -8,12 +8,8 @@ import voluptuous as vol from homeassistant.const import EVENT_HOMEASSISTANT_STOP import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['hbmqtt==0.9.4'] - _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['http'] - # None allows custom config to be created through generate_config HBMQTT_CONFIG_SCHEMA = vol.Any(None, vol.Schema({ vol.Optional('auth'): vol.Schema({ diff --git a/homeassistant/components/mqtt/switch.py b/homeassistant/components/mqtt/switch.py index 20d28b649..a9e3875aa 100644 --- a/homeassistant/components/mqtt/switch.py +++ b/homeassistant/components/mqtt/switch.py @@ -22,8 +22,6 @@ from .discovery import MQTT_DISCOVERY_NEW, clear_discovery_hash _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] - DEFAULT_NAME = 'MQTT Switch' DEFAULT_PAYLOAD_ON = 'ON' DEFAULT_PAYLOAD_OFF = 'OFF' diff --git a/homeassistant/components/mqtt/vacuum.py b/homeassistant/components/mqtt/vacuum.py index 23a5e34b3..7d910f0ac 100644 --- a/homeassistant/components/mqtt/vacuum.py +++ b/homeassistant/components/mqtt/vacuum.py @@ -22,8 +22,6 @@ from .discovery import MQTT_DISCOVERY_NEW, clear_discovery_hash _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] - SERVICE_TO_STRING = { SUPPORT_TURN_ON: 'turn_on', SUPPORT_TURN_OFF: 'turn_off', diff --git a/homeassistant/components/mqtt_eventstream/__init__.py b/homeassistant/components/mqtt_eventstream/__init__.py index fb6a94f18..0b54c8535 100644 --- a/homeassistant/components/mqtt_eventstream/__init__.py +++ b/homeassistant/components/mqtt_eventstream/__init__.py @@ -15,8 +15,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.json import JSONEncoder DOMAIN = 'mqtt_eventstream' -DEPENDENCIES = ['mqtt'] - CONF_PUBLISH_TOPIC = 'publish_topic' CONF_SUBSCRIBE_TOPIC = 'subscribe_topic' CONF_PUBLISH_EVENTSTREAM_RECEIVED = 'publish_eventstream_received' diff --git a/homeassistant/components/mqtt_json/device_tracker.py b/homeassistant/components/mqtt_json/device_tracker.py index 6059b26bc..eed6f0361 100644 --- a/homeassistant/components/mqtt_json/device_tracker.py +++ b/homeassistant/components/mqtt_json/device_tracker.py @@ -13,8 +13,6 @@ from homeassistant.const import ( CONF_DEVICES, ATTR_GPS_ACCURACY, ATTR_LATITUDE, ATTR_LONGITUDE, ATTR_BATTERY_LEVEL) -DEPENDENCIES = ['mqtt'] - _LOGGER = logging.getLogger(__name__) GPS_JSON_PAYLOAD_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/mqtt_room/sensor.py b/homeassistant/components/mqtt_room/sensor.py index 961769711..37ea2697d 100644 --- a/homeassistant/components/mqtt_room/sensor.py +++ b/homeassistant/components/mqtt_room/sensor.py @@ -17,8 +17,6 @@ from homeassistant.util import dt, slugify _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['mqtt'] - ATTR_DEVICE_ID = 'device_id' ATTR_DISTANCE = 'distance' ATTR_ROOM = 'room' diff --git a/homeassistant/components/mqtt_statestream/__init__.py b/homeassistant/components/mqtt_statestream/__init__.py index 18a70bf75..0d594822e 100644 --- a/homeassistant/components/mqtt_statestream/__init__.py +++ b/homeassistant/components/mqtt_statestream/__init__.py @@ -16,7 +16,6 @@ CONF_BASE_TOPIC = 'base_topic' CONF_PUBLISH_ATTRIBUTES = 'publish_attributes' CONF_PUBLISH_TIMESTAMPS = 'publish_timestamps' -DEPENDENCIES = ['mqtt'] DOMAIN = 'mqtt_statestream' CONFIG_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/mvglive/sensor.py b/homeassistant/components/mvglive/sensor.py index 978c9ad34..8c887031a 100644 --- a/homeassistant/components/mvglive/sensor.py +++ b/homeassistant/components/mvglive/sensor.py @@ -11,8 +11,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import ( CONF_NAME, ATTR_ATTRIBUTION) -REQUIREMENTS = ['PyMVGLive==1.1.4'] - _LOGGER = logging.getLogger(__name__) CONF_NEXT_DEPARTURE = 'nextdeparture' diff --git a/homeassistant/components/mychevy/__init__.py b/homeassistant/components/mychevy/__init__.py index e6fd7f19c..b4235362f 100644 --- a/homeassistant/components/mychevy/__init__.py +++ b/homeassistant/components/mychevy/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers import discovery from homeassistant.util import Throttle -REQUIREMENTS = ['mychevy==1.2.0'] - DOMAIN = 'mychevy' UPDATE_TOPIC = DOMAIN ERROR_TOPIC = DOMAIN + "_error" diff --git a/homeassistant/components/mycroft/__init__.py b/homeassistant/components/mycroft/__init__.py index 29f6383f6..fdcedfb73 100644 --- a/homeassistant/components/mycroft/__init__.py +++ b/homeassistant/components/mycroft/__init__.py @@ -7,8 +7,6 @@ from homeassistant.const import CONF_HOST from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['mycroftapi==2.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'mycroft' diff --git a/homeassistant/components/mycroft/notify.py b/homeassistant/components/mycroft/notify.py index d66be629f..5918f1629 100644 --- a/homeassistant/components/mycroft/notify.py +++ b/homeassistant/components/mycroft/notify.py @@ -3,8 +3,6 @@ import logging from homeassistant.components.notify import BaseNotificationService -DEPENDENCIES = ['mycroft'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/myq/cover.py b/homeassistant/components/myq/cover.py index 5b926a183..395e5d4e9 100644 --- a/homeassistant/components/myq/cover.py +++ b/homeassistant/components/myq/cover.py @@ -11,7 +11,6 @@ from homeassistant.const import ( ) from homeassistant.helpers import aiohttp_client, config_validation as cv -REQUIREMENTS = ['pymyq==1.2.0'] _LOGGER = logging.getLogger(__name__) MYQ_TO_HASS = { diff --git a/homeassistant/components/mysensors/__init__.py b/homeassistant/components/mysensors/__init__.py index 7ca21ac58..12d210b50 100644 --- a/homeassistant/components/mysensors/__init__.py +++ b/homeassistant/components/mysensors/__init__.py @@ -17,8 +17,6 @@ from .const import ( from .device import get_mysensors_devices from .gateway import get_mysensors_gateway, setup_gateways, finish_setup -REQUIREMENTS = ['pymysensors==0.18.0'] - _LOGGER = logging.getLogger(__name__) CONF_DEBUG = 'debug' diff --git a/homeassistant/components/mystrom/binary_sensor.py b/homeassistant/components/mystrom/binary_sensor.py index 42245dc4d..d3b4dd554 100644 --- a/homeassistant/components/mystrom/binary_sensor.py +++ b/homeassistant/components/mystrom/binary_sensor.py @@ -7,8 +7,6 @@ from homeassistant.const import HTTP_UNPROCESSABLE_ENTITY _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['http'] - async def async_setup_platform(hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/mystrom/light.py b/homeassistant/components/mystrom/light.py index f9b8dcd20..149b83b24 100644 --- a/homeassistant/components/mystrom/light.py +++ b/homeassistant/components/mystrom/light.py @@ -10,8 +10,6 @@ from homeassistant.components.light import ( ATTR_HS_COLOR) from homeassistant.const import CONF_HOST, CONF_MAC, CONF_NAME -REQUIREMENTS = ['python-mystrom==0.5.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'myStrom bulb' diff --git a/homeassistant/components/mystrom/switch.py b/homeassistant/components/mystrom/switch.py index a25517eea..3fbd6957e 100644 --- a/homeassistant/components/mystrom/switch.py +++ b/homeassistant/components/mystrom/switch.py @@ -7,8 +7,6 @@ from homeassistant.components.switch import (SwitchDevice, PLATFORM_SCHEMA) from homeassistant.const import (CONF_NAME, CONF_HOST) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-mystrom==0.5.0'] - DEFAULT_NAME = 'myStrom Switch' _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/mythicbeastsdns/__init__.py b/homeassistant/components/mythicbeastsdns/__init__.py index 4db53bf04..02441d9c6 100644 --- a/homeassistant/components/mythicbeastsdns/__init__.py +++ b/homeassistant/components/mythicbeastsdns/__init__.py @@ -11,8 +11,6 @@ from homeassistant.const import ( from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.helpers.event import async_track_time_interval -REQUIREMENTS = ['mbddns==0.1.2'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'mythicbeastsdns' diff --git a/homeassistant/components/n26/__init__.py b/homeassistant/components/n26/__init__.py index 8f4ade9c8..fb7084bff 100644 --- a/homeassistant/components/n26/__init__.py +++ b/homeassistant/components/n26/__init__.py @@ -12,8 +12,6 @@ from homeassistant.util import Throttle from .const import DATA, DOMAIN -REQUIREMENTS = ['n26==0.2.7'] - _LOGGER = logging.getLogger(__name__) DEFAULT_SCAN_INTERVAL = timedelta(minutes=30) diff --git a/homeassistant/components/n26/sensor.py b/homeassistant/components/n26/sensor.py index 682cd5dae..be5ad7a1b 100644 --- a/homeassistant/components/n26/sensor.py +++ b/homeassistant/components/n26/sensor.py @@ -8,8 +8,6 @@ from .const import DATA _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['n26'] - SCAN_INTERVAL = DEFAULT_SCAN_INTERVAL ATTR_IBAN = "account" diff --git a/homeassistant/components/n26/switch.py b/homeassistant/components/n26/switch.py index 0e7455ea7..152212550 100644 --- a/homeassistant/components/n26/switch.py +++ b/homeassistant/components/n26/switch.py @@ -8,8 +8,6 @@ from .const import CARD_STATE_ACTIVE, CARD_STATE_BLOCKED, DATA _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['n26'] - SCAN_INTERVAL = DEFAULT_SCAN_INTERVAL diff --git a/homeassistant/components/nad/media_player.py b/homeassistant/components/nad/media_player.py index 8c5a14a35..60747fa63 100644 --- a/homeassistant/components/nad/media_player.py +++ b/homeassistant/components/nad/media_player.py @@ -11,8 +11,6 @@ from homeassistant.components.media_player.const import ( SUPPORT_VOLUME_MUTE, SUPPORT_VOLUME_SET, SUPPORT_VOLUME_STEP) from homeassistant.const import CONF_NAME, STATE_OFF, STATE_ON, CONF_HOST -REQUIREMENTS = ['nad_receiver==0.0.11'] - _LOGGER = logging.getLogger(__name__) DEFAULT_TYPE = 'RS232' diff --git a/homeassistant/components/namecheapdns/__init__.py b/homeassistant/components/namecheapdns/__init__.py index f86e7d185..d3c48d568 100644 --- a/homeassistant/components/namecheapdns/__init__.py +++ b/homeassistant/components/namecheapdns/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import CONF_HOST, CONF_PASSWORD, CONF_DOMAIN from homeassistant.helpers.event import async_track_time_interval from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['defusedxml==0.5.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'namecheapdns' diff --git a/homeassistant/components/nanoleaf/light.py b/homeassistant/components/nanoleaf/light.py index 60457e21f..017bd0a25 100644 --- a/homeassistant/components/nanoleaf/light.py +++ b/homeassistant/components/nanoleaf/light.py @@ -15,8 +15,6 @@ from homeassistant.util.color import \ color_temperature_mired_to_kelvin as mired_to_kelvin from homeassistant.util.json import load_json, save_json -REQUIREMENTS = ['pynanoleaf==0.0.5'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Nanoleaf' diff --git a/homeassistant/components/neato/__init__.py b/homeassistant/components/neato/__init__.py index bb717b8d2..f179248b5 100644 --- a/homeassistant/components/neato/__init__.py +++ b/homeassistant/components/neato/__init__.py @@ -10,8 +10,6 @@ from homeassistant.const import CONF_PASSWORD, CONF_USERNAME from homeassistant.helpers import discovery from homeassistant.util import Throttle -REQUIREMENTS = ['pybotvac==0.0.13'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'neato' diff --git a/homeassistant/components/neato/camera.py b/homeassistant/components/neato/camera.py index f8106c3e6..5d38e7b78 100644 --- a/homeassistant/components/neato/camera.py +++ b/homeassistant/components/neato/camera.py @@ -8,8 +8,6 @@ from . import NEATO_LOGIN, NEATO_MAP_DATA, NEATO_ROBOTS _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['neato'] - SCAN_INTERVAL = timedelta(minutes=10) diff --git a/homeassistant/components/neato/switch.py b/homeassistant/components/neato/switch.py index ea60f9492..0721381a5 100644 --- a/homeassistant/components/neato/switch.py +++ b/homeassistant/components/neato/switch.py @@ -11,8 +11,6 @@ from . import NEATO_LOGIN, NEATO_ROBOTS _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['neato'] - SCAN_INTERVAL = timedelta(minutes=10) SWITCH_TYPE_SCHEDULE = 'schedule' diff --git a/homeassistant/components/neato/vacuum.py b/homeassistant/components/neato/vacuum.py index 3575301ea..061d8fd04 100644 --- a/homeassistant/components/neato/vacuum.py +++ b/homeassistant/components/neato/vacuum.py @@ -21,8 +21,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['neato'] - SCAN_INTERVAL = timedelta(minutes=5) SUPPORT_NEATO = SUPPORT_BATTERY | SUPPORT_PAUSE | SUPPORT_RETURN_HOME | \ diff --git a/homeassistant/components/nederlandse_spoorwegen/sensor.py b/homeassistant/components/nederlandse_spoorwegen/sensor.py index 224d16e48..7fc3e438f 100644 --- a/homeassistant/components/nederlandse_spoorwegen/sensor.py +++ b/homeassistant/components/nederlandse_spoorwegen/sensor.py @@ -12,8 +12,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['nsapi==2.7.4'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by NS" diff --git a/homeassistant/components/nello/lock.py b/homeassistant/components/nello/lock.py index efb7719e2..124fa6769 100644 --- a/homeassistant/components/nello/lock.py +++ b/homeassistant/components/nello/lock.py @@ -8,8 +8,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.lock import (LockDevice, PLATFORM_SCHEMA) from homeassistant.const import (CONF_PASSWORD, CONF_USERNAME) -REQUIREMENTS = ['pynello==2.0.2'] - _LOGGER = logging.getLogger(__name__) ATTR_ADDRESS = 'address' diff --git a/homeassistant/components/ness_alarm/__init__.py b/homeassistant/components/ness_alarm/__init__.py index 97896f9aa..8d9d081e6 100644 --- a/homeassistant/components/ness_alarm/__init__.py +++ b/homeassistant/components/ness_alarm/__init__.py @@ -13,8 +13,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers.discovery import async_load_platform from homeassistant.helpers.dispatcher import async_dispatcher_send -REQUIREMENTS = ['nessclient==0.9.15'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'ness_alarm' diff --git a/homeassistant/components/ness_alarm/alarm_control_panel.py b/homeassistant/components/ness_alarm/alarm_control_panel.py index 618297ef9..06a3f9f1e 100644 --- a/homeassistant/components/ness_alarm/alarm_control_panel.py +++ b/homeassistant/components/ness_alarm/alarm_control_panel.py @@ -13,8 +13,6 @@ from . import DATA_NESS, SIGNAL_ARMING_STATE_CHANGED _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['ness_alarm'] - async def async_setup_platform(hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/ness_alarm/binary_sensor.py b/homeassistant/components/ness_alarm/binary_sensor.py index 2bed9eb64..6d9486577 100644 --- a/homeassistant/components/ness_alarm/binary_sensor.py +++ b/homeassistant/components/ness_alarm/binary_sensor.py @@ -9,7 +9,6 @@ from . import ( CONF_ZONE_ID, CONF_ZONE_NAME, CONF_ZONE_TYPE, CONF_ZONES, SIGNAL_ZONE_CHANGED, ZoneChangedData) -DEPENDENCIES = ['ness_alarm'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nest/__init__.py b/homeassistant/components/nest/__init__.py index 21aaa2109..cc726cdf1 100644 --- a/homeassistant/components/nest/__init__.py +++ b/homeassistant/components/nest/__init__.py @@ -22,8 +22,6 @@ from homeassistant.helpers.entity import Entity from .const import DOMAIN from . import local_auth -REQUIREMENTS = ['python-nest==4.1.0'] - _CONFIGURING = {} _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/nest/binary_sensor.py b/homeassistant/components/nest/binary_sensor.py index aa56bfbf2..1fc8aa892 100644 --- a/homeassistant/components/nest/binary_sensor.py +++ b/homeassistant/components/nest/binary_sensor.py @@ -10,8 +10,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['nest'] - BINARY_TYPES = {'online': 'connectivity'} CLIMATE_BINARY_TYPES = { diff --git a/homeassistant/components/nest/camera.py b/homeassistant/components/nest/camera.py index 8b450e02b..029de178f 100644 --- a/homeassistant/components/nest/camera.py +++ b/homeassistant/components/nest/camera.py @@ -11,8 +11,6 @@ from homeassistant.util.dt import utcnow _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['nest'] - NEST_BRAND = 'Nest' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({}) diff --git a/homeassistant/components/nest/climate.py b/homeassistant/components/nest/climate.py index cd9a7cb71..4707d8d0f 100644 --- a/homeassistant/components/nest/climate.py +++ b/homeassistant/components/nest/climate.py @@ -16,7 +16,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_connect from . import DATA_NEST, DOMAIN as NEST_DOMAIN, SIGNAL_NEST_UPDATE -DEPENDENCIES = ['nest'] _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/nest/sensor.py b/homeassistant/components/nest/sensor.py index ecae83e30..2bfeea897 100644 --- a/homeassistant/components/nest/sensor.py +++ b/homeassistant/components/nest/sensor.py @@ -8,8 +8,6 @@ from homeassistant.const import ( from . import CONF_SENSORS, DATA_NEST, DATA_NEST_CONFIG, NestSensorDevice -DEPENDENCIES = ['nest'] - SENSOR_TYPES = ['humidity', 'operation_mode', 'hvac_state'] TEMP_SENSOR_TYPES = ['temperature', 'target'] diff --git a/homeassistant/components/netatmo/__init__.py b/homeassistant/components/netatmo/__init__.py index 2036e55b3..cf64363ba 100644 --- a/homeassistant/components/netatmo/__init__.py +++ b/homeassistant/components/netatmo/__init__.py @@ -12,9 +12,6 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['pyatmo==1.9'] -DEPENDENCIES = ['webhook'] - _LOGGER = logging.getLogger(__name__) DATA_PERSONS = 'netatmo_persons' diff --git a/homeassistant/components/netatmo/binary_sensor.py b/homeassistant/components/netatmo/binary_sensor.py index 7c2b1a73a..f282faf82 100644 --- a/homeassistant/components/netatmo/binary_sensor.py +++ b/homeassistant/components/netatmo/binary_sensor.py @@ -12,8 +12,6 @@ from . import CameraData, NETATMO_AUTH _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['netatmo'] - # These are the available sensors mapped to binary_sensor class WELCOME_SENSOR_TYPES = { "Someone known": "motion", diff --git a/homeassistant/components/netatmo/camera.py b/homeassistant/components/netatmo/camera.py index c8a540be6..b74dce4b2 100644 --- a/homeassistant/components/netatmo/camera.py +++ b/homeassistant/components/netatmo/camera.py @@ -11,8 +11,6 @@ from homeassistant.helpers import config_validation as cv from . import CameraData, NETATMO_AUTH -DEPENDENCIES = ['netatmo'] - _LOGGER = logging.getLogger(__name__) CONF_HOME = 'home' diff --git a/homeassistant/components/netatmo/climate.py b/homeassistant/components/netatmo/climate.py index 5defbbf22..00c08c654 100644 --- a/homeassistant/components/netatmo/climate.py +++ b/homeassistant/components/netatmo/climate.py @@ -16,8 +16,6 @@ from homeassistant.util import Throttle from . import NETATMO_AUTH -DEPENDENCIES = ['netatmo'] - _LOGGER = logging.getLogger(__name__) CONF_HOMES = 'homes' diff --git a/homeassistant/components/netatmo/sensor.py b/homeassistant/components/netatmo/sensor.py index 2ce4b6e6c..c9c1101c2 100644 --- a/homeassistant/components/netatmo/sensor.py +++ b/homeassistant/components/netatmo/sensor.py @@ -19,8 +19,6 @@ _LOGGER = logging.getLogger(__name__) CONF_MODULES = 'modules' CONF_STATION = 'station' -DEPENDENCIES = ['netatmo'] - # This is the NetAtmo data upload interval in seconds NETATMO_UPDATE_INTERVAL = 600 diff --git a/homeassistant/components/netatmo_public/sensor.py b/homeassistant/components/netatmo_public/sensor.py index 348053443..814675ca8 100644 --- a/homeassistant/components/netatmo_public/sensor.py +++ b/homeassistant/components/netatmo_public/sensor.py @@ -14,8 +14,6 @@ from homeassistant.util import Throttle _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['netatmo'] - CONF_AREAS = 'areas' CONF_LAT_NE = 'lat_ne' CONF_LON_NE = 'lon_ne' diff --git a/homeassistant/components/netdata/sensor.py b/homeassistant/components/netdata/sensor.py index 6d99722a4..eb6d6088e 100644 --- a/homeassistant/components/netdata/sensor.py +++ b/homeassistant/components/netdata/sensor.py @@ -13,8 +13,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['netdata==0.1.2'] - _LOGGER = logging.getLogger(__name__) MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=1) diff --git a/homeassistant/components/netgear/device_tracker.py b/homeassistant/components/netgear/device_tracker.py index ce8c2d606..36921601c 100644 --- a/homeassistant/components/netgear/device_tracker.py +++ b/homeassistant/components/netgear/device_tracker.py @@ -10,8 +10,6 @@ from homeassistant.const import ( CONF_HOST, CONF_PASSWORD, CONF_USERNAME, CONF_PORT, CONF_SSL, CONF_DEVICES, CONF_EXCLUDE) -REQUIREMENTS = ['pynetgear==0.5.2'] - _LOGGER = logging.getLogger(__name__) CONF_APS = 'accesspoints' diff --git a/homeassistant/components/netgear_lte/__init__.py b/homeassistant/components/netgear_lte/__init__.py index c0f248a3d..5491fffe9 100644 --- a/homeassistant/components/netgear_lte/__init__.py +++ b/homeassistant/components/netgear_lte/__init__.py @@ -24,8 +24,6 @@ from homeassistant.helpers.event import async_track_time_interval from . import sensor_types -REQUIREMENTS = ['eternalegypt==0.0.7'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=10) diff --git a/homeassistant/components/netgear_lte/binary_sensor.py b/homeassistant/components/netgear_lte/binary_sensor.py index a26c8538e..b13e1b0bb 100644 --- a/homeassistant/components/netgear_lte/binary_sensor.py +++ b/homeassistant/components/netgear_lte/binary_sensor.py @@ -7,8 +7,6 @@ from homeassistant.exceptions import PlatformNotReady from . import CONF_MONITORED_CONDITIONS, DATA_KEY, LTEEntity from .sensor_types import BINARY_SENSOR_CLASSES -DEPENDENCIES = ['netgear_lte'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netgear_lte/notify.py b/homeassistant/components/netgear_lte/notify.py index fba1a335a..cb71a7945 100644 --- a/homeassistant/components/netgear_lte/notify.py +++ b/homeassistant/components/netgear_lte/notify.py @@ -8,8 +8,6 @@ from homeassistant.components.notify import ( from . import CONF_RECIPIENT, DATA_KEY -DEPENDENCIES = ['netgear_lte'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netgear_lte/sensor.py b/homeassistant/components/netgear_lte/sensor.py index 238a5f9b7..edf55480a 100644 --- a/homeassistant/components/netgear_lte/sensor.py +++ b/homeassistant/components/netgear_lte/sensor.py @@ -8,8 +8,6 @@ from . import CONF_MONITORED_CONDITIONS, DATA_KEY, LTEEntity from .sensor_types import ( SENSOR_SMS, SENSOR_SMS_TOTAL, SENSOR_USAGE, SENSOR_UNITS) -DEPENDENCIES = ['netgear_lte'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/netio/switch.py b/homeassistant/components/netio/switch.py index 27a7dfbd5..ddaa9ffe0 100644 --- a/homeassistant/components/netio/switch.py +++ b/homeassistant/components/netio/switch.py @@ -14,8 +14,6 @@ from homeassistant.const import ( from homeassistant.components.switch import (SwitchDevice, PLATFORM_SCHEMA) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pynetio==0.1.9.1'] - _LOGGER = logging.getLogger(__name__) ATTR_START_DATE = 'start_date' @@ -25,7 +23,6 @@ CONF_OUTLETS = 'outlets' DEFAULT_PORT = 1234 DEFAULT_USERNAME = 'admin' -DEPENDENCIES = ['http'] Device = namedtuple('device', ['netio', 'entities']) DEVICES = {} diff --git a/homeassistant/components/neurio_energy/sensor.py b/homeassistant/components/neurio_energy/sensor.py index 9e12465c6..5992ca705 100644 --- a/homeassistant/components/neurio_energy/sensor.py +++ b/homeassistant/components/neurio_energy/sensor.py @@ -13,8 +13,6 @@ from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['neurio==0.3.1'] - _LOGGER = logging.getLogger(__name__) CONF_API_SECRET = 'api_secret' diff --git a/homeassistant/components/niko_home_control/light.py b/homeassistant/components/niko_home_control/light.py index 00e8dc838..b7ba5d33e 100644 --- a/homeassistant/components/niko_home_control/light.py +++ b/homeassistant/components/niko_home_control/light.py @@ -9,8 +9,6 @@ from homeassistant.const import CONF_HOST from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['niko-home-control==0.1.8'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/nilu/air_quality.py b/homeassistant/components/nilu/air_quality.py index 979d5736d..cdc099765 100644 --- a/homeassistant/components/nilu/air_quality.py +++ b/homeassistant/components/nilu/air_quality.py @@ -11,8 +11,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['niluclient==0.1.2'] - _LOGGER = logging.getLogger(__name__) ATTR_AREA = 'area' diff --git a/homeassistant/components/nissan_leaf/__init__.py b/homeassistant/components/nissan_leaf/__init__.py index cb101c0a5..f9e7cd7f2 100644 --- a/homeassistant/components/nissan_leaf/__init__.py +++ b/homeassistant/components/nissan_leaf/__init__.py @@ -16,8 +16,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import async_track_point_in_utc_time from homeassistant.util.dt import utcnow -REQUIREMENTS = ['pycarwings2==2.8'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'nissan_leaf' diff --git a/homeassistant/components/nissan_leaf/binary_sensor.py b/homeassistant/components/nissan_leaf/binary_sensor.py index 5c71cf1fc..5456fdc91 100644 --- a/homeassistant/components/nissan_leaf/binary_sensor.py +++ b/homeassistant/components/nissan_leaf/binary_sensor.py @@ -7,8 +7,6 @@ from . import DATA_CHARGING, DATA_LEAF, DATA_PLUGGED_IN, LeafEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['nissan_leaf'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up of a Nissan Leaf binary sensor.""" diff --git a/homeassistant/components/nissan_leaf/device_tracker.py b/homeassistant/components/nissan_leaf/device_tracker.py index 95f6fcdca..0e2dca25c 100644 --- a/homeassistant/components/nissan_leaf/device_tracker.py +++ b/homeassistant/components/nissan_leaf/device_tracker.py @@ -8,8 +8,6 @@ from . import DATA_LEAF, DATA_LOCATION, SIGNAL_UPDATE_LEAF _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['nissan_leaf'] - ICON_CAR = "mdi:car" diff --git a/homeassistant/components/nissan_leaf/sensor.py b/homeassistant/components/nissan_leaf/sensor.py index 682f482b4..064a96a64 100644 --- a/homeassistant/components/nissan_leaf/sensor.py +++ b/homeassistant/components/nissan_leaf/sensor.py @@ -12,8 +12,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['nissan_leaf'] - ICON_RANGE = 'mdi:speedometer' diff --git a/homeassistant/components/nissan_leaf/switch.py b/homeassistant/components/nissan_leaf/switch.py index e6d72103a..27f81b69d 100644 --- a/homeassistant/components/nissan_leaf/switch.py +++ b/homeassistant/components/nissan_leaf/switch.py @@ -7,8 +7,6 @@ from . import DATA_CLIMATE, DATA_LEAF, LeafEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['nissan_leaf'] - def setup_platform(hass, config, add_devices, discovery_info=None): """Nissan Leaf switch platform setup.""" diff --git a/homeassistant/components/nmap_tracker/device_tracker.py b/homeassistant/components/nmap_tracker/device_tracker.py index e553d323b..3537f01b2 100644 --- a/homeassistant/components/nmap_tracker/device_tracker.py +++ b/homeassistant/components/nmap_tracker/device_tracker.py @@ -13,8 +13,6 @@ from homeassistant.components.device_tracker import ( DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOSTS -REQUIREMENTS = ['python-nmap==0.6.1'] - _LOGGER = logging.getLogger(__name__) CONF_EXCLUDE = 'exclude' diff --git a/homeassistant/components/nmbs/sensor.py b/homeassistant/components/nmbs/sensor.py index 034c37530..799225968 100644 --- a/homeassistant/components/nmbs/sensor.py +++ b/homeassistant/components/nmbs/sensor.py @@ -23,8 +23,6 @@ CONF_STATION_TO = 'station_to' CONF_STATION_LIVE = 'station_live' CONF_EXCLUDE_VIAS = 'exclude_vias' -REQUIREMENTS = ["pyrail==0.0.3"] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_STATION_FROM): cv.string, vol.Required(CONF_STATION_TO): cv.string, diff --git a/homeassistant/components/noaa_tides/sensor.py b/homeassistant/components/noaa_tides/sensor.py index 0c4bde94f..0749f1303 100644 --- a/homeassistant/components/noaa_tides/sensor.py +++ b/homeassistant/components/noaa_tides/sensor.py @@ -10,8 +10,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['py_noaa==0.3.0'] - _LOGGER = logging.getLogger(__name__) CONF_STATION_ID = 'station_id' diff --git a/homeassistant/components/norway_air/air_quality.py b/homeassistant/components/norway_air/air_quality.py index 06ed68801..f2d5d87be 100644 --- a/homeassistant/components/norway_air/air_quality.py +++ b/homeassistant/components/norway_air/air_quality.py @@ -12,8 +12,6 @@ from homeassistant.const import (CONF_LATITUDE, CONF_LONGITUDE, from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['pyMetno==0.4.6'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Air quality from " \ diff --git a/homeassistant/components/nsw_fuel_station/sensor.py b/homeassistant/components/nsw_fuel_station/sensor.py index ce4337fc9..9bb24973f 100644 --- a/homeassistant/components/nsw_fuel_station/sensor.py +++ b/homeassistant/components/nsw_fuel_station/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import ATTR_ATTRIBUTION from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['nsw-fuel-api-client==1.0.10'] - _LOGGER = logging.getLogger(__name__) ATTR_STATION_ID = 'station_id' diff --git a/homeassistant/components/nsw_rural_fire_service_feed/geo_location.py b/homeassistant/components/nsw_rural_fire_service_feed/geo_location.py index 38491feb3..7a6d681bf 100644 --- a/homeassistant/components/nsw_rural_fire_service_feed/geo_location.py +++ b/homeassistant/components/nsw_rural_fire_service_feed/geo_location.py @@ -16,8 +16,6 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_connect, dispatcher_send) from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['geojson_client==0.3'] - _LOGGER = logging.getLogger(__name__) ATTR_CATEGORY = 'category' diff --git a/homeassistant/components/nuheat/__init__.py b/homeassistant/components/nuheat/__init__.py index 4ea37339e..f8227391f 100644 --- a/homeassistant/components/nuheat/__init__.py +++ b/homeassistant/components/nuheat/__init__.py @@ -7,8 +7,6 @@ from homeassistant.const import CONF_USERNAME, CONF_PASSWORD, CONF_DEVICES from homeassistant.helpers import config_validation as cv from homeassistant.helpers import discovery -REQUIREMENTS = ["nuheat==0.3.0"] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'nuheat' diff --git a/homeassistant/components/nuheat/climate.py b/homeassistant/components/nuheat/climate.py index 32adc1d21..6a391679b 100644 --- a/homeassistant/components/nuheat/climate.py +++ b/homeassistant/components/nuheat/climate.py @@ -15,8 +15,6 @@ from homeassistant.util import Throttle from . import DOMAIN as NUHEAT_DOMAIN -DEPENDENCIES = ["nuheat"] - _LOGGER = logging.getLogger(__name__) ICON = "mdi:thermometer" diff --git a/homeassistant/components/nuimo_controller/__init__.py b/homeassistant/components/nuimo_controller/__init__.py index 70509469d..ca1de204a 100644 --- a/homeassistant/components/nuimo_controller/__init__.py +++ b/homeassistant/components/nuimo_controller/__init__.py @@ -8,10 +8,6 @@ import voluptuous as vol import homeassistant.helpers.config_validation as cv from homeassistant.const import (CONF_MAC, CONF_NAME, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = [ - '--only-binary=all ' # avoid compilation of gattlib - 'nuimo==0.1.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'nuimo_controller' diff --git a/homeassistant/components/nuki/lock.py b/homeassistant/components/nuki/lock.py index ef49d4b97..0d0452378 100644 --- a/homeassistant/components/nuki/lock.py +++ b/homeassistant/components/nuki/lock.py @@ -10,8 +10,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.service import extract_entity_ids -REQUIREMENTS = ['pynuki==1.3.2'] - _LOGGER = logging.getLogger(__name__) DEFAULT_PORT = 8080 diff --git a/homeassistant/components/nut/sensor.py b/homeassistant/components/nut/sensor.py index 43ba06f70..1a4ce7798 100644 --- a/homeassistant/components/nut/sensor.py +++ b/homeassistant/components/nut/sensor.py @@ -14,8 +14,6 @@ from homeassistant.exceptions import PlatformNotReady from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pynut2==2.1.2'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'NUT UPS' diff --git a/homeassistant/components/nx584/alarm_control_panel.py b/homeassistant/components/nx584/alarm_control_panel.py index c5e1fede6..4c6c604c9 100644 --- a/homeassistant/components/nx584/alarm_control_panel.py +++ b/homeassistant/components/nx584/alarm_control_panel.py @@ -11,8 +11,6 @@ from homeassistant.const import ( STATE_ALARM_ARMED_HOME, STATE_ALARM_DISARMED, STATE_ALARM_TRIGGERED) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pynx584==0.4'] - _LOGGER = logging.getLogger(__name__) DEFAULT_HOST = 'localhost' diff --git a/homeassistant/components/nx584/binary_sensor.py b/homeassistant/components/nx584/binary_sensor.py index 61f8fb801..2162d7420 100644 --- a/homeassistant/components/nx584/binary_sensor.py +++ b/homeassistant/components/nx584/binary_sensor.py @@ -11,8 +11,6 @@ from homeassistant.components.binary_sensor import ( from homeassistant.const import (CONF_HOST, CONF_PORT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pynx584==0.4'] - _LOGGER = logging.getLogger(__name__) CONF_EXCLUDE_ZONES = 'exclude_zones' diff --git a/homeassistant/components/oasa_telematics/sensor.py b/homeassistant/components/oasa_telematics/sensor.py index 665f2f83f..60c2f9a23 100644 --- a/homeassistant/components/oasa_telematics/sensor.py +++ b/homeassistant/components/oasa_telematics/sensor.py @@ -12,7 +12,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity from homeassistant.util import dt as dt_util -REQUIREMENTS = ['oasatelematics==0.3'] _LOGGER = logging.getLogger(__name__) ATTR_STOP_ID = 'stop_id' diff --git a/homeassistant/components/octoprint/binary_sensor.py b/homeassistant/components/octoprint/binary_sensor.py index be3381f3b..d505c8807 100644 --- a/homeassistant/components/octoprint/binary_sensor.py +++ b/homeassistant/components/octoprint/binary_sensor.py @@ -9,8 +9,6 @@ from . import BINARY_SENSOR_TYPES, DOMAIN as COMPONENT_DOMAIN _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['octoprint'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the available OctoPrint binary sensors.""" diff --git a/homeassistant/components/octoprint/sensor.py b/homeassistant/components/octoprint/sensor.py index f07d88d11..979f56290 100644 --- a/homeassistant/components/octoprint/sensor.py +++ b/homeassistant/components/octoprint/sensor.py @@ -10,8 +10,6 @@ from . import DOMAIN as COMPONENT_DOMAIN, SENSOR_TYPES _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['octoprint'] - NOTIFICATION_ID = 'octoprint_notification' NOTIFICATION_TITLE = 'OctoPrint sensor setup error' diff --git a/homeassistant/components/oem/climate.py b/homeassistant/components/oem/climate.py index f1e03396b..3ae9b4dad 100644 --- a/homeassistant/components/oem/climate.py +++ b/homeassistant/components/oem/climate.py @@ -21,8 +21,6 @@ from homeassistant.const import ( CONF_PORT, TEMP_CELSIUS, CONF_NAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['oemthermostat==1.1'] - _LOGGER = logging.getLogger(__name__) CONF_AWAY_TEMP = 'away_temp' diff --git a/homeassistant/components/ohmconnect/sensor.py b/homeassistant/components/ohmconnect/sensor.py index 1d870e4d1..87dca2aa8 100644 --- a/homeassistant/components/ohmconnect/sensor.py +++ b/homeassistant/components/ohmconnect/sensor.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['defusedxml==0.5.0'] - _LOGGER = logging.getLogger(__name__) CONF_ID = 'id' diff --git a/homeassistant/components/onboarding/__init__.py b/homeassistant/components/onboarding/__init__.py index f8885962e..29371369c 100644 --- a/homeassistant/components/onboarding/__init__.py +++ b/homeassistant/components/onboarding/__init__.py @@ -4,8 +4,6 @@ from homeassistant.loader import bind_hass from .const import DOMAIN, STEP_USER, STEPS -DEPENDENCIES = ['auth', 'http'] - STORAGE_KEY = DOMAIN STORAGE_VERSION = 1 diff --git a/homeassistant/components/onkyo/media_player.py b/homeassistant/components/onkyo/media_player.py index 64b9684c5..0a8a45973 100644 --- a/homeassistant/components/onkyo/media_player.py +++ b/homeassistant/components/onkyo/media_player.py @@ -16,8 +16,6 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, STATE_OFF, STATE_ON, ATTR_ENTITY_ID) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['onkyo-eiscp==1.2.4'] - _LOGGER = logging.getLogger(__name__) CONF_SOURCES = 'sources' diff --git a/homeassistant/components/onvif/camera.py b/homeassistant/components/onvif/camera.py index 90222b9ca..6a773a854 100644 --- a/homeassistant/components/onvif/camera.py +++ b/homeassistant/components/onvif/camera.py @@ -20,10 +20,6 @@ from homeassistant.helpers.service import extract_entity_ids _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['onvif-py3==0.1.3', - 'suds-py3==1.3.3.0', - 'suds-passworddigest-homeassistant==0.1.2a0.dev0'] -DEPENDENCIES = ['ffmpeg'] DEFAULT_NAME = 'ONVIF Camera' DEFAULT_PORT = 5000 DEFAULT_USERNAME = 'admin' diff --git a/homeassistant/components/opencv/image_processing.py b/homeassistant/components/opencv/image_processing.py index 10173cdb7..4a28a37b7 100644 --- a/homeassistant/components/opencv/image_processing.py +++ b/homeassistant/components/opencv/image_processing.py @@ -11,8 +11,6 @@ from homeassistant.components.image_processing import ( from homeassistant.core import split_entity_id import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['numpy==1.16.2'] - _LOGGER = logging.getLogger(__name__) ATTR_MATCHES = 'matches' diff --git a/homeassistant/components/openevse/sensor.py b/homeassistant/components/openevse/sensor.py index e54b47236..efc4f8a02 100644 --- a/homeassistant/components/openevse/sensor.py +++ b/homeassistant/components/openevse/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import ( CONF_MONITORED_VARIABLES) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['openevsewifi==0.4'] - _LOGGER = logging.getLogger(__name__) SENSOR_TYPES = { diff --git a/homeassistant/components/openhome/media_player.py b/homeassistant/components/openhome/media_player.py index 03926bce8..edb033b8f 100644 --- a/homeassistant/components/openhome/media_player.py +++ b/homeassistant/components/openhome/media_player.py @@ -10,8 +10,6 @@ from homeassistant.components.media_player.const import ( from homeassistant.const import ( STATE_IDLE, STATE_OFF, STATE_PAUSED, STATE_PLAYING) -REQUIREMENTS = ['openhomedevice==0.4.2'] - SUPPORT_OPENHOME = SUPPORT_SELECT_SOURCE | \ SUPPORT_VOLUME_STEP | SUPPORT_VOLUME_MUTE | SUPPORT_VOLUME_SET | \ SUPPORT_TURN_OFF | SUPPORT_TURN_ON diff --git a/homeassistant/components/opensensemap/air_quality.py b/homeassistant/components/opensensemap/air_quality.py index 5407f65a1..3f859724f 100644 --- a/homeassistant/components/opensensemap/air_quality.py +++ b/homeassistant/components/opensensemap/air_quality.py @@ -11,8 +11,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle -REQUIREMENTS = ['opensensemap-api==0.1.5'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = 'Data provided by openSenseMap' diff --git a/homeassistant/components/opentherm_gw/__init__.py b/homeassistant/components/opentherm_gw/__init__.py index 1476363c6..829344fb1 100644 --- a/homeassistant/components/opentherm_gw/__init__.py +++ b/homeassistant/components/opentherm_gw/__init__.py @@ -15,8 +15,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_send import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyotgw==0.4b3'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'opentherm_gw' diff --git a/homeassistant/components/opentherm_gw/binary_sensor.py b/homeassistant/components/opentherm_gw/binary_sensor.py index d0b60a257..bf342cc98 100644 --- a/homeassistant/components/opentherm_gw/binary_sensor.py +++ b/homeassistant/components/opentherm_gw/binary_sensor.py @@ -14,8 +14,6 @@ DEVICE_CLASS_COLD = 'cold' DEVICE_CLASS_HEAT = 'heat' DEVICE_CLASS_PROBLEM = 'problem' -DEPENDENCIES = ['opentherm_gw'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/opentherm_gw/climate.py b/homeassistant/components/opentherm_gw/climate.py index 60f1901d4..2dbd7f3cf 100644 --- a/homeassistant/components/opentherm_gw/climate.py +++ b/homeassistant/components/opentherm_gw/climate.py @@ -15,8 +15,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['opentherm_gw'] - SUPPORT_FLAGS = SUPPORT_TARGET_TEMPERATURE diff --git a/homeassistant/components/opentherm_gw/sensor.py b/homeassistant/components/opentherm_gw/sensor.py index 5c64b8ab7..60ccedfd4 100644 --- a/homeassistant/components/opentherm_gw/sensor.py +++ b/homeassistant/components/opentherm_gw/sensor.py @@ -16,8 +16,6 @@ UNIT_KW = 'kW' UNIT_L_MIN = 'L/min' UNIT_PERCENT = '%' -DEPENDENCIES = ['opentherm_gw'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/openuv/__init__.py b/homeassistant/components/openuv/__init__.py index 5533beb2f..8e8401bbe 100644 --- a/homeassistant/components/openuv/__init__.py +++ b/homeassistant/components/openuv/__init__.py @@ -15,8 +15,6 @@ from homeassistant.helpers.entity import Entity from .config_flow import configured_instances from .const import DOMAIN -REQUIREMENTS = ['pyopenuv==1.0.9'] - _LOGGER = logging.getLogger(__name__) DATA_OPENUV_CLIENT = 'data_client' diff --git a/homeassistant/components/openuv/binary_sensor.py b/homeassistant/components/openuv/binary_sensor.py index cfc82a757..d02312f07 100644 --- a/homeassistant/components/openuv/binary_sensor.py +++ b/homeassistant/components/openuv/binary_sensor.py @@ -16,8 +16,6 @@ ATTR_PROTECTION_WINDOW_ENDING_UV = 'end_uv' ATTR_PROTECTION_WINDOW_STARTING_TIME = 'start_time' ATTR_PROTECTION_WINDOW_STARTING_UV = 'start_uv' -DEPENDENCIES = ['openuv'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/openuv/sensor.py b/homeassistant/components/openuv/sensor.py index 42780d57b..2fa2e44c9 100644 --- a/homeassistant/components/openuv/sensor.py +++ b/homeassistant/components/openuv/sensor.py @@ -14,8 +14,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['openuv'] - ATTR_MAX_UV_TIME = 'time' EXPOSURE_TYPE_MAP = { diff --git a/homeassistant/components/openweathermap/sensor.py b/homeassistant/components/openweathermap/sensor.py index 5de67721e..97ab9984d 100644 --- a/homeassistant/components/openweathermap/sensor.py +++ b/homeassistant/components/openweathermap/sensor.py @@ -12,8 +12,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pyowm==2.10.0'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by OpenWeatherMap" diff --git a/homeassistant/components/openweathermap/weather.py b/homeassistant/components/openweathermap/weather.py index 8a37bc975..75755a531 100644 --- a/homeassistant/components/openweathermap/weather.py +++ b/homeassistant/components/openweathermap/weather.py @@ -14,8 +14,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.util import Throttle from homeassistant.util.pressure import convert as convert_pressure -REQUIREMENTS = ['pyowm==2.10.0'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = 'Data provided by OpenWeatherMap' diff --git a/homeassistant/components/opple/light.py b/homeassistant/components/opple/light.py index 03e36dc17..c3d66c526 100644 --- a/homeassistant/components/opple/light.py +++ b/homeassistant/components/opple/light.py @@ -14,8 +14,6 @@ from homeassistant.util.color import \ from homeassistant.util.color import \ color_temperature_mired_to_kelvin as mired_to_kelvin -REQUIREMENTS = ['pyoppleio==1.0.5'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = "opple light" diff --git a/homeassistant/components/orvibo/switch.py b/homeassistant/components/orvibo/switch.py index c77e24446..20b86dbf6 100644 --- a/homeassistant/components/orvibo/switch.py +++ b/homeassistant/components/orvibo/switch.py @@ -8,8 +8,6 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_SWITCHES, CONF_MAC, CONF_DISCOVERY) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['orvibo==1.1.1'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Orvibo S20 Switch' diff --git a/homeassistant/components/osramlightify/light.py b/homeassistant/components/osramlightify/light.py index b880273fd..dafab76a2 100644 --- a/homeassistant/components/osramlightify/light.py +++ b/homeassistant/components/osramlightify/light.py @@ -15,8 +15,6 @@ from homeassistant.const import CONF_HOST import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['lightify==1.0.7.2'] - _LOGGER = logging.getLogger(__name__) CONF_ALLOW_LIGHTIFY_NODES = 'allow_lightify_nodes' diff --git a/homeassistant/components/otp/sensor.py b/homeassistant/components/otp/sensor.py index 2ac4c5199..0f79955db 100644 --- a/homeassistant/components/otp/sensor.py +++ b/homeassistant/components/otp/sensor.py @@ -10,8 +10,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import (CONF_NAME, CONF_TOKEN) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyotp==2.2.6'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'OTP Sensor' diff --git a/homeassistant/components/owlet/__init__.py b/homeassistant/components/owlet/__init__.py index b7ad7ab91..f19df6a3e 100644 --- a/homeassistant/components/owlet/__init__.py +++ b/homeassistant/components/owlet/__init__.py @@ -11,8 +11,6 @@ from .const import ( SENSOR_BASE_STATION, SENSOR_HEART_RATE, SENSOR_MOVEMENT, SENSOR_OXYGEN_LEVEL) -REQUIREMENTS = ['pyowlet==1.0.2'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'owlet' diff --git a/homeassistant/components/owntracks/__init__.py b/homeassistant/components/owntracks/__init__.py index df6b815e4..e746cbc01 100644 --- a/homeassistant/components/owntracks/__init__.py +++ b/homeassistant/components/owntracks/__init__.py @@ -16,13 +16,9 @@ from homeassistant.setup import async_when_setup from .config_flow import CONF_SECRET -REQUIREMENTS = ['PyNaCl==1.3.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'owntracks' -DEPENDENCIES = ['webhook'] - CONF_MAX_GPS_ACCURACY = 'max_gps_accuracy' CONF_WAYPOINT_IMPORT = 'waypoints' CONF_WAYPOINT_WHITELIST = 'waypoint_whitelist' diff --git a/homeassistant/components/owntracks/device_tracker.py b/homeassistant/components/owntracks/device_tracker.py index 69ea723d8..999e883be 100644 --- a/homeassistant/components/owntracks/device_tracker.py +++ b/homeassistant/components/owntracks/device_tracker.py @@ -10,8 +10,6 @@ from homeassistant.util import decorator, slugify from . import DOMAIN as OT_DOMAIN -DEPENDENCIES = ['owntracks'] - _LOGGER = logging.getLogger(__name__) HANDLERS = decorator.Registry() diff --git a/homeassistant/components/panasonic_bluray/media_player.py b/homeassistant/components/panasonic_bluray/media_player.py index ebf71135d..9da5cf87e 100644 --- a/homeassistant/components/panasonic_bluray/media_player.py +++ b/homeassistant/components/panasonic_bluray/media_player.py @@ -14,8 +14,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.util.dt import utcnow -REQUIREMENTS = ['panacotta==0.1'] - DEFAULT_NAME = "Panasonic Blu-Ray" SCAN_INTERVAL = timedelta(seconds=30) diff --git a/homeassistant/components/panasonic_viera/media_player.py b/homeassistant/components/panasonic_viera/media_player.py index 324becd0b..4669d4eca 100644 --- a/homeassistant/components/panasonic_viera/media_player.py +++ b/homeassistant/components/panasonic_viera/media_player.py @@ -14,8 +14,6 @@ from homeassistant.const import ( CONF_HOST, CONF_MAC, CONF_NAME, CONF_PORT, STATE_OFF, STATE_ON) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['panasonic_viera==0.3.2', 'wakeonlan==1.1.6'] - _LOGGER = logging.getLogger(__name__) CONF_APP_POWER = 'app_power' diff --git a/homeassistant/components/pandora/media_player.py b/homeassistant/components/pandora/media_player.py index 32cde430d..14eb26091 100644 --- a/homeassistant/components/pandora/media_player.py +++ b/homeassistant/components/pandora/media_player.py @@ -16,7 +16,6 @@ from homeassistant.const import ( SERVICE_MEDIA_PLAY_PAUSE, SERVICE_VOLUME_DOWN, SERVICE_VOLUME_UP, STATE_IDLE, STATE_OFF, STATE_PAUSED, STATE_PLAYING) -REQUIREMENTS = ['pexpect==4.6.0'] _LOGGER = logging.getLogger(__name__) # SUPPORT_VOLUME_SET is close to available but we need volume up/down diff --git a/homeassistant/components/panel_custom/__init__.py b/homeassistant/components/panel_custom/__init__.py index 7fe2191f4..9367f1024 100644 --- a/homeassistant/components/panel_custom/__init__.py +++ b/homeassistant/components/panel_custom/__init__.py @@ -10,8 +10,6 @@ from homeassistant.loader import bind_hass _LOGGER = logging.getLogger(__name__) DOMAIN = 'panel_custom' -DEPENDENCIES = ['frontend'] - CONF_COMPONENT_NAME = 'name' CONF_SIDEBAR_TITLE = 'sidebar_title' CONF_SIDEBAR_ICON = 'sidebar_icon' diff --git a/homeassistant/components/panel_iframe/__init__.py b/homeassistant/components/panel_iframe/__init__.py index 9319dfcc6..f4038c82f 100644 --- a/homeassistant/components/panel_iframe/__init__.py +++ b/homeassistant/components/panel_iframe/__init__.py @@ -4,8 +4,6 @@ import voluptuous as vol from homeassistant.const import CONF_ICON, CONF_URL import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['frontend'] - DOMAIN = 'panel_iframe' CONF_TITLE = 'title' diff --git a/homeassistant/components/pencom/switch.py b/homeassistant/components/pencom/switch.py index d2c73d70d..3fc65e737 100644 --- a/homeassistant/components/pencom/switch.py +++ b/homeassistant/components/pencom/switch.py @@ -12,8 +12,6 @@ from homeassistant.const import CONF_HOST, CONF_PORT, CONF_NAME from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pencompy==0.0.3'] - _LOGGER = logging.getLogger(__name__) CONF_BOARDS = 'boards' diff --git a/homeassistant/components/philips_js/media_player.py b/homeassistant/components/philips_js/media_player.py index f5eddff8d..859ad26a3 100644 --- a/homeassistant/components/philips_js/media_player.py +++ b/homeassistant/components/philips_js/media_player.py @@ -15,8 +15,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.script import Script -REQUIREMENTS = ['ha-philipsjs==0.0.5'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=30) diff --git a/homeassistant/components/pi_hole/sensor.py b/homeassistant/components/pi_hole/sensor.py index 805e17ebd..061fb5c09 100644 --- a/homeassistant/components/pi_hole/sensor.py +++ b/homeassistant/components/pi_hole/sensor.py @@ -13,8 +13,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['hole==0.3.0'] - _LOGGER = logging.getLogger(__name__) ATTR_BLOCKED_DOMAINS = 'domains_blocked' diff --git a/homeassistant/components/piglow/light.py b/homeassistant/components/piglow/light.py index dc3906b20..52e5c7695 100644 --- a/homeassistant/components/piglow/light.py +++ b/homeassistant/components/piglow/light.py @@ -11,8 +11,6 @@ from homeassistant.components.light import ( from homeassistant.const import CONF_NAME import homeassistant.util.color as color_util -REQUIREMENTS = ['piglow==1.2.4'] - _LOGGER = logging.getLogger(__name__) SUPPORT_PIGLOW = (SUPPORT_BRIGHTNESS | SUPPORT_COLOR) diff --git a/homeassistant/components/pilight/__init__.py b/homeassistant/components/pilight/__init__.py index 46be3b372..b6f1a63d4 100644 --- a/homeassistant/components/pilight/__init__.py +++ b/homeassistant/components/pilight/__init__.py @@ -14,8 +14,6 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP, CONF_HOST, CONF_PORT, CONF_WHITELIST, CONF_PROTOCOL) -REQUIREMENTS = ['pilight==0.1.1'] - _LOGGER = logging.getLogger(__name__) CONF_SEND_DELAY = 'send_delay' diff --git a/homeassistant/components/pilight/binary_sensor.py b/homeassistant/components/pilight/binary_sensor.py index 131a91b5f..b9e95f76c 100644 --- a/homeassistant/components/pilight/binary_sensor.py +++ b/homeassistant/components/pilight/binary_sensor.py @@ -26,8 +26,6 @@ CONF_VARIABLE = 'variable' CONF_RESET_DELAY_SEC = 'reset_delay_sec' DEFAULT_NAME = 'Pilight Binary Sensor' -DEPENDENCIES = ['pilight'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_VARIABLE): cv.string, vol.Required(CONF_PAYLOAD): vol.Schema(dict), diff --git a/homeassistant/components/pilight/sensor.py b/homeassistant/components/pilight/sensor.py index c36151c90..a6be0f67f 100644 --- a/homeassistant/components/pilight/sensor.py +++ b/homeassistant/components/pilight/sensor.py @@ -15,8 +15,6 @@ _LOGGER = logging.getLogger(__name__) CONF_VARIABLE = 'variable' DEFAULT_NAME = 'Pilight Sensor' -DEPENDENCIES = ['pilight'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_VARIABLE): cv.string, vol.Required(CONF_PAYLOAD): vol.Schema(dict), diff --git a/homeassistant/components/pilight/switch.py b/homeassistant/components/pilight/switch.py index d645d8e30..2f28e7f4d 100644 --- a/homeassistant/components/pilight/switch.py +++ b/homeassistant/components/pilight/switch.py @@ -21,8 +21,6 @@ CONF_UNIT = 'unit' CONF_UNITCODE = 'unitcode' CONF_ECHO = 'echo' -DEPENDENCIES = ['pilight'] - COMMAND_SCHEMA = vol.Schema({ vol.Optional(CONF_PROTOCOL): cv.string, vol.Optional('on'): cv.positive_int, diff --git a/homeassistant/components/pjlink/media_player.py b/homeassistant/components/pjlink/media_player.py index ad7bdc9e7..00a4d49bd 100644 --- a/homeassistant/components/pjlink/media_player.py +++ b/homeassistant/components/pjlink/media_player.py @@ -12,8 +12,6 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_PASSWORD, CONF_PORT, STATE_OFF, STATE_ON) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pypjlink2==1.2.0'] - _LOGGER = logging.getLogger(__name__) CONF_ENCODING = 'encoding' diff --git a/homeassistant/components/plant/__init__.py b/homeassistant/components/plant/__init__.py index 27324ad57..78f979892 100644 --- a/homeassistant/components/plant/__init__.py +++ b/homeassistant/components/plant/__init__.py @@ -89,8 +89,6 @@ PLANT_SCHEMA = vol.Schema({ }) DOMAIN = 'plant' -DEPENDENCIES = ['zone', 'group'] - GROUP_NAME_ALL_PLANTS = 'all plants' ENTITY_ID_ALL_PLANTS = group.ENTITY_ID_FORMAT.format('all_plants') diff --git a/homeassistant/components/plex/media_player.py b/homeassistant/components/plex/media_player.py index f2af6836e..9ff00ed1c 100644 --- a/homeassistant/components/plex/media_player.py +++ b/homeassistant/components/plex/media_player.py @@ -20,8 +20,6 @@ from homeassistant.helpers.event import track_utc_time_change from homeassistant.util import dt as dt_util from homeassistant.util.json import load_json, save_json -REQUIREMENTS = ['plexapi==3.0.6'] - _CONFIGURING = {} _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/plex/sensor.py b/homeassistant/components/plex/sensor.py index a3df6fdb4..4f4611334 100644 --- a/homeassistant/components/plex/sensor.py +++ b/homeassistant/components/plex/sensor.py @@ -11,8 +11,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['plexapi==3.0.6'] - _LOGGER = logging.getLogger(__name__) CONF_SERVER = 'server' diff --git a/homeassistant/components/plum_lightpad/__init__.py b/homeassistant/components/plum_lightpad/__init__.py index 5b99223d2..b08727e7a 100644 --- a/homeassistant/components/plum_lightpad/__init__.py +++ b/homeassistant/components/plum_lightpad/__init__.py @@ -10,8 +10,6 @@ from homeassistant.helpers import discovery from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['plumlightpad==0.0.11'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'plum_lightpad' diff --git a/homeassistant/components/plum_lightpad/light.py b/homeassistant/components/plum_lightpad/light.py index 233539560..8923d3c5a 100644 --- a/homeassistant/components/plum_lightpad/light.py +++ b/homeassistant/components/plum_lightpad/light.py @@ -5,8 +5,6 @@ import homeassistant.util.color as color_util from . import PLUM_DATA -DEPENDENCIES = ['plum_lightpad'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/pocketcasts/sensor.py b/homeassistant/components/pocketcasts/sensor.py index f09e90120..69d863cb9 100644 --- a/homeassistant/components/pocketcasts/sensor.py +++ b/homeassistant/components/pocketcasts/sensor.py @@ -10,8 +10,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import (CONF_USERNAME, CONF_PASSWORD) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pocketcasts==0.1'] - _LOGGER = logging.getLogger(__name__) ICON = 'mdi:rss' diff --git a/homeassistant/components/point/__init__.py b/homeassistant/components/point/__init__.py index dc8397564..c0b2f7acd 100644 --- a/homeassistant/components/point/__init__.py +++ b/homeassistant/components/point/__init__.py @@ -20,12 +20,8 @@ from .const import ( CONF_WEBHOOK_URL, DOMAIN, EVENT_RECEIVED, POINT_DISCOVERY_NEW, SCAN_INTERVAL, SIGNAL_UPDATE_ENTITY, SIGNAL_WEBHOOK) -REQUIREMENTS = ['pypoint==1.1.1'] - _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['webhook'] - CONF_CLIENT_ID = 'client_id' CONF_CLIENT_SECRET = 'client_secret' diff --git a/homeassistant/components/pollen/sensor.py b/homeassistant/components/pollen/sensor.py index 3fc4d1fce..132155c7f 100644 --- a/homeassistant/components/pollen/sensor.py +++ b/homeassistant/components/pollen/sensor.py @@ -13,8 +13,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['numpy==1.16.2', 'pypollencom==2.2.3'] - _LOGGER = logging.getLogger(__name__) ATTR_ALLERGEN_AMOUNT = 'allergen_amount' diff --git a/homeassistant/components/postnl/sensor.py b/homeassistant/components/postnl/sensor.py index f9c8019cd..d2380748c 100644 --- a/homeassistant/components/postnl/sensor.py +++ b/homeassistant/components/postnl/sensor.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['postnl_api==1.0.2'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = 'Information provided by PostNL' diff --git a/homeassistant/components/prezzibenzina/sensor.py b/homeassistant/components/prezzibenzina/sensor.py index 525de7dad..9814e9463 100644 --- a/homeassistant/components/prezzibenzina/sensor.py +++ b/homeassistant/components/prezzibenzina/sensor.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.config_validation import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['prezzibenzina-py==1.1.4'] - _LOGGER = logging.getLogger(__name__) ATTR_FUEL = 'fuel' diff --git a/homeassistant/components/proliphix/climate.py b/homeassistant/components/proliphix/climate.py index c16533420..a6b4b3fd0 100644 --- a/homeassistant/components/proliphix/climate.py +++ b/homeassistant/components/proliphix/climate.py @@ -9,8 +9,6 @@ from homeassistant.const import ( ATTR_TEMPERATURE) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['proliphix==0.4.1'] - ATTR_FAN = 'fan' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/prometheus/__init__.py b/homeassistant/components/prometheus/__init__.py index de0de8ae1..5119a5e0f 100644 --- a/homeassistant/components/prometheus/__init__.py +++ b/homeassistant/components/prometheus/__init__.py @@ -14,15 +14,11 @@ from homeassistant.helpers import entityfilter, state as state_helper import homeassistant.helpers.config_validation as cv from homeassistant.util.temperature import fahrenheit_to_celsius -REQUIREMENTS = ['prometheus_client==0.2.0'] - _LOGGER = logging.getLogger(__name__) API_ENDPOINT = '/api/prometheus' DOMAIN = 'prometheus' -DEPENDENCIES = ['http'] - CONF_FILTER = 'filter' CONF_PROM_NAMESPACE = 'namespace' diff --git a/homeassistant/components/proximity/__init__.py b/homeassistant/components/proximity/__init__.py index 0a617bcec..c696c36f9 100644 --- a/homeassistant/components/proximity/__init__.py +++ b/homeassistant/components/proximity/__init__.py @@ -25,7 +25,6 @@ DEFAULT_DIST_TO_ZONE = 'not set' DEFAULT_NEAREST = 'not set' DEFAULT_PROXIMITY_ZONE = 'home' DEFAULT_TOLERANCE = 1 -DEPENDENCIES = ['zone', 'device_tracker'] DOMAIN = 'proximity' UNITS = ['km', 'm', 'mi', 'ft'] diff --git a/homeassistant/components/proxy/camera.py b/homeassistant/components/proxy/camera.py index fda2cdea6..7c535e65b 100644 --- a/homeassistant/components/proxy/camera.py +++ b/homeassistant/components/proxy/camera.py @@ -12,8 +12,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.util.async_ import run_coroutine_threadsafe import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pillow==5.4.1'] - _LOGGER = logging.getLogger(__name__) CONF_CACHE_IMAGES = 'cache_images' diff --git a/homeassistant/components/ps4/__init__.py b/homeassistant/components/ps4/__init__.py index 191eb2237..22c21fcff 100644 --- a/homeassistant/components/ps4/__init__.py +++ b/homeassistant/components/ps4/__init__.py @@ -9,8 +9,6 @@ from .const import DOMAIN # noqa: pylint: disable=unused-import _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pyps4-homeassistant==0.5.2'] - async def async_setup(hass, config): """Set up the PS4 Component.""" diff --git a/homeassistant/components/ps4/media_player.py b/homeassistant/components/ps4/media_player.py index 4dc4fa0a3..3382cd6fe 100644 --- a/homeassistant/components/ps4/media_player.py +++ b/homeassistant/components/ps4/media_player.py @@ -17,8 +17,6 @@ from homeassistant.util.json import load_json, save_json from .const import DOMAIN as PS4_DOMAIN, REGIONS as deprecated_regions -DEPENDENCIES = ['ps4'] - _LOGGER = logging.getLogger(__name__) SUPPORT_PS4 = SUPPORT_TURN_OFF | SUPPORT_TURN_ON | \ diff --git a/homeassistant/components/push/camera.py b/homeassistant/components/push/camera.py index c0424f158..c962aee91 100644 --- a/homeassistant/components/push/camera.py +++ b/homeassistant/components/push/camera.py @@ -17,8 +17,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers.event import async_track_point_in_utc_time import homeassistant.util.dt as dt_util -DEPENDENCIES = ['webhook'] - _LOGGER = logging.getLogger(__name__) CONF_BUFFER_SIZE = 'buffer' diff --git a/homeassistant/components/pushbullet/notify.py b/homeassistant/components/pushbullet/notify.py index 3fc90161a..d1d9a6449 100644 --- a/homeassistant/components/pushbullet/notify.py +++ b/homeassistant/components/pushbullet/notify.py @@ -11,8 +11,6 @@ from homeassistant.components.notify import ( ATTR_DATA, ATTR_TARGET, ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['pushbullet.py==0.11.0'] - _LOGGER = logging.getLogger(__name__) ATTR_URL = 'url' diff --git a/homeassistant/components/pushbullet/sensor.py b/homeassistant/components/pushbullet/sensor.py index c90f952e7..50fa40762 100644 --- a/homeassistant/components/pushbullet/sensor.py +++ b/homeassistant/components/pushbullet/sensor.py @@ -8,8 +8,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pushbullet.py==0.11.0'] - _LOGGER = logging.getLogger(__name__) SENSOR_TYPES = { diff --git a/homeassistant/components/pushetta/notify.py b/homeassistant/components/pushetta/notify.py index 028b0cfd4..5c776523d 100644 --- a/homeassistant/components/pushetta/notify.py +++ b/homeassistant/components/pushetta/notify.py @@ -10,8 +10,6 @@ from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pushetta==1.0.15'] - CONF_CHANNEL_NAME = 'channel_name' CONF_SEND_TEST_MSG = 'send_test_msg' diff --git a/homeassistant/components/pushover/notify.py b/homeassistant/components/pushover/notify.py index 39a1ce5d2..d9be3428d 100644 --- a/homeassistant/components/pushover/notify.py +++ b/homeassistant/components/pushover/notify.py @@ -10,7 +10,6 @@ from homeassistant.components.notify import ( ATTR_DATA, ATTR_TARGET, ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['python-pushover==0.3'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/python_script/__init__.py b/homeassistant/components/python_script/__init__.py index 56a82b391..a6c7a87ae 100644 --- a/homeassistant/components/python_script/__init__.py +++ b/homeassistant/components/python_script/__init__.py @@ -13,8 +13,6 @@ from homeassistant.loader import bind_hass from homeassistant.util import sanitize_filename import homeassistant.util.dt as dt_util -REQUIREMENTS = ['restrictedpython==4.0b8'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'python_script' diff --git a/homeassistant/components/qbittorrent/sensor.py b/homeassistant/components/qbittorrent/sensor.py index 7e91c0ab2..eb2529f02 100644 --- a/homeassistant/components/qbittorrent/sensor.py +++ b/homeassistant/components/qbittorrent/sensor.py @@ -12,8 +12,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['python-qbittorrent==0.3.1'] - _LOGGER = logging.getLogger(__name__) SENSOR_TYPE_CURRENT_STATUS = 'current_status' diff --git a/homeassistant/components/qnap/sensor.py b/homeassistant/components/qnap/sensor.py index e12f20c25..34eb850e4 100644 --- a/homeassistant/components/qnap/sensor.py +++ b/homeassistant/components/qnap/sensor.py @@ -13,8 +13,6 @@ from homeassistant.util import Throttle from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['qnapstats==0.2.7'] - _LOGGER = logging.getLogger(__name__) ATTR_DRIVE = 'Drive' diff --git a/homeassistant/components/qrcode/image_processing.py b/homeassistant/components/qrcode/image_processing.py index 46fa78cca..e58361355 100644 --- a/homeassistant/components/qrcode/image_processing.py +++ b/homeassistant/components/qrcode/image_processing.py @@ -3,8 +3,6 @@ from homeassistant.core import split_entity_id from homeassistant.components.image_processing import ( ImageProcessingEntity, CONF_SOURCE, CONF_ENTITY_ID, CONF_NAME) -REQUIREMENTS = ['pyzbar==0.1.7', 'pillow==5.4.1'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the demo image processing platform.""" diff --git a/homeassistant/components/quantum_gateway/device_tracker.py b/homeassistant/components/quantum_gateway/device_tracker.py index 3472a4dbb..e91fe99b7 100644 --- a/homeassistant/components/quantum_gateway/device_tracker.py +++ b/homeassistant/components/quantum_gateway/device_tracker.py @@ -9,8 +9,6 @@ from homeassistant.components.device_tracker import (DOMAIN, PLATFORM_SCHEMA, from homeassistant.const import (CONF_HOST, CONF_PASSWORD, CONF_SSL) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['quantum-gateway==0.0.5'] - _LOGGER = logging.getLogger(__name__) DEFAULT_HOST = 'myfiosgateway.com' diff --git a/homeassistant/components/qwikswitch/__init__.py b/homeassistant/components/qwikswitch/__init__.py index a64685956..3940f055f 100644 --- a/homeassistant/components/qwikswitch/__init__.py +++ b/homeassistant/components/qwikswitch/__init__.py @@ -14,8 +14,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyqwikswitch==0.93'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'qwikswitch' diff --git a/homeassistant/components/qwikswitch/binary_sensor.py b/homeassistant/components/qwikswitch/binary_sensor.py index a92c4d0b4..8042035b9 100644 --- a/homeassistant/components/qwikswitch/binary_sensor.py +++ b/homeassistant/components/qwikswitch/binary_sensor.py @@ -6,8 +6,6 @@ from homeassistant.core import callback from . import DOMAIN as QWIKSWITCH, QSEntity -DEPENDENCIES = [QWIKSWITCH] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/qwikswitch/light.py b/homeassistant/components/qwikswitch/light.py index cb4df24f9..1adcef56f 100644 --- a/homeassistant/components/qwikswitch/light.py +++ b/homeassistant/components/qwikswitch/light.py @@ -3,8 +3,6 @@ from homeassistant.components.light import SUPPORT_BRIGHTNESS, Light from . import DOMAIN as QWIKSWITCH, QSToggleEntity -DEPENDENCIES = [QWIKSWITCH] - async def async_setup_platform(hass, _, add_entities, discovery_info=None): """Add lights from the main Qwikswitch component.""" diff --git a/homeassistant/components/qwikswitch/sensor.py b/homeassistant/components/qwikswitch/sensor.py index 8befce4f7..047ec3475 100644 --- a/homeassistant/components/qwikswitch/sensor.py +++ b/homeassistant/components/qwikswitch/sensor.py @@ -5,8 +5,6 @@ from homeassistant.core import callback from . import DOMAIN as QWIKSWITCH, QSEntity -DEPENDENCIES = [QWIKSWITCH] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/qwikswitch/switch.py b/homeassistant/components/qwikswitch/switch.py index 4ee5396ae..2d970a59a 100644 --- a/homeassistant/components/qwikswitch/switch.py +++ b/homeassistant/components/qwikswitch/switch.py @@ -3,8 +3,6 @@ from homeassistant.components.switch import SwitchDevice from . import DOMAIN as QWIKSWITCH, QSToggleEntity -DEPENDENCIES = [QWIKSWITCH] - async def async_setup_platform(hass, _, add_entities, discovery_info=None): """Add switches from the main Qwikswitch component.""" diff --git a/homeassistant/components/rachio/__init__.py b/homeassistant/components/rachio/__init__.py index 64a7a5af4..1452fc6a5 100644 --- a/homeassistant/components/rachio/__init__.py +++ b/homeassistant/components/rachio/__init__.py @@ -11,8 +11,6 @@ from homeassistant.const import CONF_API_KEY, EVENT_HOMEASSISTANT_STOP, URL_API from homeassistant.helpers import discovery, config_validation as cv from homeassistant.helpers.dispatcher import async_dispatcher_send -REQUIREMENTS = ['rachiopy==0.1.3'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'rachio' diff --git a/homeassistant/components/rachio/binary_sensor.py b/homeassistant/components/rachio/binary_sensor.py index ffcaeccac..ade930b00 100644 --- a/homeassistant/components/rachio/binary_sensor.py +++ b/homeassistant/components/rachio/binary_sensor.py @@ -10,8 +10,6 @@ from . import ( SIGNAL_RACHIO_CONTROLLER_UPDATE, STATUS_OFFLINE, STATUS_ONLINE, SUBTYPE_OFFLINE, SUBTYPE_ONLINE) -DEPENDENCIES = ['rachio'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rachio/switch.py b/homeassistant/components/rachio/switch.py index 483e07e96..1b650d728 100644 --- a/homeassistant/components/rachio/switch.py +++ b/homeassistant/components/rachio/switch.py @@ -13,8 +13,6 @@ from . import ( SIGNAL_RACHIO_ZONE_UPDATE, SUBTYPE_SLEEP_MODE_OFF, SUBTYPE_SLEEP_MODE_ON, SUBTYPE_ZONE_COMPLETED, SUBTYPE_ZONE_STARTED, SUBTYPE_ZONE_STOPPED) -DEPENDENCIES = ['rachio'] - _LOGGER = logging.getLogger(__name__) ATTR_ZONE_SUMMARY = 'Summary' diff --git a/homeassistant/components/radiotherm/climate.py b/homeassistant/components/radiotherm/climate.py index 66dfc4cc3..57cbfc031 100644 --- a/homeassistant/components/radiotherm/climate.py +++ b/homeassistant/components/radiotherm/climate.py @@ -14,8 +14,6 @@ from homeassistant.const import ( STATE_OFF) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['radiotherm==2.0.0'] - _LOGGER = logging.getLogger(__name__) ATTR_FAN = 'fan' diff --git a/homeassistant/components/rainbird/__init__.py b/homeassistant/components/rainbird/__init__.py index de0f42fda..410fdcd92 100644 --- a/homeassistant/components/rainbird/__init__.py +++ b/homeassistant/components/rainbird/__init__.py @@ -6,8 +6,6 @@ import voluptuous as vol import homeassistant.helpers.config_validation as cv from homeassistant.const import (CONF_HOST, CONF_PASSWORD) -REQUIREMENTS = ['pyrainbird==0.1.6'] - _LOGGER = logging.getLogger(__name__) DATA_RAINBIRD = 'rainbird' diff --git a/homeassistant/components/rainbird/sensor.py b/homeassistant/components/rainbird/sensor.py index 0cee202ec..5fdf116af 100644 --- a/homeassistant/components/rainbird/sensor.py +++ b/homeassistant/components/rainbird/sensor.py @@ -10,8 +10,6 @@ from homeassistant.helpers.entity import Entity from . import DATA_RAINBIRD -DEPENDENCIES = ['rainbird'] - _LOGGER = logging.getLogger(__name__) # sensor_type [ description, unit, icon ] diff --git a/homeassistant/components/rainbird/switch.py b/homeassistant/components/rainbird/switch.py index 32c7c49ab..3ade3bdea 100644 --- a/homeassistant/components/rainbird/switch.py +++ b/homeassistant/components/rainbird/switch.py @@ -12,8 +12,6 @@ from homeassistant.helpers import config_validation as cv from . import DATA_RAINBIRD -DEPENDENCIES = ['rainbird'] - DOMAIN = 'rainbird' _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/raincloud/__init__.py b/homeassistant/components/raincloud/__init__.py index c94315f67..e3b1a77cf 100644 --- a/homeassistant/components/raincloud/__init__.py +++ b/homeassistant/components/raincloud/__init__.py @@ -13,8 +13,6 @@ from homeassistant.helpers.dispatcher import ( from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['raincloudy==0.0.7'] - _LOGGER = logging.getLogger(__name__) ALLOWED_WATERING_TIME = [5, 10, 15, 30, 45, 60] diff --git a/homeassistant/components/raincloud/binary_sensor.py b/homeassistant/components/raincloud/binary_sensor.py index 6ebad7cc1..37c679891 100644 --- a/homeassistant/components/raincloud/binary_sensor.py +++ b/homeassistant/components/raincloud/binary_sensor.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from . import BINARY_SENSORS, DATA_RAINCLOUD, ICON_MAP, RainCloudEntity -DEPENDENCIES = ['raincloud'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/raincloud/sensor.py b/homeassistant/components/raincloud/sensor.py index 6774d48ae..cf0c11e22 100644 --- a/homeassistant/components/raincloud/sensor.py +++ b/homeassistant/components/raincloud/sensor.py @@ -10,8 +10,6 @@ from homeassistant.helpers.icon import icon_for_battery_level from . import DATA_RAINCLOUD, ICON_MAP, SENSORS, RainCloudEntity -DEPENDENCIES = ['raincloud'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/raincloud/switch.py b/homeassistant/components/raincloud/switch.py index 3901e1e0b..e320a956f 100644 --- a/homeassistant/components/raincloud/switch.py +++ b/homeassistant/components/raincloud/switch.py @@ -11,8 +11,6 @@ from . import ( ALLOWED_WATERING_TIME, ATTRIBUTION, CONF_WATERING_TIME, DATA_RAINCLOUD, DEFAULT_WATERING_TIME, SWITCHES, RainCloudEntity) -DEPENDENCIES = ['raincloud'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/rainmachine/__init__.py b/homeassistant/components/rainmachine/__init__.py index 2ff5ddcd4..f5875558a 100644 --- a/homeassistant/components/rainmachine/__init__.py +++ b/homeassistant/components/rainmachine/__init__.py @@ -22,8 +22,6 @@ from .config_flow import configured_instances from .const import ( DATA_CLIENT, DEFAULT_PORT, DEFAULT_SCAN_INTERVAL, DEFAULT_SSL, DOMAIN) -REQUIREMENTS = ['regenmaschine==1.4.0'] - _LOGGER = logging.getLogger(__name__) DATA_LISTENER = 'listener' diff --git a/homeassistant/components/rainmachine/binary_sensor.py b/homeassistant/components/rainmachine/binary_sensor.py index 4387e6b67..fcccf11e1 100644 --- a/homeassistant/components/rainmachine/binary_sensor.py +++ b/homeassistant/components/rainmachine/binary_sensor.py @@ -11,7 +11,6 @@ from . import ( TYPE_HOURLY, TYPE_MONTH, TYPE_RAINDELAY, TYPE_RAINSENSOR, TYPE_WEEKDAY, RainMachineEntity) -DEPENDENCIES = ['rainmachine'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainmachine/sensor.py b/homeassistant/components/rainmachine/sensor.py index 1d438b803..08dd67755 100644 --- a/homeassistant/components/rainmachine/sensor.py +++ b/homeassistant/components/rainmachine/sensor.py @@ -8,7 +8,6 @@ from . import ( DATA_CLIENT, DOMAIN as RAINMACHINE_DOMAIN, SENSOR_UPDATE_TOPIC, SENSORS, RainMachineEntity) -DEPENDENCIES = ['rainmachine'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rainmachine/switch.py b/homeassistant/components/rainmachine/switch.py index adcbe5598..2023f1e8f 100644 --- a/homeassistant/components/rainmachine/switch.py +++ b/homeassistant/components/rainmachine/switch.py @@ -12,8 +12,6 @@ from . import ( DATA_CLIENT, DOMAIN as RAINMACHINE_DOMAIN, PROGRAM_UPDATE_TOPIC, ZONE_UPDATE_TOPIC, RainMachineEntity) -DEPENDENCIES = ['rainmachine'] - _LOGGER = logging.getLogger(__name__) ATTR_NEXT_RUN = 'next_run' diff --git a/homeassistant/components/raspihats/__init__.py b/homeassistant/components/raspihats/__init__.py index 622b98223..3b37d48c8 100644 --- a/homeassistant/components/raspihats/__init__.py +++ b/homeassistant/components/raspihats/__init__.py @@ -6,8 +6,6 @@ import time from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['raspihats==2.2.3', 'smbus-cffi==0.5.1'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'raspihats' diff --git a/homeassistant/components/raspihats/binary_sensor.py b/homeassistant/components/raspihats/binary_sensor.py index 29fa474f7..beaf66334 100644 --- a/homeassistant/components/raspihats/binary_sensor.py +++ b/homeassistant/components/raspihats/binary_sensor.py @@ -15,8 +15,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['raspihats'] - DEFAULT_INVERT_LOGIC = False DEFAULT_DEVICE_CLASS = None diff --git a/homeassistant/components/raspihats/switch.py b/homeassistant/components/raspihats/switch.py index 93538682a..082c8f728 100644 --- a/homeassistant/components/raspihats/switch.py +++ b/homeassistant/components/raspihats/switch.py @@ -14,8 +14,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['raspihats'] - _CHANNELS_SCHEMA = vol.Schema([{ vol.Required(CONF_INDEX): cv.positive_int, vol.Required(CONF_NAME): cv.string, diff --git a/homeassistant/components/raspyrfm/switch.py b/homeassistant/components/raspyrfm/switch.py index a141721f3..9c44fc850 100644 --- a/homeassistant/components/raspyrfm/switch.py +++ b/homeassistant/components/raspyrfm/switch.py @@ -9,7 +9,6 @@ from homeassistant.const import ( DEVICE_DEFAULT_NAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['raspyrfm-client==1.2.8'] _LOGGER = logging.getLogger(__name__) CONF_GATEWAY_MANUFACTURER = 'gateway_manufacturer' diff --git a/homeassistant/components/recollect_waste/sensor.py b/homeassistant/components/recollect_waste/sensor.py index 1e3803ab8..7112d22c0 100644 --- a/homeassistant/components/recollect_waste/sensor.py +++ b/homeassistant/components/recollect_waste/sensor.py @@ -8,8 +8,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import (CONF_NAME) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['recollect-waste==1.0.1'] - _LOGGER = logging.getLogger(__name__) ATTR_PICKUP_TYPES = 'pickup_types' ATTR_AREA_NAME = 'area_name' diff --git a/homeassistant/components/recorder/__init__.py b/homeassistant/components/recorder/__init__.py index 0df1fa42a..97654b21c 100644 --- a/homeassistant/components/recorder/__init__.py +++ b/homeassistant/components/recorder/__init__.py @@ -25,8 +25,6 @@ from . import migration, purge from .const import DATA_INSTANCE from .util import session_scope -REQUIREMENTS = ['sqlalchemy==1.3.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'recorder' diff --git a/homeassistant/components/recswitch/switch.py b/homeassistant/components/recswitch/switch.py index ed2da8022..c43064c56 100644 --- a/homeassistant/components/recswitch/switch.py +++ b/homeassistant/components/recswitch/switch.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pyrecswitch==1.0.2'] - DEFAULT_NAME = 'RecSwitch {0}' DATA_RSN = 'RSN' diff --git a/homeassistant/components/reddit/sensor.py b/homeassistant/components/reddit/sensor.py index 3ba431965..512fca715 100644 --- a/homeassistant/components/reddit/sensor.py +++ b/homeassistant/components/reddit/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import (CONF_USERNAME, CONF_PASSWORD, CONF_MAXIMUM) import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['praw==6.1.1'] - _LOGGER = logging.getLogger(__name__) CONF_CLIENT_ID = 'client_id' diff --git a/homeassistant/components/rejseplanen/sensor.py b/homeassistant/components/rejseplanen/sensor.py index 7a8cddb61..0c611e2c1 100755 --- a/homeassistant/components/rejseplanen/sensor.py +++ b/homeassistant/components/rejseplanen/sensor.py @@ -19,7 +19,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import CONF_NAME, ATTR_ATTRIBUTION from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['rjpl==0.3.5'] _LOGGER = logging.getLogger(__name__) ATTR_STOP_ID = 'Stop ID' diff --git a/homeassistant/components/remember_the_milk/__init__.py b/homeassistant/components/remember_the_milk/__init__.py index 82619e35a..93f28b527 100644 --- a/homeassistant/components/remember_the_milk/__init__.py +++ b/homeassistant/components/remember_the_milk/__init__.py @@ -13,8 +13,6 @@ from homeassistant.helpers.entity_component import EntityComponent # httplib2 is a transitive dependency from RtmAPI. If this dependency is not # set explicitly, the library does not work. -REQUIREMENTS = ['RtmAPI==0.7.0', 'httplib2==0.10.3'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'remember_the_milk' diff --git a/homeassistant/components/remote/__init__.py b/homeassistant/components/remote/__init__.py index de79adc9f..f08abf5fd 100644 --- a/homeassistant/components/remote/__init__.py +++ b/homeassistant/components/remote/__init__.py @@ -26,7 +26,6 @@ ATTR_DELAY_SECS = 'delay_secs' ATTR_HOLD_SECS = 'hold_secs' DOMAIN = 'remote' -DEPENDENCIES = ['group'] SCAN_INTERVAL = timedelta(seconds=30) ENTITY_ID_ALL_REMOTES = group.ENTITY_ID_FORMAT.format('all_remotes') diff --git a/homeassistant/components/rflink/__init__.py b/homeassistant/components/rflink/__init__.py index 98e80580f..1dbfd208c 100644 --- a/homeassistant/components/rflink/__init__.py +++ b/homeassistant/components/rflink/__init__.py @@ -18,8 +18,6 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_send, async_dispatcher_connect) from homeassistant.helpers.restore_state import RestoreEntity -REQUIREMENTS = ['rflink==0.0.37'] - _LOGGER = logging.getLogger(__name__) ATTR_EVENT = 'event' diff --git a/homeassistant/components/rflink/binary_sensor.py b/homeassistant/components/rflink/binary_sensor.py index 4e487eb6e..ae9f282be 100644 --- a/homeassistant/components/rflink/binary_sensor.py +++ b/homeassistant/components/rflink/binary_sensor.py @@ -14,8 +14,6 @@ from . import CONF_ALIASES, CONF_DEVICES, RflinkDevice CONF_OFF_DELAY = 'off_delay' DEFAULT_FORCE_UPDATE = False -DEPENDENCIES = ['rflink'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/rflink/cover.py b/homeassistant/components/rflink/cover.py index 409d27862..d78fe8312 100644 --- a/homeassistant/components/rflink/cover.py +++ b/homeassistant/components/rflink/cover.py @@ -13,8 +13,6 @@ from . import ( CONF_GROUP, CONF_GROUP_ALIASES, CONF_NOGROUP_ALIASES, CONF_SIGNAL_REPETITIONS, DEVICE_DEFAULTS_SCHEMA, RflinkCommand) -DEPENDENCIES = ['rflink'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/rflink/light.py b/homeassistant/components/rflink/light.py index 112ed4b4f..d3ef73a09 100644 --- a/homeassistant/components/rflink/light.py +++ b/homeassistant/components/rflink/light.py @@ -15,8 +15,6 @@ from . import ( CONF_SIGNAL_REPETITIONS, DATA_DEVICE_REGISTER, DEVICE_DEFAULTS_SCHEMA, EVENT_KEY_COMMAND, EVENT_KEY_ID, SwitchableRflinkDevice, remove_deprecated) -DEPENDENCIES = ['rflink'] - _LOGGER = logging.getLogger(__name__) TYPE_DIMMABLE = 'dimmable' diff --git a/homeassistant/components/rflink/sensor.py b/homeassistant/components/rflink/sensor.py index c7498ece2..1e3a18572 100644 --- a/homeassistant/components/rflink/sensor.py +++ b/homeassistant/components/rflink/sensor.py @@ -15,8 +15,6 @@ from . import ( EVENT_KEY_UNIT, SIGNAL_AVAILABILITY, SIGNAL_HANDLE_EVENT, TMP_ENTITY, RflinkDevice, remove_deprecated) -DEPENDENCIES = ['rflink'] - _LOGGER = logging.getLogger(__name__) SENSOR_ICONS = { diff --git a/homeassistant/components/rflink/switch.py b/homeassistant/components/rflink/switch.py index d5889c797..63f506cc1 100644 --- a/homeassistant/components/rflink/switch.py +++ b/homeassistant/components/rflink/switch.py @@ -13,8 +13,6 @@ from . import ( CONF_NOGROUP_ALIASES, CONF_NOGROUP_ALIASSES, CONF_SIGNAL_REPETITIONS, DEVICE_DEFAULTS_SCHEMA, SwitchableRflinkDevice, remove_deprecated) -DEPENDENCIES = ['rflink'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/rfxtrx/__init__.py b/homeassistant/components/rfxtrx/__init__.py index 411f0538b..f7e42ce43 100644 --- a/homeassistant/components/rfxtrx/__init__.py +++ b/homeassistant/components/rfxtrx/__init__.py @@ -12,8 +12,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import slugify -REQUIREMENTS = ['pyRFXtrx==0.23'] - DOMAIN = 'rfxtrx' DEFAULT_SIGNAL_REPETITIONS = 1 diff --git a/homeassistant/components/rfxtrx/binary_sensor.py b/homeassistant/components/rfxtrx/binary_sensor.py index d548897fb..ec32f12bc 100644 --- a/homeassistant/components/rfxtrx/binary_sensor.py +++ b/homeassistant/components/rfxtrx/binary_sensor.py @@ -17,8 +17,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['rfxtrx'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_DEVICES, default={}): { cv.string: vol.Schema({ diff --git a/homeassistant/components/rfxtrx/cover.py b/homeassistant/components/rfxtrx/cover.py index 7ac0e2aa4..a915c4881 100644 --- a/homeassistant/components/rfxtrx/cover.py +++ b/homeassistant/components/rfxtrx/cover.py @@ -10,8 +10,6 @@ from . import ( CONF_AUTOMATIC_ADD, CONF_DEVICES, CONF_FIRE_EVENT, CONF_SIGNAL_REPETITIONS, DEFAULT_SIGNAL_REPETITIONS) -DEPENDENCIES = ['rfxtrx'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Optional(CONF_DEVICES, default={}): { cv.string: vol.Schema({ diff --git a/homeassistant/components/rfxtrx/light.py b/homeassistant/components/rfxtrx/light.py index 3320a6721..56f0c2111 100644 --- a/homeassistant/components/rfxtrx/light.py +++ b/homeassistant/components/rfxtrx/light.py @@ -13,8 +13,6 @@ from . import ( CONF_AUTOMATIC_ADD, CONF_DEVICES, CONF_FIRE_EVENT, CONF_SIGNAL_REPETITIONS, DEFAULT_SIGNAL_REPETITIONS) -DEPENDENCIES = ['rfxtrx'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/rfxtrx/sensor.py b/homeassistant/components/rfxtrx/sensor.py index cc54320cb..94d836fa4 100644 --- a/homeassistant/components/rfxtrx/sensor.py +++ b/homeassistant/components/rfxtrx/sensor.py @@ -14,8 +14,6 @@ from . import ( ATTR_DATA_TYPE, ATTR_FIRE_EVENT, CONF_AUTOMATIC_ADD, CONF_DATA_TYPE, CONF_DEVICES, CONF_FIRE_EVENT, DATA_TYPES) -DEPENDENCIES = ['rfxtrx'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/rfxtrx/switch.py b/homeassistant/components/rfxtrx/switch.py index 908c07ea7..938b575ec 100644 --- a/homeassistant/components/rfxtrx/switch.py +++ b/homeassistant/components/rfxtrx/switch.py @@ -12,8 +12,6 @@ from . import ( CONF_AUTOMATIC_ADD, CONF_DEVICES, CONF_FIRE_EVENT, CONF_SIGNAL_REPETITIONS, DEFAULT_SIGNAL_REPETITIONS) -DEPENDENCIES = ['rfxtrx'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/ring/__init__.py b/homeassistant/components/ring/__init__.py index 74da7a9d5..669e91a13 100644 --- a/homeassistant/components/ring/__init__.py +++ b/homeassistant/components/ring/__init__.py @@ -7,8 +7,6 @@ import voluptuous as vol from homeassistant.const import CONF_PASSWORD, CONF_USERNAME import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['ring_doorbell==0.2.3'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by Ring.com" diff --git a/homeassistant/components/ring/binary_sensor.py b/homeassistant/components/ring/binary_sensor.py index 79de0424d..a12954f6c 100644 --- a/homeassistant/components/ring/binary_sensor.py +++ b/homeassistant/components/ring/binary_sensor.py @@ -12,8 +12,6 @@ import homeassistant.helpers.config_validation as cv from . import ATTRIBUTION, DATA_RING, DEFAULT_ENTITY_NAMESPACE -DEPENDENCIES = ['ring'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=10) diff --git a/homeassistant/components/ring/camera.py b/homeassistant/components/ring/camera.py index 18427b9b6..2a680a63b 100644 --- a/homeassistant/components/ring/camera.py +++ b/homeassistant/components/ring/camera.py @@ -16,8 +16,6 @@ from . import ATTRIBUTION, DATA_RING, NOTIFICATION_ID CONF_FFMPEG_ARGUMENTS = 'ffmpeg_arguments' -DEPENDENCIES = ['ring', 'ffmpeg'] - FORCE_REFRESH_INTERVAL = timedelta(minutes=45) _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/ring/sensor.py b/homeassistant/components/ring/sensor.py index c9cb2f115..8b36cf70e 100644 --- a/homeassistant/components/ring/sensor.py +++ b/homeassistant/components/ring/sensor.py @@ -13,8 +13,6 @@ from homeassistant.helpers.icon import icon_for_battery_level from . import ATTRIBUTION, DATA_RING, DEFAULT_ENTITY_NAMESPACE -DEPENDENCIES = ['ring'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=30) diff --git a/homeassistant/components/ripple/sensor.py b/homeassistant/components/ripple/sensor.py index 54530571c..773a6d77f 100644 --- a/homeassistant/components/ripple/sensor.py +++ b/homeassistant/components/ripple/sensor.py @@ -8,8 +8,6 @@ from homeassistant.const import ATTR_ATTRIBUTION, CONF_ADDRESS, CONF_NAME import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['python-ripple-api==0.0.3'] - ATTRIBUTION = "Data provided by ripple.com" DEFAULT_NAME = 'Ripple Balance' diff --git a/homeassistant/components/ritassist/device_tracker.py b/homeassistant/components/ritassist/device_tracker.py index 74bec1b87..69bf2454f 100644 --- a/homeassistant/components/ritassist/device_tracker.py +++ b/homeassistant/components/ritassist/device_tracker.py @@ -9,8 +9,6 @@ from homeassistant.components.device_tracker import PLATFORM_SCHEMA from homeassistant.const import CONF_USERNAME, CONF_PASSWORD from homeassistant.helpers.event import track_utc_time_change -REQUIREMENTS = ['ritassist==0.9.2'] - _LOGGER = logging.getLogger(__name__) CONF_CLIENT_ID = 'client_id' diff --git a/homeassistant/components/rmvtransport/sensor.py b/homeassistant/components/rmvtransport/sensor.py index 7a3afb3f3..13d13281b 100644 --- a/homeassistant/components/rmvtransport/sensor.py +++ b/homeassistant/components/rmvtransport/sensor.py @@ -13,8 +13,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['PyRMVtransport==0.1.3'] - _LOGGER = logging.getLogger(__name__) CONF_NEXT_DEPARTURE = 'next_departure' diff --git a/homeassistant/components/rocketchat/notify.py b/homeassistant/components/rocketchat/notify.py index e40411473..bbe02698c 100644 --- a/homeassistant/components/rocketchat/notify.py +++ b/homeassistant/components/rocketchat/notify.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.notify import (ATTR_DATA, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['rocketchat-API==0.6.1'] - _LOGGER = logging.getLogger(__name__) # pylint: disable=no-value-for-parameter diff --git a/homeassistant/components/roku/__init__.py b/homeassistant/components/roku/__init__.py index 89bb1a9ac..3444f8a31 100644 --- a/homeassistant/components/roku/__init__.py +++ b/homeassistant/components/roku/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import CONF_HOST from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-roku==3.1.5'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'roku' diff --git a/homeassistant/components/roku/media_player.py b/homeassistant/components/roku/media_player.py index 3cf27af06..41eff531d 100644 --- a/homeassistant/components/roku/media_player.py +++ b/homeassistant/components/roku/media_player.py @@ -10,8 +10,6 @@ from homeassistant.components.media_player.const import ( from homeassistant.const import (CONF_HOST, STATE_HOME, STATE_IDLE, STATE_PLAYING) -DEPENDENCIES = ['roku'] - DEFAULT_PORT = 8060 _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/roku/remote.py b/homeassistant/components/roku/remote.py index 552991801..59ecbe351 100644 --- a/homeassistant/components/roku/remote.py +++ b/homeassistant/components/roku/remote.py @@ -4,8 +4,6 @@ import requests.exceptions from homeassistant.components import remote from homeassistant.const import (CONF_HOST) -DEPENDENCIES = ['roku'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/roomba/vacuum.py b/homeassistant/components/roomba/vacuum.py index fadbe2a82..e9f62d3bc 100644 --- a/homeassistant/components/roomba/vacuum.py +++ b/homeassistant/components/roomba/vacuum.py @@ -14,8 +14,6 @@ from homeassistant.const import ( from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['roombapy==1.3.1'] - _LOGGER = logging.getLogger(__name__) ATTR_BIN_FULL = 'bin_full' diff --git a/homeassistant/components/route53/__init__.py b/homeassistant/components/route53/__init__.py index 725dec8b8..43a7b75b9 100644 --- a/homeassistant/components/route53/__init__.py +++ b/homeassistant/components/route53/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import CONF_DOMAIN, CONF_TTL, CONF_ZONE import homeassistant.helpers.config_validation as cv from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['boto3==1.9.16', 'ipify==1.0.0'] - _LOGGER = logging.getLogger(__name__) CONF_ACCESS_KEY_ID = 'aws_access_key_id' diff --git a/homeassistant/components/rova/sensor.py b/homeassistant/components/rova/sensor.py index 2c2c36b12..dcdee0873 100644 --- a/homeassistant/components/rova/sensor.py +++ b/homeassistant/components/rova/sensor.py @@ -12,8 +12,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['rova==0.1.0'] - # Config for rova requests. CONF_ZIP_CODE = 'zip_code' CONF_HOUSE_NUMBER = 'house_number' diff --git a/homeassistant/components/rpi_gpio/__init__.py b/homeassistant/components/rpi_gpio/__init__.py index b5bd0796f..e568281ed 100644 --- a/homeassistant/components/rpi_gpio/__init__.py +++ b/homeassistant/components/rpi_gpio/__init__.py @@ -4,8 +4,6 @@ import logging from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['RPi.GPIO==0.6.5'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'rpi_gpio' diff --git a/homeassistant/components/rpi_gpio/binary_sensor.py b/homeassistant/components/rpi_gpio/binary_sensor.py index 559ae9584..d9903350a 100644 --- a/homeassistant/components/rpi_gpio/binary_sensor.py +++ b/homeassistant/components/rpi_gpio/binary_sensor.py @@ -20,8 +20,6 @@ DEFAULT_BOUNCETIME = 50 DEFAULT_INVERT_LOGIC = False DEFAULT_PULL_MODE = 'UP' -DEPENDENCIES = ['rpi_gpio'] - _SENSORS_SCHEMA = vol.Schema({ cv.positive_int: cv.string, }) diff --git a/homeassistant/components/rpi_gpio/cover.py b/homeassistant/components/rpi_gpio/cover.py index 403f7ec68..d841dec77 100644 --- a/homeassistant/components/rpi_gpio/cover.py +++ b/homeassistant/components/rpi_gpio/cover.py @@ -23,8 +23,6 @@ DEFAULT_RELAY_TIME = .2 DEFAULT_STATE_PULL_MODE = 'UP' DEFAULT_INVERT_STATE = False DEFAULT_INVERT_RELAY = False -DEPENDENCIES = ['rpi_gpio'] - _COVERS_SCHEMA = vol.All( cv.ensure_list, [ diff --git a/homeassistant/components/rpi_gpio/switch.py b/homeassistant/components/rpi_gpio/switch.py index bdb79d03e..ba713e5d2 100644 --- a/homeassistant/components/rpi_gpio/switch.py +++ b/homeassistant/components/rpi_gpio/switch.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['rpi_gpio'] - CONF_PULL_MODE = 'pull_mode' CONF_PORTS = 'ports' CONF_INVERT_LOGIC = 'invert_logic' diff --git a/homeassistant/components/rpi_gpio_pwm/light.py b/homeassistant/components/rpi_gpio_pwm/light.py index b0b9ef1b7..73ce2a673 100644 --- a/homeassistant/components/rpi_gpio_pwm/light.py +++ b/homeassistant/components/rpi_gpio_pwm/light.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util from homeassistant.helpers.restore_state import RestoreEntity -REQUIREMENTS = ['pwmled==1.4.1'] - _LOGGER = logging.getLogger(__name__) CONF_LEDS = 'leds' diff --git a/homeassistant/components/rpi_pfio/__init__.py b/homeassistant/components/rpi_pfio/__init__.py index b096d9fe9..8341ebffc 100644 --- a/homeassistant/components/rpi_pfio/__init__.py +++ b/homeassistant/components/rpi_pfio/__init__.py @@ -4,8 +4,6 @@ import logging from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['pifacecommon==4.2.2', 'pifacedigitalio==3.0.5'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'rpi_pfio' diff --git a/homeassistant/components/rpi_pfio/binary_sensor.py b/homeassistant/components/rpi_pfio/binary_sensor.py index 677ec3bb1..b298c3dc4 100644 --- a/homeassistant/components/rpi_pfio/binary_sensor.py +++ b/homeassistant/components/rpi_pfio/binary_sensor.py @@ -18,8 +18,6 @@ CONF_SETTLE_TIME = 'settle_time' DEFAULT_INVERT_LOGIC = False DEFAULT_SETTLE_TIME = 20 -DEPENDENCIES = ['rpi_pfio'] - PORT_SCHEMA = vol.Schema({ vol.Optional(CONF_NAME): cv.string, vol.Optional(CONF_SETTLE_TIME, default=DEFAULT_SETTLE_TIME): diff --git a/homeassistant/components/rpi_pfio/switch.py b/homeassistant/components/rpi_pfio/switch.py index fc158bd66..5a69ec870 100644 --- a/homeassistant/components/rpi_pfio/switch.py +++ b/homeassistant/components/rpi_pfio/switch.py @@ -11,8 +11,6 @@ from homeassistant.helpers.entity import ToggleEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['rpi_pfio'] - ATTR_INVERT_LOGIC = 'invert_logic' CONF_PORTS = 'ports' diff --git a/homeassistant/components/rpi_rf/switch.py b/homeassistant/components/rpi_rf/switch.py index d0a233728..6531e42bd 100644 --- a/homeassistant/components/rpi_rf/switch.py +++ b/homeassistant/components/rpi_rf/switch.py @@ -9,8 +9,6 @@ from homeassistant.const import ( CONF_NAME, CONF_SWITCHES, EVENT_HOMEASSISTANT_STOP) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['rpi-rf==0.9.7'] - _LOGGER = logging.getLogger(__name__) CONF_CODE_OFF = 'code_off' diff --git a/homeassistant/components/rss_feed_template/__init__.py b/homeassistant/components/rss_feed_template/__init__.py index 3c93fe2ac..1d82d40ba 100644 --- a/homeassistant/components/rss_feed_template/__init__.py +++ b/homeassistant/components/rss_feed_template/__init__.py @@ -8,8 +8,6 @@ from homeassistant.components.http import HomeAssistantView import homeassistant.helpers.config_validation as cv CONTENT_TYPE_XML = 'text/xml' -DEPENDENCIES = ['http'] - DOMAIN = 'rss_feed_template' CONFIG_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/russound_rio/media_player.py b/homeassistant/components/russound_rio/media_player.py index b8f9d29f5..e2462a2c2 100644 --- a/homeassistant/components/russound_rio/media_player.py +++ b/homeassistant/components/russound_rio/media_player.py @@ -14,8 +14,6 @@ from homeassistant.const import ( from homeassistant.core import callback import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['russound_rio==0.1.4'] - _LOGGER = logging.getLogger(__name__) SUPPORT_RUSSOUND = SUPPORT_VOLUME_MUTE | SUPPORT_VOLUME_SET | \ diff --git a/homeassistant/components/russound_rnet/media_player.py b/homeassistant/components/russound_rnet/media_player.py index f489d48a9..788b5da36 100644 --- a/homeassistant/components/russound_rnet/media_player.py +++ b/homeassistant/components/russound_rnet/media_player.py @@ -12,8 +12,6 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_PORT, STATE_OFF, STATE_ON) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['russound==0.1.9'] - _LOGGER = logging.getLogger(__name__) CONF_ZONES = 'zones' diff --git a/homeassistant/components/ruter/sensor.py b/homeassistant/components/ruter/sensor.py index f6fefc961..fd72d59db 100644 --- a/homeassistant/components/ruter/sensor.py +++ b/homeassistant/components/ruter/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import CONF_NAME from homeassistant.helpers.entity import Entity from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['pyruter==1.1.0'] - _LOGGER = logging.getLogger(__name__) CONF_STOP_ID = 'stop_id' diff --git a/homeassistant/components/sabnzbd/__init__.py b/homeassistant/components/sabnzbd/__init__.py index d070872f8..4275765a1 100644 --- a/homeassistant/components/sabnzbd/__init__.py +++ b/homeassistant/components/sabnzbd/__init__.py @@ -15,8 +15,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_send from homeassistant.helpers.event import async_track_time_interval from homeassistant.util.json import load_json, save_json -REQUIREMENTS = ['pysabnzbd==1.1.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'sabnzbd' diff --git a/homeassistant/components/sabnzbd/sensor.py b/homeassistant/components/sabnzbd/sensor.py index 4968725a4..3c57a8444 100644 --- a/homeassistant/components/sabnzbd/sensor.py +++ b/homeassistant/components/sabnzbd/sensor.py @@ -6,8 +6,6 @@ from homeassistant.helpers.entity import Entity from . import DATA_SABNZBD, SENSOR_TYPES, SIGNAL_SABNZBD_UPDATED -DEPENDENCIES = ['sabnzbd'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/samsungtv/media_player.py b/homeassistant/components/samsungtv/media_player.py index 1a2a24c36..05921d7e8 100644 --- a/homeassistant/components/samsungtv/media_player.py +++ b/homeassistant/components/samsungtv/media_player.py @@ -18,8 +18,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.util import dt as dt_util -REQUIREMENTS = ['samsungctl[websocket]==0.7.1', 'wakeonlan==1.1.6'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Samsung TV Remote' diff --git a/homeassistant/components/satel_integra/__init__.py b/homeassistant/components/satel_integra/__init__.py index 5f5c43d96..2aae9ea8d 100644 --- a/homeassistant/components/satel_integra/__init__.py +++ b/homeassistant/components/satel_integra/__init__.py @@ -9,8 +9,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers.discovery import async_load_platform from homeassistant.helpers.dispatcher import async_dispatcher_send -REQUIREMENTS = ['satel_integra==0.3.2'] - DEFAULT_ALARM_NAME = 'satel_integra' DEFAULT_PORT = 7094 DEFAULT_CONF_ARM_HOME_MODE = 1 diff --git a/homeassistant/components/satel_integra/alarm_control_panel.py b/homeassistant/components/satel_integra/alarm_control_panel.py index d2d9f4730..02e683bac 100644 --- a/homeassistant/components/satel_integra/alarm_control_panel.py +++ b/homeassistant/components/satel_integra/alarm_control_panel.py @@ -16,8 +16,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['satel_integra'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/satel_integra/binary_sensor.py b/homeassistant/components/satel_integra/binary_sensor.py index 0384ff37f..faef1a6f4 100644 --- a/homeassistant/components/satel_integra/binary_sensor.py +++ b/homeassistant/components/satel_integra/binary_sensor.py @@ -9,8 +9,6 @@ from . import ( CONF_OUTPUTS, CONF_ZONE_NAME, CONF_ZONE_TYPE, CONF_ZONES, DATA_SATEL, SIGNAL_OUTPUTS_UPDATED, SIGNAL_ZONES_UPDATED) -DEPENDENCIES = ['satel_integra'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/scrape/sensor.py b/homeassistant/components/scrape/sensor.py index e576eca78..a5975d4f9 100644 --- a/homeassistant/components/scrape/sensor.py +++ b/homeassistant/components/scrape/sensor.py @@ -15,8 +15,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['beautifulsoup4==4.7.1'] - _LOGGER = logging.getLogger(__name__) CONF_ATTR = 'attribute' diff --git a/homeassistant/components/script/__init__.py b/homeassistant/components/script/__init__.py index 873a18120..528e454c4 100644 --- a/homeassistant/components/script/__init__.py +++ b/homeassistant/components/script/__init__.py @@ -18,8 +18,6 @@ from homeassistant.helpers.script import Script _LOGGER = logging.getLogger(__name__) DOMAIN = 'script' -DEPENDENCIES = ['group'] - ATTR_CAN_CANCEL = 'can_cancel' ATTR_LAST_ACTION = 'last_action' ATTR_LAST_TRIGGERED = 'last_triggered' diff --git a/homeassistant/components/scsgate/__init__.py b/homeassistant/components/scsgate/__init__.py index 67421e9a4..ed84bc19e 100644 --- a/homeassistant/components/scsgate/__init__.py +++ b/homeassistant/components/scsgate/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import (CONF_DEVICE, CONF_NAME) from homeassistant.core import EVENT_HOMEASSISTANT_STOP import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['scsgate==0.1.0'] - _LOGGER = logging.getLogger(__name__) ATTR_STATE = 'state' diff --git a/homeassistant/components/scsgate/cover.py b/homeassistant/components/scsgate/cover.py index fc1c16e1f..d866b8ab8 100644 --- a/homeassistant/components/scsgate/cover.py +++ b/homeassistant/components/scsgate/cover.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['scsgate'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_DEVICES): cv.schema_with_slug_keys(scsgate.SCSGATE_SCHEMA), diff --git a/homeassistant/components/scsgate/light.py b/homeassistant/components/scsgate/light.py index 87d7e02b3..f894d33e8 100644 --- a/homeassistant/components/scsgate/light.py +++ b/homeassistant/components/scsgate/light.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['scsgate'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_DEVICES): cv.schema_with_slug_keys(scsgate.SCSGATE_SCHEMA), diff --git a/homeassistant/components/scsgate/switch.py b/homeassistant/components/scsgate/switch.py index 2b2bf2de9..ad6362c9e 100644 --- a/homeassistant/components/scsgate/switch.py +++ b/homeassistant/components/scsgate/switch.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv ATTR_SCENARIO_ID = 'scenario_id' -DEPENDENCIES = ['scsgate'] - CONF_TRADITIONAL = 'traditional' CONF_SCENARIO = 'scenario' diff --git a/homeassistant/components/season/sensor.py b/homeassistant/components/season/sensor.py index 7c7b10549..b31cf5083 100644 --- a/homeassistant/components/season/sensor.py +++ b/homeassistant/components/season/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import CONF_TYPE from homeassistant.helpers.entity import Entity from homeassistant import util -REQUIREMENTS = ['ephem==3.7.6.0'] - _LOGGER = logging.getLogger(__name__) NORTHERN = 'northern' diff --git a/homeassistant/components/sendgrid/notify.py b/homeassistant/components/sendgrid/notify.py index a717c7f24..563e47b8a 100644 --- a/homeassistant/components/sendgrid/notify.py +++ b/homeassistant/components/sendgrid/notify.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['sendgrid==5.6.0'] - _LOGGER = logging.getLogger(__name__) CONF_SENDER_NAME = 'sender_name' diff --git a/homeassistant/components/sense/__init__.py b/homeassistant/components/sense/__init__.py index be3ab75b5..7266b2fb1 100644 --- a/homeassistant/components/sense/__init__.py +++ b/homeassistant/components/sense/__init__.py @@ -7,8 +7,6 @@ from homeassistant.const import CONF_EMAIL, CONF_PASSWORD, CONF_TIMEOUT import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import async_load_platform -REQUIREMENTS = ['sense_energy==0.7.0'] - _LOGGER = logging.getLogger(__name__) ACTIVE_UPDATE_RATE = 60 diff --git a/homeassistant/components/sense/binary_sensor.py b/homeassistant/components/sense/binary_sensor.py index da9bae3cc..a0f65ac55 100644 --- a/homeassistant/components/sense/binary_sensor.py +++ b/homeassistant/components/sense/binary_sensor.py @@ -5,8 +5,6 @@ from homeassistant.components.binary_sensor import BinarySensorDevice from . import SENSE_DATA -DEPENDENCIES = ['sense'] - _LOGGER = logging.getLogger(__name__) BIN_SENSOR_CLASS = 'power' diff --git a/homeassistant/components/sense/sensor.py b/homeassistant/components/sense/sensor.py index 0224884e1..e114132e0 100644 --- a/homeassistant/components/sense/sensor.py +++ b/homeassistant/components/sense/sensor.py @@ -15,8 +15,6 @@ ACTIVE_TYPE = 'active' CONSUMPTION_NAME = 'Usage' -DEPENDENCIES = ['sense'] - ICON = 'mdi:flash' MIN_TIME_BETWEEN_DAILY_UPDATES = timedelta(seconds=300) diff --git a/homeassistant/components/sensehat/light.py b/homeassistant/components/sensehat/light.py index c68e77b40..713dd1373 100644 --- a/homeassistant/components/sensehat/light.py +++ b/homeassistant/components/sensehat/light.py @@ -10,8 +10,6 @@ from homeassistant.components.light import ( from homeassistant.const import CONF_NAME import homeassistant.util.color as color_util -REQUIREMENTS = ['sense-hat==2.2.0'] - _LOGGER = logging.getLogger(__name__) SUPPORT_SENSEHAT = (SUPPORT_BRIGHTNESS | SUPPORT_COLOR) diff --git a/homeassistant/components/sensehat/sensor.py b/homeassistant/components/sensehat/sensor.py index 870150c1a..a9a80ee22 100644 --- a/homeassistant/components/sensehat/sensor.py +++ b/homeassistant/components/sensehat/sensor.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['sense-hat==2.2.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'sensehat' diff --git a/homeassistant/components/sensibo/climate.py b/homeassistant/components/sensibo/climate.py index bf06f2324..d2f95dcee 100644 --- a/homeassistant/components/sensibo/climate.py +++ b/homeassistant/components/sensibo/climate.py @@ -21,8 +21,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.util.temperature import convert as convert_temperature -REQUIREMENTS = ['pysensibo==1.0.3'] - _LOGGER = logging.getLogger(__name__) ALL = ['all'] diff --git a/homeassistant/components/serial/sensor.py b/homeassistant/components/serial/sensor.py index c01981f90..cebe9b429 100644 --- a/homeassistant/components/serial/sensor.py +++ b/homeassistant/components/serial/sensor.py @@ -10,8 +10,6 @@ from homeassistant.const import ( CONF_NAME, CONF_VALUE_TEMPLATE, EVENT_HOMEASSISTANT_STOP) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyserial-asyncio==0.4'] - _LOGGER = logging.getLogger(__name__) CONF_SERIAL_PORT = 'serial_port' diff --git a/homeassistant/components/serial_pm/sensor.py b/homeassistant/components/serial_pm/sensor.py index 9ad65f725..49e61bead 100644 --- a/homeassistant/components/serial_pm/sensor.py +++ b/homeassistant/components/serial_pm/sensor.py @@ -8,8 +8,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv from homeassistant.components.sensor import PLATFORM_SCHEMA -REQUIREMENTS = ['pmsensor==0.4'] - _LOGGER = logging.getLogger(__name__) CONF_SERIAL_DEVICE = 'serial_device' diff --git a/homeassistant/components/sesame/lock.py b/homeassistant/components/sesame/lock.py index 263914f38..3882d8796 100644 --- a/homeassistant/components/sesame/lock.py +++ b/homeassistant/components/sesame/lock.py @@ -9,8 +9,6 @@ from homeassistant.const import ( STATE_LOCKED, STATE_UNLOCKED) from homeassistant.helpers.typing import ConfigType -REQUIREMENTS = ['pysesame==0.1.0'] - ATTR_DEVICE_ID = 'device_id' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/seventeentrack/sensor.py b/homeassistant/components/seventeentrack/sensor.py index 8a242b773..f9bae5069 100644 --- a/homeassistant/components/seventeentrack/sensor.py +++ b/homeassistant/components/seventeentrack/sensor.py @@ -12,7 +12,6 @@ from homeassistant.helpers import aiohttp_client, config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle, slugify -REQUIREMENTS = ['py17track==2.2.2'] _LOGGER = logging.getLogger(__name__) ATTR_DESTINATION_COUNTRY = 'destination_country' diff --git a/homeassistant/components/shiftr/__init__.py b/homeassistant/components/shiftr/__init__.py index 438bc36b1..df25365a9 100644 --- a/homeassistant/components/shiftr/__init__.py +++ b/homeassistant/components/shiftr/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_STOP) from homeassistant.helpers import state as state_helper -REQUIREMENTS = ['paho-mqtt==1.4.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'shiftr' diff --git a/homeassistant/components/shodan/sensor.py b/homeassistant/components/shodan/sensor.py index ee64eecf3..072742391 100644 --- a/homeassistant/components/shodan/sensor.py +++ b/homeassistant/components/shodan/sensor.py @@ -9,8 +9,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import ATTR_ATTRIBUTION, CONF_API_KEY, CONF_NAME from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['shodan==1.11.1'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by Shodan" diff --git a/homeassistant/components/shopping_list/__init__.py b/homeassistant/components/shopping_list/__init__.py index 1a036f366..cfcbfdd42 100644 --- a/homeassistant/components/shopping_list/__init__.py +++ b/homeassistant/components/shopping_list/__init__.py @@ -18,7 +18,6 @@ from homeassistant.components import websocket_api ATTR_NAME = 'name' DOMAIN = 'shopping_list' -DEPENDENCIES = ['http'] _LOGGER = logging.getLogger(__name__) CONFIG_SCHEMA = vol.Schema({DOMAIN: {}}, extra=vol.ALLOW_EXTRA) EVENT = 'shopping_list_updated' diff --git a/homeassistant/components/sht31/sensor.py b/homeassistant/components/sht31/sensor.py index 613b1f8c9..904a1af75 100644 --- a/homeassistant/components/sht31/sensor.py +++ b/homeassistant/components/sht31/sensor.py @@ -16,9 +16,6 @@ from homeassistant.const import PRECISION_TENTHS from homeassistant.util import Throttle -REQUIREMENTS = ['Adafruit-GPIO==1.0.3', - 'Adafruit-SHT31==1.0.2'] - _LOGGER = logging.getLogger(__name__) CONF_I2C_ADDRESS = 'i2c_address' diff --git a/homeassistant/components/simplepush/notify.py b/homeassistant/components/simplepush/notify.py index 081351238..38a61e439 100644 --- a/homeassistant/components/simplepush/notify.py +++ b/homeassistant/components/simplepush/notify.py @@ -9,8 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['simplepush==1.1.4'] - _LOGGER = logging.getLogger(__name__) ATTR_ENCRYPTED = 'encrypted' diff --git a/homeassistant/components/simplisafe/__init__.py b/homeassistant/components/simplisafe/__init__.py index 359591856..36aa3ba54 100644 --- a/homeassistant/components/simplisafe/__init__.py +++ b/homeassistant/components/simplisafe/__init__.py @@ -19,8 +19,6 @@ from homeassistant.helpers import config_validation as cv from .config_flow import configured_instances from .const import DATA_CLIENT, DEFAULT_SCAN_INTERVAL, DOMAIN, TOPIC_UPDATE -REQUIREMENTS = ['simplisafe-python==3.4.1'] - _LOGGER = logging.getLogger(__name__) CONF_ACCOUNTS = 'accounts' diff --git a/homeassistant/components/sisyphus/__init__.py b/homeassistant/components/sisyphus/__init__.py index b1bec15d4..7cc8e3efd 100644 --- a/homeassistant/components/sisyphus/__init__.py +++ b/homeassistant/components/sisyphus/__init__.py @@ -13,8 +13,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import async_load_platform -REQUIREMENTS = ['sisyphus-control==2.1'] - _LOGGER = logging.getLogger(__name__) DATA_SISYPHUS = 'sisyphus' diff --git a/homeassistant/components/sisyphus/light.py b/homeassistant/components/sisyphus/light.py index 182e5e781..8d8829257 100644 --- a/homeassistant/components/sisyphus/light.py +++ b/homeassistant/components/sisyphus/light.py @@ -8,8 +8,6 @@ from . import DATA_SISYPHUS _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['sisyphus'] - SUPPORTED_FEATURES = SUPPORT_BRIGHTNESS diff --git a/homeassistant/components/sisyphus/media_player.py b/homeassistant/components/sisyphus/media_player.py index 11546c3fd..65f5cb48e 100644 --- a/homeassistant/components/sisyphus/media_player.py +++ b/homeassistant/components/sisyphus/media_player.py @@ -13,8 +13,6 @@ from . import DATA_SISYPHUS _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['sisyphus'] - MEDIA_TYPE_TRACK = 'sisyphus_track' SUPPORTED_FEATURES = SUPPORT_VOLUME_MUTE \ diff --git a/homeassistant/components/skybeacon/sensor.py b/homeassistant/components/skybeacon/sensor.py index 9b8b4872c..aa7eea0bc 100644 --- a/homeassistant/components/skybeacon/sensor.py +++ b/homeassistant/components/skybeacon/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pygatt[GATTTOOL]==3.2.0'] - _LOGGER = logging.getLogger(__name__) ATTR_DEVICE = 'device' diff --git a/homeassistant/components/skybell/__init__.py b/homeassistant/components/skybell/__init__.py index 31d1339fb..51e12376a 100644 --- a/homeassistant/components/skybell/__init__.py +++ b/homeassistant/components/skybell/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['skybellpy==0.3.0'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by Skybell.com" diff --git a/homeassistant/components/skybell/binary_sensor.py b/homeassistant/components/skybell/binary_sensor.py index 8c2b83552..16b094dbf 100644 --- a/homeassistant/components/skybell/binary_sensor.py +++ b/homeassistant/components/skybell/binary_sensor.py @@ -12,8 +12,6 @@ import homeassistant.helpers.config_validation as cv from . import DEFAULT_ENTITY_NAMESPACE, DOMAIN as SKYBELL_DOMAIN, SkybellDevice -DEPENDENCIES = ['skybell'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=5) diff --git a/homeassistant/components/skybell/camera.py b/homeassistant/components/skybell/camera.py index 04b03f84b..e11f7c489 100644 --- a/homeassistant/components/skybell/camera.py +++ b/homeassistant/components/skybell/camera.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from . import DOMAIN as SKYBELL_DOMAIN, SkybellDevice -DEPENDENCIES = ['skybell'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=90) diff --git a/homeassistant/components/skybell/light.py b/homeassistant/components/skybell/light.py index d413f9df4..18108787e 100644 --- a/homeassistant/components/skybell/light.py +++ b/homeassistant/components/skybell/light.py @@ -7,8 +7,6 @@ import homeassistant.util.color as color_util from . import DOMAIN as SKYBELL_DOMAIN, SkybellDevice -DEPENDENCIES = ['skybell'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/skybell/sensor.py b/homeassistant/components/skybell/sensor.py index 067e850df..5188f75b6 100644 --- a/homeassistant/components/skybell/sensor.py +++ b/homeassistant/components/skybell/sensor.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from . import DEFAULT_ENTITY_NAMESPACE, DOMAIN as SKYBELL_DOMAIN, SkybellDevice -DEPENDENCIES = ['skybell'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=30) diff --git a/homeassistant/components/skybell/switch.py b/homeassistant/components/skybell/switch.py index 674bbf22a..7771f1a87 100644 --- a/homeassistant/components/skybell/switch.py +++ b/homeassistant/components/skybell/switch.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from . import DEFAULT_ENTITY_NAMESPACE, DOMAIN as SKYBELL_DOMAIN, SkybellDevice -DEPENDENCIES = ['skybell'] - _LOGGER = logging.getLogger(__name__) # Switch types: Name diff --git a/homeassistant/components/slack/notify.py b/homeassistant/components/slack/notify.py index 026fed0a5..600fdef94 100644 --- a/homeassistant/components/slack/notify.py +++ b/homeassistant/components/slack/notify.py @@ -12,8 +12,6 @@ from homeassistant.components.notify import ( ATTR_DATA, ATTR_TARGET, ATTR_TITLE, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['slacker==0.12.0'] - _LOGGER = logging.getLogger(__name__) CONF_CHANNEL = 'default_channel' diff --git a/homeassistant/components/sleepiq/__init__.py b/homeassistant/components/sleepiq/__init__.py index 7a23c6c46..97b2d53a0 100644 --- a/homeassistant/components/sleepiq/__init__.py +++ b/homeassistant/components/sleepiq/__init__.py @@ -13,8 +13,6 @@ from homeassistant.util import Throttle DOMAIN = 'sleepiq' -REQUIREMENTS = ['sleepyq==0.6'] - MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=30) IS_IN_BED = 'is_in_bed' diff --git a/homeassistant/components/sleepiq/binary_sensor.py b/homeassistant/components/sleepiq/binary_sensor.py index 11f9e25d8..cad5c9e42 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 3de444c33..c92c463ea 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 a2ec7871f..9b6406484 100644 --- a/homeassistant/components/sma/sensor.py +++ b/homeassistant/components/sma/sensor.py @@ -14,8 +14,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import async_track_time_interval -REQUIREMENTS = ['pysma==0.3.1'] - _LOGGER = logging.getLogger(__name__) CONF_CUSTOM = 'custom' diff --git a/homeassistant/components/smappee/__init__.py b/homeassistant/components/smappee/__init__.py index 7a495d7b8..c3f739b7b 100644 --- a/homeassistant/components/smappee/__init__.py +++ b/homeassistant/components/smappee/__init__.py @@ -11,8 +11,6 @@ from homeassistant.util import Throttle from homeassistant.helpers.discovery import load_platform import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['smappy==0.2.16'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Smappee' diff --git a/homeassistant/components/smappee/sensor.py b/homeassistant/components/smappee/sensor.py index 98527c769..e34ede56e 100644 --- a/homeassistant/components/smappee/sensor.py +++ b/homeassistant/components/smappee/sensor.py @@ -7,8 +7,6 @@ from homeassistant.helpers.entity import Entity from . import DATA_SMAPPEE -DEPENDENCIES = ['smappee'] - _LOGGER = logging.getLogger(__name__) SENSOR_PREFIX = 'Smappee' diff --git a/homeassistant/components/smappee/switch.py b/homeassistant/components/smappee/switch.py index 963caf457..25ae9a612 100644 --- a/homeassistant/components/smappee/switch.py +++ b/homeassistant/components/smappee/switch.py @@ -5,8 +5,6 @@ from homeassistant.components.switch import SwitchDevice from . import DATA_SMAPPEE -DEPENDENCIES = ['smappee'] - _LOGGER = logging.getLogger(__name__) ICON = 'mdi:power-plug' diff --git a/homeassistant/components/smartthings/__init__.py b/homeassistant/components/smartthings/__init__.py index e5226076f..f2f1021ff 100644 --- a/homeassistant/components/smartthings/__init__.py +++ b/homeassistant/components/smartthings/__init__.py @@ -28,9 +28,6 @@ from .smartapp import ( unload_smartapp_endpoint, validate_installed_app, validate_webhook_requirements) -REQUIREMENTS = ['pysmartapp==0.3.2', 'pysmartthings==0.6.7'] -DEPENDENCIES = ['webhook'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/smartthings/binary_sensor.py b/homeassistant/components/smartthings/binary_sensor.py index 45101601d..39ff2999e 100644 --- a/homeassistant/components/smartthings/binary_sensor.py +++ b/homeassistant/components/smartthings/binary_sensor.py @@ -6,8 +6,6 @@ from homeassistant.components.binary_sensor import BinarySensorDevice from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] - CAPABILITY_TO_ATTRIB = { 'accelerationSensor': 'acceleration', 'contactSensor': 'contact', diff --git a/homeassistant/components/smartthings/climate.py b/homeassistant/components/smartthings/climate.py index bcf2dc02c..f45ea10ce 100644 --- a/homeassistant/components/smartthings/climate.py +++ b/homeassistant/components/smartthings/climate.py @@ -17,8 +17,6 @@ from homeassistant.const import ( from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] - ATTR_OPERATION_STATE = 'operation_state' MODE_TO_STATE = { 'auto': STATE_AUTO, diff --git a/homeassistant/components/smartthings/cover.py b/homeassistant/components/smartthings/cover.py index 53602c364..47116ad3d 100644 --- a/homeassistant/components/smartthings/cover.py +++ b/homeassistant/components/smartthings/cover.py @@ -11,8 +11,6 @@ from homeassistant.const import ATTR_BATTERY_LEVEL from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] - VALUE_TO_STATE = { 'closed': STATE_CLOSED, 'closing': STATE_CLOSING, diff --git a/homeassistant/components/smartthings/fan.py b/homeassistant/components/smartthings/fan.py index e722cd21d..befcb3fcb 100644 --- a/homeassistant/components/smartthings/fan.py +++ b/homeassistant/components/smartthings/fan.py @@ -8,8 +8,6 @@ from homeassistant.components.fan import ( from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] - VALUE_TO_SPEED = { 0: SPEED_OFF, 1: SPEED_LOW, diff --git a/homeassistant/components/smartthings/light.py b/homeassistant/components/smartthings/light.py index 79a5eabc2..6e609b4b5 100644 --- a/homeassistant/components/smartthings/light.py +++ b/homeassistant/components/smartthings/light.py @@ -11,8 +11,6 @@ import homeassistant.util.color as color_util from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/smartthings/lock.py b/homeassistant/components/smartthings/lock.py index c7ab09145..ca2e45114 100644 --- a/homeassistant/components/smartthings/lock.py +++ b/homeassistant/components/smartthings/lock.py @@ -6,8 +6,6 @@ from homeassistant.components.lock import LockDevice from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] - ST_STATE_LOCKED = 'locked' ST_LOCK_ATTR_MAP = { 'codeId': 'code_id', diff --git a/homeassistant/components/smartthings/scene.py b/homeassistant/components/smartthings/scene.py index 9bf3211d8..17c7bd51b 100644 --- a/homeassistant/components/smartthings/scene.py +++ b/homeassistant/components/smartthings/scene.py @@ -3,8 +3,6 @@ from homeassistant.components.scene import Scene from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/smartthings/sensor.py b/homeassistant/components/smartthings/sensor.py index 4f7ad1a13..4abb3e20c 100644 --- a/homeassistant/components/smartthings/sensor.py +++ b/homeassistant/components/smartthings/sensor.py @@ -10,8 +10,6 @@ from homeassistant.const import ( from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] - Map = namedtuple("map", "attribute name default_unit device_class") CAPABILITY_TO_SENSORS = { diff --git a/homeassistant/components/smartthings/switch.py b/homeassistant/components/smartthings/switch.py index d30aa3a23..2149a8725 100644 --- a/homeassistant/components/smartthings/switch.py +++ b/homeassistant/components/smartthings/switch.py @@ -6,8 +6,6 @@ from homeassistant.components.switch import SwitchDevice from . import SmartThingsEntity from .const import DATA_BROKERS, DOMAIN -DEPENDENCIES = ['smartthings'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/smhi/__init__.py b/homeassistant/components/smhi/__init__.py index 608ee9b6a..b62f110b6 100644 --- a/homeassistant/components/smhi/__init__.py +++ b/homeassistant/components/smhi/__init__.py @@ -6,8 +6,6 @@ from homeassistant.core import Config, HomeAssistant from .config_flow import smhi_locations # noqa: F401 from .const import DOMAIN # noqa: F401 -REQUIREMENTS = ['smhi-pkg==1.0.10'] - DEFAULT_NAME = 'smhi' diff --git a/homeassistant/components/smhi/weather.py b/homeassistant/components/smhi/weather.py index fc3399f75..ab5d08e77 100644 --- a/homeassistant/components/smhi/weather.py +++ b/homeassistant/components/smhi/weather.py @@ -19,8 +19,6 @@ from homeassistant.util import Throttle, slugify from .const import ATTR_SMHI_CLOUDINESS, ENTITY_ID_SENSOR_FORMAT -DEPENDENCIES = ['smhi'] - _LOGGER = logging.getLogger(__name__) # Used to map condition from API results diff --git a/homeassistant/components/snapcast/media_player.py b/homeassistant/components/snapcast/media_player.py index b1589c4db..12ecabd68 100644 --- a/homeassistant/components/snapcast/media_player.py +++ b/homeassistant/components/snapcast/media_player.py @@ -14,8 +14,6 @@ from homeassistant.const import ( STATE_PLAYING, STATE_UNKNOWN) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['snapcast==2.0.9'] - _LOGGER = logging.getLogger(__name__) DATA_KEY = 'snapcast' diff --git a/homeassistant/components/snips/__init__.py b/homeassistant/components/snips/__init__.py index 0cc96d66b..71e37fa51 100644 --- a/homeassistant/components/snips/__init__.py +++ b/homeassistant/components/snips/__init__.py @@ -10,8 +10,6 @@ from homeassistant.helpers import intent, config_validation as cv from homeassistant.components import mqtt DOMAIN = 'snips' -DEPENDENCIES = ['mqtt'] - CONF_INTENTS = 'intents' CONF_ACTION = 'action' CONF_FEEDBACK = 'feedback_sounds' diff --git a/homeassistant/components/snmp/device_tracker.py b/homeassistant/components/snmp/device_tracker.py index 8a0fe7c61..b36681161 100644 --- a/homeassistant/components/snmp/device_tracker.py +++ b/homeassistant/components/snmp/device_tracker.py @@ -9,8 +9,6 @@ from homeassistant.components.device_tracker import ( DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST -REQUIREMENTS = ['pysnmp==4.4.8'] - _LOGGER = logging.getLogger(__name__) CONF_AUTHKEY = 'authkey' diff --git a/homeassistant/components/snmp/sensor.py b/homeassistant/components/snmp/sensor.py index 83d311189..df132140c 100644 --- a/homeassistant/components/snmp/sensor.py +++ b/homeassistant/components/snmp/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_PORT, CONF_UNIT_OF_MEASUREMENT, STATE_UNKNOWN, CONF_USERNAME, CONF_VALUE_TEMPLATE) -REQUIREMENTS = ['pysnmp==4.4.8'] - _LOGGER = logging.getLogger(__name__) CONF_BASEOID = 'baseoid' diff --git a/homeassistant/components/snmp/switch.py b/homeassistant/components/snmp/switch.py index fdb3267a3..5555f5112 100644 --- a/homeassistant/components/snmp/switch.py +++ b/homeassistant/components/snmp/switch.py @@ -9,8 +9,6 @@ from homeassistant.const import ( CONF_USERNAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pysnmp==4.4.8'] - _LOGGER = logging.getLogger(__name__) CONF_BASEOID = 'baseoid' diff --git a/homeassistant/components/sochain/sensor.py b/homeassistant/components/sochain/sensor.py index ef6a53b70..3f74e43d1 100644 --- a/homeassistant/components/sochain/sensor.py +++ b/homeassistant/components/sochain/sensor.py @@ -10,8 +10,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['python-sochain-api==0.0.2'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by chain.so" diff --git a/homeassistant/components/socialblade/sensor.py b/homeassistant/components/socialblade/sensor.py index 77433ac6d..a563de83f 100644 --- a/homeassistant/components/socialblade/sensor.py +++ b/homeassistant/components/socialblade/sensor.py @@ -12,8 +12,6 @@ from homeassistant.util import Throttle _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['socialbladeclient==0.2'] - CHANNEL_ID = 'channel_id' DEFAULT_NAME = "Social Blade" diff --git a/homeassistant/components/solaredge/sensor.py b/homeassistant/components/solaredge/sensor.py index 6c6d75572..da0eba132 100644 --- a/homeassistant/components/solaredge/sensor.py +++ b/homeassistant/components/solaredge/sensor.py @@ -14,8 +14,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['solaredge==0.0.2', 'stringcase==1.2.0'] - # Config for solaredge monitoring api requests. CONF_SITE_ID = "site_id" diff --git a/homeassistant/components/somfy_mylink/__init__.py b/homeassistant/components/somfy_mylink/__init__.py index c8a6314ac..19d418335 100755 --- a/homeassistant/components/somfy_mylink/__init__.py +++ b/homeassistant/components/somfy_mylink/__init__.py @@ -8,7 +8,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers.discovery import async_load_platform _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['somfy-mylink-synergy==1.0.4'] CONF_ENTITY_CONFIG = 'entity_config' CONF_SYSTEM_ID = 'system_id' CONF_REVERSE = 'reverse' diff --git a/homeassistant/components/somfy_mylink/cover.py b/homeassistant/components/somfy_mylink/cover.py index e0b9eae36..16046d8b4 100755 --- a/homeassistant/components/somfy_mylink/cover.py +++ b/homeassistant/components/somfy_mylink/cover.py @@ -7,7 +7,6 @@ from homeassistant.util import slugify from . import CONF_DEFAULT_REVERSE, DATA_SOMFY_MYLINK _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['somfy_mylink'] async def async_setup_platform(hass, diff --git a/homeassistant/components/songpal/media_player.py b/homeassistant/components/songpal/media_player.py index 842360484..077975b26 100644 --- a/homeassistant/components/songpal/media_player.py +++ b/homeassistant/components/songpal/media_player.py @@ -16,8 +16,6 @@ from homeassistant.const import ( from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-songpal==0.0.9.1'] - _LOGGER = logging.getLogger(__name__) CONF_ENDPOINT = 'endpoint' diff --git a/homeassistant/components/sonos/__init__.py b/homeassistant/components/sonos/__init__.py index d5f89cd07..b661fa26f 100644 --- a/homeassistant/components/sonos/__init__.py +++ b/homeassistant/components/sonos/__init__.py @@ -4,7 +4,6 @@ from homeassistant.helpers import config_entry_flow DOMAIN = 'sonos' -REQUIREMENTS = ['pysonos==0.0.10'] async def async_setup(hass, config): diff --git a/homeassistant/components/sony_projector/switch.py b/homeassistant/components/sony_projector/switch.py index 5b3ffeed7..9ffd8ffb8 100644 --- a/homeassistant/components/sony_projector/switch.py +++ b/homeassistant/components/sony_projector/switch.py @@ -8,8 +8,6 @@ from homeassistant.const import ( STATE_ON, STATE_OFF, CONF_NAME, CONF_HOST) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pysdcp==1'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Sony Projector' diff --git a/homeassistant/components/soundtouch/media_player.py b/homeassistant/components/soundtouch/media_player.py index 027fad43a..a2a6c315e 100644 --- a/homeassistant/components/soundtouch/media_player.py +++ b/homeassistant/components/soundtouch/media_player.py @@ -15,8 +15,6 @@ from homeassistant.const import ( STATE_UNAVAILABLE) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['libsoundtouch==0.7.2'] - _LOGGER = logging.getLogger(__name__) SERVICE_PLAY_EVERYWHERE = 'soundtouch_play_everywhere' diff --git a/homeassistant/components/spaceapi/__init__.py b/homeassistant/components/spaceapi/__init__.py index fb76718f2..5431cd626 100644 --- a/homeassistant/components/spaceapi/__init__.py +++ b/homeassistant/components/spaceapi/__init__.py @@ -45,7 +45,6 @@ CONF_TEMPERATURE = 'temperature' CONF_TWITTER = 'twitter' DATA_SPACEAPI = 'data_spaceapi' -DEPENDENCIES = ['http'] DOMAIN = 'spaceapi' ISSUE_REPORT_CHANNELS = [CONF_EMAIL, CONF_IRC, CONF_MAILING_LIST, CONF_TWITTER] diff --git a/homeassistant/components/spc/__init__.py b/homeassistant/components/spc/__init__.py index 8aafb6f12..8e06e2546 100644 --- a/homeassistant/components/spc/__init__.py +++ b/homeassistant/components/spc/__init__.py @@ -7,8 +7,6 @@ from homeassistant.helpers import discovery, aiohttp_client from homeassistant.helpers.dispatcher import async_dispatcher_send import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyspcwebgw==0.4.0'] - _LOGGER = logging.getLogger(__name__) CONF_WS_URL = 'ws_url' diff --git a/homeassistant/components/speedtestdotnet/__init__.py b/homeassistant/components/speedtestdotnet/__init__.py index 48953874e..838902950 100644 --- a/homeassistant/components/speedtestdotnet/__init__.py +++ b/homeassistant/components/speedtestdotnet/__init__.py @@ -14,8 +14,6 @@ from homeassistant.helpers.dispatcher import dispatcher_send from homeassistant.helpers.event import async_track_time_interval from .const import DATA_UPDATED, DOMAIN, SENSOR_TYPES -REQUIREMENTS = ['speedtest-cli==2.1.1'] - _LOGGER = logging.getLogger(__name__) CONF_SERVER_ID = 'server_id' diff --git a/homeassistant/components/speedtestdotnet/sensor.py b/homeassistant/components/speedtestdotnet/sensor.py index fb92bb76a..785b981f1 100644 --- a/homeassistant/components/speedtestdotnet/sensor.py +++ b/homeassistant/components/speedtestdotnet/sensor.py @@ -9,8 +9,6 @@ from homeassistant.helpers.restore_state import RestoreEntity from .const import ( DATA_UPDATED, DOMAIN as SPEEDTESTDOTNET_DOMAIN, SENSOR_TYPES) -DEPENDENCIES = ['speedtestdotnet'] - _LOGGER = logging.getLogger(__name__) ATTR_BYTES_RECEIVED = 'bytes_received' diff --git a/homeassistant/components/spider/__init__.py b/homeassistant/components/spider/__init__.py index b565f1834..aadbfc8eb 100644 --- a/homeassistant/components/spider/__init__.py +++ b/homeassistant/components/spider/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.discovery import load_platform -REQUIREMENTS = ['spiderpy==1.3.1'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'spider' diff --git a/homeassistant/components/spider/climate.py b/homeassistant/components/spider/climate.py index 3b612441a..069f34da3 100644 --- a/homeassistant/components/spider/climate.py +++ b/homeassistant/components/spider/climate.py @@ -10,8 +10,6 @@ from homeassistant.const import ATTR_TEMPERATURE, TEMP_CELSIUS from . import DOMAIN as SPIDER_DOMAIN -DEPENDENCIES = ['spider'] - FAN_LIST = [ 'Auto', 'Low', diff --git a/homeassistant/components/spider/switch.py b/homeassistant/components/spider/switch.py index e43762be4..286ea3e7d 100644 --- a/homeassistant/components/spider/switch.py +++ b/homeassistant/components/spider/switch.py @@ -5,8 +5,6 @@ from homeassistant.components.switch import SwitchDevice from . import DOMAIN as SPIDER_DOMAIN -DEPENDENCIES = ['spider'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/spotcrime/sensor.py b/homeassistant/components/spotcrime/sensor.py index fa9cfa687..a5636f543 100644 --- a/homeassistant/components/spotcrime/sensor.py +++ b/homeassistant/components/spotcrime/sensor.py @@ -15,8 +15,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import slugify import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['spotcrime==1.0.3'] - _LOGGER = logging.getLogger(__name__) CONF_DAYS = 'days' diff --git a/homeassistant/components/spotify/media_player.py b/homeassistant/components/spotify/media_player.py index b9252d503..d6014008c 100644 --- a/homeassistant/components/spotify/media_player.py +++ b/homeassistant/components/spotify/media_player.py @@ -16,8 +16,6 @@ from homeassistant.const import ( from homeassistant.core import callback import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['spotipy-homeassistant==2.4.4.dev1'] - _LOGGER = logging.getLogger(__name__) AUTH_CALLBACK_NAME = 'api:spotify' @@ -35,7 +33,6 @@ CONFIGURATOR_SUBMIT_CAPTION = 'I authorized successfully' DEFAULT_CACHE_PATH = '.spotify-token-cache' DEFAULT_NAME = 'Spotify' -DEPENDENCIES = ['http'] DOMAIN = 'spotify' ICON = 'mdi:spotify' diff --git a/homeassistant/components/sql/sensor.py b/homeassistant/components/sql/sensor.py index bc40d5efb..475bde97d 100644 --- a/homeassistant/components/sql/sensor.py +++ b/homeassistant/components/sql/sensor.py @@ -15,8 +15,6 @@ from homeassistant.helpers.entity import Entity _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['sqlalchemy==1.3.0'] - CONF_COLUMN_NAME = 'column' CONF_QUERIES = 'queries' CONF_QUERY = 'query' diff --git a/homeassistant/components/srp_energy/sensor.py b/homeassistant/components/srp_energy/sensor.py index 0ebae427d..a84295fde 100644 --- a/homeassistant/components/srp_energy/sensor.py +++ b/homeassistant/components/srp_energy/sensor.py @@ -14,8 +14,6 @@ from homeassistant.util import Throttle from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['srpenergy==1.0.6'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Powered by SRP Energy" diff --git a/homeassistant/components/starlingbank/sensor.py b/homeassistant/components/starlingbank/sensor.py index 00640ea49..743bce5a7 100644 --- a/homeassistant/components/starlingbank/sensor.py +++ b/homeassistant/components/starlingbank/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import CONF_ACCESS_TOKEN, CONF_NAME import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['starlingbank==3.1'] - _LOGGER = logging.getLogger(__name__) BALANCE_TYPES = ['cleared_balance', 'effective_balance'] diff --git a/homeassistant/components/startca/sensor.py b/homeassistant/components/startca/sensor.py index 1e57a4cf8..fe2c35c39 100644 --- a/homeassistant/components/startca/sensor.py +++ b/homeassistant/components/startca/sensor.py @@ -14,8 +14,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['xmltodict==0.11.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Start.ca' diff --git a/homeassistant/components/statsd/__init__.py b/homeassistant/components/statsd/__init__.py index a8c34d0a8..c1b7e8de6 100644 --- a/homeassistant/components/statsd/__init__.py +++ b/homeassistant/components/statsd/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers import state as state_helper -REQUIREMENTS = ['statsd==3.2.1'] - _LOGGER = logging.getLogger(__name__) CONF_ATTR = 'log_attributes' diff --git a/homeassistant/components/steam_online/sensor.py b/homeassistant/components/steam_online/sensor.py index 4b4b73ad8..1afeb2be4 100644 --- a/homeassistant/components/steam_online/sensor.py +++ b/homeassistant/components/steam_online/sensor.py @@ -8,8 +8,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.const import CONF_API_KEY import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['steamodd==4.21'] - _LOGGER = logging.getLogger(__name__) CONF_ACCOUNTS = 'accounts' diff --git a/homeassistant/components/stream/__init__.py b/homeassistant/components/stream/__init__.py index 43debc504..1de1fc35e 100644 --- a/homeassistant/components/stream/__init__.py +++ b/homeassistant/components/stream/__init__.py @@ -19,12 +19,8 @@ from .worker import stream_worker from .hls import async_setup_hls from .recorder import async_setup_recorder -REQUIREMENTS = ['av==6.1.2'] - _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['http'] - CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({}), }, extra=vol.ALLOW_EXTRA) diff --git a/homeassistant/components/stride/notify.py b/homeassistant/components/stride/notify.py index fa08697d7..1ce2cf5e2 100644 --- a/homeassistant/components/stride/notify.py +++ b/homeassistant/components/stride/notify.py @@ -10,8 +10,6 @@ from homeassistant.components.notify import (ATTR_DATA, ATTR_TARGET, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['pystride==0.1.7'] - _LOGGER = logging.getLogger(__name__) CONF_PANEL = 'panel' diff --git a/homeassistant/components/swiss_hydrological_data/sensor.py b/homeassistant/components/swiss_hydrological_data/sensor.py index 84964a94c..c8a2c62c5 100644 --- a/homeassistant/components/swiss_hydrological_data/sensor.py +++ b/homeassistant/components/swiss_hydrological_data/sensor.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['swisshydrodata==0.0.3'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by the Swiss Federal Office for the " \ diff --git a/homeassistant/components/swiss_public_transport/sensor.py b/homeassistant/components/swiss_public_transport/sensor.py index 8d6b7fdee..9ff5ea718 100644 --- a/homeassistant/components/swiss_public_transport/sensor.py +++ b/homeassistant/components/swiss_public_transport/sensor.py @@ -11,8 +11,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity import homeassistant.util.dt as dt_util -REQUIREMENTS = ['python_opendata_transport==0.1.4'] - _LOGGER = logging.getLogger(__name__) ATTR_DEPARTURE_TIME1 = 'next_departure' diff --git a/homeassistant/components/switch/__init__.py b/homeassistant/components/switch/__init__.py index 7e89a5369..65b2bb7b9 100644 --- a/homeassistant/components/switch/__init__.py +++ b/homeassistant/components/switch/__init__.py @@ -16,7 +16,6 @@ from homeassistant.const import ( from homeassistant.components import group DOMAIN = 'switch' -DEPENDENCIES = ['group'] SCAN_INTERVAL = timedelta(seconds=30) GROUP_NAME_ALL_SWITCHES = 'all switches' diff --git a/homeassistant/components/switchbot/switch.py b/homeassistant/components/switchbot/switch.py index 3db9b5fd2..b8a2a905d 100644 --- a/homeassistant/components/switchbot/switch.py +++ b/homeassistant/components/switchbot/switch.py @@ -8,8 +8,6 @@ from homeassistant.components.switch import SwitchDevice, PLATFORM_SCHEMA from homeassistant.const import CONF_NAME, CONF_MAC from homeassistant.helpers.restore_state import RestoreEntity -REQUIREMENTS = ['PySwitchbot==0.5'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Switchbot' diff --git a/homeassistant/components/switchmate/switch.py b/homeassistant/components/switchmate/switch.py index c14a6ca80..ed7608914 100644 --- a/homeassistant/components/switchmate/switch.py +++ b/homeassistant/components/switchmate/switch.py @@ -8,8 +8,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.switch import SwitchDevice, PLATFORM_SCHEMA from homeassistant.const import CONF_NAME, CONF_MAC -REQUIREMENTS = ['pySwitchmate==0.4.5'] - _LOGGER = logging.getLogger(__name__) CONF_FLIP_ON_OFF = 'flip_on_off' diff --git a/homeassistant/components/syncthru/sensor.py b/homeassistant/components/syncthru/sensor.py index 5596d4ab8..33f57fa03 100644 --- a/homeassistant/components/syncthru/sensor.py +++ b/homeassistant/components/syncthru/sensor.py @@ -9,8 +9,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv from homeassistant.components.sensor import PLATFORM_SCHEMA -REQUIREMENTS = ['pysyncthru==0.3.1'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Samsung Printer' diff --git a/homeassistant/components/synology/camera.py b/homeassistant/components/synology/camera.py index c452f60cc..936474652 100644 --- a/homeassistant/components/synology/camera.py +++ b/homeassistant/components/synology/camera.py @@ -14,8 +14,6 @@ from homeassistant.helpers.aiohttp_client import ( async_get_clientsession) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['py-synology==0.2.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Synology Camera' diff --git a/homeassistant/components/synology_srm/device_tracker.py b/homeassistant/components/synology_srm/device_tracker.py index bf5653d68..57dbb7134 100644 --- a/homeassistant/components/synology_srm/device_tracker.py +++ b/homeassistant/components/synology_srm/device_tracker.py @@ -13,8 +13,6 @@ from homeassistant.const import ( CONF_HOST, CONF_USERNAME, CONF_PASSWORD, CONF_PORT, CONF_SSL, CONF_VERIFY_SSL) -REQUIREMENTS = ['synology-srm==0.0.6'] - _LOGGER = logging.getLogger(__name__) DEFAULT_USERNAME = 'admin' diff --git a/homeassistant/components/synologydsm/sensor.py b/homeassistant/components/synologydsm/sensor.py index 0d5a25348..2d12dbfe7 100644 --- a/homeassistant/components/synologydsm/sensor.py +++ b/homeassistant/components/synologydsm/sensor.py @@ -13,8 +13,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['python-synology==0.2.0'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = 'Data provided by Synology' diff --git a/homeassistant/components/system_health/__init__.py b/homeassistant/components/system_health/__init__.py index 9a171296c..7dbb682b2 100644 --- a/homeassistant/components/system_health/__init__.py +++ b/homeassistant/components/system_health/__init__.py @@ -14,7 +14,6 @@ from homeassistant.loader import bind_hass _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['http'] DOMAIN = 'system_health' INFO_CALLBACK_TIMEOUT = 5 diff --git a/homeassistant/components/system_log/__init__.py b/homeassistant/components/system_log/__init__.py index d6877c32f..c5909309a 100644 --- a/homeassistant/components/system_log/__init__.py +++ b/homeassistant/components/system_log/__init__.py @@ -20,7 +20,6 @@ CONF_LOGGER = 'logger' DATA_SYSTEM_LOG = 'system_log' DEFAULT_MAX_ENTRIES = 50 DEFAULT_FIRE_EVENT = False -DEPENDENCIES = ['http'] DOMAIN = 'system_log' EVENT_SYSTEM_LOG = 'system_log_event' diff --git a/homeassistant/components/systemmonitor/sensor.py b/homeassistant/components/systemmonitor/sensor.py index cf65daa43..fbd4ed52d 100644 --- a/homeassistant/components/systemmonitor/sensor.py +++ b/homeassistant/components/systemmonitor/sensor.py @@ -12,8 +12,6 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['psutil==5.6.1'] - _LOGGER = logging.getLogger(__name__) CONF_ARG = 'arg' diff --git a/homeassistant/components/sytadin/sensor.py b/homeassistant/components/sytadin/sensor.py index 517deda7c..887d0800e 100644 --- a/homeassistant/components/sytadin/sensor.py +++ b/homeassistant/components/sytadin/sensor.py @@ -13,8 +13,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['beautifulsoup4==4.7.1'] - _LOGGER = logging.getLogger(__name__) URL = 'http://www.sytadin.fr/sys/barometres_de_la_circulation.jsp.html' diff --git a/homeassistant/components/tado/__init__.py b/homeassistant/components/tado/__init__.py index 8d3f54197..9bbca9258 100644 --- a/homeassistant/components/tado/__init__.py +++ b/homeassistant/components/tado/__init__.py @@ -10,8 +10,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.const import CONF_USERNAME, CONF_PASSWORD from homeassistant.util import Throttle -REQUIREMENTS = ['python-tado==0.2.9'] - _LOGGER = logging.getLogger(__name__) DATA_TADO = 'tado_data' diff --git a/homeassistant/components/tahoma/__init__.py b/homeassistant/components/tahoma/__init__.py index 1807667da..9605b9e14 100644 --- a/homeassistant/components/tahoma/__init__.py +++ b/homeassistant/components/tahoma/__init__.py @@ -9,8 +9,6 @@ from homeassistant.helpers import discovery from homeassistant.helpers import config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['tahoma-api==0.0.14'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'tahoma' diff --git a/homeassistant/components/tahoma/binary_sensor.py b/homeassistant/components/tahoma/binary_sensor.py index 948c6f90a..f4305077a 100644 --- a/homeassistant/components/tahoma/binary_sensor.py +++ b/homeassistant/components/tahoma/binary_sensor.py @@ -7,8 +7,6 @@ from homeassistant.const import ATTR_BATTERY_LEVEL, STATE_OFF, STATE_ON from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice -DEPENDENCIES = ['tahoma'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=120) diff --git a/homeassistant/components/tahoma/cover.py b/homeassistant/components/tahoma/cover.py index 85e785f9c..eeacf7c83 100644 --- a/homeassistant/components/tahoma/cover.py +++ b/homeassistant/components/tahoma/cover.py @@ -7,8 +7,6 @@ from homeassistant.util.dt import utcnow from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice -DEPENDENCIES = ['tahoma'] - _LOGGER = logging.getLogger(__name__) ATTR_MEM_POS = 'memorized_position' diff --git a/homeassistant/components/tahoma/scene.py b/homeassistant/components/tahoma/scene.py index eedb95d1a..cea8217b1 100644 --- a/homeassistant/components/tahoma/scene.py +++ b/homeassistant/components/tahoma/scene.py @@ -5,8 +5,6 @@ from homeassistant.components.scene import Scene from . import DOMAIN as TAHOMA_DOMAIN -DEPENDENCIES = ['tahoma'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tahoma/sensor.py b/homeassistant/components/tahoma/sensor.py index 3c0391180..288462dcc 100644 --- a/homeassistant/components/tahoma/sensor.py +++ b/homeassistant/components/tahoma/sensor.py @@ -7,8 +7,6 @@ from homeassistant.helpers.entity import Entity from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice -DEPENDENCIES = ['tahoma'] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = timedelta(seconds=60) diff --git a/homeassistant/components/tahoma/switch.py b/homeassistant/components/tahoma/switch.py index 71f00ed89..4877ae61e 100644 --- a/homeassistant/components/tahoma/switch.py +++ b/homeassistant/components/tahoma/switch.py @@ -6,8 +6,6 @@ from homeassistant.const import STATE_OFF, STATE_ON from . import DOMAIN as TAHOMA_DOMAIN, TahomaDevice -DEPENDENCIES = ['tahoma'] - _LOGGER = logging.getLogger(__name__) ATTR_RSSI_LEVEL = 'rssi_level' diff --git a/homeassistant/components/tank_utility/sensor.py b/homeassistant/components/tank_utility/sensor.py index 5389d60ef..8d83b0773 100644 --- a/homeassistant/components/tank_utility/sensor.py +++ b/homeassistant/components/tank_utility/sensor.py @@ -12,10 +12,6 @@ from homeassistant.const import CONF_DEVICES, CONF_EMAIL, CONF_PASSWORD from homeassistant.helpers.entity import Entity -REQUIREMENTS = [ - "tank_utility==1.4.0" -] - _LOGGER = logging.getLogger(__name__) SCAN_INTERVAL = datetime.timedelta(hours=1) diff --git a/homeassistant/components/tapsaff/binary_sensor.py b/homeassistant/components/tapsaff/binary_sensor.py index 639e9574e..b2875c8e4 100644 --- a/homeassistant/components/tapsaff/binary_sensor.py +++ b/homeassistant/components/tapsaff/binary_sensor.py @@ -9,8 +9,6 @@ from homeassistant.components.binary_sensor import ( from homeassistant.const import CONF_NAME import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['tapsaff==0.2.0'] - _LOGGER = logging.getLogger(__name__) CONF_LOCATION = 'location' diff --git a/homeassistant/components/tautulli/sensor.py b/homeassistant/components/tautulli/sensor.py index 44be10749..ca1651eca 100644 --- a/homeassistant/components/tautulli/sensor.py +++ b/homeassistant/components/tautulli/sensor.py @@ -14,8 +14,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pytautulli==0.5.0'] - _LOGGER = logging.getLogger(__name__) CONF_MONITORED_USERS = 'monitored_users' diff --git a/homeassistant/components/ted5000/sensor.py b/homeassistant/components/ted5000/sensor.py index fba986630..32869949e 100644 --- a/homeassistant/components/ted5000/sensor.py +++ b/homeassistant/components/ted5000/sensor.py @@ -12,8 +12,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['xmltodict==0.11.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'ted' diff --git a/homeassistant/components/telegram/notify.py b/homeassistant/components/telegram/notify.py index 3602bbd24..b18e0e2c1 100644 --- a/homeassistant/components/telegram/notify.py +++ b/homeassistant/components/telegram/notify.py @@ -12,8 +12,6 @@ from homeassistant.components.notify import ( _LOGGER = logging.getLogger(__name__) DOMAIN = 'telegram_bot' -DEPENDENCIES = [DOMAIN] - ATTR_KEYBOARD = 'keyboard' ATTR_INLINE_KEYBOARD = 'inline_keyboard' ATTR_PHOTO = 'photo' diff --git a/homeassistant/components/telegram_bot/__init__.py b/homeassistant/components/telegram_bot/__init__.py index 7d19e8212..a77b86038 100644 --- a/homeassistant/components/telegram_bot/__init__.py +++ b/homeassistant/components/telegram_bot/__init__.py @@ -16,8 +16,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.exceptions import TemplateError -REQUIREMENTS = ['python-telegram-bot==11.1.0'] - _LOGGER = logging.getLogger(__name__) ATTR_ARGS = 'args' diff --git a/homeassistant/components/telegram_bot/webhooks.py b/homeassistant/components/telegram_bot/webhooks.py index 424ece815..1a2839b17 100644 --- a/homeassistant/components/telegram_bot/webhooks.py +++ b/homeassistant/components/telegram_bot/webhooks.py @@ -15,8 +15,6 @@ from . import ( CONF_ALLOWED_CHAT_IDS, PLATFORM_SCHEMA, BaseTelegramBotEntity, initialize_bot) -DEPENDENCIES = ['http'] - _LOGGER = logging.getLogger(__name__) TELEGRAM_HANDLER_URL = '/api/telegram_webhooks' diff --git a/homeassistant/components/tellduslive/__init__.py b/homeassistant/components/tellduslive/__init__.py index 64f4a0102..de665bc31 100644 --- a/homeassistant/components/tellduslive/__init__.py +++ b/homeassistant/components/tellduslive/__init__.py @@ -19,8 +19,6 @@ from .const import ( APPLICATION_NAME = 'Home Assistant' -REQUIREMENTS = ['tellduslive==0.10.10'] - _LOGGER = logging.getLogger(__name__) CONFIG_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/tellstick/__init__.py b/homeassistant/components/tellstick/__init__.py index c35d2f790..815e19418 100644 --- a/homeassistant/components/tellstick/__init__.py +++ b/homeassistant/components/tellstick/__init__.py @@ -11,8 +11,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['tellcore-py==1.1.2', 'tellcore-net==0.4'] - _LOGGER = logging.getLogger(__name__) ATTR_DISCOVER_CONFIG = 'config' diff --git a/homeassistant/components/tellstick/sensor.py b/homeassistant/components/tellstick/sensor.py index 0438ad79a..39946dac7 100644 --- a/homeassistant/components/tellstick/sensor.py +++ b/homeassistant/components/tellstick/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import TEMP_CELSIUS, CONF_ID, CONF_NAME from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -DEPENDENCIES = ['tellstick'] - _LOGGER = logging.getLogger(__name__) DatatypeDescription = namedtuple('DatatypeDescription', ['name', 'unit']) diff --git a/homeassistant/components/temper/sensor.py b/homeassistant/components/temper/sensor.py index 1c6cb9fdf..9bf6a3296 100644 --- a/homeassistant/components/temper/sensor.py +++ b/homeassistant/components/temper/sensor.py @@ -8,8 +8,6 @@ from homeassistant.helpers.entity import Entity _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['temperusb==1.5.3'] - CONF_SCALE = 'scale' CONF_OFFSET = 'offset' diff --git a/homeassistant/components/tensorflow/image_processing.py b/homeassistant/components/tensorflow/image_processing.py index 4e4a80a52..2125ea803 100644 --- a/homeassistant/components/tensorflow/image_processing.py +++ b/homeassistant/components/tensorflow/image_processing.py @@ -12,8 +12,6 @@ from homeassistant.core import split_entity_id from homeassistant.helpers import template import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['numpy==1.16.2', 'pillow==5.4.1', 'protobuf==3.6.1'] - _LOGGER = logging.getLogger(__name__) ATTR_MATCHES = 'matches' diff --git a/homeassistant/components/tesla/__init__.py b/homeassistant/components/tesla/__init__.py index 244538f5f..894502aa5 100644 --- a/homeassistant/components/tesla/__init__.py +++ b/homeassistant/components/tesla/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers import discovery from homeassistant.helpers.entity import Entity from homeassistant.util import slugify -REQUIREMENTS = ['teslajsonpy==0.0.25'] - DOMAIN = 'tesla' _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tesla/binary_sensor.py b/homeassistant/components/tesla/binary_sensor.py index a87239d24..147853f58 100644 --- a/homeassistant/components/tesla/binary_sensor.py +++ b/homeassistant/components/tesla/binary_sensor.py @@ -8,8 +8,6 @@ from . import DOMAIN as TESLA_DOMAIN, TeslaDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tesla'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Tesla binary sensor.""" diff --git a/homeassistant/components/tesla/climate.py b/homeassistant/components/tesla/climate.py index 603ce1a4d..cb2eee436 100644 --- a/homeassistant/components/tesla/climate.py +++ b/homeassistant/components/tesla/climate.py @@ -11,8 +11,6 @@ from . import DOMAIN as TESLA_DOMAIN, TeslaDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tesla'] - OPERATION_LIST = [STATE_ON, STATE_OFF] SUPPORT_FLAGS = SUPPORT_TARGET_TEMPERATURE | SUPPORT_OPERATION_MODE diff --git a/homeassistant/components/tesla/device_tracker.py b/homeassistant/components/tesla/device_tracker.py index 5a7693d83..c3fd649ad 100644 --- a/homeassistant/components/tesla/device_tracker.py +++ b/homeassistant/components/tesla/device_tracker.py @@ -8,8 +8,6 @@ from . import DOMAIN as TESLA_DOMAIN _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tesla'] - def setup_scanner(hass, config, see, discovery_info=None): """Set up the Tesla tracker.""" diff --git a/homeassistant/components/tesla/lock.py b/homeassistant/components/tesla/lock.py index ade394496..4601aebf7 100644 --- a/homeassistant/components/tesla/lock.py +++ b/homeassistant/components/tesla/lock.py @@ -8,8 +8,6 @@ from . import DOMAIN as TESLA_DOMAIN, TeslaDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tesla'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Tesla lock platform.""" diff --git a/homeassistant/components/tesla/sensor.py b/homeassistant/components/tesla/sensor.py index 99705d3f7..1a1fe85e2 100644 --- a/homeassistant/components/tesla/sensor.py +++ b/homeassistant/components/tesla/sensor.py @@ -11,8 +11,6 @@ from . import DOMAIN as TESLA_DOMAIN, TeslaDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tesla'] - SCAN_INTERVAL = timedelta(minutes=5) diff --git a/homeassistant/components/tesla/switch.py b/homeassistant/components/tesla/switch.py index e00164ff1..9b15ca092 100644 --- a/homeassistant/components/tesla/switch.py +++ b/homeassistant/components/tesla/switch.py @@ -7,7 +7,6 @@ from homeassistant.const import STATE_OFF, STATE_ON from . import DOMAIN as TESLA_DOMAIN, TeslaDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tesla'] def setup_platform(hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/tfiac/climate.py b/homeassistant/components/tfiac/climate.py index 44fa19098..c3c42b3b6 100644 --- a/homeassistant/components/tfiac/climate.py +++ b/homeassistant/components/tfiac/climate.py @@ -13,8 +13,6 @@ from homeassistant.components.climate.const import ( from homeassistant.const import ATTR_TEMPERATURE, CONF_HOST, TEMP_FAHRENHEIT import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pytfiac==0.3'] - SCAN_INTERVAL = timedelta(seconds=60) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/thermoworks_smoke/sensor.py b/homeassistant/components/thermoworks_smoke/sensor.py index 0c6cddd9f..55a4cd67c 100644 --- a/homeassistant/components/thermoworks_smoke/sensor.py +++ b/homeassistant/components/thermoworks_smoke/sensor.py @@ -17,8 +17,6 @@ from homeassistant.const import TEMP_FAHRENHEIT, CONF_EMAIL, CONF_PASSWORD,\ CONF_MONITORED_CONDITIONS, CONF_EXCLUDE, ATTR_BATTERY_LEVEL from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['thermoworks_smoke==0.1.8', 'stringcase==1.2.0'] - _LOGGER = logging.getLogger(__name__) PROBE_1 = 'probe1' diff --git a/homeassistant/components/thethingsnetwork/sensor.py b/homeassistant/components/thethingsnetwork/sensor.py index d59b42972..08cdecf85 100644 --- a/homeassistant/components/thethingsnetwork/sensor.py +++ b/homeassistant/components/thethingsnetwork/sensor.py @@ -22,8 +22,6 @@ ATTR_RAW = 'raw' ATTR_TIME = 'time' DEFAULT_TIMEOUT = 10 -DEPENDENCIES = ['thethingsnetwork'] - CONF_DEVICE_ID = 'device_id' CONF_VALUES = 'values' diff --git a/homeassistant/components/thingspeak/__init__.py b/homeassistant/components/thingspeak/__init__.py index 0fa15e7ef..d6191dbd3 100644 --- a/homeassistant/components/thingspeak/__init__.py +++ b/homeassistant/components/thingspeak/__init__.py @@ -9,8 +9,6 @@ from homeassistant.const import ( from homeassistant.helpers import event, state as state_helper import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['thingspeak==0.4.1'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'thingspeak' diff --git a/homeassistant/components/thinkingcleaner/sensor.py b/homeassistant/components/thinkingcleaner/sensor.py index f8462435a..4f05f1425 100644 --- a/homeassistant/components/thinkingcleaner/sensor.py +++ b/homeassistant/components/thinkingcleaner/sensor.py @@ -7,8 +7,6 @@ from homeassistant.helpers.entity import Entity _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pythinkingcleaner==0.0.3'] - MIN_TIME_BETWEEN_SCANS = timedelta(seconds=10) MIN_TIME_BETWEEN_FORCED_SCANS = timedelta(milliseconds=100) diff --git a/homeassistant/components/thinkingcleaner/switch.py b/homeassistant/components/thinkingcleaner/switch.py index 38a96eb02..43b5a8ca4 100644 --- a/homeassistant/components/thinkingcleaner/switch.py +++ b/homeassistant/components/thinkingcleaner/switch.py @@ -9,8 +9,6 @@ from homeassistant.helpers.entity import ToggleEntity _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pythinkingcleaner==0.0.3'] - MIN_TIME_BETWEEN_SCANS = timedelta(seconds=10) MIN_TIME_BETWEEN_FORCED_SCANS = timedelta(milliseconds=100) diff --git a/homeassistant/components/tibber/__init__.py b/homeassistant/components/tibber/__init__.py index 19cf6fe65..15c684b72 100644 --- a/homeassistant/components/tibber/__init__.py +++ b/homeassistant/components/tibber/__init__.py @@ -11,8 +11,6 @@ from homeassistant.const import (EVENT_HOMEASSISTANT_STOP, CONF_ACCESS_TOKEN, from homeassistant.helpers import discovery from homeassistant.helpers.aiohttp_client import async_get_clientsession -REQUIREMENTS = ['pyTibber==0.10.1'] - DOMAIN = 'tibber' CONFIG_SCHEMA = vol.Schema({ diff --git a/homeassistant/components/tikteck/light.py b/homeassistant/components/tikteck/light.py index 4f5596c71..d69672cb5 100644 --- a/homeassistant/components/tikteck/light.py +++ b/homeassistant/components/tikteck/light.py @@ -10,8 +10,6 @@ from homeassistant.components.light import ( import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['tikteck==0.4'] - _LOGGER = logging.getLogger(__name__) SUPPORT_TIKTECK_LED = (SUPPORT_BRIGHTNESS | SUPPORT_COLOR) diff --git a/homeassistant/components/tile/device_tracker.py b/homeassistant/components/tile/device_tracker.py index c471c1e23..f83e4bcce 100644 --- a/homeassistant/components/tile/device_tracker.py +++ b/homeassistant/components/tile/device_tracker.py @@ -13,8 +13,6 @@ from homeassistant.util import slugify from homeassistant.util.json import load_json, save_json _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pytile==2.0.6'] - CLIENT_UUID_CONFIG_FILE = '.tile.conf' DEVICE_TYPES = ['PHONE', 'TILE'] diff --git a/homeassistant/components/todoist/calendar.py b/homeassistant/components/todoist/calendar.py index 313935e12..2ee880809 100644 --- a/homeassistant/components/todoist/calendar.py +++ b/homeassistant/components/todoist/calendar.py @@ -12,8 +12,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.template import DATE_STR_FORMAT from homeassistant.util import Throttle, dt -REQUIREMENTS = ['todoist-python==7.0.17'] - _LOGGER = logging.getLogger(__name__) CONF_EXTRA_PROJECTS = 'custom_projects' diff --git a/homeassistant/components/tof/sensor.py b/homeassistant/components/tof/sensor.py index a403db036..66b86da30 100644 --- a/homeassistant/components/tof/sensor.py +++ b/homeassistant/components/tof/sensor.py @@ -12,10 +12,6 @@ from homeassistant.components import rpi_gpio from homeassistant.const import CONF_NAME from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['VL53L1X2==0.1.5'] - -DEPENDENCIES = ['rpi_gpio'] - _LOGGER = logging.getLogger(__name__) LENGTH_MILLIMETERS = 'mm' diff --git a/homeassistant/components/toon/__init__.py b/homeassistant/components/toon/__init__.py index d718b5895..da4728593 100644 --- a/homeassistant/components/toon/__init__.py +++ b/homeassistant/components/toon/__init__.py @@ -16,8 +16,6 @@ from .const import ( CONF_CLIENT_ID, CONF_CLIENT_SECRET, CONF_DISPLAY, CONF_TENANT, DATA_TOON_CLIENT, DATA_TOON_CONFIG, DOMAIN) -REQUIREMENTS = ['toonapilib==3.2.2'] - _LOGGER = logging.getLogger(__name__) # Validation of the user's configuration diff --git a/homeassistant/components/toon/binary_sensor.py b/homeassistant/components/toon/binary_sensor.py index 694b7d1d0..c9bec0f3e 100644 --- a/homeassistant/components/toon/binary_sensor.py +++ b/homeassistant/components/toon/binary_sensor.py @@ -12,8 +12,6 @@ from . import (ToonEntity, ToonDisplayDeviceEntity, ToonBoilerDeviceEntity, ToonBoilerModuleDeviceEntity) from .const import DATA_TOON_CLIENT, DOMAIN -DEPENDENCIES = ['toon'] - _LOGGER = logging.getLogger(__name__) MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=5) diff --git a/homeassistant/components/toon/climate.py b/homeassistant/components/toon/climate.py index f09dc010c..d17cc641d 100644 --- a/homeassistant/components/toon/climate.py +++ b/homeassistant/components/toon/climate.py @@ -15,8 +15,6 @@ from homeassistant.helpers.typing import HomeAssistantType from . import ToonDisplayDeviceEntity from .const import DATA_TOON_CLIENT, DEFAULT_MAX_TEMP, DEFAULT_MIN_TEMP, DOMAIN -DEPENDENCIES = ['toon'] - _LOGGER = logging.getLogger(__name__) SUPPORT_FLAGS = SUPPORT_TARGET_TEMPERATURE | SUPPORT_OPERATION_MODE diff --git a/homeassistant/components/toon/sensor.py b/homeassistant/components/toon/sensor.py index f58c8ef48..7762aa0d8 100644 --- a/homeassistant/components/toon/sensor.py +++ b/homeassistant/components/toon/sensor.py @@ -11,8 +11,6 @@ from . import (ToonEntity, ToonElectricityMeterDeviceEntity, from .const import (CURRENCY_EUR, DATA_TOON_CLIENT, DOMAIN, POWER_KWH, POWER_WATT, VOLUME_CM3, VOLUME_M3, RATIO_PERCENT) -DEPENDENCIES = ['toon'] - _LOGGER = logging.getLogger(__name__) MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=5) diff --git a/homeassistant/components/torque/sensor.py b/homeassistant/components/torque/sensor.py index 2f947c178..01efd49e8 100644 --- a/homeassistant/components/torque/sensor.py +++ b/homeassistant/components/torque/sensor.py @@ -16,7 +16,6 @@ _LOGGER = logging.getLogger(__name__) API_PATH = '/api/torque' DEFAULT_NAME = 'vehicle' -DEPENDENCIES = ['http'] DOMAIN = 'torque' ENTITY_NAME_FORMAT = '{0} {1}' diff --git a/homeassistant/components/totalconnect/alarm_control_panel.py b/homeassistant/components/totalconnect/alarm_control_panel.py index c56c4ed95..848202d6c 100644 --- a/homeassistant/components/totalconnect/alarm_control_panel.py +++ b/homeassistant/components/totalconnect/alarm_control_panel.py @@ -13,8 +13,6 @@ from homeassistant.const import ( STATE_ALARM_ARMED_CUSTOM_BYPASS) -REQUIREMENTS = ['total_connect_client==0.25'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Total Connect' diff --git a/homeassistant/components/touchline/climate.py b/homeassistant/components/touchline/climate.py index e003ea257..e4e4a5b7f 100644 --- a/homeassistant/components/touchline/climate.py +++ b/homeassistant/components/touchline/climate.py @@ -9,8 +9,6 @@ from homeassistant.components.climate.const import ( from homeassistant.const import CONF_HOST, TEMP_CELSIUS, ATTR_TEMPERATURE import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pytouchline==0.7'] - _LOGGER = logging.getLogger(__name__) SUPPORT_FLAGS = (SUPPORT_TARGET_TEMPERATURE) diff --git a/homeassistant/components/tplink/__init__.py b/homeassistant/components/tplink/__init__.py index 9fc12db0d..2ebf342c3 100644 --- a/homeassistant/components/tplink/__init__.py +++ b/homeassistant/components/tplink/__init__.py @@ -33,8 +33,6 @@ CONFIG_SCHEMA = vol.Schema({ }), }, extra=vol.ALLOW_EXTRA) -REQUIREMENTS = ['pyHS100==0.3.4'] - async def _async_has_devices(hass): """Return if there are devices that can be discovered.""" diff --git a/homeassistant/components/tplink/device_tracker.py b/homeassistant/components/tplink/device_tracker.py index 7f5c4a37d..7b665006a 100644 --- a/homeassistant/components/tplink/device_tracker.py +++ b/homeassistant/components/tplink/device_tracker.py @@ -17,8 +17,6 @@ from homeassistant.const import ( CONF_HOST, CONF_PASSWORD, CONF_USERNAME, HTTP_HEADER_X_REQUESTED_WITH) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['tplink==0.2.1'] - _LOGGER = logging.getLogger(__name__) HTTP_HEADER_NO_CACHE = 'no-cache' diff --git a/homeassistant/components/tplink/light.py b/homeassistant/components/tplink/light.py index 9f13766c4..6fa795bca 100644 --- a/homeassistant/components/tplink/light.py +++ b/homeassistant/components/tplink/light.py @@ -12,8 +12,6 @@ from homeassistant.util.color import ( from . import CONF_LIGHT, DOMAIN as TPLINK_DOMAIN -DEPENDENCIES = ['tplink'] - PARALLEL_UPDATES = 0 _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tplink/switch.py b/homeassistant/components/tplink/switch.py index a4eeadd1c..3040b52cd 100644 --- a/homeassistant/components/tplink/switch.py +++ b/homeassistant/components/tplink/switch.py @@ -9,8 +9,6 @@ import homeassistant.helpers.device_registry as dr from . import CONF_SWITCH, DOMAIN as TPLINK_DOMAIN -DEPENDENCIES = ['tplink'] - PARALLEL_UPDATES = 0 _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tplink_lte/__init__.py b/homeassistant/components/tplink_lte/__init__.py index ae0b73d1c..d3d293323 100644 --- a/homeassistant/components/tplink_lte/__init__.py +++ b/homeassistant/components/tplink_lte/__init__.py @@ -14,8 +14,6 @@ from homeassistant.core import callback from homeassistant.helpers import config_validation as cv, discovery from homeassistant.helpers.aiohttp_client import async_create_clientsession -REQUIREMENTS = ['tp-connected==0.0.4'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'tplink_lte' diff --git a/homeassistant/components/tplink_lte/notify.py b/homeassistant/components/tplink_lte/notify.py index 519641ed3..a8844979e 100644 --- a/homeassistant/components/tplink_lte/notify.py +++ b/homeassistant/components/tplink_lte/notify.py @@ -9,8 +9,6 @@ from homeassistant.const import CONF_RECIPIENT from ..tplink_lte import DATA_KEY -DEPENDENCIES = ['tplink_lte'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/traccar/device_tracker.py b/homeassistant/components/traccar/device_tracker.py index 28d13dd4f..1600227bf 100644 --- a/homeassistant/components/traccar/device_tracker.py +++ b/homeassistant/components/traccar/device_tracker.py @@ -16,8 +16,6 @@ from homeassistant.helpers.event import async_track_time_interval from homeassistant.util import slugify -REQUIREMENTS = ['pytraccar==0.5.0', 'stringcase==1.2.0'] - _LOGGER = logging.getLogger(__name__) ATTR_ADDRESS = 'address' diff --git a/homeassistant/components/trackr/device_tracker.py b/homeassistant/components/trackr/device_tracker.py index 1322fde7e..55f8b7c1f 100644 --- a/homeassistant/components/trackr/device_tracker.py +++ b/homeassistant/components/trackr/device_tracker.py @@ -11,8 +11,6 @@ from homeassistant.util import slugify _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pytrackr==0.0.5'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_USERNAME): cv.string, vol.Required(CONF_PASSWORD): cv.string diff --git a/homeassistant/components/tradfri/__init__.py b/homeassistant/components/tradfri/__init__.py index b14bc8117..ec339bc63 100644 --- a/homeassistant/components/tradfri/__init__.py +++ b/homeassistant/components/tradfri/__init__.py @@ -13,8 +13,6 @@ from .const import ( from . import config_flow # noqa pylint_disable=unused-import -REQUIREMENTS = ['pytradfri[async]==6.0.1'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/tradfri/light.py b/homeassistant/components/tradfri/light.py index 07ab4806d..a2b2cdc7c 100644 --- a/homeassistant/components/tradfri/light.py +++ b/homeassistant/components/tradfri/light.py @@ -17,7 +17,6 @@ ATTR_DIMMER = 'dimmer' ATTR_HUE = 'hue' ATTR_SAT = 'saturation' ATTR_TRANSITION_TIME = 'transition_time' -DEPENDENCIES = ['tradfri'] PLATFORM_SCHEMA = LIGHT_PLATFORM_SCHEMA IKEA = 'IKEA of Sweden' TRADFRI_LIGHT_MANAGER = 'Tradfri Light Manager' diff --git a/homeassistant/components/tradfri/sensor.py b/homeassistant/components/tradfri/sensor.py index acc84a935..b6f4aef37 100644 --- a/homeassistant/components/tradfri/sensor.py +++ b/homeassistant/components/tradfri/sensor.py @@ -9,8 +9,6 @@ from . import KEY_API, KEY_GATEWAY _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tradfri'] - SCAN_INTERVAL = timedelta(minutes=5) diff --git a/homeassistant/components/tradfri/switch.py b/homeassistant/components/tradfri/switch.py index ef9a9537c..b7826624f 100644 --- a/homeassistant/components/tradfri/switch.py +++ b/homeassistant/components/tradfri/switch.py @@ -9,7 +9,6 @@ from .const import CONF_GATEWAY_ID _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['tradfri'] IKEA = 'IKEA of Sweden' TRADFRI_SWITCH_MANAGER = 'Tradfri Switch Manager' diff --git a/homeassistant/components/trafikverket_weatherstation/sensor.py b/homeassistant/components/trafikverket_weatherstation/sensor.py index bf8f4c803..c846d020c 100644 --- a/homeassistant/components/trafikverket_weatherstation/sensor.py +++ b/homeassistant/components/trafikverket_weatherstation/sensor.py @@ -16,8 +16,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pytrafikverket==0.1.5.9'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Data provided by Trafikverket" diff --git a/homeassistant/components/transmission/__init__.py b/homeassistant/components/transmission/__init__.py index 25e21dc3d..5a2fbbff5 100644 --- a/homeassistant/components/transmission/__init__.py +++ b/homeassistant/components/transmission/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers import config_validation as cv, discovery from homeassistant.helpers.dispatcher import dispatcher_send from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['transmissionrpc==0.11'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'transmission' diff --git a/homeassistant/components/transmission/sensor.py b/homeassistant/components/transmission/sensor.py index dfd4c1950..ac3bb3b26 100644 --- a/homeassistant/components/transmission/sensor.py +++ b/homeassistant/components/transmission/sensor.py @@ -9,8 +9,6 @@ from homeassistant.helpers.entity import Entity from . import DATA_TRANSMISSION, DATA_UPDATED, SENSOR_TYPES -DEPENDENCIES = ['transmission'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Transmission' diff --git a/homeassistant/components/transmission/switch.py b/homeassistant/components/transmission/switch.py index 854a2e727..bd965e172 100644 --- a/homeassistant/components/transmission/switch.py +++ b/homeassistant/components/transmission/switch.py @@ -8,8 +8,6 @@ from homeassistant.helpers.entity import ToggleEntity from . import DATA_TRANSMISSION, DATA_UPDATED -DEPENDENCIES = ['transmission'] - _LOGGING = logging.getLogger(__name__) DEFAULT_NAME = 'Transmission Turtle Mode' diff --git a/homeassistant/components/transport_nsw/sensor.py b/homeassistant/components/transport_nsw/sensor.py index 3c40bf4f7..9549814e0 100644 --- a/homeassistant/components/transport_nsw/sensor.py +++ b/homeassistant/components/transport_nsw/sensor.py @@ -9,8 +9,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import (CONF_NAME, CONF_API_KEY, ATTR_ATTRIBUTION) -REQUIREMENTS = ['PyTransportNSW==0.1.1'] - _LOGGER = logging.getLogger(__name__) ATTR_STOP_ID = 'stop_id' diff --git a/homeassistant/components/travisci/sensor.py b/homeassistant/components/travisci/sensor.py index 99309f7e2..7d94e9e91 100644 --- a/homeassistant/components/travisci/sensor.py +++ b/homeassistant/components/travisci/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import ( CONF_MONITORED_CONDITIONS) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['TravisPy==0.3.5'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Information provided by https://travis-ci.org/" diff --git a/homeassistant/components/trend/binary_sensor.py b/homeassistant/components/trend/binary_sensor.py index 163703373..a7fb18bf5 100644 --- a/homeassistant/components/trend/binary_sensor.py +++ b/homeassistant/components/trend/binary_sensor.py @@ -17,8 +17,6 @@ from homeassistant.helpers.entity import generate_entity_id from homeassistant.helpers.event import async_track_state_change from homeassistant.util import utcnow -REQUIREMENTS = ['numpy==1.16.2'] - _LOGGER = logging.getLogger(__name__) ATTR_ATTRIBUTE = 'attribute' diff --git a/homeassistant/components/tts/__init__.py b/homeassistant/components/tts/__init__.py index 763baa262..ccb7989a6 100644 --- a/homeassistant/components/tts/__init__.py +++ b/homeassistant/components/tts/__init__.py @@ -24,8 +24,6 @@ from homeassistant.helpers import config_per_platform import homeassistant.helpers.config_validation as cv from homeassistant.setup import async_prepare_setup_platform -REQUIREMENTS = ['mutagen==1.42.0'] - _LOGGER = logging.getLogger(__name__) ATTR_CACHE = 'cache' @@ -43,7 +41,6 @@ CONF_BASE_URL = 'base_url' DEFAULT_CACHE = True DEFAULT_CACHE_DIR = 'tts' DEFAULT_TIME_MEMORY = 300 -DEPENDENCIES = ['http'] DOMAIN = 'tts' MEM_CACHE_FILENAME = 'filename' diff --git a/homeassistant/components/tuya/__init__.py b/homeassistant/components/tuya/__init__.py index 117424fd5..6f6b05100 100644 --- a/homeassistant/components/tuya/__init__.py +++ b/homeassistant/components/tuya/__init__.py @@ -12,8 +12,6 @@ from homeassistant.helpers.dispatcher import ( from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['tuyapy==0.1.3'] - _LOGGER = logging.getLogger(__name__) CONF_COUNTRYCODE = 'country_code' diff --git a/homeassistant/components/tuya/climate.py b/homeassistant/components/tuya/climate.py index b7a10dad8..b6fd3be04 100644 --- a/homeassistant/components/tuya/climate.py +++ b/homeassistant/components/tuya/climate.py @@ -10,7 +10,6 @@ from homeassistant.const import ( from . import DATA_TUYA, TuyaDevice -DEPENDENCIES = ['tuya'] DEVICE_TYPE = 'climate' HA_STATE_TO_TUYA = { diff --git a/homeassistant/components/tuya/cover.py b/homeassistant/components/tuya/cover.py index 274f4d938..6d43365e8 100644 --- a/homeassistant/components/tuya/cover.py +++ b/homeassistant/components/tuya/cover.py @@ -4,8 +4,6 @@ from homeassistant.components.cover import ( from . import DATA_TUYA, TuyaDevice -DEPENDENCIES = ['tuya'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up Tuya cover devices.""" diff --git a/homeassistant/components/tuya/fan.py b/homeassistant/components/tuya/fan.py index 259417869..897a82716 100644 --- a/homeassistant/components/tuya/fan.py +++ b/homeassistant/components/tuya/fan.py @@ -5,8 +5,6 @@ from homeassistant.const import STATE_OFF from . import DATA_TUYA, TuyaDevice -DEPENDENCIES = ['tuya'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up Tuya fan platform.""" diff --git a/homeassistant/components/tuya/light.py b/homeassistant/components/tuya/light.py index 17f9b43dc..cb3f82234 100644 --- a/homeassistant/components/tuya/light.py +++ b/homeassistant/components/tuya/light.py @@ -6,8 +6,6 @@ from homeassistant.util import color as colorutil from . import DATA_TUYA, TuyaDevice -DEPENDENCIES = ['tuya'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up Tuya light platform.""" diff --git a/homeassistant/components/tuya/scene.py b/homeassistant/components/tuya/scene.py index 24383dca6..6a8fd9d41 100644 --- a/homeassistant/components/tuya/scene.py +++ b/homeassistant/components/tuya/scene.py @@ -3,8 +3,6 @@ from homeassistant.components.scene import DOMAIN, Scene from . import DATA_TUYA, TuyaDevice -DEPENDENCIES = ['tuya'] - ENTITY_ID_FORMAT = DOMAIN + '.{}' diff --git a/homeassistant/components/tuya/switch.py b/homeassistant/components/tuya/switch.py index c2e32eedc..05b023a78 100644 --- a/homeassistant/components/tuya/switch.py +++ b/homeassistant/components/tuya/switch.py @@ -3,8 +3,6 @@ from homeassistant.components.switch import ENTITY_ID_FORMAT, SwitchDevice from . import DATA_TUYA, TuyaDevice -DEPENDENCIES = ['tuya'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up Tuya Switch device.""" diff --git a/homeassistant/components/twilio/__init__.py b/homeassistant/components/twilio/__init__.py index e7ba06a05..82011f499 100644 --- a/homeassistant/components/twilio/__init__.py +++ b/homeassistant/components/twilio/__init__.py @@ -5,9 +5,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.const import CONF_WEBHOOK_ID from homeassistant.helpers import config_entry_flow -REQUIREMENTS = ['twilio==6.19.1'] -DEPENDENCIES = ['webhook'] - DOMAIN = 'twilio' CONF_ACCOUNT_SID = 'account_sid' diff --git a/homeassistant/components/twilio_call/notify.py b/homeassistant/components/twilio_call/notify.py index ab57d7214..0387ad31c 100644 --- a/homeassistant/components/twilio_call/notify.py +++ b/homeassistant/components/twilio_call/notify.py @@ -12,8 +12,6 @@ from homeassistant.components.notify import (ATTR_TARGET, PLATFORM_SCHEMA, _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['twilio'] - CONF_FROM_NUMBER = 'from_number' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/twilio_sms/notify.py b/homeassistant/components/twilio_sms/notify.py index a04e397a5..6ac6d085d 100644 --- a/homeassistant/components/twilio_sms/notify.py +++ b/homeassistant/components/twilio_sms/notify.py @@ -10,8 +10,6 @@ from homeassistant.components.notify import (ATTR_TARGET, PLATFORM_SCHEMA, BaseNotificationService) _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ["twilio"] - CONF_FROM_NUMBER = "from_number" diff --git a/homeassistant/components/twitch/sensor.py b/homeassistant/components/twitch/sensor.py index 123de752d..e5223b13b 100644 --- a/homeassistant/components/twitch/sensor.py +++ b/homeassistant/components/twitch/sensor.py @@ -7,8 +7,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-twitch-client==0.6.0'] - _LOGGER = logging.getLogger(__name__) ATTR_GAME = 'game' diff --git a/homeassistant/components/twitter/notify.py b/homeassistant/components/twitter/notify.py index 54cd591f3..305fec726 100644 --- a/homeassistant/components/twitter/notify.py +++ b/homeassistant/components/twitter/notify.py @@ -15,8 +15,6 @@ from homeassistant.helpers.event import async_track_point_in_time from homeassistant.components.notify import (ATTR_DATA, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['TwitterAPI==2.5.9'] - _LOGGER = logging.getLogger(__name__) CONF_CONSUMER_KEY = 'consumer_key' diff --git a/homeassistant/components/ubee/device_tracker.py b/homeassistant/components/ubee/device_tracker.py index f73f58f3a..8e610a4f5 100644 --- a/homeassistant/components/ubee/device_tracker.py +++ b/homeassistant/components/ubee/device_tracker.py @@ -9,8 +9,6 @@ from homeassistant.const import ( CONF_HOST, CONF_PASSWORD, CONF_USERNAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyubee==0.5'] - _LOGGER = logging.getLogger(__name__) CONF_MODEL = 'model' diff --git a/homeassistant/components/uber/sensor.py b/homeassistant/components/uber/sensor.py index 87d87de66..324124ca9 100644 --- a/homeassistant/components/uber/sensor.py +++ b/homeassistant/components/uber/sensor.py @@ -9,8 +9,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['uber_rides==0.6.0'] - _LOGGER = logging.getLogger(__name__) CONF_END_LATITUDE = 'end_latitude' diff --git a/homeassistant/components/unifi/__init__.py b/homeassistant/components/unifi/__init__.py index 7e236789a..3af450acd 100644 --- a/homeassistant/components/unifi/__init__.py +++ b/homeassistant/components/unifi/__init__.py @@ -16,8 +16,6 @@ DEFAULT_PORT = 8443 DEFAULT_SITE_ID = 'default' DEFAULT_VERIFY_SSL = False -REQUIREMENTS = ['aiounifi==4'] - async def async_setup(hass, config): """Component doesn't support configuration through configuration.yaml.""" diff --git a/homeassistant/components/unifi/device_tracker.py b/homeassistant/components/unifi/device_tracker.py index 49e28114b..8bf384eef 100644 --- a/homeassistant/components/unifi/device_tracker.py +++ b/homeassistant/components/unifi/device_tracker.py @@ -10,8 +10,6 @@ from homeassistant.const import CONF_HOST, CONF_USERNAME, CONF_PASSWORD from homeassistant.const import CONF_VERIFY_SSL, CONF_MONITORED_CONDITIONS import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pyunifi==2.16'] - _LOGGER = logging.getLogger(__name__) CONF_PORT = 'port' CONF_SITE_ID = 'site_id' diff --git a/homeassistant/components/unifi/switch.py b/homeassistant/components/unifi/switch.py index e90da2dbc..5f33a9c08 100644 --- a/homeassistant/components/unifi/switch.py +++ b/homeassistant/components/unifi/switch.py @@ -11,9 +11,8 @@ from homeassistant.const import CONF_HOST from homeassistant.core import callback from homeassistant.helpers.device_registry import CONNECTION_NETWORK_MAC -from .const import CONF_CONTROLLER, CONF_SITE_ID, CONTROLLER_ID, DOMAIN +from .const import CONF_CONTROLLER, CONF_SITE_ID, CONTROLLER_ID -DEPENDENCIES = [DOMAIN] SCAN_INTERVAL = timedelta(seconds=15) LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/unifi_direct/device_tracker.py b/homeassistant/components/unifi_direct/device_tracker.py index 29a3c58fa..544314c62 100644 --- a/homeassistant/components/unifi_direct/device_tracker.py +++ b/homeassistant/components/unifi_direct/device_tracker.py @@ -11,8 +11,6 @@ from homeassistant.const import ( CONF_HOST, CONF_PASSWORD, CONF_USERNAME, CONF_PORT) -REQUIREMENTS = ['pexpect==4.6.0'] - _LOGGER = logging.getLogger(__name__) DEFAULT_SSH_PORT = 22 diff --git a/homeassistant/components/upc_connect/device_tracker.py b/homeassistant/components/upc_connect/device_tracker.py index 4a583b834..4b4c32182 100644 --- a/homeassistant/components/upc_connect/device_tracker.py +++ b/homeassistant/components/upc_connect/device_tracker.py @@ -13,8 +13,6 @@ from homeassistant.const import CONF_HOST, HTTP_HEADER_X_REQUESTED_WITH from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['defusedxml==0.5.0'] - _LOGGER = logging.getLogger(__name__) CMD_DEVICES = 123 diff --git a/homeassistant/components/upcloud/__init__.py b/homeassistant/components/upcloud/__init__.py index 7981cf948..ea964c902 100644 --- a/homeassistant/components/upcloud/__init__.py +++ b/homeassistant/components/upcloud/__init__.py @@ -14,8 +14,6 @@ from homeassistant.helpers.dispatcher import ( from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['upcloud-api==0.4.3'] - _LOGGER = logging.getLogger(__name__) ATTR_CORE_NUMBER = 'core_number' diff --git a/homeassistant/components/upcloud/binary_sensor.py b/homeassistant/components/upcloud/binary_sensor.py index a0c3c9f34..e959f54f2 100644 --- a/homeassistant/components/upcloud/binary_sensor.py +++ b/homeassistant/components/upcloud/binary_sensor.py @@ -11,8 +11,6 @@ from . import CONF_SERVERS, DATA_UPCLOUD, UpCloudServerEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['upcloud'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_SERVERS): vol.All(cv.ensure_list, [cv.string]), }) diff --git a/homeassistant/components/upcloud/switch.py b/homeassistant/components/upcloud/switch.py index 7e84adccf..ee1c1498f 100644 --- a/homeassistant/components/upcloud/switch.py +++ b/homeassistant/components/upcloud/switch.py @@ -11,8 +11,6 @@ from . import CONF_SERVERS, DATA_UPCLOUD, UpCloudServerEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['upcloud'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_SERVERS): vol.All(cv.ensure_list, [cv.string]), }) diff --git a/homeassistant/components/updater/__init__.py b/homeassistant/components/updater/__init__.py index cb2646ea9..95b137241 100644 --- a/homeassistant/components/updater/__init__.py +++ b/homeassistant/components/updater/__init__.py @@ -18,8 +18,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['distro==1.4.0'] - _LOGGER = logging.getLogger(__name__) ATTR_RELEASE_NOTES = 'release_notes' diff --git a/homeassistant/components/upnp/__init__.py b/homeassistant/components/upnp/__init__.py index 5f4abcb24..01f6d6159 100644 --- a/homeassistant/components/upnp/__init__.py +++ b/homeassistant/components/upnp/__init__.py @@ -23,8 +23,6 @@ from .const import DOMAIN from .const import LOGGER as _LOGGER from .device import Device -REQUIREMENTS = ['async-upnp-client==0.14.7'] - NOTIFICATION_ID = 'upnp_notification' NOTIFICATION_TITLE = 'UPnP/IGD Setup' diff --git a/homeassistant/components/upnp/sensor.py b/homeassistant/components/upnp/sensor.py index 86bcee879..411d529b3 100644 --- a/homeassistant/components/upnp/sensor.py +++ b/homeassistant/components/upnp/sensor.py @@ -12,8 +12,6 @@ from .const import DOMAIN as DOMAIN_UPNP, SIGNAL_REMOVE_SENSOR _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['upnp'] - BYTES_RECEIVED = 'bytes_received' BYTES_SENT = 'bytes_sent' PACKETS_RECEIVED = 'packets_received' diff --git a/homeassistant/components/ups/sensor.py b/homeassistant/components/ups/sensor.py index 3ed82de41..55451d4bb 100644 --- a/homeassistant/components/ups/sensor.py +++ b/homeassistant/components/ups/sensor.py @@ -15,8 +15,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle, slugify from homeassistant.util.dt import now, parse_date -REQUIREMENTS = ['upsmychoice==1.0.6'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'ups' diff --git a/homeassistant/components/uptimerobot/binary_sensor.py b/homeassistant/components/uptimerobot/binary_sensor.py index 8e11966b6..90b71c026 100644 --- a/homeassistant/components/uptimerobot/binary_sensor.py +++ b/homeassistant/components/uptimerobot/binary_sensor.py @@ -8,8 +8,6 @@ from homeassistant.components.binary_sensor import ( from homeassistant.const import ATTR_ATTRIBUTION, CONF_API_KEY import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyuptimerobot==0.0.5'] - _LOGGER = logging.getLogger(__name__) ATTR_TARGET = 'target' diff --git a/homeassistant/components/uscis/sensor.py b/homeassistant/components/uscis/sensor.py index 501c6c966..59b37c7ea 100644 --- a/homeassistant/components/uscis/sensor.py +++ b/homeassistant/components/uscis/sensor.py @@ -13,8 +13,6 @@ from homeassistant.const import CONF_FRIENDLY_NAME _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['uscisstatus==0.1.1'] - DEFAULT_NAME = "USCIS" PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/usgs_earthquakes_feed/geo_location.py b/homeassistant/components/usgs_earthquakes_feed/geo_location.py index 1d11b1971..60d1f6925 100644 --- a/homeassistant/components/usgs_earthquakes_feed/geo_location.py +++ b/homeassistant/components/usgs_earthquakes_feed/geo_location.py @@ -16,8 +16,6 @@ from homeassistant.helpers.dispatcher import ( async_dispatcher_connect, dispatcher_send) from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['geojson_client==0.3'] - _LOGGER = logging.getLogger(__name__) ATTR_ALERT = 'alert' diff --git a/homeassistant/components/usps/__init__.py b/homeassistant/components/usps/__init__.py index 8a7d7d522..eb2882d2a 100644 --- a/homeassistant/components/usps/__init__.py +++ b/homeassistant/components/usps/__init__.py @@ -10,8 +10,6 @@ from homeassistant.helpers import (config_validation as cv, discovery) from homeassistant.util import Throttle from homeassistant.util.dt import now -REQUIREMENTS = ['myusps==1.3.2'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'usps' diff --git a/homeassistant/components/usps/camera.py b/homeassistant/components/usps/camera.py index 5b5eaca4c..cd0a21651 100644 --- a/homeassistant/components/usps/camera.py +++ b/homeassistant/components/usps/camera.py @@ -8,8 +8,6 @@ from . import DATA_USPS _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['usps'] - SCAN_INTERVAL = timedelta(seconds=10) diff --git a/homeassistant/components/usps/sensor.py b/homeassistant/components/usps/sensor.py index 3e5fea5c4..4580978da 100644 --- a/homeassistant/components/usps/sensor.py +++ b/homeassistant/components/usps/sensor.py @@ -11,8 +11,6 @@ from . import DATA_USPS _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['usps'] - STATUS_DELIVERED = 'delivered' diff --git a/homeassistant/components/uvc/camera.py b/homeassistant/components/uvc/camera.py index 652510540..423c27e07 100644 --- a/homeassistant/components/uvc/camera.py +++ b/homeassistant/components/uvc/camera.py @@ -10,8 +10,6 @@ from homeassistant.components.camera import Camera, PLATFORM_SCHEMA import homeassistant.helpers.config_validation as cv from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['uvcclient==0.11.0'] - _LOGGER = logging.getLogger(__name__) CONF_NVR = 'nvr' diff --git a/homeassistant/components/vacuum/__init__.py b/homeassistant/components/vacuum/__init__.py index 02266986c..0e44d494b 100644 --- a/homeassistant/components/vacuum/__init__.py +++ b/homeassistant/components/vacuum/__init__.py @@ -20,8 +20,6 @@ from homeassistant.helpers.icon import icon_for_battery_level _LOGGER = logging.getLogger(__name__) DOMAIN = 'vacuum' -DEPENDENCIES = ['group'] - SCAN_INTERVAL = timedelta(seconds=20) GROUP_NAME_ALL_VACUUMS = 'all vacuum cleaners' diff --git a/homeassistant/components/vasttrafik/sensor.py b/homeassistant/components/vasttrafik/sensor.py index d8e9f1e76..45279fa89 100644 --- a/homeassistant/components/vasttrafik/sensor.py +++ b/homeassistant/components/vasttrafik/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import CONF_NAME, ATTR_ATTRIBUTION from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['vtjp==0.1.14'] - _LOGGER = logging.getLogger(__name__) ATTR_ACCESSIBILITY = 'accessibility' diff --git a/homeassistant/components/velbus/__init__.py b/homeassistant/components/velbus/__init__.py index 4e808dc21..73cd0d734 100644 --- a/homeassistant/components/velbus/__init__.py +++ b/homeassistant/components/velbus/__init__.py @@ -7,8 +7,6 @@ from homeassistant.const import EVENT_HOMEASSISTANT_STOP, CONF_PORT from homeassistant.helpers.discovery import load_platform from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['python-velbus==2.0.22'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'velbus' diff --git a/homeassistant/components/velbus/binary_sensor.py b/homeassistant/components/velbus/binary_sensor.py index cbe1350bd..82a1c5568 100644 --- a/homeassistant/components/velbus/binary_sensor.py +++ b/homeassistant/components/velbus/binary_sensor.py @@ -7,8 +7,6 @@ from . import DOMAIN as VELBUS_DOMAIN, VelbusEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['velbus'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/velbus/climate.py b/homeassistant/components/velbus/climate.py index 470524bb6..0471e5b87 100644 --- a/homeassistant/components/velbus/climate.py +++ b/homeassistant/components/velbus/climate.py @@ -10,8 +10,6 @@ from . import DOMAIN as VELBUS_DOMAIN, VelbusEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['velbus'] - SUPPORT_FLAGS = (SUPPORT_TARGET_TEMPERATURE) diff --git a/homeassistant/components/velbus/cover.py b/homeassistant/components/velbus/cover.py index b176ab76c..fb9cea934 100644 --- a/homeassistant/components/velbus/cover.py +++ b/homeassistant/components/velbus/cover.py @@ -24,8 +24,6 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_COVERS): cv.schema_with_slug_keys(COVER_SCHEMA), }) -DEPENDENCIES = ['velbus'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up cover controlled by Velbus.""" diff --git a/homeassistant/components/velbus/sensor.py b/homeassistant/components/velbus/sensor.py index ad78a795a..b8287aef4 100644 --- a/homeassistant/components/velbus/sensor.py +++ b/homeassistant/components/velbus/sensor.py @@ -5,8 +5,6 @@ from . import DOMAIN as VELBUS_DOMAIN, VelbusEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['velbus'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/velbus/switch.py b/homeassistant/components/velbus/switch.py index b5ef89ca4..0835e2bd2 100644 --- a/homeassistant/components/velbus/switch.py +++ b/homeassistant/components/velbus/switch.py @@ -7,8 +7,6 @@ from . import DOMAIN as VELBUS_DOMAIN, VelbusEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['velbus'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/velux/__init__.py b/homeassistant/components/velux/__init__.py index a46f62dbd..1a1444f22 100644 --- a/homeassistant/components/velux/__init__.py +++ b/homeassistant/components/velux/__init__.py @@ -12,8 +12,6 @@ DATA_VELUX = "data_velux" SUPPORTED_DOMAINS = ['cover', 'scene'] _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['pyvlx==0.2.10'] - CONFIG_SCHEMA = vol.Schema({ DOMAIN: vol.Schema({ vol.Required(CONF_HOST): cv.string, diff --git a/homeassistant/components/velux/cover.py b/homeassistant/components/velux/cover.py index 1893909b7..3c1b6ecb1 100644 --- a/homeassistant/components/velux/cover.py +++ b/homeassistant/components/velux/cover.py @@ -6,8 +6,6 @@ from homeassistant.core import callback from . import DATA_VELUX -DEPENDENCIES = ['velux'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/velux/scene.py b/homeassistant/components/velux/scene.py index 614d3f349..f33296780 100644 --- a/homeassistant/components/velux/scene.py +++ b/homeassistant/components/velux/scene.py @@ -3,8 +3,6 @@ from homeassistant.components.scene import Scene from . import _LOGGER, DATA_VELUX -DEPENDENCIES = ['velux'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/venstar/climate.py b/homeassistant/components/venstar/climate.py index f3e7542af..68b6ff888 100644 --- a/homeassistant/components/venstar/climate.py +++ b/homeassistant/components/venstar/climate.py @@ -17,8 +17,6 @@ from homeassistant.const import ( TEMP_FAHRENHEIT) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['venstarcolortouch==0.6'] - _LOGGER = logging.getLogger(__name__) ATTR_FAN_STATE = 'fan_state' diff --git a/homeassistant/components/vera/__init__.py b/homeassistant/components/vera/__init__.py index 3f4c66d23..1c5d9f811 100644 --- a/homeassistant/components/vera/__init__.py +++ b/homeassistant/components/vera/__init__.py @@ -14,8 +14,6 @@ from homeassistant.const import ( EVENT_HOMEASSISTANT_STOP, CONF_LIGHTS, CONF_EXCLUDE) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['pyvera==0.2.45'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'vera' diff --git a/homeassistant/components/vera/binary_sensor.py b/homeassistant/components/vera/binary_sensor.py index c81fa3193..7482e39e7 100644 --- a/homeassistant/components/vera/binary_sensor.py +++ b/homeassistant/components/vera/binary_sensor.py @@ -6,8 +6,6 @@ from homeassistant.components.binary_sensor import ( from . import VERA_CONTROLLER, VERA_DEVICES, VeraDevice -DEPENDENCIES = ['vera'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vera/climate.py b/homeassistant/components/vera/climate.py index f8ff9c21b..dba074f73 100644 --- a/homeassistant/components/vera/climate.py +++ b/homeassistant/components/vera/climate.py @@ -11,8 +11,6 @@ from homeassistant.util import convert from . import VERA_CONTROLLER, VERA_DEVICES, VeraDevice -DEPENDENCIES = ['vera'] - _LOGGER = logging.getLogger(__name__) OPERATION_LIST = [STATE_HEAT, STATE_COOL, STATE_AUTO, STATE_OFF] diff --git a/homeassistant/components/vera/cover.py b/homeassistant/components/vera/cover.py index 4cf2aac3b..ac61a9131 100644 --- a/homeassistant/components/vera/cover.py +++ b/homeassistant/components/vera/cover.py @@ -6,8 +6,6 @@ from homeassistant.components.cover import ( from . import VERA_CONTROLLER, VERA_DEVICES, VeraDevice -DEPENDENCIES = ['vera'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/vera/light.py b/homeassistant/components/vera/light.py index e4e315bb5..4ea9ad440 100644 --- a/homeassistant/components/vera/light.py +++ b/homeassistant/components/vera/light.py @@ -10,8 +10,6 @@ from . import VERA_CONTROLLER, VERA_DEVICES, VeraDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['vera'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Vera lights.""" diff --git a/homeassistant/components/vera/lock.py b/homeassistant/components/vera/lock.py index 5ace07b87..9ceb06d8a 100644 --- a/homeassistant/components/vera/lock.py +++ b/homeassistant/components/vera/lock.py @@ -8,8 +8,6 @@ from . import VERA_CONTROLLER, VERA_DEVICES, VeraDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['vera'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Find and return Vera locks.""" diff --git a/homeassistant/components/vera/scene.py b/homeassistant/components/vera/scene.py index 5000f9bc5..f3659fa3e 100644 --- a/homeassistant/components/vera/scene.py +++ b/homeassistant/components/vera/scene.py @@ -8,8 +8,6 @@ from . import VERA_CONTROLLER, VERA_ID_FORMAT, VERA_SCENES _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['vera'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Vera scenes.""" diff --git a/homeassistant/components/vera/sensor.py b/homeassistant/components/vera/sensor.py index 3c026046b..caec102eb 100644 --- a/homeassistant/components/vera/sensor.py +++ b/homeassistant/components/vera/sensor.py @@ -11,8 +11,6 @@ from . import VERA_CONTROLLER, VERA_DEVICES, VeraDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['vera'] - SCAN_INTERVAL = timedelta(seconds=5) diff --git a/homeassistant/components/vera/switch.py b/homeassistant/components/vera/switch.py index f422e49bf..0f7654c97 100644 --- a/homeassistant/components/vera/switch.py +++ b/homeassistant/components/vera/switch.py @@ -8,8 +8,6 @@ from . import VERA_CONTROLLER, VERA_DEVICES, VeraDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['vera'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Vera switches.""" diff --git a/homeassistant/components/verisure/__init__.py b/homeassistant/components/verisure/__init__.py index 393a40660..195f065ee 100644 --- a/homeassistant/components/verisure/__init__.py +++ b/homeassistant/components/verisure/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers import discovery from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['vsure==1.5.2', 'jsonpath==0.75'] - _LOGGER = logging.getLogger(__name__) ATTR_DEVICE_SERIAL = 'device_serial' diff --git a/homeassistant/components/version/sensor.py b/homeassistant/components/version/sensor.py index 7c8f2b166..6aed6da17 100644 --- a/homeassistant/components/version/sensor.py +++ b/homeassistant/components/version/sensor.py @@ -11,8 +11,6 @@ from homeassistant.const import CONF_NAME, CONF_SOURCE from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['pyhaversion==2.2.0'] - _LOGGER = logging.getLogger(__name__) ALL_IMAGES = [ diff --git a/homeassistant/components/vesync/switch.py b/homeassistant/components/vesync/switch.py index d37728624..d8fa3d317 100644 --- a/homeassistant/components/vesync/switch.py +++ b/homeassistant/components/vesync/switch.py @@ -6,8 +6,6 @@ from homeassistant.const import (CONF_USERNAME, CONF_PASSWORD) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyvesync_v2==0.9.6'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/vizio/media_player.py b/homeassistant/components/vizio/media_player.py index bab54c68a..7b47a3883 100644 --- a/homeassistant/components/vizio/media_player.py +++ b/homeassistant/components/vizio/media_player.py @@ -15,8 +15,6 @@ from homeassistant.const import ( CONF_ACCESS_TOKEN, CONF_HOST, CONF_NAME, STATE_OFF, STATE_ON) from homeassistant.helpers import config_validation as cv -REQUIREMENTS = ['pyvizio==0.0.4'] - _LOGGER = logging.getLogger(__name__) CONF_SUPPRESS_WARNING = 'suppress_warning' diff --git a/homeassistant/components/vlc/media_player.py b/homeassistant/components/vlc/media_player.py index 41f9b5b16..be930d02b 100644 --- a/homeassistant/components/vlc/media_player.py +++ b/homeassistant/components/vlc/media_player.py @@ -13,8 +13,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['python-vlc==1.1.2'] - _LOGGER = logging.getLogger(__name__) CONF_ARGUMENTS = 'arguments' diff --git a/homeassistant/components/volkszaehler/sensor.py b/homeassistant/components/volkszaehler/sensor.py index 5b808ff3c..550dc395e 100644 --- a/homeassistant/components/volkszaehler/sensor.py +++ b/homeassistant/components/volkszaehler/sensor.py @@ -14,8 +14,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['volkszaehler==0.1.2'] - _LOGGER = logging.getLogger(__name__) CONF_UUID = 'uuid' diff --git a/homeassistant/components/volvooncall/__init__.py b/homeassistant/components/volvooncall/__init__.py index 36e395933..88ab41994 100644 --- a/homeassistant/components/volvooncall/__init__.py +++ b/homeassistant/components/volvooncall/__init__.py @@ -21,8 +21,6 @@ DOMAIN = 'volvooncall' DATA_KEY = DOMAIN -REQUIREMENTS = ['volvooncall==0.8.7'] - _LOGGER = logging.getLogger(__name__) MIN_UPDATE_INTERVAL = timedelta(minutes=1) diff --git a/homeassistant/components/vultr/__init__.py b/homeassistant/components/vultr/__init__.py index 9f2efabd4..d7f5b3050 100644 --- a/homeassistant/components/vultr/__init__.py +++ b/homeassistant/components/vultr/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import CONF_API_KEY from homeassistant.util import Throttle import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['vultr==0.1.2'] - _LOGGER = logging.getLogger(__name__) ATTR_AUTO_BACKUPS = 'auto_backups' diff --git a/homeassistant/components/vultr/binary_sensor.py b/homeassistant/components/vultr/binary_sensor.py index 87e8e93bd..087f38b77 100644 --- a/homeassistant/components/vultr/binary_sensor.py +++ b/homeassistant/components/vultr/binary_sensor.py @@ -18,8 +18,6 @@ _LOGGER = logging.getLogger(__name__) DEFAULT_DEVICE_CLASS = 'power' DEFAULT_NAME = 'Vultr {}' -DEPENDENCIES = ['vultr'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_SUBSCRIPTION): cv.string, vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string diff --git a/homeassistant/components/vultr/sensor.py b/homeassistant/components/vultr/sensor.py index f7e03ddda..4f9692fe5 100644 --- a/homeassistant/components/vultr/sensor.py +++ b/homeassistant/components/vultr/sensor.py @@ -15,8 +15,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Vultr {} {}' -DEPENDENCIES = ['vultr'] - MONITORED_CONDITIONS = { ATTR_CURRENT_BANDWIDTH_USED: ['Current Bandwidth Used', 'GB', 'mdi:chart-histogram'], diff --git a/homeassistant/components/vultr/switch.py b/homeassistant/components/vultr/switch.py index 502aaf9da..33eeafbab 100644 --- a/homeassistant/components/vultr/switch.py +++ b/homeassistant/components/vultr/switch.py @@ -16,8 +16,6 @@ from . import ( _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Vultr {}' -DEPENDENCIES = ['vultr'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_SUBSCRIPTION): cv.string, vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string, diff --git a/homeassistant/components/w800rf32/__init__.py b/homeassistant/components/w800rf32/__init__.py index d2c0cf6b9..920a90fbc 100644 --- a/homeassistant/components/w800rf32/__init__.py +++ b/homeassistant/components/w800rf32/__init__.py @@ -10,8 +10,6 @@ from homeassistant.const import (CONF_DEVICE, import homeassistant.helpers.config_validation as cv from homeassistant.helpers.dispatcher import (dispatcher_send) -REQUIREMENTS = ['pyW800rf32==0.1'] - DATA_W800RF32 = 'data_w800rf32' DOMAIN = 'w800rf32' diff --git a/homeassistant/components/w800rf32/binary_sensor.py b/homeassistant/components/w800rf32/binary_sensor.py index c94248349..caa3771b8 100644 --- a/homeassistant/components/w800rf32/binary_sensor.py +++ b/homeassistant/components/w800rf32/binary_sensor.py @@ -15,7 +15,6 @@ from . import W800RF32_DEVICE _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['w800rf32'] CONF_OFF_DELAY = 'off_delay' PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/wake_on_lan/__init__.py b/homeassistant/components/wake_on_lan/__init__.py index e6e12ef0a..064568cdf 100644 --- a/homeassistant/components/wake_on_lan/__init__.py +++ b/homeassistant/components/wake_on_lan/__init__.py @@ -7,8 +7,6 @@ import voluptuous as vol from homeassistant.const import CONF_MAC import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['wakeonlan==1.1.6'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'wake_on_lan' diff --git a/homeassistant/components/wake_on_lan/switch.py b/homeassistant/components/wake_on_lan/switch.py index c81a476f0..e08e531a6 100644 --- a/homeassistant/components/wake_on_lan/switch.py +++ b/homeassistant/components/wake_on_lan/switch.py @@ -10,8 +10,6 @@ from homeassistant.const import CONF_HOST, CONF_NAME import homeassistant.helpers.config_validation as cv from homeassistant.helpers.script import Script -REQUIREMENTS = ['wakeonlan==1.1.6'] - _LOGGER = logging.getLogger(__name__) CONF_BROADCAST_ADDRESS = 'broadcast_address' diff --git a/homeassistant/components/waqi/sensor.py b/homeassistant/components/waqi/sensor.py index f3000890d..451b81735 100644 --- a/homeassistant/components/waqi/sensor.py +++ b/homeassistant/components/waqi/sensor.py @@ -14,8 +14,6 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession from homeassistant.helpers.config_validation import PLATFORM_SCHEMA from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['waqiasync==1.0.0'] - _LOGGER = logging.getLogger(__name__) ATTR_DOMINENTPOL = 'dominentpol' diff --git a/homeassistant/components/waterfurnace/__init__.py b/homeassistant/components/waterfurnace/__init__.py index 38fd44cd1..848037f58 100644 --- a/homeassistant/components/waterfurnace/__init__.py +++ b/homeassistant/components/waterfurnace/__init__.py @@ -13,8 +13,6 @@ from homeassistant.core import callback from homeassistant.helpers import config_validation as cv from homeassistant.helpers import discovery -REQUIREMENTS = ['waterfurnace==1.1.0'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'waterfurnace' diff --git a/homeassistant/components/watson_iot/__init__.py b/homeassistant/components/watson_iot/__init__.py index e9a907ee6..cefce56de 100644 --- a/homeassistant/components/watson_iot/__init__.py +++ b/homeassistant/components/watson_iot/__init__.py @@ -13,8 +13,6 @@ from homeassistant.const import ( from homeassistant.helpers import state as state_helper import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['ibmiotf==0.3.4'] - _LOGGER = logging.getLogger(__name__) CONF_ORG = 'organization' diff --git a/homeassistant/components/waze_travel_time/sensor.py b/homeassistant/components/waze_travel_time/sensor.py index 984a58008..282637b15 100644 --- a/homeassistant/components/waze_travel_time/sensor.py +++ b/homeassistant/components/waze_travel_time/sensor.py @@ -13,8 +13,6 @@ from homeassistant.helpers import location from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['WazeRouteCalculator==0.9'] - _LOGGER = logging.getLogger(__name__) ATTR_DURATION = 'duration' diff --git a/homeassistant/components/webhook/__init__.py b/homeassistant/components/webhook/__init__.py index 59be3ab18..7d8dda06e 100644 --- a/homeassistant/components/webhook/__init__.py +++ b/homeassistant/components/webhook/__init__.py @@ -12,8 +12,6 @@ from homeassistant.components.http.view import HomeAssistantView _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['http'] - DOMAIN = 'webhook' URL_WEBHOOK_PATH = "/api/webhook/{webhook_id}" diff --git a/homeassistant/components/webostv/media_player.py b/homeassistant/components/webostv/media_player.py index 35c3c4566..fa62e29f2 100644 --- a/homeassistant/components/webostv/media_player.py +++ b/homeassistant/components/webostv/media_player.py @@ -21,8 +21,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv from homeassistant.helpers.script import Script -REQUIREMENTS = ['pylgtv==0.1.9', 'websockets==6.0'] - _CONFIGURING = {} # type: Dict[str, str] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/webostv/notify.py b/homeassistant/components/webostv/notify.py index 5887586df..d8b1d04f8 100644 --- a/homeassistant/components/webostv/notify.py +++ b/homeassistant/components/webostv/notify.py @@ -8,8 +8,6 @@ from homeassistant.components.notify import ( ATTR_DATA, BaseNotificationService, PLATFORM_SCHEMA) from homeassistant.const import (CONF_FILENAME, CONF_HOST, CONF_ICON) -REQUIREMENTS = ['pylgtv==0.1.9'] - _LOGGER = logging.getLogger(__name__) WEBOSTV_CONFIG_FILE = 'webostv.conf' diff --git a/homeassistant/components/wemo/__init__.py b/homeassistant/components/wemo/__init__.py index 709b3ec86..017538b93 100644 --- a/homeassistant/components/wemo/__init__.py +++ b/homeassistant/components/wemo/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers import discovery from homeassistant.const import ( EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP) -REQUIREMENTS = ['pywemo==0.4.34'] - DOMAIN = 'wemo' # Mapping from Wemo model_name to component. diff --git a/homeassistant/components/wemo/binary_sensor.py b/homeassistant/components/wemo/binary_sensor.py index 6606a5bd6..d72719034 100644 --- a/homeassistant/components/wemo/binary_sensor.py +++ b/homeassistant/components/wemo/binary_sensor.py @@ -10,8 +10,6 @@ from homeassistant.exceptions import PlatformNotReady from . import SUBSCRIPTION_REGISTRY -DEPENDENCIES = ['wemo'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wemo/fan.py b/homeassistant/components/wemo/fan.py index c5f3c0a16..f635010d9 100644 --- a/homeassistant/components/wemo/fan.py +++ b/homeassistant/components/wemo/fan.py @@ -16,7 +16,6 @@ from homeassistant.const import ATTR_ENTITY_ID from . import SUBSCRIPTION_REGISTRY -DEPENDENCIES = ['wemo'] SCAN_INTERVAL = timedelta(seconds=10) DATA_KEY = 'fan.wemo' diff --git a/homeassistant/components/wemo/light.py b/homeassistant/components/wemo/light.py index ff7185cbf..2429bca89 100644 --- a/homeassistant/components/wemo/light.py +++ b/homeassistant/components/wemo/light.py @@ -15,8 +15,6 @@ import homeassistant.util.color as color_util from . import SUBSCRIPTION_REGISTRY -DEPENDENCIES = ['wemo'] - MIN_TIME_BETWEEN_SCANS = timedelta(seconds=10) MIN_TIME_BETWEEN_FORCED_SCANS = timedelta(milliseconds=100) diff --git a/homeassistant/components/wemo/switch.py b/homeassistant/components/wemo/switch.py index 21d4cb649..b8967cead 100644 --- a/homeassistant/components/wemo/switch.py +++ b/homeassistant/components/wemo/switch.py @@ -14,7 +14,6 @@ from homeassistant.const import ( from . import SUBSCRIPTION_REGISTRY -DEPENDENCIES = ['wemo'] SCAN_INTERVAL = timedelta(seconds=10) _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/whois/sensor.py b/homeassistant/components/whois/sensor.py index e36bdea08..5a369190c 100644 --- a/homeassistant/components/whois/sensor.py +++ b/homeassistant/components/whois/sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import CONF_NAME import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['python-whois==0.7.1'] - _LOGGER = logging.getLogger(__name__) CONF_DOMAIN = 'domain' diff --git a/homeassistant/components/wink/__init__.py b/homeassistant/components/wink/__init__.py index 2b03d7711..4e25fc4fd 100644 --- a/homeassistant/components/wink/__init__.py +++ b/homeassistant/components/wink/__init__.py @@ -20,8 +20,6 @@ from homeassistant.helpers.entity_component import EntityComponent from homeassistant.helpers.event import track_time_interval from homeassistant.util.json import load_json, save_json -REQUIREMENTS = ['python-wink==1.10.3', 'pubnubsub-handler==1.0.3'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'wink' diff --git a/homeassistant/components/wink/alarm_control_panel.py b/homeassistant/components/wink/alarm_control_panel.py index 73ca9a3ca..61699c763 100644 --- a/homeassistant/components/wink/alarm_control_panel.py +++ b/homeassistant/components/wink/alarm_control_panel.py @@ -9,8 +9,6 @@ from . import DOMAIN, WinkDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['wink'] - STATE_ALARM_PRIVACY = 'Private' diff --git a/homeassistant/components/wink/binary_sensor.py b/homeassistant/components/wink/binary_sensor.py index f3757d7bf..d8f9163c4 100644 --- a/homeassistant/components/wink/binary_sensor.py +++ b/homeassistant/components/wink/binary_sensor.py @@ -7,8 +7,6 @@ from . import DOMAIN, WinkDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['wink'] - # These are the available sensors mapped to binary_sensor class SENSOR_TYPES = { 'brightness': 'light', diff --git a/homeassistant/components/wink/climate.py b/homeassistant/components/wink/climate.py index f5e75c1fb..fd02fdd4e 100644 --- a/homeassistant/components/wink/climate.py +++ b/homeassistant/components/wink/climate.py @@ -26,8 +26,6 @@ ATTR_TOTAL_CONSUMPTION = 'total_consumption' ATTR_HEAT_ON = 'heat_on' ATTR_COOL_ON = 'cool_on' -DEPENDENCIES = ['wink'] - SPEED_LOW = 'low' SPEED_MEDIUM = 'medium' SPEED_HIGH = 'high' diff --git a/homeassistant/components/wink/cover.py b/homeassistant/components/wink/cover.py index f4c4841c2..b8152adbf 100644 --- a/homeassistant/components/wink/cover.py +++ b/homeassistant/components/wink/cover.py @@ -3,8 +3,6 @@ from homeassistant.components.cover import ATTR_POSITION, CoverDevice from . import DOMAIN, WinkDevice -DEPENDENCIES = ['wink'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Wink cover platform.""" diff --git a/homeassistant/components/wink/fan.py b/homeassistant/components/wink/fan.py index 52a27eb3c..3fb06abc1 100644 --- a/homeassistant/components/wink/fan.py +++ b/homeassistant/components/wink/fan.py @@ -9,8 +9,6 @@ from . import DOMAIN, WinkDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['wink'] - SPEED_AUTO = 'auto' SPEED_LOWEST = 'lowest' SUPPORTED_FEATURES = SUPPORT_DIRECTION + SUPPORT_SET_SPEED diff --git a/homeassistant/components/wink/light.py b/homeassistant/components/wink/light.py index 95747bcc1..0da432f7f 100644 --- a/homeassistant/components/wink/light.py +++ b/homeassistant/components/wink/light.py @@ -8,8 +8,6 @@ from homeassistant.util.color import ( from . import DOMAIN, WinkDevice -DEPENDENCIES = ['wink'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Wink lights.""" diff --git a/homeassistant/components/wink/lock.py b/homeassistant/components/wink/lock.py index 8e6fb9b28..01e038e9d 100644 --- a/homeassistant/components/wink/lock.py +++ b/homeassistant/components/wink/lock.py @@ -10,8 +10,6 @@ import homeassistant.helpers.config_validation as cv from . import DOMAIN, WinkDevice -DEPENDENCIES = ['wink'] - _LOGGER = logging.getLogger(__name__) SERVICE_SET_VACATION_MODE = 'wink_set_lock_vacation_mode' diff --git a/homeassistant/components/wink/scene.py b/homeassistant/components/wink/scene.py index e77402c4d..d0e03ef06 100644 --- a/homeassistant/components/wink/scene.py +++ b/homeassistant/components/wink/scene.py @@ -7,8 +7,6 @@ from . import DOMAIN, WinkDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['wink'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Wink platform.""" diff --git a/homeassistant/components/wink/sensor.py b/homeassistant/components/wink/sensor.py index 3dfd704d5..b23308945 100644 --- a/homeassistant/components/wink/sensor.py +++ b/homeassistant/components/wink/sensor.py @@ -7,8 +7,6 @@ from . import DOMAIN, WinkDevice _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['wink'] - SENSOR_TYPES = ['temperature', 'humidity', 'balance', 'proximity'] diff --git a/homeassistant/components/wink/switch.py b/homeassistant/components/wink/switch.py index 6ee777dd1..1102087ed 100644 --- a/homeassistant/components/wink/switch.py +++ b/homeassistant/components/wink/switch.py @@ -5,8 +5,6 @@ from homeassistant.helpers.entity import ToggleEntity from . import DOMAIN, WinkDevice -DEPENDENCIES = ['wink'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wirelesstag/__init__.py b/homeassistant/components/wirelesstag/__init__.py index 28c8cb4d5..61209a829 100644 --- a/homeassistant/components/wirelesstag/__init__.py +++ b/homeassistant/components/wirelesstag/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.dispatcher import ( dispatcher_send) -REQUIREMENTS = ['wirelesstagpy==0.4.0'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/wirelesstag/binary_sensor.py b/homeassistant/components/wirelesstag/binary_sensor.py index aefa5ed34..7dd3e8df6 100644 --- a/homeassistant/components/wirelesstag/binary_sensor.py +++ b/homeassistant/components/wirelesstag/binary_sensor.py @@ -14,8 +14,6 @@ from . import ( DOMAIN as WIRELESSTAG_DOMAIN, SIGNAL_BINARY_EVENT_UPDATE, WirelessTagBaseSensor) -DEPENDENCIES = ['wirelesstag'] - _LOGGER = logging.getLogger(__name__) # On means in range, Off means out of range diff --git a/homeassistant/components/wirelesstag/sensor.py b/homeassistant/components/wirelesstag/sensor.py index ca26e07b9..bba3f1503 100644 --- a/homeassistant/components/wirelesstag/sensor.py +++ b/homeassistant/components/wirelesstag/sensor.py @@ -12,8 +12,6 @@ from homeassistant.helpers.dispatcher import async_dispatcher_connect from . import ( DOMAIN as WIRELESSTAG_DOMAIN, SIGNAL_TAG_UPDATE, WirelessTagBaseSensor) -DEPENDENCIES = ['wirelesstag'] - _LOGGER = logging.getLogger(__name__) SENSOR_TEMPERATURE = 'temperature' diff --git a/homeassistant/components/wirelesstag/switch.py b/homeassistant/components/wirelesstag/switch.py index 4a2b64acd..c909f10c7 100644 --- a/homeassistant/components/wirelesstag/switch.py +++ b/homeassistant/components/wirelesstag/switch.py @@ -9,8 +9,6 @@ import homeassistant.helpers.config_validation as cv from . import DOMAIN as WIRELESSTAG_DOMAIN, WirelessTagBaseSensor -DEPENDENCIES = ['wirelesstag'] - _LOGGER = logging.getLogger(__name__) ARM_TEMPERATURE = 'temperature' diff --git a/homeassistant/components/workday/binary_sensor.py b/homeassistant/components/workday/binary_sensor.py index b505e0750..73fa8133c 100644 --- a/homeassistant/components/workday/binary_sensor.py +++ b/homeassistant/components/workday/binary_sensor.py @@ -9,8 +9,6 @@ from homeassistant.const import CONF_NAME, WEEKDAYS from homeassistant.components.binary_sensor import BinarySensorDevice import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['holidays==0.9.10'] - _LOGGER = logging.getLogger(__name__) # List of all countries currently supported by holidays diff --git a/homeassistant/components/wunderlist/__init__.py b/homeassistant/components/wunderlist/__init__.py index d67cf089b..5c85c7468 100644 --- a/homeassistant/components/wunderlist/__init__.py +++ b/homeassistant/components/wunderlist/__init__.py @@ -7,8 +7,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.const import ( CONF_NAME, CONF_ACCESS_TOKEN) -REQUIREMENTS = ['wunderpy2==0.1.6'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'wunderlist' diff --git a/homeassistant/components/xbox_live/sensor.py b/homeassistant/components/xbox_live/sensor.py index 9f8a02686..874c16296 100644 --- a/homeassistant/components/xbox_live/sensor.py +++ b/homeassistant/components/xbox_live/sensor.py @@ -8,8 +8,6 @@ from homeassistant.components.sensor import PLATFORM_SCHEMA from homeassistant.const import (CONF_API_KEY, STATE_UNKNOWN) from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['xboxapi==0.1.1'] - _LOGGER = logging.getLogger(__name__) CONF_XUID = 'xuid' diff --git a/homeassistant/components/xeoma/camera.py b/homeassistant/components/xeoma/camera.py index dd0ee4327..60f7ab2c9 100644 --- a/homeassistant/components/xeoma/camera.py +++ b/homeassistant/components/xeoma/camera.py @@ -8,8 +8,6 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, CONF_PASSWORD, CONF_USERNAME) from homeassistant.helpers import config_validation as cv -REQUIREMENTS = ['pyxeoma==1.4.1'] - _LOGGER = logging.getLogger(__name__) CONF_CAMERAS = 'cameras' diff --git a/homeassistant/components/xfinity/device_tracker.py b/homeassistant/components/xfinity/device_tracker.py index 04702355d..bdde65009 100644 --- a/homeassistant/components/xfinity/device_tracker.py +++ b/homeassistant/components/xfinity/device_tracker.py @@ -9,8 +9,6 @@ from homeassistant.components.device_tracker import ( DOMAIN, PLATFORM_SCHEMA, DeviceScanner) from homeassistant.const import CONF_HOST -REQUIREMENTS = ['xfinity-gateway==0.0.4'] - _LOGGER = logging.getLogger(__name__) DEFAULT_HOST = '10.0.0.1' diff --git a/homeassistant/components/xiaomi/camera.py b/homeassistant/components/xiaomi/camera.py index 98e54d2bc..e541936ef 100644 --- a/homeassistant/components/xiaomi/camera.py +++ b/homeassistant/components/xiaomi/camera.py @@ -11,7 +11,6 @@ from homeassistant.const import (CONF_HOST, CONF_NAME, CONF_PATH, from homeassistant.helpers import config_validation as cv from homeassistant.helpers.aiohttp_client import async_aiohttp_proxy_stream -DEPENDENCIES = ['ffmpeg'] _LOGGER = logging.getLogger(__name__) DEFAULT_BRAND = 'Xiaomi Home Camera' diff --git a/homeassistant/components/xiaomi_aqara/__init__.py b/homeassistant/components/xiaomi_aqara/__init__.py index 9b113170f..22a8ec95c 100644 --- a/homeassistant/components/xiaomi_aqara/__init__.py +++ b/homeassistant/components/xiaomi_aqara/__init__.py @@ -16,8 +16,6 @@ from homeassistant.helpers.entity import Entity from homeassistant.helpers.event import async_track_point_in_utc_time from homeassistant.util.dt import utcnow -REQUIREMENTS = ['PyXiaomiGateway==0.12.2'] - _LOGGER = logging.getLogger(__name__) ATTR_GW_MAC = 'gw_mac' diff --git a/homeassistant/components/xiaomi_miio/device_tracker.py b/homeassistant/components/xiaomi_miio/device_tracker.py index e7ea9fbbb..5e5485364 100644 --- a/homeassistant/components/xiaomi_miio/device_tracker.py +++ b/homeassistant/components/xiaomi_miio/device_tracker.py @@ -8,8 +8,6 @@ from homeassistant.components.device_tracker import ( from homeassistant.const import CONF_HOST, CONF_TOKEN import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-miio==0.4.5', 'construct==2.9.45'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/xiaomi_miio/fan.py b/homeassistant/components/xiaomi_miio/fan.py index 51d478016..ea00cd6d9 100644 --- a/homeassistant/components/xiaomi_miio/fan.py +++ b/homeassistant/components/xiaomi_miio/fan.py @@ -13,8 +13,6 @@ from homeassistant.const import (CONF_NAME, CONF_HOST, CONF_TOKEN, from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-miio==0.4.5', 'construct==2.9.45'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Xiaomi Miio Device' diff --git a/homeassistant/components/xiaomi_miio/light.py b/homeassistant/components/xiaomi_miio/light.py index ec07a5573..fa853d1f8 100644 --- a/homeassistant/components/xiaomi_miio/light.py +++ b/homeassistant/components/xiaomi_miio/light.py @@ -17,8 +17,6 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv from homeassistant.util import color, dt -REQUIREMENTS = ['python-miio==0.4.5', 'construct==2.9.45'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Xiaomi Philips Light' diff --git a/homeassistant/components/xiaomi_miio/remote.py b/homeassistant/components/xiaomi_miio/remote.py index 450279c18..7cb0cd684 100644 --- a/homeassistant/components/xiaomi_miio/remote.py +++ b/homeassistant/components/xiaomi_miio/remote.py @@ -17,8 +17,6 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv from homeassistant.util.dt import utcnow -REQUIREMENTS = ['python-miio==0.4.5', 'construct==2.9.45'] - _LOGGER = logging.getLogger(__name__) SERVICE_LEARN = 'xiaomi_miio_learn_command' diff --git a/homeassistant/components/xiaomi_miio/sensor.py b/homeassistant/components/xiaomi_miio/sensor.py index 41d3ce65b..be500f665 100644 --- a/homeassistant/components/xiaomi_miio/sensor.py +++ b/homeassistant/components/xiaomi_miio/sensor.py @@ -9,8 +9,6 @@ from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['python-miio==0.4.5', 'construct==2.9.45'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Xiaomi Miio Sensor' diff --git a/homeassistant/components/xiaomi_miio/switch.py b/homeassistant/components/xiaomi_miio/switch.py index d1acce02e..91924c828 100644 --- a/homeassistant/components/xiaomi_miio/switch.py +++ b/homeassistant/components/xiaomi_miio/switch.py @@ -12,8 +12,6 @@ from homeassistant.const import ( from homeassistant.exceptions import PlatformNotReady import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-miio==0.4.5', 'construct==2.9.45'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Xiaomi Miio Switch' diff --git a/homeassistant/components/xiaomi_miio/vacuum.py b/homeassistant/components/xiaomi_miio/vacuum.py index 2673a5b89..ce527d41e 100644 --- a/homeassistant/components/xiaomi_miio/vacuum.py +++ b/homeassistant/components/xiaomi_miio/vacuum.py @@ -16,8 +16,6 @@ from homeassistant.const import ( ATTR_ENTITY_ID, CONF_HOST, CONF_NAME, CONF_TOKEN, STATE_OFF, STATE_ON) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-miio==0.4.5', 'construct==2.9.45'] - _LOGGER = logging.getLogger(__name__) DEFAULT_NAME = 'Xiaomi Vacuum cleaner' diff --git a/homeassistant/components/xiaomi_tv/media_player.py b/homeassistant/components/xiaomi_tv/media_player.py index 2c8a2e1ea..862ed3bcc 100644 --- a/homeassistant/components/xiaomi_tv/media_player.py +++ b/homeassistant/components/xiaomi_tv/media_player.py @@ -10,8 +10,6 @@ from homeassistant.components.media_player.const import ( from homeassistant.const import CONF_HOST, CONF_NAME, STATE_OFF, STATE_ON import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pymitv==1.4.3'] - DEFAULT_NAME = "Xiaomi TV" _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xmpp/notify.py b/homeassistant/components/xmpp/notify.py index d8036f5ee..79e6edafd 100644 --- a/homeassistant/components/xmpp/notify.py +++ b/homeassistant/components/xmpp/notify.py @@ -17,8 +17,6 @@ import homeassistant.helpers.template as template_helper from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['slixmpp==1.4.2'] - _LOGGER = logging.getLogger(__name__) ATTR_DATA = 'data' diff --git a/homeassistant/components/xs1/__init__.py b/homeassistant/components/xs1/__init__.py index f67eb8fd1..7e245dc81 100644 --- a/homeassistant/components/xs1/__init__.py +++ b/homeassistant/components/xs1/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers import discovery import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity -REQUIREMENTS = ['xs1-api-client==2.3.5'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'xs1' diff --git a/homeassistant/components/xs1/climate.py b/homeassistant/components/xs1/climate.py index 080b87c13..1d12fcc90 100644 --- a/homeassistant/components/xs1/climate.py +++ b/homeassistant/components/xs1/climate.py @@ -8,7 +8,6 @@ from homeassistant.const import ATTR_TEMPERATURE from . import ACTUATORS, DOMAIN as COMPONENT_DOMAIN, SENSORS, XS1DeviceEntity -DEPENDENCIES = ['xs1'] _LOGGER = logging.getLogger(__name__) MIN_TEMP = 8 diff --git a/homeassistant/components/xs1/sensor.py b/homeassistant/components/xs1/sensor.py index f5fdcf1fb..150c2da1f 100644 --- a/homeassistant/components/xs1/sensor.py +++ b/homeassistant/components/xs1/sensor.py @@ -5,7 +5,6 @@ from homeassistant.helpers.entity import Entity from . import ACTUATORS, DOMAIN as COMPONENT_DOMAIN, SENSORS, XS1DeviceEntity -DEPENDENCIES = ['xs1'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/xs1/switch.py b/homeassistant/components/xs1/switch.py index d8b344fc7..2513d888d 100644 --- a/homeassistant/components/xs1/switch.py +++ b/homeassistant/components/xs1/switch.py @@ -7,8 +7,6 @@ from . import ACTUATORS, DOMAIN as COMPONENT_DOMAIN, XS1DeviceEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['xs1'] - async def async_setup_platform( hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/yale_smart_alarm/alarm_control_panel.py b/homeassistant/components/yale_smart_alarm/alarm_control_panel.py index 1a8e03a63..ac1b220b1 100755 --- a/homeassistant/components/yale_smart_alarm/alarm_control_panel.py +++ b/homeassistant/components/yale_smart_alarm/alarm_control_panel.py @@ -10,8 +10,6 @@ from homeassistant.const import ( STATE_ALARM_ARMED_AWAY, STATE_ALARM_ARMED_HOME, STATE_ALARM_DISARMED) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['yalesmartalarmclient==0.1.6'] - CONF_AREA_ID = 'area_id' DEFAULT_NAME = 'Yale Smart Alarm' diff --git a/homeassistant/components/yamaha/media_player.py b/homeassistant/components/yamaha/media_player.py index 53c6b466f..6ccbb1b93 100644 --- a/homeassistant/components/yamaha/media_player.py +++ b/homeassistant/components/yamaha/media_player.py @@ -18,8 +18,6 @@ from homeassistant.const import ( STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['rxv==0.6.0'] - _LOGGER = logging.getLogger(__name__) ATTR_ENABLED = 'enabled' diff --git a/homeassistant/components/yamaha_musiccast/media_player.py b/homeassistant/components/yamaha_musiccast/media_player.py index 94002a4cc..cfca4ae52 100644 --- a/homeassistant/components/yamaha_musiccast/media_player.py +++ b/homeassistant/components/yamaha_musiccast/media_player.py @@ -15,8 +15,6 @@ from homeassistant.const import ( import homeassistant.helpers.config_validation as cv import homeassistant.util.dt as dt_util -REQUIREMENTS = ['pymusiccast==0.1.6'] - _LOGGER = logging.getLogger(__name__) SUPPORTED_FEATURES = ( diff --git a/homeassistant/components/yeelight/__init__.py b/homeassistant/components/yeelight/__init__.py index 9b9778fd5..8c2c9c957 100644 --- a/homeassistant/components/yeelight/__init__.py +++ b/homeassistant/components/yeelight/__init__.py @@ -16,8 +16,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.dispatcher import dispatcher_send from homeassistant.helpers.event import track_time_interval -REQUIREMENTS = ['yeelight==0.4.4'] - _LOGGER = logging.getLogger(__name__) DOMAIN = "yeelight" diff --git a/homeassistant/components/yeelight/binary_sensor.py b/homeassistant/components/yeelight/binary_sensor.py index 0b44966f1..b2a61090a 100644 --- a/homeassistant/components/yeelight/binary_sensor.py +++ b/homeassistant/components/yeelight/binary_sensor.py @@ -6,8 +6,6 @@ from homeassistant.core import callback from homeassistant.helpers.dispatcher import async_dispatcher_connect from . import DATA_YEELIGHT, DATA_UPDATED -DEPENDENCIES = ['yeelight'] - _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/yeelight/light.py b/homeassistant/components/yeelight/light.py index 8aa5c3d73..fa62bdc35 100644 --- a/homeassistant/components/yeelight/light.py +++ b/homeassistant/components/yeelight/light.py @@ -22,8 +22,6 @@ from . import ( YEELIGHT_FLOW_TRANSITION_SCHEMA, ACTION_RECOVER, CONF_FLOW_PARAMS, ATTR_ACTION, ATTR_COUNT) -DEPENDENCIES = ['yeelight'] - _LOGGER = logging.getLogger(__name__) SUPPORT_YEELIGHT = (SUPPORT_BRIGHTNESS | diff --git a/homeassistant/components/yeelightsunflower/light.py b/homeassistant/components/yeelightsunflower/light.py index 925214352..a8636a280 100644 --- a/homeassistant/components/yeelightsunflower/light.py +++ b/homeassistant/components/yeelightsunflower/light.py @@ -10,8 +10,6 @@ from homeassistant.components.light import ( from homeassistant.const import CONF_HOST import homeassistant.util.color as color_util -REQUIREMENTS = ['yeelightsunflower==0.0.10'] - _LOGGER = logging.getLogger(__name__) SUPPORT_YEELIGHT_SUNFLOWER = (SUPPORT_BRIGHTNESS | SUPPORT_COLOR) diff --git a/homeassistant/components/yessssms/notify.py b/homeassistant/components/yessssms/notify.py index c229c361e..5c3af591a 100644 --- a/homeassistant/components/yessssms/notify.py +++ b/homeassistant/components/yessssms/notify.py @@ -9,8 +9,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.components.notify import (PLATFORM_SCHEMA, BaseNotificationService) -REQUIREMENTS = ['YesssSMS==0.2.3'] - _LOGGER = logging.getLogger(__name__) PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/yi/camera.py b/homeassistant/components/yi/camera.py index 7ed36b978..0dbb42c38 100644 --- a/homeassistant/components/yi/camera.py +++ b/homeassistant/components/yi/camera.py @@ -12,8 +12,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers.aiohttp_client import async_aiohttp_proxy_stream from homeassistant.exceptions import PlatformNotReady -REQUIREMENTS = ['aioftp==0.12.0'] -DEPENDENCIES = ['ffmpeg'] _LOGGER = logging.getLogger(__name__) DEFAULT_BRAND = 'YI Home Camera' diff --git a/homeassistant/components/yr/sensor.py b/homeassistant/components/yr/sensor.py index 4c898a7c9..c9f57abf5 100644 --- a/homeassistant/components/yr/sensor.py +++ b/homeassistant/components/yr/sensor.py @@ -20,8 +20,6 @@ from homeassistant.helpers.event import (async_track_utc_time_change, async_call_later) from homeassistant.util import dt as dt_util -REQUIREMENTS = ['xmltodict==0.11.0'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Weather forecast from met.no, delivered by the Norwegian " \ diff --git a/homeassistant/components/yweather/sensor.py b/homeassistant/components/yweather/sensor.py index 129532ceb..fc49d79d1 100644 --- a/homeassistant/components/yweather/sensor.py +++ b/homeassistant/components/yweather/sensor.py @@ -12,8 +12,6 @@ from homeassistant.const import ( from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['yahooweather==0.10'] - _LOGGER = logging.getLogger(__name__) ATTRIBUTION = "Weather details provided by Yahoo! Inc." diff --git a/homeassistant/components/yweather/weather.py b/homeassistant/components/yweather/weather.py index e4eb34a03..4d7986d8a 100644 --- a/homeassistant/components/yweather/weather.py +++ b/homeassistant/components/yweather/weather.py @@ -10,8 +10,6 @@ from homeassistant.components.weather import ( from homeassistant.const import CONF_NAME, STATE_UNKNOWN, TEMP_CELSIUS import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ["yahooweather==0.10"] - _LOGGER = logging.getLogger(__name__) DATA_CONDITION = 'yahoo_condition' diff --git a/homeassistant/components/zabbix/__init__.py b/homeassistant/components/zabbix/__init__.py index f33c60b1c..041f67b37 100644 --- a/homeassistant/components/zabbix/__init__.py +++ b/homeassistant/components/zabbix/__init__.py @@ -8,8 +8,6 @@ from homeassistant.const import ( CONF_PATH, CONF_HOST, CONF_SSL, CONF_PASSWORD, CONF_USERNAME) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pyzabbix==0.7.4'] - _LOGGER = logging.getLogger(__name__) DEFAULT_SSL = False diff --git a/homeassistant/components/zabbix/sensor.py b/homeassistant/components/zabbix/sensor.py index ae2e70ede..004c17657 100644 --- a/homeassistant/components/zabbix/sensor.py +++ b/homeassistant/components/zabbix/sensor.py @@ -11,8 +11,6 @@ from homeassistant.helpers.entity import Entity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zabbix'] - _CONF_TRIGGERS = 'triggers' _CONF_HOSTIDS = 'hostids' _CONF_INDIVIDUAL = 'individual' diff --git a/homeassistant/components/zengge/light.py b/homeassistant/components/zengge/light.py index 8bbd56a48..e066ad9da 100644 --- a/homeassistant/components/zengge/light.py +++ b/homeassistant/components/zengge/light.py @@ -10,8 +10,6 @@ from homeassistant.components.light import ( import homeassistant.helpers.config_validation as cv import homeassistant.util.color as color_util -REQUIREMENTS = ['zengge==0.2'] - _LOGGER = logging.getLogger(__name__) SUPPORT_ZENGGE_LED = (SUPPORT_BRIGHTNESS | SUPPORT_COLOR | SUPPORT_WHITE_VALUE) diff --git a/homeassistant/components/zeroconf/__init__.py b/homeassistant/components/zeroconf/__init__.py index 844246528..d2dcd9078 100644 --- a/homeassistant/components/zeroconf/__init__.py +++ b/homeassistant/components/zeroconf/__init__.py @@ -7,11 +7,8 @@ import voluptuous as vol from homeassistant import util from homeassistant.const import (EVENT_HOMEASSISTANT_STOP, __version__) -REQUIREMENTS = ['zeroconf==0.21.3'] - _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['api'] DOMAIN = 'zeroconf' diff --git a/homeassistant/components/zestimate/sensor.py b/homeassistant/components/zestimate/sensor.py index f69e3b16e..e66aad701 100644 --- a/homeassistant/components/zestimate/sensor.py +++ b/homeassistant/components/zestimate/sensor.py @@ -12,8 +12,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.entity import Entity from homeassistant.util import Throttle -REQUIREMENTS = ['xmltodict==0.11.0'] - _LOGGER = logging.getLogger(__name__) _RESOURCE = 'http://www.zillow.com/webservice/GetZestimate.htm' diff --git a/homeassistant/components/zha/__init__.py b/homeassistant/components/zha/__init__.py index 08362eba0..647601701 100644 --- a/homeassistant/components/zha/__init__.py +++ b/homeassistant/components/zha/__init__.py @@ -20,14 +20,6 @@ from .core.const import ( from .core.patches import apply_cluster_listener_patch from .core.registries import establish_device_mappings -REQUIREMENTS = [ - 'bellows-homeassistant==0.7.2', - 'zigpy-homeassistant==0.3.1', - 'zigpy-xbee-homeassistant==0.1.3', - 'zha-quirks==0.0.7', - 'zigpy-deconz==0.1.3' -] - DEVICE_CONFIG_SCHEMA_ENTRY = vol.Schema({ vol.Optional(ha_const.CONF_TYPE): cv.string, }) diff --git a/homeassistant/components/zha/binary_sensor.py b/homeassistant/components/zha/binary_sensor.py index b4254eb83..e9fa25c25 100644 --- a/homeassistant/components/zha/binary_sensor.py +++ b/homeassistant/components/zha/binary_sensor.py @@ -14,8 +14,6 @@ from .entity import ZhaEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zha'] - # Zigbee Cluster Library Zone Type to Home Assistant device class CLASS_MAPPING = { 0x000d: 'motion', diff --git a/homeassistant/components/zha/fan.py b/homeassistant/components/zha/fan.py index b80834af1..9619049bc 100644 --- a/homeassistant/components/zha/fan.py +++ b/homeassistant/components/zha/fan.py @@ -12,8 +12,6 @@ from .core.const import ( ) from .entity import ZhaEntity -DEPENDENCIES = ['zha'] - _LOGGER = logging.getLogger(__name__) # Additional speeds in zigbee's ZCL diff --git a/homeassistant/components/zha/light.py b/homeassistant/components/zha/light.py index 12bc12c5f..ec840d5ed 100644 --- a/homeassistant/components/zha/light.py +++ b/homeassistant/components/zha/light.py @@ -17,8 +17,6 @@ from .entity import ZhaEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zha'] - DEFAULT_DURATION = 5 CAPABILITIES_COLOR_XY = 0x08 diff --git a/homeassistant/components/zha/sensor.py b/homeassistant/components/zha/sensor.py index 13932d7dd..b6ac70fa1 100644 --- a/homeassistant/components/zha/sensor.py +++ b/homeassistant/components/zha/sensor.py @@ -16,8 +16,6 @@ from .entity import ZhaEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zha'] - # Formatter functions def pass_through_formatter(value): diff --git a/homeassistant/components/zha/switch.py b/homeassistant/components/zha/switch.py index 34c9ab251..7efcbabd7 100644 --- a/homeassistant/components/zha/switch.py +++ b/homeassistant/components/zha/switch.py @@ -13,8 +13,6 @@ from .entity import ZhaEntity _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zha'] - async def async_setup_platform(hass, config, async_add_entities, discovery_info=None): diff --git a/homeassistant/components/zhong_hong/climate.py b/homeassistant/components/zhong_hong/climate.py index 7fd2b9710..d01d10285 100644 --- a/homeassistant/components/zhong_hong/climate.py +++ b/homeassistant/components/zhong_hong/climate.py @@ -14,8 +14,6 @@ import homeassistant.helpers.config_validation as cv from homeassistant.helpers.dispatcher import (async_dispatcher_connect, async_dispatcher_send) -REQUIREMENTS = ['zhong_hong_hvac==1.0.9'] - _LOGGER = logging.getLogger(__name__) CONF_GATEWAY_ADDRRESS = 'gateway_address' diff --git a/homeassistant/components/zigbee/__init__.py b/homeassistant/components/zigbee/__init__.py index 0e2d35878..516ac3453 100644 --- a/homeassistant/components/zigbee/__init__.py +++ b/homeassistant/components/zigbee/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers import config_validation as cv from homeassistant.helpers.dispatcher import ( async_dispatcher_connect, dispatcher_send) -REQUIREMENTS = ['xbee-helper==0.0.7'] - _LOGGER = logging.getLogger(__name__) DOMAIN = 'zigbee' diff --git a/homeassistant/components/zigbee/binary_sensor.py b/homeassistant/components/zigbee/binary_sensor.py index ccf4e70df..8cf7f4d7d 100644 --- a/homeassistant/components/zigbee/binary_sensor.py +++ b/homeassistant/components/zigbee/binary_sensor.py @@ -8,8 +8,6 @@ from . import PLATFORM_SCHEMA, ZigBeeDigitalIn, ZigBeeDigitalInConfig CONF_ON_STATE = 'on_state' DEFAULT_ON_STATE = 'high' -DEPENDENCIES = ['zigbee'] - STATES = ['high', 'low'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/zigbee/light.py b/homeassistant/components/zigbee/light.py index b9be0d893..1ff38af02 100644 --- a/homeassistant/components/zigbee/light.py +++ b/homeassistant/components/zigbee/light.py @@ -8,8 +8,6 @@ from . import PLATFORM_SCHEMA, ZigBeeDigitalOut, ZigBeeDigitalOutConfig CONF_ON_STATE = 'on_state' DEFAULT_ON_STATE = 'high' -DEPENDENCIES = ['zigbee'] - STATES = ['high', 'low'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/zigbee/sensor.py b/homeassistant/components/zigbee/sensor.py index 48301ac97..480064c57 100644 --- a/homeassistant/components/zigbee/sensor.py +++ b/homeassistant/components/zigbee/sensor.py @@ -16,8 +16,6 @@ CONF_TYPE = 'type' CONF_MAX_VOLTS = 'max_volts' DEFAULT_VOLTS = 1.2 -DEPENDENCIES = ['zigbee'] - TYPES = ['analog', 'temperature'] PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ diff --git a/homeassistant/components/zigbee/switch.py b/homeassistant/components/zigbee/switch.py index ddfd47a04..26a9e8fac 100644 --- a/homeassistant/components/zigbee/switch.py +++ b/homeassistant/components/zigbee/switch.py @@ -5,12 +5,10 @@ from homeassistant.components.switch import SwitchDevice from . import PLATFORM_SCHEMA, ZigBeeDigitalOut, ZigBeeDigitalOutConfig -DEPENDENCIES = ['zigbee'] CONF_ON_STATE = 'on_state' DEFAULT_ON_STATE = 'high' -DEPENDENCIES = ['zigbee'] STATES = ['high', 'low'] diff --git a/homeassistant/components/ziggo_mediabox_xl/media_player.py b/homeassistant/components/ziggo_mediabox_xl/media_player.py index 574d08e97..9bbc61869 100644 --- a/homeassistant/components/ziggo_mediabox_xl/media_player.py +++ b/homeassistant/components/ziggo_mediabox_xl/media_player.py @@ -14,8 +14,6 @@ from homeassistant.const import ( CONF_HOST, CONF_NAME, STATE_OFF, STATE_PAUSED, STATE_PLAYING) import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['ziggo-mediabox-xl==1.1.0'] - _LOGGER = logging.getLogger(__name__) DATA_KNOWN_DEVICES = 'ziggo_mediabox_xl_known_devices' diff --git a/homeassistant/components/zoneminder/__init__.py b/homeassistant/components/zoneminder/__init__.py index a4d90d523..4e2585a34 100644 --- a/homeassistant/components/zoneminder/__init__.py +++ b/homeassistant/components/zoneminder/__init__.py @@ -11,8 +11,6 @@ from homeassistant.helpers.discovery import async_load_platform _LOGGER = logging.getLogger(__name__) -REQUIREMENTS = ['zm-py==0.3.3'] - CONF_PATH_ZMS = 'path_zms' DEFAULT_PATH = '/zm/' diff --git a/homeassistant/components/zoneminder/binary_sensor.py b/homeassistant/components/zoneminder/binary_sensor.py index ce59d4573..23196cf57 100644 --- a/homeassistant/components/zoneminder/binary_sensor.py +++ b/homeassistant/components/zoneminder/binary_sensor.py @@ -3,8 +3,6 @@ from homeassistant.components.binary_sensor import BinarySensorDevice from . import DOMAIN as ZONEMINDER_DOMAIN -DEPENDENCIES = ['zoneminder'] - async def async_setup_platform( hass, config, add_entities, discovery_info=None): diff --git a/homeassistant/components/zoneminder/camera.py b/homeassistant/components/zoneminder/camera.py index fe3333fa3..da625e6ee 100644 --- a/homeassistant/components/zoneminder/camera.py +++ b/homeassistant/components/zoneminder/camera.py @@ -9,8 +9,6 @@ from . import DOMAIN as ZONEMINDER_DOMAIN _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zoneminder'] - def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the ZoneMinder cameras.""" diff --git a/homeassistant/components/zoneminder/sensor.py b/homeassistant/components/zoneminder/sensor.py index e205d9214..6a44d335a 100644 --- a/homeassistant/components/zoneminder/sensor.py +++ b/homeassistant/components/zoneminder/sensor.py @@ -12,8 +12,6 @@ from . import DOMAIN as ZONEMINDER_DOMAIN _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zoneminder'] - CONF_INCLUDE_ARCHIVED = "include_archived" DEFAULT_INCLUDE_ARCHIVED = False diff --git a/homeassistant/components/zoneminder/switch.py b/homeassistant/components/zoneminder/switch.py index 78e72c5fd..d70ba8f8f 100644 --- a/homeassistant/components/zoneminder/switch.py +++ b/homeassistant/components/zoneminder/switch.py @@ -11,8 +11,6 @@ from . import DOMAIN as ZONEMINDER_DOMAIN _LOGGER = logging.getLogger(__name__) -DEPENDENCIES = ['zoneminder'] - PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ vol.Required(CONF_COMMAND_ON): cv.string, vol.Required(CONF_COMMAND_OFF): cv.string, diff --git a/homeassistant/components/zwave/__init__.py b/homeassistant/components/zwave/__init__.py index 2d575d996..3240e389b 100644 --- a/homeassistant/components/zwave/__init__.py +++ b/homeassistant/components/zwave/__init__.py @@ -37,8 +37,6 @@ from .discovery_schemas import DISCOVERY_SCHEMAS from .util import (check_node_schema, check_value_schema, node_name, check_has_unique_id, is_node_parsed) -REQUIREMENTS = ['pydispatcher==2.0.5', 'homeassistant-pyozw==0.1.4'] - _LOGGER = logging.getLogger(__name__) CLASS_ID = 'class_id'