diff --git a/homeassistant/components/acer_projector/switch.py b/homeassistant/components/acer_projector/switch.py index 7abb3d1edb..df6fb8816a 100644 --- a/homeassistant/components/acer_projector/switch.py +++ b/homeassistant/components/acer_projector/switch.py @@ -1,9 +1,4 @@ -""" -Use serial protocol of Acer projector to obtain state of the projector. - -For more details about this component, please refer to the documentation -at https://home-assistant.io/components/switch.acer_projector/ -""" +"""Use serial protocol of Acer projector to obtain state of the projector.""" import logging import re diff --git a/homeassistant/components/actiontec/device_tracker.py b/homeassistant/components/actiontec/device_tracker.py index 72d9992c60..3f0c878679 100644 --- a/homeassistant/components/actiontec/device_tracker.py +++ b/homeassistant/components/actiontec/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for Actiontec MI424WR (Verizon FIOS) routers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.actiontec/ -""" +"""Support for Actiontec MI424WR (Verizon FIOS) routers.""" import logging import re import telnetlib diff --git a/homeassistant/components/aftership/sensor.py b/homeassistant/components/aftership/sensor.py index eb5188a95c..18bc3cb343 100644 --- a/homeassistant/components/aftership/sensor.py +++ b/homeassistant/components/aftership/sensor.py @@ -1,9 +1,4 @@ -""" -Support for non-delivered packages recorded in AfterShip. - -For more details about this platform, please refer to the documentation at -https://www.home-assistant.io/components/sensor.aftership/ -""" +"""Support for non-delivered packages recorded in AfterShip.""" from datetime import timedelta import logging diff --git a/homeassistant/components/air_quality/__init__.py b/homeassistant/components/air_quality/__init__.py index 66af51efcb..87d5c3b6bd 100644 --- a/homeassistant/components/air_quality/__init__.py +++ b/homeassistant/components/air_quality/__init__.py @@ -1,9 +1,4 @@ -""" -Component for handling Air Quality data for your location. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/air_quality/ -""" +"""Component for handling Air Quality data for your location.""" from datetime import timedelta import logging diff --git a/homeassistant/components/airvisual/sensor.py b/homeassistant/components/airvisual/sensor.py index b9e7a3315e..7fad7bb35b 100644 --- a/homeassistant/components/airvisual/sensor.py +++ b/homeassistant/components/airvisual/sensor.py @@ -1,9 +1,4 @@ -""" -Support for AirVisual air quality sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.airvisual/ -""" +"""Support for AirVisual air quality sensors.""" from logging import getLogger from datetime import timedelta diff --git a/homeassistant/components/aladdin_connect/cover.py b/homeassistant/components/aladdin_connect/cover.py index 4627ba7778..01146fecbb 100644 --- a/homeassistant/components/aladdin_connect/cover.py +++ b/homeassistant/components/aladdin_connect/cover.py @@ -1,9 +1,4 @@ -""" -Platform for the Aladdin Connect cover component. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/cover.aladdin_connect/ -""" +"""Platform for the Aladdin Connect cover component.""" import logging import voluptuous as vol diff --git a/homeassistant/components/alarm_control_panel/__init__.py b/homeassistant/components/alarm_control_panel/__init__.py index 86bb3e73bd..36a68eda17 100644 --- a/homeassistant/components/alarm_control_panel/__init__.py +++ b/homeassistant/components/alarm_control_panel/__init__.py @@ -1,9 +1,4 @@ -""" -Component to interface with an alarm control panel. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/alarm_control_panel/ -""" +"""Component to interface with an alarm control panel.""" from datetime import timedelta import logging diff --git a/homeassistant/components/alarmdotcom/alarm_control_panel.py b/homeassistant/components/alarmdotcom/alarm_control_panel.py index 4f2913771b..ea581aca74 100644 --- a/homeassistant/components/alarmdotcom/alarm_control_panel.py +++ b/homeassistant/components/alarmdotcom/alarm_control_panel.py @@ -1,9 +1,4 @@ -""" -Interfaces with Alarm.com alarm control panels. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/alarm_control_panel.alarmdotcom/ -""" +"""Interfaces with Alarm.com alarm control panels.""" import logging import re diff --git a/homeassistant/components/alpha_vantage/sensor.py b/homeassistant/components/alpha_vantage/sensor.py index 774a3fe95f..0eb57e5b27 100644 --- a/homeassistant/components/alpha_vantage/sensor.py +++ b/homeassistant/components/alpha_vantage/sensor.py @@ -1,9 +1,4 @@ -""" -Stock market information from Alpha Vantage. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.alpha_vantage/ -""" +"""Stock market information from Alpha Vantage.""" from datetime import timedelta import logging diff --git a/homeassistant/components/amazon_polly/tts.py b/homeassistant/components/amazon_polly/tts.py index 167cd9cfc7..d29ae32fb5 100644 --- a/homeassistant/components/amazon_polly/tts.py +++ b/homeassistant/components/amazon_polly/tts.py @@ -1,9 +1,4 @@ -""" -Support for the Amazon Polly text to speech service. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/tts.amazon_polly/ -""" +"""Support for the Amazon Polly text to speech service.""" import logging import voluptuous as vol diff --git a/homeassistant/components/androidtv/__init__.py b/homeassistant/components/androidtv/__init__.py index fd108e0597..14832aef31 100644 --- a/homeassistant/components/androidtv/__init__.py +++ b/homeassistant/components/androidtv/__init__.py @@ -1,6 +1 @@ -""" -Support for functionality to interact with Android TV and Fire TV devices. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.androidtv/ -""" +"""Support for functionality to interact with Android TV/Fire TV devices.""" diff --git a/homeassistant/components/androidtv/media_player.py b/homeassistant/components/androidtv/media_player.py index 0129b547ac..a62a7f2a6d 100644 --- a/homeassistant/components/androidtv/media_player.py +++ b/homeassistant/components/androidtv/media_player.py @@ -1,9 +1,4 @@ -""" -Support for functionality to interact with Android TV and Fire TV devices. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.androidtv/ -""" +"""Support for functionality to interact with Android TV / Fire TV devices.""" import functools import logging import voluptuous as vol diff --git a/homeassistant/components/anel_pwrctrl/switch.py b/homeassistant/components/anel_pwrctrl/switch.py index fadb3cd96f..b9b3070b97 100644 --- a/homeassistant/components/anel_pwrctrl/switch.py +++ b/homeassistant/components/anel_pwrctrl/switch.py @@ -1,9 +1,4 @@ -""" -Support for ANEL PwrCtrl switches. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.pwrctrl/ -""" +"""Support for ANEL PwrCtrl switches.""" import logging import socket from datetime import timedelta diff --git a/homeassistant/components/anthemav/media_player.py b/homeassistant/components/anthemav/media_player.py index 36bc5ae10e..c7ee579bc1 100644 --- a/homeassistant/components/anthemav/media_player.py +++ b/homeassistant/components/anthemav/media_player.py @@ -1,9 +1,4 @@ -""" -Support for Anthem Network Receivers and Processors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.anthemav/ -""" +"""Support for Anthem Network Receivers and Processors.""" import logging import voluptuous as vol diff --git a/homeassistant/components/apns/notify.py b/homeassistant/components/apns/notify.py index b2c6b63864..d7f6559fe7 100644 --- a/homeassistant/components/apns/notify.py +++ b/homeassistant/components/apns/notify.py @@ -1,9 +1,4 @@ -""" -APNS Notification platform. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.apns/ -""" +"""APNS Notification platform.""" import logging import os diff --git a/homeassistant/components/aquostv/media_player.py b/homeassistant/components/aquostv/media_player.py index 59723b4752..0ffe48d21e 100644 --- a/homeassistant/components/aquostv/media_player.py +++ b/homeassistant/components/aquostv/media_player.py @@ -1,9 +1,4 @@ -""" -Support for interface with an Aquos TV. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.aquostv/ -""" +"""Support for interface with an Aquos TV.""" import logging import voluptuous as vol diff --git a/homeassistant/components/arest/binary_sensor.py b/homeassistant/components/arest/binary_sensor.py index b70620df3e..3fd669a2bb 100644 --- a/homeassistant/components/arest/binary_sensor.py +++ b/homeassistant/components/arest/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for an exposed aREST RESTful API of a device. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.arest/ -""" +"""Support for an exposed aREST RESTful API of a device.""" import logging from datetime import timedelta diff --git a/homeassistant/components/arest/sensor.py b/homeassistant/components/arest/sensor.py index e0c5ef129c..fc443cd60b 100644 --- a/homeassistant/components/arest/sensor.py +++ b/homeassistant/components/arest/sensor.py @@ -1,9 +1,4 @@ -""" -Support for an exposed aREST RESTful API of a device. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.arest/ -""" +"""Support for an exposed aREST RESTful API of a device.""" import logging from datetime import timedelta diff --git a/homeassistant/components/arest/switch.py b/homeassistant/components/arest/switch.py index ab445db10d..717acc2f33 100644 --- a/homeassistant/components/arest/switch.py +++ b/homeassistant/components/arest/switch.py @@ -1,9 +1,4 @@ -""" -Support for an exposed aREST RESTful API of a device. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.arest/ -""" +"""Support for an exposed aREST RESTful API of a device.""" import logging diff --git a/homeassistant/components/aruba/device_tracker.py b/homeassistant/components/aruba/device_tracker.py index 142842b12d..ed1fee25a6 100644 --- a/homeassistant/components/aruba/device_tracker.py +++ b/homeassistant/components/aruba/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for Aruba Access Points. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.aruba/ -""" +"""Support for Aruba Access Points.""" import logging import re diff --git a/homeassistant/components/arwn/sensor.py b/homeassistant/components/arwn/sensor.py index 95825f4ca1..aef43c4b40 100644 --- a/homeassistant/components/arwn/sensor.py +++ b/homeassistant/components/arwn/sensor.py @@ -1,9 +1,4 @@ -""" -Support for collecting data from the ARWN project. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.arwn/ -""" +"""Support for collecting data from the ARWN project.""" import json import logging diff --git a/homeassistant/components/asuswrt/device_tracker.py b/homeassistant/components/asuswrt/device_tracker.py index f5c6dd4a42..d115e640ff 100644 --- a/homeassistant/components/asuswrt/device_tracker.py +++ b/homeassistant/components/asuswrt/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for ASUSWRT routers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.asuswrt/ -""" +"""Support for ASUSWRT routers.""" import logging from homeassistant.components.device_tracker import DeviceScanner diff --git a/homeassistant/components/asuswrt/sensor.py b/homeassistant/components/asuswrt/sensor.py index 53d232862c..ac80a447e2 100644 --- a/homeassistant/components/asuswrt/sensor.py +++ b/homeassistant/components/asuswrt/sensor.py @@ -1,9 +1,4 @@ -""" -Asuswrt status sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.asuswrt/ -""" +"""Asuswrt status sensors.""" import logging from homeassistant.helpers.entity import Entity diff --git a/homeassistant/components/aurora/binary_sensor.py b/homeassistant/components/aurora/binary_sensor.py index cfd683346f..58546382a5 100644 --- a/homeassistant/components/aurora/binary_sensor.py +++ b/homeassistant/components/aurora/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for aurora forecast data sensor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.aurora/ -""" +"""Support for aurora forecast data sensor.""" from datetime import timedelta import logging diff --git a/homeassistant/components/automatic/device_tracker.py b/homeassistant/components/automatic/device_tracker.py index 9f20eb6d49..8abd81e63b 100644 --- a/homeassistant/components/automatic/device_tracker.py +++ b/homeassistant/components/automatic/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for the Automatic platform. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.automatic/ -""" +"""Support for the Automatic platform.""" import asyncio from datetime import timedelta import json diff --git a/homeassistant/components/avion/light.py b/homeassistant/components/avion/light.py index 617198b2c8..65172025b5 100644 --- a/homeassistant/components/avion/light.py +++ b/homeassistant/components/avion/light.py @@ -1,9 +1,4 @@ -""" -Support for Avion dimmers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.avion/ -""" +"""Support for Avion dimmers.""" import importlib import logging import time diff --git a/homeassistant/components/awair/sensor.py b/homeassistant/components/awair/sensor.py index 9a45cb66a8..5b199538e6 100644 --- a/homeassistant/components/awair/sensor.py +++ b/homeassistant/components/awair/sensor.py @@ -1,9 +1,4 @@ -""" -Support for the Awair indoor air quality monitor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.awair/ -""" +"""Support for the Awair indoor air quality monitor.""" from datetime import timedelta import logging diff --git a/homeassistant/components/aws_lambda/notify.py b/homeassistant/components/aws_lambda/notify.py index d7ebb40d19..e5fed20d99 100644 --- a/homeassistant/components/aws_lambda/notify.py +++ b/homeassistant/components/aws_lambda/notify.py @@ -1,9 +1,4 @@ -""" -AWS Lambda platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.aws_lambda/ -""" +"""AWS Lambda platform for notify component.""" import base64 import json import logging diff --git a/homeassistant/components/aws_sns/notify.py b/homeassistant/components/aws_sns/notify.py index 09018562cb..daac710d40 100644 --- a/homeassistant/components/aws_sns/notify.py +++ b/homeassistant/components/aws_sns/notify.py @@ -1,9 +1,4 @@ -""" -AWS SNS platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.aws_sns/ -""" +"""AWS SNS platform for notify component.""" import json import logging diff --git a/homeassistant/components/aws_sqs/notify.py b/homeassistant/components/aws_sqs/notify.py index eff9018bae..4c4c831482 100644 --- a/homeassistant/components/aws_sqs/notify.py +++ b/homeassistant/components/aws_sqs/notify.py @@ -1,9 +1,4 @@ -""" -AWS SQS platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.aws_sqs/ -""" +"""AWS SQS platform for notify component.""" import json import logging diff --git a/homeassistant/components/baidu/tts.py b/homeassistant/components/baidu/tts.py index 07b69d41df..fbe27591ef 100644 --- a/homeassistant/components/baidu/tts.py +++ b/homeassistant/components/baidu/tts.py @@ -1,10 +1,4 @@ -""" -Support for Baidu speech service. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/tts.baidu/ -""" - +"""Support for Baidu speech service.""" import logging import voluptuous as vol diff --git a/homeassistant/components/bayesian/binary_sensor.py b/homeassistant/components/bayesian/binary_sensor.py index 97889ea749..6b2395ef6d 100644 --- a/homeassistant/components/bayesian/binary_sensor.py +++ b/homeassistant/components/bayesian/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Use Bayesian Inference to trigger a binary sensor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.bayesian/ -""" +"""Use Bayesian Inference to trigger a binary sensor.""" from collections import OrderedDict import voluptuous as vol diff --git a/homeassistant/components/bbox/device_tracker.py b/homeassistant/components/bbox/device_tracker.py index f59c922577..badbcdc8a0 100644 --- a/homeassistant/components/bbox/device_tracker.py +++ b/homeassistant/components/bbox/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for French FAI Bouygues Bbox routers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.bbox/ -""" +"""Support for French FAI Bouygues Bbox routers.""" from collections import namedtuple from datetime import timedelta import logging diff --git a/homeassistant/components/bbox/sensor.py b/homeassistant/components/bbox/sensor.py index c81160dc2a..5b3c31d1dd 100644 --- a/homeassistant/components/bbox/sensor.py +++ b/homeassistant/components/bbox/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Bbox Bouygues Modem Router. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.bbox/ -""" +"""Support for Bbox Bouygues Modem Router.""" import logging from datetime import timedelta diff --git a/homeassistant/components/bh1750/sensor.py b/homeassistant/components/bh1750/sensor.py index 592a6acbe5..e30eededa5 100644 --- a/homeassistant/components/bh1750/sensor.py +++ b/homeassistant/components/bh1750/sensor.py @@ -1,9 +1,4 @@ -""" -Support for BH1750 light sensor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.bh1750/ -""" +"""Support for BH1750 light sensor.""" from functools import partial import logging diff --git a/homeassistant/components/binary_sensor/__init__.py b/homeassistant/components/binary_sensor/__init__.py index 9972e4dca3..029ed8faa6 100644 --- a/homeassistant/components/binary_sensor/__init__.py +++ b/homeassistant/components/binary_sensor/__init__.py @@ -1,9 +1,4 @@ -""" -Component to interface with binary sensors. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/binary_sensor/ -""" +"""Component to interface with binary sensors.""" from datetime import timedelta import logging diff --git a/homeassistant/components/bitcoin/sensor.py b/homeassistant/components/bitcoin/sensor.py index e654f29f42..3bc14637a8 100644 --- a/homeassistant/components/bitcoin/sensor.py +++ b/homeassistant/components/bitcoin/sensor.py @@ -1,9 +1,4 @@ -""" -Bitcoin information service that uses blockchain.info. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.bitcoin/ -""" +"""Bitcoin information service that uses blockchain.info.""" import logging from datetime import timedelta diff --git a/homeassistant/components/blackbird/media_player.py b/homeassistant/components/blackbird/media_player.py index 2daa2656e8..c66bc41216 100644 --- a/homeassistant/components/blackbird/media_player.py +++ b/homeassistant/components/blackbird/media_player.py @@ -1,9 +1,4 @@ -""" -Support for interfacing with Monoprice Blackbird 4k 8x8 HDBaseT Matrix. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.blackbird -""" +"""Support for interfacing with Monoprice Blackbird 4k 8x8 HDBaseT Matrix.""" import logging import socket diff --git a/homeassistant/components/blinksticklight/light.py b/homeassistant/components/blinksticklight/light.py index e145005a5a..0d4c7b736f 100644 --- a/homeassistant/components/blinksticklight/light.py +++ b/homeassistant/components/blinksticklight/light.py @@ -1,9 +1,4 @@ -""" -Support for Blinkstick lights. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.blinksticklight/ -""" +"""Support for Blinkstick lights.""" import logging import voluptuous as vol diff --git a/homeassistant/components/blinkt/light.py b/homeassistant/components/blinkt/light.py index 0704881bff..57d1917261 100644 --- a/homeassistant/components/blinkt/light.py +++ b/homeassistant/components/blinkt/light.py @@ -1,9 +1,4 @@ -""" -Support for Blinkt! lights on Raspberry Pi. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.blinkt/ -""" +"""Support for Blinkt! lights on Raspberry Pi.""" import importlib import logging diff --git a/homeassistant/components/blockchain/sensor.py b/homeassistant/components/blockchain/sensor.py index 241c98d232..def1dc3309 100644 --- a/homeassistant/components/blockchain/sensor.py +++ b/homeassistant/components/blockchain/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Blockchain.info sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.blockchain/ -""" +"""Support for Blockchain.info sensors.""" import logging from datetime import timedelta diff --git a/homeassistant/components/bluesound/media_player.py b/homeassistant/components/bluesound/media_player.py index b25916c7f6..c4cd3572e7 100644 --- a/homeassistant/components/bluesound/media_player.py +++ b/homeassistant/components/bluesound/media_player.py @@ -1,9 +1,4 @@ -""" -Support for Bluesound devices. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.bluesound/ -""" +"""Support for Bluesound devices.""" import asyncio from asyncio.futures import CancelledError from datetime import timedelta diff --git a/homeassistant/components/bluetooth_le_tracker/device_tracker.py b/homeassistant/components/bluetooth_le_tracker/device_tracker.py index 825ef04ccc..dfb5fa073b 100644 --- a/homeassistant/components/bluetooth_le_tracker/device_tracker.py +++ b/homeassistant/components/bluetooth_le_tracker/device_tracker.py @@ -1,9 +1,4 @@ -""" -Tracking for bluetooth low energy devices. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.bluetooth_le_tracker/ -""" +"""Tracking for bluetooth low energy devices.""" import logging from homeassistant.helpers.event import track_point_in_utc_time diff --git a/homeassistant/components/bluetooth_tracker/device_tracker.py b/homeassistant/components/bluetooth_tracker/device_tracker.py index 89f3b95ac1..3a4aa88800 100644 --- a/homeassistant/components/bluetooth_tracker/device_tracker.py +++ b/homeassistant/components/bluetooth_tracker/device_tracker.py @@ -1,9 +1,4 @@ -""" -Tracking for bluetooth devices. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.bluetooth_tracker/ -""" +"""Tracking for bluetooth devices.""" import logging import voluptuous as vol diff --git a/homeassistant/components/bme280/sensor.py b/homeassistant/components/bme280/sensor.py index a6b773040e..73982ecc62 100644 --- a/homeassistant/components/bme280/sensor.py +++ b/homeassistant/components/bme280/sensor.py @@ -1,9 +1,4 @@ -""" -Support for BME280 temperature, humidity and pressure sensor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.bme280/ -""" +"""Support for BME280 temperature, humidity and pressure sensor.""" from datetime import timedelta from functools import partial import logging diff --git a/homeassistant/components/bme680/sensor.py b/homeassistant/components/bme680/sensor.py index 8d620e459d..8f515cc469 100644 --- a/homeassistant/components/bme680/sensor.py +++ b/homeassistant/components/bme680/sensor.py @@ -1,12 +1,4 @@ -""" -Support for BME680 Sensor over SMBus. - -Temperature, humidity, pressure and volatile gas support. -Air Quality calculation based on humidity and volatile gas. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.bme680/ -""" +"""Support for BME680 Sensor over SMBus.""" import importlib import logging diff --git a/homeassistant/components/bom/sensor.py b/homeassistant/components/bom/sensor.py index 62a3706034..4c96315ec1 100644 --- a/homeassistant/components/bom/sensor.py +++ b/homeassistant/components/bom/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Australian BOM (Bureau of Meteorology) weather service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.bom/ -""" +"""Support for Australian BOM (Bureau of Meteorology) weather service.""" import datetime import ftplib import gzip diff --git a/homeassistant/components/braviatv/media_player.py b/homeassistant/components/braviatv/media_player.py index 7efb7abd56..45fdb63a4a 100644 --- a/homeassistant/components/braviatv/media_player.py +++ b/homeassistant/components/braviatv/media_player.py @@ -1,9 +1,4 @@ -""" -Support for interface with a Sony Bravia TV. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.braviatv/ -""" +"""Support for interface with a Sony Bravia TV.""" import logging import re diff --git a/homeassistant/components/broadlink/sensor.py b/homeassistant/components/broadlink/sensor.py index 5720201b3f..60f1ed5c6b 100644 --- a/homeassistant/components/broadlink/sensor.py +++ b/homeassistant/components/broadlink/sensor.py @@ -1,9 +1,4 @@ -""" -Support for the Broadlink RM2 Pro (only temperature) and A1 devices. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.broadlink/ -""" +"""Support for the Broadlink RM2 Pro (only temperature) and A1 devices.""" from datetime import timedelta import binascii import logging diff --git a/homeassistant/components/broadlink/switch.py b/homeassistant/components/broadlink/switch.py index 2237a0a297..8695f70786 100644 --- a/homeassistant/components/broadlink/switch.py +++ b/homeassistant/components/broadlink/switch.py @@ -1,9 +1,4 @@ -""" -Support for Broadlink RM devices. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.broadlink/ -""" +"""Support for Broadlink RM devices.""" import asyncio from base64 import b64decode, b64encode import binascii diff --git a/homeassistant/components/brottsplatskartan/sensor.py b/homeassistant/components/brottsplatskartan/sensor.py index c308f2eac5..f990dd1aba 100644 --- a/homeassistant/components/brottsplatskartan/sensor.py +++ b/homeassistant/components/brottsplatskartan/sensor.py @@ -1,9 +1,4 @@ -""" -Sensor platform for Brottsplatskartan information. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.brottsplatskartan/ -""" +"""Sensor platform for Brottsplatskartan information.""" from collections import defaultdict from datetime import timedelta import logging diff --git a/homeassistant/components/brunt/cover.py b/homeassistant/components/brunt/cover.py index 746f3840a0..dc17cebcec 100644 --- a/homeassistant/components/brunt/cover.py +++ b/homeassistant/components/brunt/cover.py @@ -1,9 +1,4 @@ -""" -Support for Brunt Blind Engine covers. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/cover.brunt -""" +"""Support for Brunt Blind Engine covers.""" import logging diff --git a/homeassistant/components/bt_home_hub_5/device_tracker.py b/homeassistant/components/bt_home_hub_5/device_tracker.py index 21c41df3a1..61853c0af8 100644 --- a/homeassistant/components/bt_home_hub_5/device_tracker.py +++ b/homeassistant/components/bt_home_hub_5/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for BT Home Hub 5. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.bt_home_hub_5/ -""" +"""Support for BT Home Hub 5.""" import logging import voluptuous as vol diff --git a/homeassistant/components/bt_smarthub/device_tracker.py b/homeassistant/components/bt_smarthub/device_tracker.py index 821182ec10..5820feda56 100644 --- a/homeassistant/components/bt_smarthub/device_tracker.py +++ b/homeassistant/components/bt_smarthub/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for BT Smart Hub (Sometimes referred to as BT Home Hub 6). - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.bt_smarthub/ -""" +"""Support for BT Smart Hub (Sometimes referred to as BT Home Hub 6).""" import logging import voluptuous as vol diff --git a/homeassistant/components/buienradar/sensor.py b/homeassistant/components/buienradar/sensor.py index d144d84cbf..754873fa2c 100644 --- a/homeassistant/components/buienradar/sensor.py +++ b/homeassistant/components/buienradar/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Buienradar.nl weather service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.buienradar/ -""" +"""Support for Buienradar.nl weather service.""" import asyncio from datetime import datetime, timedelta import logging diff --git a/homeassistant/components/caldav/calendar.py b/homeassistant/components/caldav/calendar.py index cb8874a817..65cb20811b 100644 --- a/homeassistant/components/caldav/calendar.py +++ b/homeassistant/components/caldav/calendar.py @@ -1,9 +1,4 @@ -""" -Support for WebDav Calendar. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/calendar.caldav/ -""" +"""Support for WebDav Calendar.""" from datetime import datetime, timedelta import logging import re diff --git a/homeassistant/components/camera/__init__.py b/homeassistant/components/camera/__init__.py index e453cdfd1a..10739a1c7b 100644 --- a/homeassistant/components/camera/__init__.py +++ b/homeassistant/components/camera/__init__.py @@ -1,9 +1,4 @@ -""" -Component to interface with cameras. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/camera/ -""" +"""Component to interface with cameras.""" import asyncio import base64 import collections diff --git a/homeassistant/components/canary/alarm_control_panel.py b/homeassistant/components/canary/alarm_control_panel.py index 6179422466..faa7d819a2 100644 --- a/homeassistant/components/canary/alarm_control_panel.py +++ b/homeassistant/components/canary/alarm_control_panel.py @@ -1,9 +1,4 @@ -""" -Support for Canary alarm. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/alarm_control_panel.canary/ -""" +"""Support for Canary alarm.""" import logging from homeassistant.components.alarm_control_panel import AlarmControlPanel diff --git a/homeassistant/components/canary/camera.py b/homeassistant/components/canary/camera.py index c3a3af3245..fc740a46f6 100644 --- a/homeassistant/components/canary/camera.py +++ b/homeassistant/components/canary/camera.py @@ -1,9 +1,4 @@ -""" -Support for Canary camera. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/camera.canary/ -""" +"""Support for Canary camera.""" import asyncio from datetime import timedelta import logging diff --git a/homeassistant/components/canary/sensor.py b/homeassistant/components/canary/sensor.py index d24c00c926..fb3aaf78b0 100644 --- a/homeassistant/components/canary/sensor.py +++ b/homeassistant/components/canary/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Canary sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.canary/ -""" +"""Support for Canary sensors.""" from homeassistant.const import TEMP_CELSIUS from homeassistant.helpers.entity import Entity diff --git a/homeassistant/components/cert_expiry/sensor.py b/homeassistant/components/cert_expiry/sensor.py index a04a631f2e..54ba378f91 100644 --- a/homeassistant/components/cert_expiry/sensor.py +++ b/homeassistant/components/cert_expiry/sensor.py @@ -1,9 +1,4 @@ -""" -Counter for the days until an HTTPS (TLS) certificate will expire. - -For more details about this sensor please refer to the documentation at -https://home-assistant.io/components/sensor.cert_expiry/ -""" +"""Counter for the days until an HTTPS (TLS) certificate will expire.""" import logging import socket import ssl diff --git a/homeassistant/components/channels/media_player.py b/homeassistant/components/channels/media_player.py index 2f7b169601..afe29ae079 100644 --- a/homeassistant/components/channels/media_player.py +++ b/homeassistant/components/channels/media_player.py @@ -1,9 +1,4 @@ -""" -Support for interfacing with an instance of Channels (https://getchannels.com). - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.channels/ -""" +"""Support for interfacing with an instance of getchannels.com.""" import logging import voluptuous as vol diff --git a/homeassistant/components/cisco_ios/device_tracker.py b/homeassistant/components/cisco_ios/device_tracker.py index 1afea2c160..d5a64626e8 100644 --- a/homeassistant/components/cisco_ios/device_tracker.py +++ b/homeassistant/components/cisco_ios/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for Cisco IOS Routers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.cisco_ios/ -""" +"""Support for Cisco IOS Routers.""" import logging import voluptuous as vol diff --git a/homeassistant/components/ciscospark/notify.py b/homeassistant/components/ciscospark/notify.py index 1eeb9b51f2..2eccb233a3 100644 --- a/homeassistant/components/ciscospark/notify.py +++ b/homeassistant/components/ciscospark/notify.py @@ -1,9 +1,4 @@ -""" -Cisco Spark platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.ciscospark/ -""" +"""Cisco Spark platform for notify component.""" import logging import voluptuous as vol diff --git a/homeassistant/components/citybikes/sensor.py b/homeassistant/components/citybikes/sensor.py index 12c475e62f..bcf6fb923f 100644 --- a/homeassistant/components/citybikes/sensor.py +++ b/homeassistant/components/citybikes/sensor.py @@ -1,9 +1,4 @@ -""" -Sensor for the CityBikes data. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.citybikes/ -""" +"""Sensor for the CityBikes data.""" import asyncio from datetime import timedelta import logging diff --git a/homeassistant/components/clementine/media_player.py b/homeassistant/components/clementine/media_player.py index 24df7c2461..65c6be1984 100644 --- a/homeassistant/components/clementine/media_player.py +++ b/homeassistant/components/clementine/media_player.py @@ -1,9 +1,4 @@ -""" -Support for Clementine Music Player as media player. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.clementine/ -""" +"""Support for Clementine Music Player as media player.""" from datetime import timedelta import logging import time diff --git a/homeassistant/components/clickatell/notify.py b/homeassistant/components/clickatell/notify.py index e473e54a3b..b512a288ed 100644 --- a/homeassistant/components/clickatell/notify.py +++ b/homeassistant/components/clickatell/notify.py @@ -1,9 +1,4 @@ -""" -Clickatell platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.clickatell/ -""" +"""Clickatell platform for notify component.""" import logging import requests diff --git a/homeassistant/components/clicksend/notify.py b/homeassistant/components/clicksend/notify.py index 3b2cdb7496..111ae63601 100644 --- a/homeassistant/components/clicksend/notify.py +++ b/homeassistant/components/clicksend/notify.py @@ -1,9 +1,4 @@ -""" -Clicksend platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.clicksend/ -""" +"""Clicksend platform for notify component.""" import json import logging diff --git a/homeassistant/components/clicksend_tts/notify.py b/homeassistant/components/clicksend_tts/notify.py index 93e5126bba..feb4481fb5 100644 --- a/homeassistant/components/clicksend_tts/notify.py +++ b/homeassistant/components/clicksend_tts/notify.py @@ -1,11 +1,4 @@ -""" -clicksend_tts platform for notify component. - -This platform sends text to speech audio messages through clicksend - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.clicksend_tts/ -""" +"""clicksend_tts platform for notify component.""" import json import logging diff --git a/homeassistant/components/climate/__init__.py b/homeassistant/components/climate/__init__.py index 0283359b1f..18b56049f8 100644 --- a/homeassistant/components/climate/__init__.py +++ b/homeassistant/components/climate/__init__.py @@ -1,9 +1,4 @@ -""" -Provides functionality to interact with climate devices. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/climate/ -""" +"""Provides functionality to interact with climate devices.""" from datetime import timedelta import logging import functools as ft diff --git a/homeassistant/components/cmus/media_player.py b/homeassistant/components/cmus/media_player.py index 20b292749b..e5134508fe 100644 --- a/homeassistant/components/cmus/media_player.py +++ b/homeassistant/components/cmus/media_player.py @@ -1,9 +1,4 @@ -""" -Support for interacting with and controlling the cmus music player. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.cmus/ -""" +"""Support for interacting with and controlling the cmus music player.""" import logging import voluptuous as vol diff --git a/homeassistant/components/co2signal/sensor.py b/homeassistant/components/co2signal/sensor.py index 7b4cd67bd7..b9ae5e26eb 100644 --- a/homeassistant/components/co2signal/sensor.py +++ b/homeassistant/components/co2signal/sensor.py @@ -1,8 +1,4 @@ -""" -Support for the CO2signal platform. - -For more details about this platform, please refer to the documentation -""" +"""Support for the CO2signal platform.""" import logging import voluptuous as vol diff --git a/homeassistant/components/coinbase/sensor.py b/homeassistant/components/coinbase/sensor.py index 54af94944d..2483d46b38 100644 --- a/homeassistant/components/coinbase/sensor.py +++ b/homeassistant/components/coinbase/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Coinbase sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.coinbase/ -""" +"""Support for Coinbase sensors.""" from homeassistant.const import ATTR_ATTRIBUTION from homeassistant.helpers.entity import Entity diff --git a/homeassistant/components/coinmarketcap/sensor.py b/homeassistant/components/coinmarketcap/sensor.py index 9143405a55..a39f11b535 100644 --- a/homeassistant/components/coinmarketcap/sensor.py +++ b/homeassistant/components/coinmarketcap/sensor.py @@ -1,9 +1,4 @@ -""" -Details about crypto currencies from CoinMarketCap. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.coinmarketcap/ -""" +"""Details about crypto currencies from CoinMarketCap.""" import logging from datetime import timedelta from urllib.error import HTTPError diff --git a/homeassistant/components/comed_hourly_pricing/sensor.py b/homeassistant/components/comed_hourly_pricing/sensor.py index 1771fd0f1a..384aadd8bf 100644 --- a/homeassistant/components/comed_hourly_pricing/sensor.py +++ b/homeassistant/components/comed_hourly_pricing/sensor.py @@ -1,9 +1,4 @@ -""" -Support for ComEd Hourly Pricing data. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.comed_hourly_pricing/ -""" +"""Support for ComEd Hourly Pricing data.""" import asyncio from datetime import timedelta import json diff --git a/homeassistant/components/command_line/binary_sensor.py b/homeassistant/components/command_line/binary_sensor.py index 21ee1312e7..860367d809 100644 --- a/homeassistant/components/command_line/binary_sensor.py +++ b/homeassistant/components/command_line/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for custom shell commands to retrieve values. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.command_line/ -""" +"""Support for custom shell commands to retrieve values.""" from datetime import timedelta import logging diff --git a/homeassistant/components/command_line/cover.py b/homeassistant/components/command_line/cover.py index 4f4fca1b27..7f3c527990 100644 --- a/homeassistant/components/command_line/cover.py +++ b/homeassistant/components/command_line/cover.py @@ -1,9 +1,4 @@ -""" -Support for command line covers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/cover.command_line/ -""" +"""Support for command line covers.""" import logging import subprocess diff --git a/homeassistant/components/command_line/notify.py b/homeassistant/components/command_line/notify.py index 7ea5a6d888..941be72aa8 100644 --- a/homeassistant/components/command_line/notify.py +++ b/homeassistant/components/command_line/notify.py @@ -1,9 +1,4 @@ -""" -Support for command line notification services. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.command_line/ -""" +"""Support for command line notification services.""" import logging import subprocess diff --git a/homeassistant/components/command_line/sensor.py b/homeassistant/components/command_line/sensor.py index e1d151410b..16d3976287 100644 --- a/homeassistant/components/command_line/sensor.py +++ b/homeassistant/components/command_line/sensor.py @@ -1,9 +1,4 @@ -""" -Allows to configure custom shell commands to turn a value for a sensor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.command_line/ -""" +"""Allows to configure custom shell commands to turn a value for a sensor.""" import collections from datetime import timedelta import json diff --git a/homeassistant/components/command_line/switch.py b/homeassistant/components/command_line/switch.py index 4edbd79ee0..8d97198ad6 100644 --- a/homeassistant/components/command_line/switch.py +++ b/homeassistant/components/command_line/switch.py @@ -1,9 +1,4 @@ -""" -Support for custom shell commands to turn a switch on/off. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.command_line/ -""" +"""Support for custom shell commands to turn a switch on/off.""" import logging import subprocess diff --git a/homeassistant/components/concord232/alarm_control_panel.py b/homeassistant/components/concord232/alarm_control_panel.py index 155d6b6ae4..4821e589b1 100644 --- a/homeassistant/components/concord232/alarm_control_panel.py +++ b/homeassistant/components/concord232/alarm_control_panel.py @@ -1,9 +1,4 @@ -""" -Support for Concord232 alarm control panels. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/alarm_control_panel.concord232/ -""" +"""Support for Concord232 alarm control panels.""" import datetime import logging diff --git a/homeassistant/components/concord232/binary_sensor.py b/homeassistant/components/concord232/binary_sensor.py index 26f35d6030..5aff0f0998 100644 --- a/homeassistant/components/concord232/binary_sensor.py +++ b/homeassistant/components/concord232/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for exposing Concord232 elements as sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.concord232/ -""" +"""Support for exposing Concord232 elements as sensors.""" import datetime import logging diff --git a/homeassistant/components/coolmaster/climate.py b/homeassistant/components/coolmaster/climate.py index fd00c9f22c..77bb9a6b21 100644 --- a/homeassistant/components/coolmaster/climate.py +++ b/homeassistant/components/coolmaster/climate.py @@ -1,9 +1,4 @@ -""" -CoolMasterNet platform that offers control of CoolMasteNet Climate Devices. - -For more details about this platform, please refer to the documentation -https://www.home-assistant.io/components/climate.coolmaster/ -""" +"""CoolMasterNet platform to control of CoolMasteNet Climate Devices.""" import logging diff --git a/homeassistant/components/cover/__init__.py b/homeassistant/components/cover/__init__.py index 8b4031f09e..9bb1aacfaf 100644 --- a/homeassistant/components/cover/__init__.py +++ b/homeassistant/components/cover/__init__.py @@ -1,9 +1,4 @@ -""" -Support for Cover devices. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/cover/ -""" +"""Support for Cover devices.""" from datetime import timedelta import functools as ft import logging diff --git a/homeassistant/components/cppm_tracker/device_tracker.py b/homeassistant/components/cppm_tracker/device_tracker.py index 2ca0ebf62e..31d8122692 100755 --- a/homeassistant/components/cppm_tracker/device_tracker.py +++ b/homeassistant/components/cppm_tracker/device_tracker.py @@ -1,8 +1,4 @@ -""" -Support for ClearPass Policy Manager. - -Allows tracking devices with CPPM. -""" +"""Support for ClearPass Policy Manager.""" import logging from datetime import timedelta diff --git a/homeassistant/components/cups/sensor.py b/homeassistant/components/cups/sensor.py index 99dadcfe59..97f894aed8 100644 --- a/homeassistant/components/cups/sensor.py +++ b/homeassistant/components/cups/sensor.py @@ -1,9 +1,4 @@ -""" -Details about printers which are connected to CUPS. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.cups/ -""" +"""Details about printers which are connected to CUPS.""" import importlib import logging from datetime import timedelta diff --git a/homeassistant/components/currencylayer/sensor.py b/homeassistant/components/currencylayer/sensor.py index 9b7186e8e0..bedd5f079c 100644 --- a/homeassistant/components/currencylayer/sensor.py +++ b/homeassistant/components/currencylayer/sensor.py @@ -1,9 +1,4 @@ -""" -Support for currencylayer.com exchange rates service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.currencylayer/ -""" +"""Support for currencylayer.com exchange rates service.""" from datetime import timedelta import logging diff --git a/homeassistant/components/darksky/sensor.py b/homeassistant/components/darksky/sensor.py index 540568b578..70b07ee773 100644 --- a/homeassistant/components/darksky/sensor.py +++ b/homeassistant/components/darksky/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Dark Sky weather service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.darksky/ -""" +"""Support for Dark Sky weather service.""" from datetime import timedelta import logging diff --git a/homeassistant/components/ddwrt/device_tracker.py b/homeassistant/components/ddwrt/device_tracker.py index cf8c8e1779..a97fe340f9 100644 --- a/homeassistant/components/ddwrt/device_tracker.py +++ b/homeassistant/components/ddwrt/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for DD-WRT routers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.ddwrt/ -""" +"""Support for DD-WRT routers.""" import logging import re diff --git a/homeassistant/components/decora/light.py b/homeassistant/components/decora/light.py index 7c3274cf83..fc8b2859c0 100644 --- a/homeassistant/components/decora/light.py +++ b/homeassistant/components/decora/light.py @@ -1,9 +1,4 @@ -""" -Support for Decora dimmers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.decora/ -""" +"""Support for Decora dimmers.""" import importlib import logging from functools import wraps diff --git a/homeassistant/components/decora_wifi/light.py b/homeassistant/components/decora_wifi/light.py index b9c575dbd5..b7be6bffb0 100644 --- a/homeassistant/components/decora_wifi/light.py +++ b/homeassistant/components/decora_wifi/light.py @@ -1,12 +1,4 @@ -""" -Interfaces with the myLeviton API for Decora Smart WiFi products. - -See: -http://www.leviton.com/en/products/lighting-controls/decora-smart-with-wifi - -Uses Leviton's cloud services API for cloud-to-cloud integration. - -""" +"""Interfaces with the myLeviton API for Decora Smart WiFi products.""" import logging diff --git a/homeassistant/components/deluge/sensor.py b/homeassistant/components/deluge/sensor.py index f56b3ac4b9..32b1c16a47 100644 --- a/homeassistant/components/deluge/sensor.py +++ b/homeassistant/components/deluge/sensor.py @@ -1,9 +1,4 @@ -""" -Support for monitoring the Deluge BitTorrent client API. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.deluge/ -""" +"""Support for monitoring the Deluge BitTorrent client API.""" import logging import voluptuous as vol diff --git a/homeassistant/components/deluge/switch.py b/homeassistant/components/deluge/switch.py index 0ece742aa0..d7c60bd96e 100644 --- a/homeassistant/components/deluge/switch.py +++ b/homeassistant/components/deluge/switch.py @@ -1,9 +1,4 @@ -""" -Support for setting the Deluge BitTorrent client in Pause. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.deluge/ -""" +"""Support for setting the Deluge BitTorrent client in Pause.""" import logging import voluptuous as vol diff --git a/homeassistant/components/demo/air_quality.py b/homeassistant/components/demo/air_quality.py index b2b9c10574..77e5c0b2b1 100644 --- a/homeassistant/components/demo/air_quality.py +++ b/homeassistant/components/demo/air_quality.py @@ -1,9 +1,4 @@ -""" -Demo platform that offers fake air quality data. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/demo/ -""" +"""Demo platform that offers fake air quality data.""" from homeassistant.components.air_quality import AirQualityEntity diff --git a/homeassistant/components/demo/alarm_control_panel.py b/homeassistant/components/demo/alarm_control_panel.py index 4d317f52da..3cf5aaca57 100644 --- a/homeassistant/components/demo/alarm_control_panel.py +++ b/homeassistant/components/demo/alarm_control_panel.py @@ -1,9 +1,4 @@ -""" -Demo platform that has two fake alarm control panels. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/demo/ -""" +"""Demo platform that has two fake alarm control panels.""" import datetime from homeassistant.components.manual.alarm_control_panel import ManualAlarm from homeassistant.const import ( diff --git a/homeassistant/components/demo/binary_sensor.py b/homeassistant/components/demo/binary_sensor.py index d656b79e8e..437497e4fa 100644 --- a/homeassistant/components/demo/binary_sensor.py +++ b/homeassistant/components/demo/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Demo platform that has two fake binary sensors. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/demo/ -""" +"""Demo platform that has two fake binary sensors.""" from homeassistant.components.binary_sensor import BinarySensorDevice diff --git a/homeassistant/components/demo/calendar.py b/homeassistant/components/demo/calendar.py index 720b4cc518..6096f8247c 100644 --- a/homeassistant/components/demo/calendar.py +++ b/homeassistant/components/demo/calendar.py @@ -1,9 +1,4 @@ -""" -Demo platform that has two fake binary sensors. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/demo/ -""" +"""Demo platform that has two fake binary sensors.""" import copy from homeassistant.components.google import CONF_DEVICE_ID, CONF_NAME diff --git a/homeassistant/components/demo/camera.py b/homeassistant/components/demo/camera.py index 34a0894ac6..95c7df5820 100644 --- a/homeassistant/components/demo/camera.py +++ b/homeassistant/components/demo/camera.py @@ -1,9 +1,4 @@ -""" -Demo camera platform that has a fake camera. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/demo/ -""" +"""Demo camera platform that has a fake camera.""" import logging import os diff --git a/homeassistant/components/demo/climate.py b/homeassistant/components/demo/climate.py index b1dd1b0ba4..70eed0c361 100644 --- a/homeassistant/components/demo/climate.py +++ b/homeassistant/components/demo/climate.py @@ -1,9 +1,4 @@ -""" -Demo platform that offers a fake climate device. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/demo/ -""" +"""Demo platform that offers a fake climate device.""" from homeassistant.const import ATTR_TEMPERATURE, TEMP_CELSIUS, TEMP_FAHRENHEIT from homeassistant.components.climate import ClimateDevice diff --git a/homeassistant/components/demo/cover.py b/homeassistant/components/demo/cover.py index ddcf07fd5e..aa2931a987 100644 --- a/homeassistant/components/demo/cover.py +++ b/homeassistant/components/demo/cover.py @@ -1,9 +1,4 @@ -""" -Demo platform for the cover component. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/demo/ -""" +"""Demo platform for the cover component.""" from homeassistant.helpers.event import track_utc_time_change from homeassistant.components.cover import ( diff --git a/homeassistant/components/demo/device_tracker.py b/homeassistant/components/demo/device_tracker.py index 608fc560cf..ff038d7009 100644 --- a/homeassistant/components/demo/device_tracker.py +++ b/homeassistant/components/demo/device_tracker.py @@ -1,9 +1,4 @@ -""" -Demo platform for the Device tracker component. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/demo/ -""" +"""Demo platform for the Device tracker component.""" import random from homeassistant.components.device_tracker import DOMAIN diff --git a/homeassistant/components/demo/fan.py b/homeassistant/components/demo/fan.py index 53729795f7..4710bbecfe 100644 --- a/homeassistant/components/demo/fan.py +++ b/homeassistant/components/demo/fan.py @@ -1,9 +1,4 @@ -""" -Demo fan platform that has a fake fan. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/demo/ -""" +"""Demo fan platform that has a fake fan.""" from homeassistant.const import STATE_OFF from homeassistant.components.fan import ( diff --git a/homeassistant/components/demo/image_processing.py b/homeassistant/components/demo/image_processing.py index 71ec2dccbc..acb97e4ebd 100644 --- a/homeassistant/components/demo/image_processing.py +++ b/homeassistant/components/demo/image_processing.py @@ -1,9 +1,4 @@ -""" -Support for the demo image processing. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/demo/ -""" +"""Support for the demo image processing.""" from homeassistant.components.image_processing import ( ImageProcessingFaceEntity, ATTR_CONFIDENCE, ATTR_NAME, ATTR_AGE, ATTR_GENDER diff --git a/homeassistant/components/demo/light.py b/homeassistant/components/demo/light.py index a5b22108e8..285866c6eb 100644 --- a/homeassistant/components/demo/light.py +++ b/homeassistant/components/demo/light.py @@ -1,9 +1,4 @@ -""" -Demo light platform that implements lights. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/demo/ -""" +"""Demo light platform that implements lights.""" import random from homeassistant.components.light import ( diff --git a/homeassistant/components/demo/lock.py b/homeassistant/components/demo/lock.py index 03935c4f60..cd15a43413 100644 --- a/homeassistant/components/demo/lock.py +++ b/homeassistant/components/demo/lock.py @@ -1,9 +1,4 @@ -""" -Demo lock platform that has two fake locks. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/demo/ -""" +"""Demo lock platform that has two fake locks.""" from homeassistant.const import STATE_LOCKED, STATE_UNLOCKED from homeassistant.components.lock import SUPPORT_OPEN, LockDevice diff --git a/homeassistant/components/demo/media_player.py b/homeassistant/components/demo/media_player.py index 33d2b98d22..5ad13b4e99 100644 --- a/homeassistant/components/demo/media_player.py +++ b/homeassistant/components/demo/media_player.py @@ -1,9 +1,4 @@ -""" -Demo implementation of the media player. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/demo/ -""" +"""Demo implementation of the media player.""" from homeassistant.const import STATE_OFF, STATE_PAUSED, STATE_PLAYING import homeassistant.util.dt as dt_util diff --git a/homeassistant/components/demo/notify.py b/homeassistant/components/demo/notify.py index 5b8e1f1688..92aaea6882 100644 --- a/homeassistant/components/demo/notify.py +++ b/homeassistant/components/demo/notify.py @@ -1,9 +1,4 @@ -""" -Demo notification service. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/demo/ -""" +"""Demo notification service.""" from homeassistant.components.notify import BaseNotificationService EVENT_NOTIFY = "notify" diff --git a/homeassistant/components/demo/remote.py b/homeassistant/components/demo/remote.py index f44061ac8f..b28330fdc6 100644 --- a/homeassistant/components/demo/remote.py +++ b/homeassistant/components/demo/remote.py @@ -1,9 +1,4 @@ -""" -Demo platform that has two fake remotes. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/demo/ -""" +"""Demo platform that has two fake remotes.""" from homeassistant.components.remote import RemoteDevice from homeassistant.const import DEVICE_DEFAULT_NAME diff --git a/homeassistant/components/demo/sensor.py b/homeassistant/components/demo/sensor.py index 7921181b74..ea35c72951 100644 --- a/homeassistant/components/demo/sensor.py +++ b/homeassistant/components/demo/sensor.py @@ -1,9 +1,4 @@ -""" -Demo platform that has a couple of fake sensors. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/demo/ -""" +"""Demo platform that has a couple of fake sensors.""" from homeassistant.const import ( ATTR_BATTERY_LEVEL, TEMP_CELSIUS, DEVICE_CLASS_HUMIDITY, DEVICE_CLASS_TEMPERATURE) diff --git a/homeassistant/components/demo/switch.py b/homeassistant/components/demo/switch.py index 0ac2011a6d..04a55a591b 100644 --- a/homeassistant/components/demo/switch.py +++ b/homeassistant/components/demo/switch.py @@ -1,9 +1,4 @@ -""" -Demo platform that has two fake switches. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/demo/ -""" +"""Demo platform that has two fake switches.""" from homeassistant.components.switch import SwitchDevice from homeassistant.const import DEVICE_DEFAULT_NAME diff --git a/homeassistant/components/demo/tts.py b/homeassistant/components/demo/tts.py index 1498472ef9..bf18bc1630 100644 --- a/homeassistant/components/demo/tts.py +++ b/homeassistant/components/demo/tts.py @@ -1,9 +1,4 @@ -""" -Support for the demo speech service. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/demo/ -""" +"""Support for the demo speech service.""" import os import voluptuous as vol diff --git a/homeassistant/components/demo/vacuum.py b/homeassistant/components/demo/vacuum.py index 5ec7030f56..dfb9c4e943 100644 --- a/homeassistant/components/demo/vacuum.py +++ b/homeassistant/components/demo/vacuum.py @@ -1,9 +1,4 @@ -""" -Demo platform for the vacuum component. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/demo/ -""" +"""Demo platform for the vacuum component.""" import logging from homeassistant.components.vacuum import ( diff --git a/homeassistant/components/denon/media_player.py b/homeassistant/components/denon/media_player.py index 3dc4e550d9..07f6fcc7f9 100644 --- a/homeassistant/components/denon/media_player.py +++ b/homeassistant/components/denon/media_player.py @@ -1,9 +1,4 @@ -""" -Support for Denon Network Receivers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.denon/ -""" +"""Support for Denon Network Receivers.""" import logging import telnetlib diff --git a/homeassistant/components/denonavr/media_player.py b/homeassistant/components/denonavr/media_player.py index 380484add5..0adafe4f47 100644 --- a/homeassistant/components/denonavr/media_player.py +++ b/homeassistant/components/denonavr/media_player.py @@ -1,9 +1,4 @@ -""" -Support for Denon AVR receivers using their HTTP interface. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.denon/ -""" +"""Support for Denon AVR receivers using their HTTP interface.""" from collections import namedtuple import logging diff --git a/homeassistant/components/device_tracker/__init__.py b/homeassistant/components/device_tracker/__init__.py index 1263811aae..42d301721d 100644 --- a/homeassistant/components/device_tracker/__init__.py +++ b/homeassistant/components/device_tracker/__init__.py @@ -1,9 +1,4 @@ -""" -Provide functionality to keep track of devices. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/device_tracker/ -""" +"""Provide functionality to keep track of devices.""" import asyncio from datetime import timedelta import logging diff --git a/homeassistant/components/dht/sensor.py b/homeassistant/components/dht/sensor.py index 04c084784c..719c2525f0 100644 --- a/homeassistant/components/dht/sensor.py +++ b/homeassistant/components/dht/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Adafruit DHT temperature and humidity sensor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.dht/ -""" +"""Support for Adafruit DHT temperature and humidity sensor.""" import logging from datetime import timedelta diff --git a/homeassistant/components/digitalloggers/switch.py b/homeassistant/components/digitalloggers/switch.py index 7bb2be1989..89973cfad0 100644 --- a/homeassistant/components/digitalloggers/switch.py +++ b/homeassistant/components/digitalloggers/switch.py @@ -1,9 +1,4 @@ -""" -Support for Digital Loggers DIN III Relays. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.digitalloggers/ -""" +"""Support for Digital Loggers DIN III Relays.""" import logging from datetime import timedelta diff --git a/homeassistant/components/directv/media_player.py b/homeassistant/components/directv/media_player.py index 9c5a3bf07b..3a30282bdf 100644 --- a/homeassistant/components/directv/media_player.py +++ b/homeassistant/components/directv/media_player.py @@ -1,9 +1,4 @@ -""" -Support for the DirecTV receivers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.directv/ -""" +"""Support for the DirecTV receivers.""" import logging import requests import voluptuous as vol diff --git a/homeassistant/components/discogs/sensor.py b/homeassistant/components/discogs/sensor.py index 8cdc89a540..f8d66688b4 100644 --- a/homeassistant/components/discogs/sensor.py +++ b/homeassistant/components/discogs/sensor.py @@ -1,9 +1,4 @@ -""" -Show the amount of records in a user's Discogs collection. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.discogs/ -""" +"""Show the amount of records in a user's Discogs collection.""" from datetime import timedelta import logging import random diff --git a/homeassistant/components/discord/notify.py b/homeassistant/components/discord/notify.py index d73382d8bc..cb6fc8329c 100644 --- a/homeassistant/components/discord/notify.py +++ b/homeassistant/components/discord/notify.py @@ -1,9 +1,4 @@ -""" -Discord platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.discord/ -""" +"""Discord platform for notify component.""" import logging import voluptuous as vol diff --git a/homeassistant/components/dlib_face_detect/image_processing.py b/homeassistant/components/dlib_face_detect/image_processing.py index fea756395e..49fbfadff7 100644 --- a/homeassistant/components/dlib_face_detect/image_processing.py +++ b/homeassistant/components/dlib_face_detect/image_processing.py @@ -1,9 +1,4 @@ -""" -Component that will help set the Dlib face detect processing. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/image_processing.dlib_face_detect/ -""" +"""Component that will help set the Dlib face detect processing.""" import logging import io diff --git a/homeassistant/components/dlib_face_identify/image_processing.py b/homeassistant/components/dlib_face_identify/image_processing.py index 6611fb0edf..a3b9123512 100644 --- a/homeassistant/components/dlib_face_identify/image_processing.py +++ b/homeassistant/components/dlib_face_identify/image_processing.py @@ -1,9 +1,4 @@ -""" -Component that will help set the Dlib face detect processing. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/image_processing.dlib_face_identify/ -""" +"""Component that will help set the Dlib face detect processing.""" import logging import io diff --git a/homeassistant/components/dlink/switch.py b/homeassistant/components/dlink/switch.py index de58451000..812fd3882b 100644 --- a/homeassistant/components/dlink/switch.py +++ b/homeassistant/components/dlink/switch.py @@ -1,9 +1,4 @@ -""" -Support for D-Link W215 smart switch. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.dlink/ -""" +"""Support for D-Link W215 smart switch.""" from datetime import timedelta import logging import urllib diff --git a/homeassistant/components/dlna_dmr/media_player.py b/homeassistant/components/dlna_dmr/media_player.py index 71195d66c6..54c19f70ef 100644 --- a/homeassistant/components/dlna_dmr/media_player.py +++ b/homeassistant/components/dlna_dmr/media_player.py @@ -1,9 +1,4 @@ -""" -Support for DLNA DMR (Device Media Renderer). - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.dlna_dmr/ -""" +"""Support for DLNA DMR (Device Media Renderer).""" import asyncio from datetime import datetime from datetime import timedelta diff --git a/homeassistant/components/dnsip/sensor.py b/homeassistant/components/dnsip/sensor.py index 48cf8debea..13c9be7bb1 100644 --- a/homeassistant/components/dnsip/sensor.py +++ b/homeassistant/components/dnsip/sensor.py @@ -1,9 +1,4 @@ -""" -Get your own public IP address or that of any host. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.dnsip/ -""" +"""Get your own public IP address or that of any host.""" import logging from datetime import timedelta diff --git a/homeassistant/components/dsmr/sensor.py b/homeassistant/components/dsmr/sensor.py index 6319a68b0c..74f6cb37fc 100644 --- a/homeassistant/components/dsmr/sensor.py +++ b/homeassistant/components/dsmr/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Dutch Smart Meter (also known as Smartmeter or P1 port). - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.dsmr/ -""" +"""Support for Dutch Smart Meter (also known as Smartmeter or P1 port).""" import asyncio from datetime import timedelta from functools import partial diff --git a/homeassistant/components/dte_energy_bridge/sensor.py b/homeassistant/components/dte_energy_bridge/sensor.py index 5de2fc4a4e..8610a1e7f7 100644 --- a/homeassistant/components/dte_energy_bridge/sensor.py +++ b/homeassistant/components/dte_energy_bridge/sensor.py @@ -1,9 +1,4 @@ -""" -Support for monitoring energy usage using the DTE energy bridge. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.dte_energy_bridge/ -""" +"""Support for monitoring energy usage using the DTE energy bridge.""" import logging import voluptuous as vol diff --git a/homeassistant/components/duke_energy/sensor.py b/homeassistant/components/duke_energy/sensor.py index 41d3e5706d..9aada34841 100644 --- a/homeassistant/components/duke_energy/sensor.py +++ b/homeassistant/components/duke_energy/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Duke Energy Gas and Electric meters. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/sensor.duke_energy/ -""" +"""Support for Duke Energy Gas and Electric meters.""" import logging import voluptuous as vol diff --git a/homeassistant/components/dunehd/media_player.py b/homeassistant/components/dunehd/media_player.py index 796aea8641..70d96424ce 100644 --- a/homeassistant/components/dunehd/media_player.py +++ b/homeassistant/components/dunehd/media_player.py @@ -1,9 +1,4 @@ -""" -DuneHD implementation of the media player. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/media_player.dunehd/ -""" +"""DuneHD implementation of the media player.""" import voluptuous as vol from homeassistant.components.media_player import ( diff --git a/homeassistant/components/dyson/climate.py b/homeassistant/components/dyson/climate.py index a24d011623..a0c4c56d31 100644 --- a/homeassistant/components/dyson/climate.py +++ b/homeassistant/components/dyson/climate.py @@ -1,9 +1,4 @@ -""" -Support for Dyson Pure Hot+Cool link fan. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/climate.dyson/ -""" +"""Support for Dyson Pure Hot+Cool link fan.""" import logging from homeassistant.components.climate import ClimateDevice diff --git a/homeassistant/components/dyson/sensor.py b/homeassistant/components/dyson/sensor.py index abf06f1543..2c7a71f572 100644 --- a/homeassistant/components/dyson/sensor.py +++ b/homeassistant/components/dyson/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Dyson Pure Cool Link Sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.dyson/ -""" +"""Support for Dyson Pure Cool Link Sensors.""" import logging from homeassistant.const import STATE_OFF, TEMP_CELSIUS diff --git a/homeassistant/components/dyson/vacuum.py b/homeassistant/components/dyson/vacuum.py index 72c7b95562..f1822b4043 100644 --- a/homeassistant/components/dyson/vacuum.py +++ b/homeassistant/components/dyson/vacuum.py @@ -1,9 +1,4 @@ -""" -Support for the Dyson 360 eye vacuum cleaner robot. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/vacuum.dyson/ -""" +"""Support for the Dyson 360 eye vacuum cleaner robot.""" import logging from homeassistant.components.vacuum import ( diff --git a/homeassistant/components/edimax/switch.py b/homeassistant/components/edimax/switch.py index 90ad3fff57..338e6ac932 100644 --- a/homeassistant/components/edimax/switch.py +++ b/homeassistant/components/edimax/switch.py @@ -1,9 +1,4 @@ -""" -Support for Edimax switches. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.edimax/ -""" +"""Support for Edimax switches.""" import logging import voluptuous as vol diff --git a/homeassistant/components/ee_brightbox/device_tracker.py b/homeassistant/components/ee_brightbox/device_tracker.py index fc23abda1d..46e4a3c3c2 100644 --- a/homeassistant/components/ee_brightbox/device_tracker.py +++ b/homeassistant/components/ee_brightbox/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for EE Brightbox router. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.ee_brightbox/ -""" +"""Support for EE Brightbox router.""" import logging import voluptuous as vol diff --git a/homeassistant/components/efergy/sensor.py b/homeassistant/components/efergy/sensor.py index b3c40b4fa2..eb8912abe1 100644 --- a/homeassistant/components/efergy/sensor.py +++ b/homeassistant/components/efergy/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Efergy sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.efergy/ -""" +"""Support for Efergy sensors.""" import logging import requests diff --git a/homeassistant/components/eliqonline/sensor.py b/homeassistant/components/eliqonline/sensor.py index b03164a30d..198ca32799 100644 --- a/homeassistant/components/eliqonline/sensor.py +++ b/homeassistant/components/eliqonline/sensor.py @@ -1,9 +1,4 @@ -""" -Monitors home energy use for the ELIQ Online service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.eliqonline/ -""" +"""Monitors home energy use for the ELIQ Online service.""" from datetime import timedelta import logging diff --git a/homeassistant/components/emby/media_player.py b/homeassistant/components/emby/media_player.py index b1259db913..8a94664f35 100644 --- a/homeassistant/components/emby/media_player.py +++ b/homeassistant/components/emby/media_player.py @@ -1,9 +1,4 @@ -""" -Support to interface with the Emby API. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.emby/ -""" +"""Support to interface with the Emby API.""" import logging import voluptuous as vol diff --git a/homeassistant/components/emoncms/sensor.py b/homeassistant/components/emoncms/sensor.py index 5d619878d9..6e059e1a30 100644 --- a/homeassistant/components/emoncms/sensor.py +++ b/homeassistant/components/emoncms/sensor.py @@ -1,9 +1,4 @@ -""" -Support for monitoring emoncms feeds. - -For more details about this component, please refer to the documentation -at https://home-assistant.io/components/sensor.emoncms/ -""" +"""Support for monitoring emoncms feeds.""" from datetime import timedelta import logging diff --git a/homeassistant/components/enphase_envoy/sensor.py b/homeassistant/components/enphase_envoy/sensor.py index 1bfee88d41..2b62732dc9 100644 --- a/homeassistant/components/enphase_envoy/sensor.py +++ b/homeassistant/components/enphase_envoy/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Enphase Envoy solar energy monitor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.enphase_envoy/ -""" +"""Support for Enphase Envoy solar energy monitor.""" import logging import voluptuous as vol diff --git a/homeassistant/components/envirophat/sensor.py b/homeassistant/components/envirophat/sensor.py index 7683c06b69..16cb79406a 100644 --- a/homeassistant/components/envirophat/sensor.py +++ b/homeassistant/components/envirophat/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Enviro pHAT sensors. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/sensor.envirophat -""" +"""Support for Enviro pHAT sensors.""" import importlib import logging from datetime import timedelta diff --git a/homeassistant/components/ephember/climate.py b/homeassistant/components/ephember/climate.py index 220c073ef8..3052dd911e 100644 --- a/homeassistant/components/ephember/climate.py +++ b/homeassistant/components/ephember/climate.py @@ -1,9 +1,4 @@ -""" -Support for the EPH Controls Ember themostats. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/climate.ephember/ -""" +"""Support for the EPH Controls Ember themostats.""" import logging from datetime import timedelta import voluptuous as vol diff --git a/homeassistant/components/epson/media_player.py b/homeassistant/components/epson/media_player.py index 38c0ffacc3..75be4f7fe2 100644 --- a/homeassistant/components/epson/media_player.py +++ b/homeassistant/components/epson/media_player.py @@ -1,9 +1,4 @@ -""" -Support for Epson projector. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/media_player.epson/ -""" +"""Support for Epson projector.""" import logging import voluptuous as vol diff --git a/homeassistant/components/eq3btsmart/climate.py b/homeassistant/components/eq3btsmart/climate.py index 43a26c27ce..f02bd2bc9a 100644 --- a/homeassistant/components/eq3btsmart/climate.py +++ b/homeassistant/components/eq3btsmart/climate.py @@ -1,9 +1,4 @@ -""" -Support for eQ-3 Bluetooth Smart thermostats. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/climate.eq3btsmart/ -""" +"""Support for eQ-3 Bluetooth Smart thermostats.""" import logging import voluptuous as vol diff --git a/homeassistant/components/everlights/light.py b/homeassistant/components/everlights/light.py index 31e72c78fd..a628f25ea2 100644 --- a/homeassistant/components/everlights/light.py +++ b/homeassistant/components/everlights/light.py @@ -1,9 +1,4 @@ -""" -Support for EverLights lights. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.everlights/ -""" +"""Support for EverLights lights.""" import logging from datetime import timedelta from typing import Tuple diff --git a/homeassistant/components/facebook/notify.py b/homeassistant/components/facebook/notify.py index 2c691661a2..625b922927 100644 --- a/homeassistant/components/facebook/notify.py +++ b/homeassistant/components/facebook/notify.py @@ -1,9 +1,4 @@ -""" -Facebook platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.facebook/ -""" +"""Facebook platform for notify component.""" import json import logging diff --git a/homeassistant/components/facebox/image_processing.py b/homeassistant/components/facebox/image_processing.py index 2fbd1c5c81..2b4f184c3f 100644 --- a/homeassistant/components/facebox/image_processing.py +++ b/homeassistant/components/facebox/image_processing.py @@ -1,9 +1,4 @@ -""" -Component that will perform facial detection and identification via facebox. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/image_processing.facebox -""" +"""Component for facial detection and identification via facebox.""" import base64 import logging diff --git a/homeassistant/components/familyhub/camera.py b/homeassistant/components/familyhub/camera.py index e14bd9f109..18aa969132 100644 --- a/homeassistant/components/familyhub/camera.py +++ b/homeassistant/components/familyhub/camera.py @@ -1,9 +1,4 @@ -""" -Family Hub camera for Samsung Refrigerators. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/camera.familyhub/ -""" +"""Family Hub camera for Samsung Refrigerators.""" import logging import voluptuous as vol diff --git a/homeassistant/components/fan/__init__.py b/homeassistant/components/fan/__init__.py index 50d6802c4d..e67ba390a9 100644 --- a/homeassistant/components/fan/__init__.py +++ b/homeassistant/components/fan/__init__.py @@ -1,9 +1,4 @@ -""" -Provides functionality to interact with fans. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/fan/ -""" +"""Provides functionality to interact with fans.""" from datetime import timedelta import functools as ft import logging diff --git a/homeassistant/components/fedex/sensor.py b/homeassistant/components/fedex/sensor.py index 54c319e644..f535195bd0 100644 --- a/homeassistant/components/fedex/sensor.py +++ b/homeassistant/components/fedex/sensor.py @@ -1,9 +1,4 @@ -""" -Sensor for Fedex packages. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.fedex/ -""" +"""Sensor for Fedex packages.""" from collections import defaultdict import logging from datetime import timedelta diff --git a/homeassistant/components/ffmpeg/camera.py b/homeassistant/components/ffmpeg/camera.py index 07e56cfd51..8bca13cfbb 100644 --- a/homeassistant/components/ffmpeg/camera.py +++ b/homeassistant/components/ffmpeg/camera.py @@ -1,9 +1,4 @@ -""" -Support for Cameras with FFmpeg as decoder. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/camera.ffmpeg/ -""" +"""Support for Cameras with FFmpeg as decoder.""" import asyncio import logging diff --git a/homeassistant/components/ffmpeg_motion/binary_sensor.py b/homeassistant/components/ffmpeg_motion/binary_sensor.py index 8183b0e66a..c274d84329 100644 --- a/homeassistant/components/ffmpeg_motion/binary_sensor.py +++ b/homeassistant/components/ffmpeg_motion/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Provides a binary sensor which is a collection of ffmpeg tools. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.ffmpeg_motion/ -""" +"""Provides a binary sensor which is a collection of ffmpeg tools.""" import logging import voluptuous as vol diff --git a/homeassistant/components/ffmpeg_noise/binary_sensor.py b/homeassistant/components/ffmpeg_noise/binary_sensor.py index 56edf1ddfd..7efcc3deda 100644 --- a/homeassistant/components/ffmpeg_noise/binary_sensor.py +++ b/homeassistant/components/ffmpeg_noise/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Provides a binary sensor which is a collection of ffmpeg tools. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.ffmpeg_noise/ -""" +"""Provides a binary sensor which is a collection of ffmpeg tools.""" import logging import voluptuous as vol diff --git a/homeassistant/components/file/notify.py b/homeassistant/components/file/notify.py index d449476469..07718dcf36 100644 --- a/homeassistant/components/file/notify.py +++ b/homeassistant/components/file/notify.py @@ -1,9 +1,4 @@ -""" -Support for file notification. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.file/ -""" +"""Support for file notification.""" import logging import os diff --git a/homeassistant/components/file/sensor.py b/homeassistant/components/file/sensor.py index 3e2a5c21be..a618c1e56d 100644 --- a/homeassistant/components/file/sensor.py +++ b/homeassistant/components/file/sensor.py @@ -1,9 +1,4 @@ -""" -Support for sensor value(s) stored in local files. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.file/ -""" +"""Support for sensor value(s) stored in local files.""" import os import logging diff --git a/homeassistant/components/filesize/sensor.py b/homeassistant/components/filesize/sensor.py index 4df858fda2..3e1394c72d 100644 --- a/homeassistant/components/filesize/sensor.py +++ b/homeassistant/components/filesize/sensor.py @@ -1,9 +1,4 @@ -""" -Sensor for monitoring the size of a file. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.filesize/ -""" +"""Sensor for monitoring the size of a file.""" import datetime import logging import os diff --git a/homeassistant/components/filter/sensor.py b/homeassistant/components/filter/sensor.py index 92e2cc751a..734caa3127 100644 --- a/homeassistant/components/filter/sensor.py +++ b/homeassistant/components/filter/sensor.py @@ -1,9 +1,4 @@ -""" -Allows the creation of a sensor that filters state property. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.filter/ -""" +"""Allows the creation of a sensor that filters state property.""" import logging import statistics from collections import deque, Counter diff --git a/homeassistant/components/fints/sensor.py b/homeassistant/components/fints/sensor.py index e5dae70070..dce52785fb 100644 --- a/homeassistant/components/fints/sensor.py +++ b/homeassistant/components/fints/sensor.py @@ -1,9 +1,4 @@ -""" -Read the balance of your bank accounts via FinTS. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.fints/ -""" +"""Read the balance of your bank accounts via FinTS.""" from collections import namedtuple from datetime import timedelta diff --git a/homeassistant/components/fitbit/sensor.py b/homeassistant/components/fitbit/sensor.py index d5d9150e4e..abbe69c3e1 100644 --- a/homeassistant/components/fitbit/sensor.py +++ b/homeassistant/components/fitbit/sensor.py @@ -1,9 +1,4 @@ -""" -Support for the Fitbit API. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.fitbit/ -""" +"""Support for the Fitbit API.""" import os import logging import datetime diff --git a/homeassistant/components/fixer/sensor.py b/homeassistant/components/fixer/sensor.py index c46fa75131..f746d2008e 100644 --- a/homeassistant/components/fixer/sensor.py +++ b/homeassistant/components/fixer/sensor.py @@ -1,9 +1,4 @@ -""" -Currency exchange rate support that comes from fixer.io. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.fixer/ -""" +"""Currency exchange rate support that comes from fixer.io.""" from datetime import timedelta import logging diff --git a/homeassistant/components/flic/binary_sensor.py b/homeassistant/components/flic/binary_sensor.py index baf1d469b2..083ac01ab4 100644 --- a/homeassistant/components/flic/binary_sensor.py +++ b/homeassistant/components/flic/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support to use flic buttons as a binary sensor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.flic/ -""" +"""Support to use flic buttons as a binary sensor.""" import logging import threading diff --git a/homeassistant/components/flock/notify.py b/homeassistant/components/flock/notify.py index b37483d2f1..384bf26599 100644 --- a/homeassistant/components/flock/notify.py +++ b/homeassistant/components/flock/notify.py @@ -1,9 +1,4 @@ -""" -Flock platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.flock/ -""" +"""Flock platform for notify component.""" import asyncio import logging diff --git a/homeassistant/components/flunearyou/sensor.py b/homeassistant/components/flunearyou/sensor.py index 8dfb330cf5..65de2c6ae4 100644 --- a/homeassistant/components/flunearyou/sensor.py +++ b/homeassistant/components/flunearyou/sensor.py @@ -1,9 +1,4 @@ -""" -Support for user- and CDC-based flu info sensors from Flu Near You. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.flunearyou/ -""" +"""Support for user- and CDC-based flu info sensors from Flu Near You.""" import logging from datetime import timedelta diff --git a/homeassistant/components/flux_led/light.py b/homeassistant/components/flux_led/light.py index 17c288da6c..0ed14c49ec 100644 --- a/homeassistant/components/flux_led/light.py +++ b/homeassistant/components/flux_led/light.py @@ -1,9 +1,4 @@ -""" -Support for Flux lights. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.flux_led/ -""" +"""Support for Flux lights.""" import logging import socket import random diff --git a/homeassistant/components/folder/sensor.py b/homeassistant/components/folder/sensor.py index 8101bbd059..d742166a19 100644 --- a/homeassistant/components/folder/sensor.py +++ b/homeassistant/components/folder/sensor.py @@ -1,9 +1,4 @@ -""" -Sensor for monitoring the contents of a folder. - -For more details about this platform, refer to the documentation at -https://home-assistant.io/components/sensor.folder/ -""" +"""Sensor for monitoring the contents of a folder.""" from datetime import timedelta import glob import logging diff --git a/homeassistant/components/foobot/sensor.py b/homeassistant/components/foobot/sensor.py index 62139c53c4..2eeca5243a 100644 --- a/homeassistant/components/foobot/sensor.py +++ b/homeassistant/components/foobot/sensor.py @@ -1,9 +1,4 @@ -""" -Support for the Foobot indoor air quality monitor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.foobot/ -""" +"""Support for the Foobot indoor air quality monitor.""" import asyncio import logging from datetime import timedelta diff --git a/homeassistant/components/foscam/camera.py b/homeassistant/components/foscam/camera.py index b6f2162d57..9852f617d0 100644 --- a/homeassistant/components/foscam/camera.py +++ b/homeassistant/components/foscam/camera.py @@ -1,9 +1,4 @@ -""" -This component provides basic support for Foscam IP cameras. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/camera.foscam/ -""" +"""This component provides basic support for Foscam IP cameras.""" import logging import voluptuous as vol diff --git a/homeassistant/components/free_mobile/notify.py b/homeassistant/components/free_mobile/notify.py index 1c6804f6d8..03beef5235 100644 --- a/homeassistant/components/free_mobile/notify.py +++ b/homeassistant/components/free_mobile/notify.py @@ -1,9 +1,4 @@ -""" -Support for thr Free Mobile SMS platform. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.free_mobile/ -""" +"""Support for thr Free Mobile SMS platform.""" import logging import voluptuous as vol diff --git a/homeassistant/components/freedns/__init__.py b/homeassistant/components/freedns/__init__.py index edb3a57c28..a0b1475774 100644 --- a/homeassistant/components/freedns/__init__.py +++ b/homeassistant/components/freedns/__init__.py @@ -1,9 +1,4 @@ -""" -Integrate with FreeDNS Dynamic DNS service at freedns.afraid.org. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/freedns/ -""" +"""Integrate with FreeDNS Dynamic DNS service at freedns.afraid.org.""" import asyncio from datetime import timedelta import logging diff --git a/homeassistant/components/fritz/device_tracker.py b/homeassistant/components/fritz/device_tracker.py index 75e280fe90..3e3e04f444 100644 --- a/homeassistant/components/fritz/device_tracker.py +++ b/homeassistant/components/fritz/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for FRITZ!Box routers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.fritz/ -""" +"""Support for FRITZ!Box routers.""" import logging import voluptuous as vol diff --git a/homeassistant/components/fritzbox_callmonitor/sensor.py b/homeassistant/components/fritzbox_callmonitor/sensor.py index 397f08d8a7..a6641bc14a 100644 --- a/homeassistant/components/fritzbox_callmonitor/sensor.py +++ b/homeassistant/components/fritzbox_callmonitor/sensor.py @@ -1,9 +1,4 @@ -""" -A sensor to monitor incoming and outgoing phone calls on a Fritz!Box router. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.fritzbox_callmonitor/ -""" +"""Sensor to monitor incoming/outgoing phone calls on a Fritz!Box router.""" import logging import socket import threading diff --git a/homeassistant/components/fritzbox_netmonitor/sensor.py b/homeassistant/components/fritzbox_netmonitor/sensor.py index 356c142401..93f834a894 100644 --- a/homeassistant/components/fritzbox_netmonitor/sensor.py +++ b/homeassistant/components/fritzbox_netmonitor/sensor.py @@ -1,9 +1,4 @@ -""" -Support for monitoring an AVM Fritz!Box router. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.fritzbox_netmonitor/ -""" +"""Support for monitoring an AVM Fritz!Box router.""" import logging from datetime import timedelta from requests.exceptions import RequestException diff --git a/homeassistant/components/fritzdect/switch.py b/homeassistant/components/fritzdect/switch.py index 0d9008552a..449ae5a76f 100644 --- a/homeassistant/components/fritzdect/switch.py +++ b/homeassistant/components/fritzdect/switch.py @@ -1,9 +1,4 @@ -""" -Support for FRITZ!DECT Switches. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.fritzdect/ -""" +"""Support for FRITZ!DECT Switches.""" import logging from requests.exceptions import RequestException, HTTPError diff --git a/homeassistant/components/frontier_silicon/media_player.py b/homeassistant/components/frontier_silicon/media_player.py index ed7041a3b8..4f28d83e6c 100644 --- a/homeassistant/components/frontier_silicon/media_player.py +++ b/homeassistant/components/frontier_silicon/media_player.py @@ -1,9 +1,4 @@ -""" -Support for Frontier Silicon Devices (Medion, Hama, Auna,...). - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.frontier_silicon/ -""" +"""Support for Frontier Silicon Devices (Medion, Hama, Auna,...).""" import logging import voluptuous as vol diff --git a/homeassistant/components/futurenow/light.py b/homeassistant/components/futurenow/light.py index 8b0a809b66..4b570fd0a4 100644 --- a/homeassistant/components/futurenow/light.py +++ b/homeassistant/components/futurenow/light.py @@ -1,9 +1,4 @@ -""" -Support for FutureNow Ethernet unit outputs as Lights. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.futurenow/ -""" +"""Support for FutureNow Ethernet unit outputs as Lights.""" import logging diff --git a/homeassistant/components/garadget/cover.py b/homeassistant/components/garadget/cover.py index 426afc6d31..b3c7c7c121 100644 --- a/homeassistant/components/garadget/cover.py +++ b/homeassistant/components/garadget/cover.py @@ -1,9 +1,4 @@ -""" -Platform for the Garadget cover component. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/garadget/ -""" +"""Platform for the Garadget cover component.""" import logging import requests diff --git a/homeassistant/components/gc100/binary_sensor.py b/homeassistant/components/gc100/binary_sensor.py index ec69d1eec8..9588506af7 100644 --- a/homeassistant/components/gc100/binary_sensor.py +++ b/homeassistant/components/gc100/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for binary sensor using GC100. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.gc100/ -""" +"""Support for binary sensor using GC100.""" import voluptuous as vol from homeassistant.components.binary_sensor import ( diff --git a/homeassistant/components/gc100/switch.py b/homeassistant/components/gc100/switch.py index 94c824fa5d..1ffb272649 100644 --- a/homeassistant/components/gc100/switch.py +++ b/homeassistant/components/gc100/switch.py @@ -1,9 +1,4 @@ -""" -Support for switches using GC100. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.gc100/ -""" +"""Support for switches using GC100.""" import voluptuous as vol from homeassistant.components.switch import PLATFORM_SCHEMA diff --git a/homeassistant/components/gearbest/sensor.py b/homeassistant/components/gearbest/sensor.py index 5521e9a644..e4f85a1892 100644 --- a/homeassistant/components/gearbest/sensor.py +++ b/homeassistant/components/gearbest/sensor.py @@ -1,9 +1,4 @@ -""" -Parse prices of an item from gearbest. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.gearbest/ -""" +"""Parse prices of an item from gearbest.""" import logging from datetime import timedelta diff --git a/homeassistant/components/geizhals/sensor.py b/homeassistant/components/geizhals/sensor.py index 66cab473f4..d619d768c2 100644 --- a/homeassistant/components/geizhals/sensor.py +++ b/homeassistant/components/geizhals/sensor.py @@ -1,9 +1,4 @@ -""" -Parse prices of a device from geizhals. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.geizhals/ -""" +"""Parse prices of a device from geizhals.""" import logging from datetime import timedelta diff --git a/homeassistant/components/generic/camera.py b/homeassistant/components/generic/camera.py index c9f8616f63..bfe42a5b08 100644 --- a/homeassistant/components/generic/camera.py +++ b/homeassistant/components/generic/camera.py @@ -1,9 +1,4 @@ -""" -Support for IP Cameras. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/camera.generic/ -""" +"""Support for IP Cameras.""" import asyncio import logging diff --git a/homeassistant/components/generic_thermostat/climate.py b/homeassistant/components/generic_thermostat/climate.py index 1eb0f8e79d..35efa82c8a 100644 --- a/homeassistant/components/generic_thermostat/climate.py +++ b/homeassistant/components/generic_thermostat/climate.py @@ -1,9 +1,4 @@ -""" -Adds support for generic thermostat units. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/climate.generic_thermostat/ -""" +"""Adds support for generic thermostat units.""" import asyncio import logging diff --git a/homeassistant/components/geofency/device_tracker.py b/homeassistant/components/geofency/device_tracker.py index 5e7b829184..0a1a9d5f32 100644 --- a/homeassistant/components/geofency/device_tracker.py +++ b/homeassistant/components/geofency/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for the Geofency device tracker platform. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.geofency/ -""" +"""Support for the Geofency device tracker platform.""" import logging from homeassistant.components.device_tracker import ( diff --git a/homeassistant/components/github/sensor.py b/homeassistant/components/github/sensor.py index 335dbc668d..5a86233d56 100644 --- a/homeassistant/components/github/sensor.py +++ b/homeassistant/components/github/sensor.py @@ -1,9 +1,4 @@ -""" -Support for GitHub. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.github/ -""" +"""Support for GitHub.""" from datetime import timedelta import logging import voluptuous as vol diff --git a/homeassistant/components/gitlab_ci/sensor.py b/homeassistant/components/gitlab_ci/sensor.py index 7f3b444bb7..dd574b348d 100644 --- a/homeassistant/components/gitlab_ci/sensor.py +++ b/homeassistant/components/gitlab_ci/sensor.py @@ -1,9 +1,4 @@ -""" -Sensor for retrieving latest GitLab CI job information. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.gitlab_ci/ -""" +"""Sensor for retrieving latest GitLab CI job information.""" from datetime import timedelta import logging diff --git a/homeassistant/components/gitter/sensor.py b/homeassistant/components/gitter/sensor.py index 97cd3f662d..2af9c20fb2 100644 --- a/homeassistant/components/gitter/sensor.py +++ b/homeassistant/components/gitter/sensor.py @@ -1,9 +1,4 @@ -""" -Support for displaying details about a Gitter.im chat room. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.gitter/ -""" +"""Support for displaying details about a Gitter.im chat room.""" import logging import voluptuous as vol diff --git a/homeassistant/components/glances/sensor.py b/homeassistant/components/glances/sensor.py index 53db254e4b..e59b9144b4 100644 --- a/homeassistant/components/glances/sensor.py +++ b/homeassistant/components/glances/sensor.py @@ -1,9 +1,4 @@ -""" -Support gathering system information of hosts which are running glances. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.glances/ -""" +"""Support gathering system information of hosts which are running glances.""" from datetime import timedelta import logging diff --git a/homeassistant/components/gntp/notify.py b/homeassistant/components/gntp/notify.py index 915d33668b..fb3e96e83a 100644 --- a/homeassistant/components/gntp/notify.py +++ b/homeassistant/components/gntp/notify.py @@ -1,9 +1,4 @@ -""" -GNTP (aka Growl) notification service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.gntp/ -""" +"""GNTP (aka Growl) notification service.""" import logging import os diff --git a/homeassistant/components/gogogate2/cover.py b/homeassistant/components/gogogate2/cover.py index accc4f9ec9..4d40ddd2c7 100644 --- a/homeassistant/components/gogogate2/cover.py +++ b/homeassistant/components/gogogate2/cover.py @@ -1,9 +1,4 @@ -""" -Support for Gogogate2 garage Doors. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/cover.gogogate2/ -""" +"""Support for Gogogate2 garage Doors.""" import logging import voluptuous as vol diff --git a/homeassistant/components/google_assistant/http.py b/homeassistant/components/google_assistant/http.py index cbe2015f4f..11d8a38416 100644 --- a/homeassistant/components/google_assistant/http.py +++ b/homeassistant/components/google_assistant/http.py @@ -1,9 +1,4 @@ -""" -Support for Google Actions Smart Home Control. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/google_assistant/ -""" +"""Support for Google Actions Smart Home Control.""" import logging from aiohttp.web import Request, Response diff --git a/homeassistant/components/google_maps/device_tracker.py b/homeassistant/components/google_maps/device_tracker.py index 3de60d6cb3..7bc9be00b8 100644 --- a/homeassistant/components/google_maps/device_tracker.py +++ b/homeassistant/components/google_maps/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for Google Maps location sharing. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.google_maps/ -""" +"""Support for Google Maps location sharing.""" from datetime import timedelta import logging diff --git a/homeassistant/components/google_travel_time/sensor.py b/homeassistant/components/google_travel_time/sensor.py index 86b1a7aff4..b448830ab0 100644 --- a/homeassistant/components/google_travel_time/sensor.py +++ b/homeassistant/components/google_travel_time/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Google travel time sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.google_travel_time/ -""" +"""Support for Google travel time sensors.""" import logging from datetime import datetime from datetime import timedelta diff --git a/homeassistant/components/google_wifi/sensor.py b/homeassistant/components/google_wifi/sensor.py index b78e9afb8b..202e2a0eb4 100644 --- a/homeassistant/components/google_wifi/sensor.py +++ b/homeassistant/components/google_wifi/sensor.py @@ -1,9 +1,4 @@ -""" -Support for retrieving status info from Google Wifi/OnHub routers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.google_wifi/ -""" +"""Support for retrieving status info from Google Wifi/OnHub routers.""" import logging from datetime import timedelta diff --git a/homeassistant/components/gpmdp/media_player.py b/homeassistant/components/gpmdp/media_player.py index c72d14ebb8..788126b957 100644 --- a/homeassistant/components/gpmdp/media_player.py +++ b/homeassistant/components/gpmdp/media_player.py @@ -1,9 +1,4 @@ -""" -Support for Google Play Music Desktop Player. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.gpmdp/ -""" +"""Support for Google Play Music Desktop Player.""" import json import logging import socket diff --git a/homeassistant/components/gpsd/sensor.py b/homeassistant/components/gpsd/sensor.py index b1ce428e1f..62307cb101 100644 --- a/homeassistant/components/gpsd/sensor.py +++ b/homeassistant/components/gpsd/sensor.py @@ -1,9 +1,4 @@ -""" -Support for GPSD. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.gpsd/ -""" +"""Support for GPSD.""" import logging import voluptuous as vol diff --git a/homeassistant/components/greeneye_monitor/sensor.py b/homeassistant/components/greeneye_monitor/sensor.py index 4dee9d69b4..8321bb768c 100644 --- a/homeassistant/components/greeneye_monitor/sensor.py +++ b/homeassistant/components/greeneye_monitor/sensor.py @@ -1,9 +1,4 @@ -""" -Support for the sensors in a GreenEye Monitor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensors.greeneye_monitor_temperature/ -""" +"""Support for the sensors in a GreenEye Monitor.""" import logging from homeassistant.const import CONF_NAME, CONF_TEMPERATURE_UNIT, POWER_WATT diff --git a/homeassistant/components/greenwave/light.py b/homeassistant/components/greenwave/light.py index 0c484a0e3f..b8efe8ae17 100644 --- a/homeassistant/components/greenwave/light.py +++ b/homeassistant/components/greenwave/light.py @@ -1,9 +1,4 @@ -""" -Support for Greenwave Reality (TCP Connected) lights. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.greenwave/ -""" +"""Support for Greenwave Reality (TCP Connected) lights.""" import logging from datetime import timedelta diff --git a/homeassistant/components/group/cover.py b/homeassistant/components/group/cover.py index c182521143..385d20949d 100644 --- a/homeassistant/components/group/cover.py +++ b/homeassistant/components/group/cover.py @@ -1,9 +1,4 @@ -""" -This platform allows several cover to be grouped into one cover. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/cover.group/ -""" +"""This platform allows several cover to be grouped into one cover.""" import logging import voluptuous as vol diff --git a/homeassistant/components/group/light.py b/homeassistant/components/group/light.py index c37c5cc4e8..170e93398a 100644 --- a/homeassistant/components/group/light.py +++ b/homeassistant/components/group/light.py @@ -1,9 +1,4 @@ -""" -This platform allows several lights to be grouped into one light. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.group/ -""" +"""This platform allows several lights to be grouped into one light.""" from collections import Counter import itertools import logging diff --git a/homeassistant/components/group/notify.py b/homeassistant/components/group/notify.py index 200464bb8c..b59c49563e 100644 --- a/homeassistant/components/group/notify.py +++ b/homeassistant/components/group/notify.py @@ -1,9 +1,4 @@ -""" -Group platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.group/ -""" +"""Group platform for notify component.""" import asyncio from collections.abc import Mapping from copy import deepcopy diff --git a/homeassistant/components/gstreamer/media_player.py b/homeassistant/components/gstreamer/media_player.py index c657189447..094a561d31 100644 --- a/homeassistant/components/gstreamer/media_player.py +++ b/homeassistant/components/gstreamer/media_player.py @@ -1,9 +1,4 @@ -""" -Play media via gstreamer. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.gstreamer/ -""" +"""Play media via gstreamer.""" import logging import voluptuous as vol diff --git a/homeassistant/components/gtfs/sensor.py b/homeassistant/components/gtfs/sensor.py index c94f97d93d..9e89a8ad84 100644 --- a/homeassistant/components/gtfs/sensor.py +++ b/homeassistant/components/gtfs/sensor.py @@ -1,9 +1,4 @@ -""" -Support for GTFS (Google/General Transport Format Schema). - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.gtfs/ -""" +"""Support for GTFS (Google/General Transport Format Schema).""" import datetime import logging import os diff --git a/homeassistant/components/gtt/sensor.py b/homeassistant/components/gtt/sensor.py index a64c743381..659984fade 100644 --- a/homeassistant/components/gtt/sensor.py +++ b/homeassistant/components/gtt/sensor.py @@ -1,9 +1,4 @@ -""" -Sensor to get GTT's timetable for a stop. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.gtt/ -""" +"""Sensor to get GTT's timetable for a stop.""" import logging from datetime import timedelta, datetime diff --git a/homeassistant/components/harman_kardon_avr/media_player.py b/homeassistant/components/harman_kardon_avr/media_player.py index 334757c086..cec0ac4f5c 100644 --- a/homeassistant/components/harman_kardon_avr/media_player.py +++ b/homeassistant/components/harman_kardon_avr/media_player.py @@ -1,9 +1,4 @@ -""" -Support for interface with an Harman/Kardon or JBL AVR. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.harman_kardon_avr/ -""" +"""Support for interface with an Harman/Kardon or JBL AVR.""" import logging import voluptuous as vol diff --git a/homeassistant/components/haveibeenpwned/sensor.py b/homeassistant/components/haveibeenpwned/sensor.py index a4ae2349e2..72cc5ced3e 100644 --- a/homeassistant/components/haveibeenpwned/sensor.py +++ b/homeassistant/components/haveibeenpwned/sensor.py @@ -1,9 +1,4 @@ -""" -Support for haveibeenpwned (email breaches) sensor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.haveibeenpwned/ -""" +"""Support for haveibeenpwned (email breaches) sensor.""" from datetime import timedelta import logging diff --git a/homeassistant/components/hddtemp/sensor.py b/homeassistant/components/hddtemp/sensor.py index 52514a2de3..6d96f244f5 100644 --- a/homeassistant/components/hddtemp/sensor.py +++ b/homeassistant/components/hddtemp/sensor.py @@ -1,9 +1,4 @@ -""" -Support for getting the disk temperature of a host. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.hddtemp/ -""" +"""Support for getting the disk temperature of a host.""" import logging from datetime import timedelta from telnetlib import Telnet diff --git a/homeassistant/components/heatmiser/climate.py b/homeassistant/components/heatmiser/climate.py index ff495706be..fc9057bc90 100644 --- a/homeassistant/components/heatmiser/climate.py +++ b/homeassistant/components/heatmiser/climate.py @@ -1,9 +1,4 @@ -""" -Support for the PRT Heatmiser themostats using the V3 protocol. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/climate.heatmiser/ -""" +"""Support for the PRT Heatmiser themostats using the V3 protocol.""" import logging import voluptuous as vol diff --git a/homeassistant/components/hikvision/binary_sensor.py b/homeassistant/components/hikvision/binary_sensor.py index fdefc40d8f..a6a82c9ee1 100644 --- a/homeassistant/components/hikvision/binary_sensor.py +++ b/homeassistant/components/hikvision/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for Hikvision event stream events represented as binary sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.hikvision/ -""" +"""Support for Hikvision event stream events represented as binary sensors.""" import logging from datetime import timedelta import voluptuous as vol diff --git a/homeassistant/components/hikvisioncam/switch.py b/homeassistant/components/hikvisioncam/switch.py index 3a3dec26e1..6e5dcdac9a 100644 --- a/homeassistant/components/hikvisioncam/switch.py +++ b/homeassistant/components/hikvisioncam/switch.py @@ -1,9 +1,4 @@ -""" -Support turning on/off motion detection on Hikvision cameras. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.hikvision/ -""" +"""Support turning on/off motion detection on Hikvision cameras.""" import logging import voluptuous as vol diff --git a/homeassistant/components/hipchat/notify.py b/homeassistant/components/hipchat/notify.py index 9e415171f2..5128b8beea 100644 --- a/homeassistant/components/hipchat/notify.py +++ b/homeassistant/components/hipchat/notify.py @@ -1,9 +1,4 @@ -""" -HipChat platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.hipchat/ -""" +"""HipChat platform for notify component.""" import logging import voluptuous as vol diff --git a/homeassistant/components/history_stats/sensor.py b/homeassistant/components/history_stats/sensor.py index f5b76c89ab..f1eea4dd69 100644 --- a/homeassistant/components/history_stats/sensor.py +++ b/homeassistant/components/history_stats/sensor.py @@ -1,9 +1,4 @@ -""" -Component to make instant statistics about your history. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.history_stats/ -""" +"""Component to make instant statistics about your history.""" import datetime import logging import math diff --git a/homeassistant/components/hitron_coda/device_tracker.py b/homeassistant/components/hitron_coda/device_tracker.py index 72817ca695..e6f68d704f 100644 --- a/homeassistant/components/hitron_coda/device_tracker.py +++ b/homeassistant/components/hitron_coda/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for the Hitron CODA-4582U, provided by Rogers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.hitron_coda/ -""" +"""Support for the Hitron CODA-4582U, provided by Rogers.""" import logging from collections import namedtuple diff --git a/homeassistant/components/homematic/notify.py b/homeassistant/components/homematic/notify.py index 021560eee3..9054c1fa0a 100644 --- a/homeassistant/components/homematic/notify.py +++ b/homeassistant/components/homematic/notify.py @@ -1,9 +1,4 @@ -""" -Notification support for Homematic. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.homematic/ -""" +"""Notification support for Homematic.""" import logging import voluptuous as vol diff --git a/homeassistant/components/honeywell/climate.py b/homeassistant/components/honeywell/climate.py index 55a7fb5aa4..7460ed6e9d 100644 --- a/homeassistant/components/honeywell/climate.py +++ b/homeassistant/components/honeywell/climate.py @@ -1,9 +1,4 @@ -""" -Support for Honeywell Round Connected and Honeywell Evohome thermostats. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/climate.honeywell/ -""" +"""Support for Honeywell Round Connected and Honeywell Evohome thermostats.""" import logging import datetime diff --git a/homeassistant/components/hook/switch.py b/homeassistant/components/hook/switch.py index fdc13f59d2..7a11c1dd8b 100644 --- a/homeassistant/components/hook/switch.py +++ b/homeassistant/components/hook/switch.py @@ -1,9 +1,4 @@ -""" -Support Hook, available at hooksmarthome.com. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.hook/ -""" +"""Support Hook, available at hooksmarthome.com.""" import logging import asyncio diff --git a/homeassistant/components/horizon/media_player.py b/homeassistant/components/horizon/media_player.py index 3b1ae36152..51168e4ef2 100644 --- a/homeassistant/components/horizon/media_player.py +++ b/homeassistant/components/horizon/media_player.py @@ -1,9 +1,4 @@ -""" -Support for the Unitymedia Horizon HD Recorder. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/media_player.horizon/ -""" +"""Support for the Unitymedia Horizon HD Recorder.""" from datetime import timedelta import logging diff --git a/homeassistant/components/html5/notify.py b/homeassistant/components/html5/notify.py index 8744d0afb2..f7b220ff13 100644 --- a/homeassistant/components/html5/notify.py +++ b/homeassistant/components/html5/notify.py @@ -1,9 +1,4 @@ -""" -HTML5 Push Messaging notification service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.html5/ -""" +"""HTML5 Push Messaging notification service.""" import datetime from functools import partial import json diff --git a/homeassistant/components/htu21d/sensor.py b/homeassistant/components/htu21d/sensor.py index 4f8665b201..17182bb833 100644 --- a/homeassistant/components/htu21d/sensor.py +++ b/homeassistant/components/htu21d/sensor.py @@ -1,9 +1,4 @@ -""" -Support for HTU21D temperature and humidity sensor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.htu21d/ -""" +"""Support for HTU21D temperature and humidity sensor.""" from datetime import timedelta from functools import partial import logging diff --git a/homeassistant/components/huawei_router/device_tracker.py b/homeassistant/components/huawei_router/device_tracker.py index 18f3c0b8c6..88e2a57a57 100644 --- a/homeassistant/components/huawei_router/device_tracker.py +++ b/homeassistant/components/huawei_router/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for HUAWEI routers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.huawei_router/ -""" +"""Support for HUAWEI routers.""" import base64 import logging import re diff --git a/homeassistant/components/ialarm/alarm_control_panel.py b/homeassistant/components/ialarm/alarm_control_panel.py index df975ef00a..8152c2496e 100644 --- a/homeassistant/components/ialarm/alarm_control_panel.py +++ b/homeassistant/components/ialarm/alarm_control_panel.py @@ -1,9 +1,4 @@ -""" -Interfaces with iAlarm control panels. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/alarm_control_panel.ialarm/ -""" +"""Interfaces with iAlarm control panels.""" import logging import re diff --git a/homeassistant/components/icloud/device_tracker.py b/homeassistant/components/icloud/device_tracker.py index 9ac77cf7f0..1d0e0d2faf 100644 --- a/homeassistant/components/icloud/device_tracker.py +++ b/homeassistant/components/icloud/device_tracker.py @@ -1,9 +1,4 @@ -""" -Platform that supports scanning iCloud. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.icloud/ -""" +"""Platform that supports scanning iCloud.""" import logging import random import os diff --git a/homeassistant/components/iglo/light.py b/homeassistant/components/iglo/light.py index 9dca5f8e5f..6851141efb 100644 --- a/homeassistant/components/iglo/light.py +++ b/homeassistant/components/iglo/light.py @@ -1,9 +1,4 @@ -""" -Support for lights under the iGlo brand. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.iglo/ -""" +"""Support for lights under the iGlo brand.""" import logging import math diff --git a/homeassistant/components/image_processing/__init__.py b/homeassistant/components/image_processing/__init__.py index aa3b2db736..e519398562 100644 --- a/homeassistant/components/image_processing/__init__.py +++ b/homeassistant/components/image_processing/__init__.py @@ -1,9 +1,4 @@ -""" -Provides functionality to interact with image processing services. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/image_processing/ -""" +"""Provides functionality to interact with image processing services.""" import asyncio from datetime import timedelta import logging diff --git a/homeassistant/components/imap/sensor.py b/homeassistant/components/imap/sensor.py index 571d05e78e..5ff23eb8e5 100644 --- a/homeassistant/components/imap/sensor.py +++ b/homeassistant/components/imap/sensor.py @@ -1,9 +1,4 @@ -""" -IMAP sensor support. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.imap/ -""" +"""IMAP sensor support.""" import asyncio import logging diff --git a/homeassistant/components/imap_email_content/sensor.py b/homeassistant/components/imap_email_content/sensor.py index 714a6c3878..950007b462 100644 --- a/homeassistant/components/imap_email_content/sensor.py +++ b/homeassistant/components/imap_email_content/sensor.py @@ -1,9 +1,4 @@ -""" -Email sensor support. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.imap_email_content/ -""" +"""Email sensor support.""" import logging import datetime import email diff --git a/homeassistant/components/influxdb/sensor.py b/homeassistant/components/influxdb/sensor.py index 9dbb4787df..3bec7e3c65 100644 --- a/homeassistant/components/influxdb/sensor.py +++ b/homeassistant/components/influxdb/sensor.py @@ -1,9 +1,4 @@ -""" -InfluxDB component which allows you to get data from an Influx database. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/sensor.influxdb/ -""" +"""InfluxDB component which allows you to get data from an Influx database.""" from datetime import timedelta import logging diff --git a/homeassistant/components/integration/sensor.py b/homeassistant/components/integration/sensor.py index 9250c8dde0..3a72c81fa1 100644 --- a/homeassistant/components/integration/sensor.py +++ b/homeassistant/components/integration/sensor.py @@ -1,9 +1,4 @@ -""" -Numeric integration of data coming from a source sensor over time. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.integration/ -""" +"""Numeric integration of data coming from a source sensor over time.""" import logging from decimal import Decimal, DecimalException diff --git a/homeassistant/components/islamic_prayer_times/sensor.py b/homeassistant/components/islamic_prayer_times/sensor.py index 5033143549..9efbc237e3 100644 --- a/homeassistant/components/islamic_prayer_times/sensor.py +++ b/homeassistant/components/islamic_prayer_times/sensor.py @@ -1,9 +1,4 @@ -""" -Platform to retrieve Islamic prayer times information for Home Assistant. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.islamic_prayer_times/ -""" +"""Platform to retrieve Islamic prayer times information for Home Assistant.""" import logging from datetime import datetime, timedelta diff --git a/homeassistant/components/iss/binary_sensor.py b/homeassistant/components/iss/binary_sensor.py index b986c51dda..381bc16791 100644 --- a/homeassistant/components/iss/binary_sensor.py +++ b/homeassistant/components/iss/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for International Space Station data sensor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.iss/ -""" +"""Support for International Space Station data sensor.""" import logging from datetime import timedelta diff --git a/homeassistant/components/itunes/media_player.py b/homeassistant/components/itunes/media_player.py index f8380032ae..8451d75195 100644 --- a/homeassistant/components/itunes/media_player.py +++ b/homeassistant/components/itunes/media_player.py @@ -1,9 +1,4 @@ -""" -Support for interfacing to iTunes API. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.itunes/ -""" +"""Support for interfacing to iTunes API.""" import logging import requests diff --git a/homeassistant/components/jewish_calendar/sensor.py b/homeassistant/components/jewish_calendar/sensor.py index 65aeaf7fba..478bbed98f 100644 --- a/homeassistant/components/jewish_calendar/sensor.py +++ b/homeassistant/components/jewish_calendar/sensor.py @@ -1,9 +1,4 @@ -""" -Platform to retrieve Jewish calendar information for Home Assistant. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.jewish_calendar/ -""" +"""Platform to retrieve Jewish calendar information for Home Assistant.""" import logging import voluptuous as vol diff --git a/homeassistant/components/kankun/switch.py b/homeassistant/components/kankun/switch.py index 86e7fcdab3..a8282a366a 100644 --- a/homeassistant/components/kankun/switch.py +++ b/homeassistant/components/kankun/switch.py @@ -1,9 +1,4 @@ -""" -Support for customised Kankun SP3 Wifi switch. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.kankun/ -""" +"""Support for customised Kankun SP3 Wifi switch.""" import logging import requests diff --git a/homeassistant/components/keenetic_ndms2/device_tracker.py b/homeassistant/components/keenetic_ndms2/device_tracker.py index b8c2124ff0..f873507112 100644 --- a/homeassistant/components/keenetic_ndms2/device_tracker.py +++ b/homeassistant/components/keenetic_ndms2/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for Zyxel Keenetic NDMS2 based routers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.keenetic_ndms2/ -""" +"""Support for Zyxel Keenetic NDMS2 based routers.""" import logging import voluptuous as vol diff --git a/homeassistant/components/kiwi/lock.py b/homeassistant/components/kiwi/lock.py index 5d21779676..0b5806425d 100644 --- a/homeassistant/components/kiwi/lock.py +++ b/homeassistant/components/kiwi/lock.py @@ -1,9 +1,4 @@ -""" -Support for the KIWI.KI lock platform. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/lock.kiwi/ -""" +"""Support for the KIWI.KI lock platform.""" import logging import voluptuous as vol diff --git a/homeassistant/components/kodi/media_player.py b/homeassistant/components/kodi/media_player.py index f8d0cdc5a1..81c93dba2a 100644 --- a/homeassistant/components/kodi/media_player.py +++ b/homeassistant/components/kodi/media_player.py @@ -1,9 +1,4 @@ -""" -Support for interfacing with the XBMC/Kodi JSON-RPC API. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.kodi/ -""" +"""Support for interfacing with the XBMC/Kodi JSON-RPC API.""" import asyncio from collections import OrderedDict from functools import wraps diff --git a/homeassistant/components/kodi/notify.py b/homeassistant/components/kodi/notify.py index 7c2a60f349..f6ee2c47b9 100644 --- a/homeassistant/components/kodi/notify.py +++ b/homeassistant/components/kodi/notify.py @@ -1,9 +1,4 @@ -""" -Kodi notification service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.kodi/ -""" +"""Kodi notification service.""" import logging import aiohttp diff --git a/homeassistant/components/kwb/sensor.py b/homeassistant/components/kwb/sensor.py index f490fbd5b1..bad0ea3cde 100644 --- a/homeassistant/components/kwb/sensor.py +++ b/homeassistant/components/kwb/sensor.py @@ -1,9 +1,4 @@ -""" -Support for KWB Easyfire. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.kwb/ -""" +"""Support for KWB Easyfire.""" import logging import voluptuous as vol diff --git a/homeassistant/components/lacrosse/sensor.py b/homeassistant/components/lacrosse/sensor.py index 32b1dac925..9240343a5e 100644 --- a/homeassistant/components/lacrosse/sensor.py +++ b/homeassistant/components/lacrosse/sensor.py @@ -1,9 +1,4 @@ -""" -Support for LaCrosse sensor components. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.lacrosse/ -""" +"""Support for LaCrosse sensor components.""" from datetime import timedelta import logging diff --git a/homeassistant/components/lannouncer/notify.py b/homeassistant/components/lannouncer/notify.py index 3b2e72b398..535940a80f 100644 --- a/homeassistant/components/lannouncer/notify.py +++ b/homeassistant/components/lannouncer/notify.py @@ -1,9 +1,4 @@ -""" -Lannouncer platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.lannouncer/ -""" +"""Lannouncer platform for notify component.""" import logging import socket from urllib.parse import urlencode diff --git a/homeassistant/components/launch_library/sensor.py b/homeassistant/components/launch_library/sensor.py index aaed2f9663..4b42ddba26 100644 --- a/homeassistant/components/launch_library/sensor.py +++ b/homeassistant/components/launch_library/sensor.py @@ -1,9 +1,4 @@ -""" -A sensor platform that give you information about the next space launch. - -For more details about this platform, please refer to the documentation at -https://www.home-assistant.io/components/sensor.launch_library/ -""" +"""A sensor platform that give you information about the next space launch.""" from datetime import timedelta import logging diff --git a/homeassistant/components/lg_netcast/media_player.py b/homeassistant/components/lg_netcast/media_player.py index 7c5d978937..12fee5fae9 100644 --- a/homeassistant/components/lg_netcast/media_player.py +++ b/homeassistant/components/lg_netcast/media_player.py @@ -1,9 +1,4 @@ -""" -Support for LG TV running on NetCast 3 or 4. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.lg_netcast/ -""" +"""Support for LG TV running on NetCast 3 or 4.""" from datetime import timedelta import logging diff --git a/homeassistant/components/lg_soundbar/media_player.py b/homeassistant/components/lg_soundbar/media_player.py index b45baf88bc..2e2481a462 100644 --- a/homeassistant/components/lg_soundbar/media_player.py +++ b/homeassistant/components/lg_soundbar/media_player.py @@ -1,9 +1,4 @@ -""" -Support for LG soundbars. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.lg_soundbar/ -""" +"""Support for LG soundbars.""" import logging from homeassistant.components.media_player import ( diff --git a/homeassistant/components/light/__init__.py b/homeassistant/components/light/__init__.py index e3971cd8e4..db2e9ce019 100644 --- a/homeassistant/components/light/__init__.py +++ b/homeassistant/components/light/__init__.py @@ -1,9 +1,4 @@ -""" -Provides functionality to interact with lights. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/light/ -""" +"""Provides functionality to interact with lights.""" import asyncio import csv from datetime import timedelta diff --git a/homeassistant/components/limitlessled/light.py b/homeassistant/components/limitlessled/light.py index 3a0225d8d6..4f187afa1d 100644 --- a/homeassistant/components/limitlessled/light.py +++ b/homeassistant/components/limitlessled/light.py @@ -1,9 +1,4 @@ -""" -Support for LimitlessLED bulbs. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.limitlessled/ -""" +"""Support for LimitlessLED bulbs.""" import logging import voluptuous as vol diff --git a/homeassistant/components/linksys_ap/device_tracker.py b/homeassistant/components/linksys_ap/device_tracker.py index 5638db4caa..46cc78d4e4 100644 --- a/homeassistant/components/linksys_ap/device_tracker.py +++ b/homeassistant/components/linksys_ap/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for Linksys Access Points. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.linksys_ap/ -""" +"""Support for Linksys Access Points.""" import base64 import logging diff --git a/homeassistant/components/linky/sensor.py b/homeassistant/components/linky/sensor.py index 7a10513016..35f85f15ed 100644 --- a/homeassistant/components/linky/sensor.py +++ b/homeassistant/components/linky/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Linky. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/sensor.linky/ -""" +"""Support for Linky.""" import logging import json from datetime import timedelta diff --git a/homeassistant/components/linux_battery/sensor.py b/homeassistant/components/linux_battery/sensor.py index 69fc145a4a..7164315de8 100644 --- a/homeassistant/components/linux_battery/sensor.py +++ b/homeassistant/components/linux_battery/sensor.py @@ -1,9 +1,4 @@ -""" -Details about the built-in battery. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.linux_battery/ -""" +"""Details about the built-in battery.""" import logging import os diff --git a/homeassistant/components/litejet/light.py b/homeassistant/components/litejet/light.py index 8662afc668..e52e50ed21 100644 --- a/homeassistant/components/litejet/light.py +++ b/homeassistant/components/litejet/light.py @@ -1,9 +1,4 @@ -""" -Support for LiteJet lights. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.litejet/ -""" +"""Support for LiteJet lights.""" import logging from homeassistant.components import litejet diff --git a/homeassistant/components/litejet/switch.py b/homeassistant/components/litejet/switch.py index b9755569fd..9972dcb9f4 100644 --- a/homeassistant/components/litejet/switch.py +++ b/homeassistant/components/litejet/switch.py @@ -1,9 +1,4 @@ -""" -Support for LiteJet switch. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.litejet/ -""" +"""Support for LiteJet switch.""" import logging from homeassistant.components import litejet diff --git a/homeassistant/components/liveboxplaytv/media_player.py b/homeassistant/components/liveboxplaytv/media_player.py index f69c3c67ae..1ee9931d23 100644 --- a/homeassistant/components/liveboxplaytv/media_player.py +++ b/homeassistant/components/liveboxplaytv/media_player.py @@ -1,9 +1,4 @@ -""" -Support for interface with an Orange Livebox Play TV appliance. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.liveboxplaytv/ -""" +"""Support for interface with an Orange Livebox Play TV appliance.""" from datetime import timedelta import logging diff --git a/homeassistant/components/llamalab_automate/notify.py b/homeassistant/components/llamalab_automate/notify.py index 6b59d11e0a..d43988ada4 100644 --- a/homeassistant/components/llamalab_automate/notify.py +++ b/homeassistant/components/llamalab_automate/notify.py @@ -1,9 +1,4 @@ -""" -LlamaLab Automate notification service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.llamalab_automate/ -""" +"""LlamaLab Automate notification service.""" import logging import requests diff --git a/homeassistant/components/local_file/camera.py b/homeassistant/components/local_file/camera.py index 56780d16f5..444f4109e9 100644 --- a/homeassistant/components/local_file/camera.py +++ b/homeassistant/components/local_file/camera.py @@ -1,9 +1,4 @@ -""" -Camera that loads a picture from a local file. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/camera.local_file/ -""" +"""Camera that loads a picture from a local file.""" import logging import mimetypes import os diff --git a/homeassistant/components/locative/device_tracker.py b/homeassistant/components/locative/device_tracker.py index 9dbf7e74fe..51135f4e21 100644 --- a/homeassistant/components/locative/device_tracker.py +++ b/homeassistant/components/locative/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for the Locative platform. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.locative/ -""" +"""Support for the Locative platform.""" import logging from homeassistant.components.device_tracker import ( diff --git a/homeassistant/components/lock/__init__.py b/homeassistant/components/lock/__init__.py index 71c838679f..fe5286ba81 100644 --- a/homeassistant/components/lock/__init__.py +++ b/homeassistant/components/lock/__init__.py @@ -1,9 +1,4 @@ -""" -Component to interface with various locks that can be controlled remotely. - -For more details about this component, please refer to the documentation -at https://home-assistant.io/components/lock/ -""" +"""Component to interface with locks that can be controlled remotely.""" from datetime import timedelta import functools as ft import logging diff --git a/homeassistant/components/lockitron/lock.py b/homeassistant/components/lockitron/lock.py index b190a5cd2c..0ec838f4d4 100644 --- a/homeassistant/components/lockitron/lock.py +++ b/homeassistant/components/lockitron/lock.py @@ -1,9 +1,4 @@ -""" -Lockitron lock platform. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/lockitron/ -""" +"""Lockitron lock platform.""" import logging import requests diff --git a/homeassistant/components/london_air/sensor.py b/homeassistant/components/london_air/sensor.py index afb50d766f..fbdc8966ad 100644 --- a/homeassistant/components/london_air/sensor.py +++ b/homeassistant/components/london_air/sensor.py @@ -1,9 +1,4 @@ -""" -Sensor for checking the status of London air. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.london_air/ -""" +"""Sensor for checking the status of London air.""" from datetime import timedelta import logging diff --git a/homeassistant/components/london_underground/sensor.py b/homeassistant/components/london_underground/sensor.py index 1c93d6a1bc..948b60b1b7 100644 --- a/homeassistant/components/london_underground/sensor.py +++ b/homeassistant/components/london_underground/sensor.py @@ -1,9 +1,4 @@ -""" -Sensor for checking the status of London Underground tube lines. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.london_underground/ -""" +"""Sensor for checking the status of London Underground tube lines.""" import logging from datetime import timedelta diff --git a/homeassistant/components/loopenergy/sensor.py b/homeassistant/components/loopenergy/sensor.py index fefba2972f..23bdf48f64 100644 --- a/homeassistant/components/loopenergy/sensor.py +++ b/homeassistant/components/loopenergy/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Loop Energy sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.loopenergy/ -""" +"""Support for Loop Energy sensors.""" import logging import voluptuous as vol diff --git a/homeassistant/components/luci/device_tracker.py b/homeassistant/components/luci/device_tracker.py index f60e8edd8c..df65ed99f2 100644 --- a/homeassistant/components/luci/device_tracker.py +++ b/homeassistant/components/luci/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for OpenWRT (luci) routers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.luci/ -""" +"""Support for OpenWRT (luci) routers.""" import logging import voluptuous as vol diff --git a/homeassistant/components/lw12wifi/light.py b/homeassistant/components/lw12wifi/light.py index 71716b4130..5d9b7635ad 100644 --- a/homeassistant/components/lw12wifi/light.py +++ b/homeassistant/components/lw12wifi/light.py @@ -1,9 +1,4 @@ -""" -Support for Lagute LW-12 WiFi LED Controller. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.lw12wifi/ -""" +"""Support for Lagute LW-12 WiFi LED Controller.""" import logging diff --git a/homeassistant/components/lyft/sensor.py b/homeassistant/components/lyft/sensor.py index 6fb4a6bf8b..98d79cd970 100644 --- a/homeassistant/components/lyft/sensor.py +++ b/homeassistant/components/lyft/sensor.py @@ -1,9 +1,4 @@ -""" -Support for the Lyft API. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.lyft/ -""" +"""Support for the Lyft API.""" import logging from datetime import timedelta diff --git a/homeassistant/components/magicseaweed/sensor.py b/homeassistant/components/magicseaweed/sensor.py index 0500597b96..4c09d1e09e 100644 --- a/homeassistant/components/magicseaweed/sensor.py +++ b/homeassistant/components/magicseaweed/sensor.py @@ -1,9 +1,4 @@ -""" -Support for magicseaweed data from magicseaweed.com. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.magicseaweed/ -""" +"""Support for magicseaweed data from magicseaweed.com.""" from datetime import timedelta import logging import voluptuous as vol diff --git a/homeassistant/components/manual/alarm_control_panel.py b/homeassistant/components/manual/alarm_control_panel.py index a36a38f596..14934db41c 100644 --- a/homeassistant/components/manual/alarm_control_panel.py +++ b/homeassistant/components/manual/alarm_control_panel.py @@ -1,9 +1,4 @@ -""" -Support for manual alarms. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/alarm_control_panel.manual/ -""" +"""Support for manual alarms.""" import copy import datetime import logging diff --git a/homeassistant/components/manual_mqtt/alarm_control_panel.py b/homeassistant/components/manual_mqtt/alarm_control_panel.py index 9bee2b81d6..8057a89934 100644 --- a/homeassistant/components/manual_mqtt/alarm_control_panel.py +++ b/homeassistant/components/manual_mqtt/alarm_control_panel.py @@ -1,9 +1,4 @@ -""" -Support for manual alarms controllable via MQTT. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/alarm_control_panel.manual_mqtt/ -""" +"""Support for manual alarms controllable via MQTT.""" import copy import datetime import logging diff --git a/homeassistant/components/marytts/tts.py b/homeassistant/components/marytts/tts.py index f5d19c977a..294383cb4d 100644 --- a/homeassistant/components/marytts/tts.py +++ b/homeassistant/components/marytts/tts.py @@ -1,9 +1,4 @@ -""" -Support for the MaryTTS service. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/tts.marytts/ -""" +"""Support for the MaryTTS service.""" import asyncio import logging import re diff --git a/homeassistant/components/mastodon/notify.py b/homeassistant/components/mastodon/notify.py index 6192f6cdca..c1a91b8312 100644 --- a/homeassistant/components/mastodon/notify.py +++ b/homeassistant/components/mastodon/notify.py @@ -1,9 +1,4 @@ -""" -Mastodon platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.mastodon/ -""" +"""Mastodon platform for notify component.""" import logging import voluptuous as vol diff --git a/homeassistant/components/media_player/__init__.py b/homeassistant/components/media_player/__init__.py index ad29a64576..3421551320 100644 --- a/homeassistant/components/media_player/__init__.py +++ b/homeassistant/components/media_player/__init__.py @@ -1,9 +1,4 @@ -""" -Component to interface with various media players. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/media_player/ -""" +"""Component to interface with various media players.""" import asyncio import base64 import collections diff --git a/homeassistant/components/mediaroom/media_player.py b/homeassistant/components/mediaroom/media_player.py index 29cc733293..acbc046272 100644 --- a/homeassistant/components/mediaroom/media_player.py +++ b/homeassistant/components/mediaroom/media_player.py @@ -1,9 +1,4 @@ -""" -Support for the Mediaroom Set-up-box. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.mediaroom/ -""" +"""Support for the Mediaroom Set-up-box.""" import logging import voluptuous as vol diff --git a/homeassistant/components/melissa/climate.py b/homeassistant/components/melissa/climate.py index 0df294a148..79d94a4199 100644 --- a/homeassistant/components/melissa/climate.py +++ b/homeassistant/components/melissa/climate.py @@ -1,9 +1,4 @@ -""" -Support for Melissa Climate A/C. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/climate.melissa/ -""" +"""Support for Melissa Climate A/C.""" import logging from homeassistant.components.climate import ClimateDevice diff --git a/homeassistant/components/message_bird/notify.py b/homeassistant/components/message_bird/notify.py index cfb22ff1d5..c801de34a9 100644 --- a/homeassistant/components/message_bird/notify.py +++ b/homeassistant/components/message_bird/notify.py @@ -1,9 +1,4 @@ -""" -MessageBird platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.message_bird/ -""" +"""MessageBird platform for notify component.""" import logging import voluptuous as vol diff --git a/homeassistant/components/metoffice/sensor.py b/homeassistant/components/metoffice/sensor.py index 3d9c9485da..6c4e91517d 100644 --- a/homeassistant/components/metoffice/sensor.py +++ b/homeassistant/components/metoffice/sensor.py @@ -1,9 +1,4 @@ -""" -Support for UK Met Office weather service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.metoffice/ -""" +"""Support for UK Met Office weather service.""" from datetime import timedelta import logging diff --git a/homeassistant/components/mfi/sensor.py b/homeassistant/components/mfi/sensor.py index 44e5dbda84..36f9d1a829 100644 --- a/homeassistant/components/mfi/sensor.py +++ b/homeassistant/components/mfi/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Ubiquiti mFi sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.mfi/ -""" +"""Support for Ubiquiti mFi sensors.""" import logging import requests diff --git a/homeassistant/components/mfi/switch.py b/homeassistant/components/mfi/switch.py index 521230ccbd..818081f7a2 100644 --- a/homeassistant/components/mfi/switch.py +++ b/homeassistant/components/mfi/switch.py @@ -1,9 +1,4 @@ -""" -Support for Ubiquiti mFi switches. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.mfi/ -""" +"""Support for Ubiquiti mFi switches.""" import logging import requests diff --git a/homeassistant/components/mhz19/sensor.py b/homeassistant/components/mhz19/sensor.py index dd8a039508..3aa82950fa 100644 --- a/homeassistant/components/mhz19/sensor.py +++ b/homeassistant/components/mhz19/sensor.py @@ -1,9 +1,4 @@ -""" -Support for CO2 sensor connected to a serial port. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.mhz19/ -""" +"""Support for CO2 sensor connected to a serial port.""" import logging from datetime import timedelta diff --git a/homeassistant/components/microsoft/tts.py b/homeassistant/components/microsoft/tts.py index 55cf7a4ae7..9fe31ef495 100644 --- a/homeassistant/components/microsoft/tts.py +++ b/homeassistant/components/microsoft/tts.py @@ -1,9 +1,4 @@ -""" -Support for the Microsoft Cognitive Services text-to-speech service. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/tts.microsoft/ -""" +"""Support for the Microsoft Cognitive Services text-to-speech service.""" from http.client import HTTPException import logging diff --git a/homeassistant/components/microsoft_face_detect/image_processing.py b/homeassistant/components/microsoft_face_detect/image_processing.py index ae6b9c260c..91eae07e99 100644 --- a/homeassistant/components/microsoft_face_detect/image_processing.py +++ b/homeassistant/components/microsoft_face_detect/image_processing.py @@ -1,9 +1,4 @@ -""" -Component that will help set the Microsoft face detect processing. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/image_processing.microsoft_face_detect/ -""" +"""Component that will help set the Microsoft face detect processing.""" import logging import voluptuous as vol diff --git a/homeassistant/components/microsoft_face_identify/image_processing.py b/homeassistant/components/microsoft_face_identify/image_processing.py index 7a427d9b04..52baa3617e 100644 --- a/homeassistant/components/microsoft_face_identify/image_processing.py +++ b/homeassistant/components/microsoft_face_identify/image_processing.py @@ -1,9 +1,4 @@ -""" -Component that will help set the Microsoft face for verify processing. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/image_processing.microsoft_face_identify/ -""" +"""Component that will help set the Microsoft face for verify processing.""" import logging import voluptuous as vol diff --git a/homeassistant/components/miflora/sensor.py b/homeassistant/components/miflora/sensor.py index 91f873f5a2..04595b0dae 100644 --- a/homeassistant/components/miflora/sensor.py +++ b/homeassistant/components/miflora/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Xiaomi Mi Flora BLE plant sensor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.miflora/ -""" +"""Support for Xiaomi Mi Flora BLE plant sensor.""" from datetime import timedelta import logging import voluptuous as vol diff --git a/homeassistant/components/mikrotik/device_tracker.py b/homeassistant/components/mikrotik/device_tracker.py index c4635f8dc4..ed0734588e 100644 --- a/homeassistant/components/mikrotik/device_tracker.py +++ b/homeassistant/components/mikrotik/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for Mikrotik routers as device tracker. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.mikrotik/ -""" +"""Support for Mikrotik routers as device tracker.""" import logging import ssl diff --git a/homeassistant/components/mill/climate.py b/homeassistant/components/mill/climate.py index 6867f57ee4..cb6d47a52b 100644 --- a/homeassistant/components/mill/climate.py +++ b/homeassistant/components/mill/climate.py @@ -1,9 +1,4 @@ -""" -Support for mill wifi-enabled home heaters. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/climate.mill/ -""" +"""Support for mill wifi-enabled home heaters.""" import logging diff --git a/homeassistant/components/min_max/sensor.py b/homeassistant/components/min_max/sensor.py index e18c67471d..929ef42a2d 100644 --- a/homeassistant/components/min_max/sensor.py +++ b/homeassistant/components/min_max/sensor.py @@ -1,9 +1,4 @@ -""" -Support for displaying the minimal and the maximal value. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.min_max/ -""" +"""Support for displaying the minimal and the maximal value.""" import logging import voluptuous as vol diff --git a/homeassistant/components/mitemp_bt/sensor.py b/homeassistant/components/mitemp_bt/sensor.py index f8bee17978..cea2c6a55d 100644 --- a/homeassistant/components/mitemp_bt/sensor.py +++ b/homeassistant/components/mitemp_bt/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Xiaomi Mi Temp BLE environmental sensor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.mitemp_bt/ -""" +"""Support for Xiaomi Mi Temp BLE environmental sensor.""" import logging import voluptuous as vol diff --git a/homeassistant/components/mjpeg/camera.py b/homeassistant/components/mjpeg/camera.py index 0e73dfac0b..b9aa9c3e18 100644 --- a/homeassistant/components/mjpeg/camera.py +++ b/homeassistant/components/mjpeg/camera.py @@ -1,9 +1,4 @@ -""" -Support for IP Cameras. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/camera.mjpeg/ -""" +"""Support for IP Cameras.""" import asyncio import logging from contextlib import closing diff --git a/homeassistant/components/modem_callerid/sensor.py b/homeassistant/components/modem_callerid/sensor.py index 2da7953c12..b87f484033 100644 --- a/homeassistant/components/modem_callerid/sensor.py +++ b/homeassistant/components/modem_callerid/sensor.py @@ -1,9 +1,4 @@ -""" -A sensor to monitor incoming calls using a USB modem that supports caller ID. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.modem_callerid/ -""" +"""A sensor for incoming calls using a USB modem that supports caller ID.""" import logging import voluptuous as vol from homeassistant.const import (STATE_IDLE, diff --git a/homeassistant/components/mold_indicator/sensor.py b/homeassistant/components/mold_indicator/sensor.py index 2a250f0e63..645e04a890 100644 --- a/homeassistant/components/mold_indicator/sensor.py +++ b/homeassistant/components/mold_indicator/sensor.py @@ -1,9 +1,4 @@ -""" -Calculates mold growth indication from temperature and humidity. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.mold_indicator/ -""" +"""Calculates mold growth indication from temperature and humidity.""" import logging import math diff --git a/homeassistant/components/monoprice/media_player.py b/homeassistant/components/monoprice/media_player.py index e98ad47a6e..edffd6ac7c 100644 --- a/homeassistant/components/monoprice/media_player.py +++ b/homeassistant/components/monoprice/media_player.py @@ -1,9 +1,4 @@ -""" -Support for interfacing with Monoprice 6 zone home audio controller. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.monoprice/ -""" +"""Support for interfacing with Monoprice 6 zone home audio controller.""" import logging import voluptuous as vol diff --git a/homeassistant/components/moon/sensor.py b/homeassistant/components/moon/sensor.py index a019d21fd7..3b1d70bc73 100644 --- a/homeassistant/components/moon/sensor.py +++ b/homeassistant/components/moon/sensor.py @@ -1,9 +1,4 @@ -""" -Support for tracking the moon phases. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.moon/ -""" +"""Support for tracking the moon phases.""" import logging import voluptuous as vol diff --git a/homeassistant/components/mpchc/media_player.py b/homeassistant/components/mpchc/media_player.py index 61d89c6d0b..5451866794 100644 --- a/homeassistant/components/mpchc/media_player.py +++ b/homeassistant/components/mpchc/media_player.py @@ -1,9 +1,4 @@ -""" -Support to interface with the MPC-HC Web API. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.mpchc/ -""" +"""Support to interface with the MPC-HC Web API.""" import logging import re diff --git a/homeassistant/components/mpd/media_player.py b/homeassistant/components/mpd/media_player.py index 9d8015109b..8cbc1406e0 100644 --- a/homeassistant/components/mpd/media_player.py +++ b/homeassistant/components/mpd/media_player.py @@ -1,9 +1,4 @@ -""" -Support to interact with a Music Player Daemon. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.mpd/ -""" +"""Support to interact with a Music Player Daemon.""" from datetime import timedelta import logging import os diff --git a/homeassistant/components/mqtt/__init__.py b/homeassistant/components/mqtt/__init__.py index 2c605fb4b0..3f1f861768 100644 --- a/homeassistant/components/mqtt/__init__.py +++ b/homeassistant/components/mqtt/__init__.py @@ -1,9 +1,4 @@ -""" -Support for MQTT message handling. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/mqtt/ -""" +"""Support for MQTT message handling.""" import asyncio from functools import partial, wraps import inspect diff --git a/homeassistant/components/mqtt/alarm_control_panel.py b/homeassistant/components/mqtt/alarm_control_panel.py index f1142baa37..d30c91bb9b 100644 --- a/homeassistant/components/mqtt/alarm_control_panel.py +++ b/homeassistant/components/mqtt/alarm_control_panel.py @@ -1,9 +1,4 @@ -""" -This platform enables the possibility to control a MQTT alarm. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/alarm_control_panel.mqtt/ -""" +"""This platform enables the possibility to control a MQTT alarm.""" import logging import re diff --git a/homeassistant/components/mqtt/binary_sensor.py b/homeassistant/components/mqtt/binary_sensor.py index 7532f30532..f942091984 100644 --- a/homeassistant/components/mqtt/binary_sensor.py +++ b/homeassistant/components/mqtt/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for MQTT binary sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.mqtt/ -""" +"""Support for MQTT binary sensors.""" import logging import voluptuous as vol diff --git a/homeassistant/components/mqtt/camera.py b/homeassistant/components/mqtt/camera.py index 889e553340..34e83a51f2 100644 --- a/homeassistant/components/mqtt/camera.py +++ b/homeassistant/components/mqtt/camera.py @@ -1,9 +1,4 @@ -""" -Camera that loads a picture from an MQTT topic. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/camera.mqtt/ -""" +"""Camera that loads a picture from an MQTT topic.""" import asyncio import logging diff --git a/homeassistant/components/mqtt/climate.py b/homeassistant/components/mqtt/climate.py index a9c23d27e1..52d18a0341 100644 --- a/homeassistant/components/mqtt/climate.py +++ b/homeassistant/components/mqtt/climate.py @@ -1,9 +1,4 @@ -""" -Support for MQTT climate devices. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/climate.mqtt/ -""" +"""Support for MQTT climate devices.""" import logging import voluptuous as vol diff --git a/homeassistant/components/mqtt/cover.py b/homeassistant/components/mqtt/cover.py index 8116421ac1..08b6c2b74b 100644 --- a/homeassistant/components/mqtt/cover.py +++ b/homeassistant/components/mqtt/cover.py @@ -1,9 +1,4 @@ -""" -Support for MQTT cover devices. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/cover.mqtt/ -""" +"""Support for MQTT cover devices.""" import logging import voluptuous as vol diff --git a/homeassistant/components/mqtt/device_tracker.py b/homeassistant/components/mqtt/device_tracker.py index 0f22ed150c..659c6315b2 100644 --- a/homeassistant/components/mqtt/device_tracker.py +++ b/homeassistant/components/mqtt/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for tracking MQTT enabled devices. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.mqtt/ -""" +"""Support for tracking MQTT enabled devices.""" import logging import voluptuous as vol diff --git a/homeassistant/components/mqtt/discovery.py b/homeassistant/components/mqtt/discovery.py index cb87a208b4..b10e05cbf0 100644 --- a/homeassistant/components/mqtt/discovery.py +++ b/homeassistant/components/mqtt/discovery.py @@ -1,9 +1,4 @@ -""" -Support for MQTT discovery. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/mqtt/#discovery -""" +"""Support for MQTT discovery.""" import asyncio import json import logging diff --git a/homeassistant/components/mqtt/fan.py b/homeassistant/components/mqtt/fan.py index b8bff6088d..7dff81160e 100644 --- a/homeassistant/components/mqtt/fan.py +++ b/homeassistant/components/mqtt/fan.py @@ -1,9 +1,4 @@ -""" -Support for MQTT fans. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/fan.mqtt/ -""" +"""Support for MQTT fans.""" import logging import voluptuous as vol diff --git a/homeassistant/components/mqtt/lock.py b/homeassistant/components/mqtt/lock.py index ee459d2174..e01a30f0fa 100644 --- a/homeassistant/components/mqtt/lock.py +++ b/homeassistant/components/mqtt/lock.py @@ -1,9 +1,4 @@ -""" -Support for MQTT locks. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/lock.mqtt/ -""" +"""Support for MQTT locks.""" import logging import voluptuous as vol diff --git a/homeassistant/components/mqtt/sensor.py b/homeassistant/components/mqtt/sensor.py index aa8d5e2a31..1e024fdc76 100644 --- a/homeassistant/components/mqtt/sensor.py +++ b/homeassistant/components/mqtt/sensor.py @@ -1,9 +1,4 @@ -""" -Support for MQTT sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.mqtt/ -""" +"""Support for MQTT sensors.""" from datetime import timedelta import json import logging diff --git a/homeassistant/components/mqtt/server.py b/homeassistant/components/mqtt/server.py index 3373149a01..d7d36add51 100644 --- a/homeassistant/components/mqtt/server.py +++ b/homeassistant/components/mqtt/server.py @@ -1,9 +1,4 @@ -""" -Support for a local MQTT broker. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/mqtt/#use-the-embedded-broker -""" +"""Support for a local MQTT broker.""" import asyncio import logging import tempfile diff --git a/homeassistant/components/mqtt/subscription.py b/homeassistant/components/mqtt/subscription.py index e159132d56..368a12c195 100644 --- a/homeassistant/components/mqtt/subscription.py +++ b/homeassistant/components/mqtt/subscription.py @@ -1,9 +1,4 @@ -""" -Helper to handle a set of topics to subscribe to. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/mqtt/ -""" +"""Helper to handle a set of topics to subscribe to.""" import logging from typing import Any, Callable, Dict, Optional diff --git a/homeassistant/components/mqtt/switch.py b/homeassistant/components/mqtt/switch.py index 4847afd80c..acfcf3de01 100644 --- a/homeassistant/components/mqtt/switch.py +++ b/homeassistant/components/mqtt/switch.py @@ -1,9 +1,4 @@ -""" -Support for MQTT switches. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.mqtt/ -""" +"""Support for MQTT switches.""" import logging import voluptuous as vol diff --git a/homeassistant/components/mqtt/vacuum.py b/homeassistant/components/mqtt/vacuum.py index efa00821c1..63a764e874 100644 --- a/homeassistant/components/mqtt/vacuum.py +++ b/homeassistant/components/mqtt/vacuum.py @@ -1,9 +1,4 @@ -""" -Support for a generic MQTT vacuum. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/vacuum.mqtt/ -""" +"""Support for a generic MQTT vacuum.""" import logging import voluptuous as vol diff --git a/homeassistant/components/mqtt_json/device_tracker.py b/homeassistant/components/mqtt_json/device_tracker.py index 0a1b327dca..6059b26bcb 100644 --- a/homeassistant/components/mqtt_json/device_tracker.py +++ b/homeassistant/components/mqtt_json/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for GPS tracking MQTT enabled devices. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.mqtt_json/ -""" +"""Support for GPS tracking MQTT enabled devices.""" import json import logging diff --git a/homeassistant/components/mqtt_room/sensor.py b/homeassistant/components/mqtt_room/sensor.py index 36f99719da..961769711a 100644 --- a/homeassistant/components/mqtt_room/sensor.py +++ b/homeassistant/components/mqtt_room/sensor.py @@ -1,9 +1,4 @@ -""" -Support for MQTT room presence detection. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.mqtt_room/ -""" +"""Support for MQTT room presence detection.""" import logging import json from datetime import timedelta diff --git a/homeassistant/components/mvglive/sensor.py b/homeassistant/components/mvglive/sensor.py index 71690f643f..978c9ad34e 100644 --- a/homeassistant/components/mvglive/sensor.py +++ b/homeassistant/components/mvglive/sensor.py @@ -1,9 +1,4 @@ -""" -Support for real-time departure information for public transport in Munich. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.mvglive/ -""" +"""Support for departure information for public transport in Munich.""" import logging from datetime import timedelta diff --git a/homeassistant/components/mycroft/notify.py b/homeassistant/components/mycroft/notify.py index a8a401a9c1..d66be629f1 100644 --- a/homeassistant/components/mycroft/notify.py +++ b/homeassistant/components/mycroft/notify.py @@ -1,9 +1,4 @@ -""" -Mycroft AI notification platform. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.mycroft/ -""" +"""Mycroft AI notification platform.""" import logging from homeassistant.components.notify import BaseNotificationService diff --git a/homeassistant/components/myq/cover.py b/homeassistant/components/myq/cover.py index b2587c0651..b1112f153b 100644 --- a/homeassistant/components/myq/cover.py +++ b/homeassistant/components/myq/cover.py @@ -1,9 +1,4 @@ -""" -Support for MyQ-Enabled Garage Doors. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/cover.myq/ -""" +"""Support for MyQ-Enabled Garage Doors.""" import logging import voluptuous as vol diff --git a/homeassistant/components/mystrom/binary_sensor.py b/homeassistant/components/mystrom/binary_sensor.py index 4927be27eb..42245dc4df 100644 --- a/homeassistant/components/mystrom/binary_sensor.py +++ b/homeassistant/components/mystrom/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for the myStrom buttons. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.mystrom/ -""" +"""Support for the myStrom buttons.""" import logging from homeassistant.components.binary_sensor import DOMAIN, BinarySensorDevice diff --git a/homeassistant/components/nad/media_player.py b/homeassistant/components/nad/media_player.py index 00738abe4d..8c5a14a352 100644 --- a/homeassistant/components/nad/media_player.py +++ b/homeassistant/components/nad/media_player.py @@ -1,9 +1,4 @@ -""" -Support for interfacing with NAD receivers through RS-232. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.nad/ -""" +"""Support for interfacing with NAD receivers through RS-232.""" import logging import voluptuous as vol diff --git a/homeassistant/components/nanoleaf/light.py b/homeassistant/components/nanoleaf/light.py index 818617f1b9..60457e21f9 100644 --- a/homeassistant/components/nanoleaf/light.py +++ b/homeassistant/components/nanoleaf/light.py @@ -1,9 +1,4 @@ -""" -Support for Nanoleaf Lights. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.nanoleaf/ -""" +"""Support for Nanoleaf Lights.""" import logging import voluptuous as vol diff --git a/homeassistant/components/nederlandse_spoorwegen/sensor.py b/homeassistant/components/nederlandse_spoorwegen/sensor.py index 5d9376ad9e..224d16e486 100644 --- a/homeassistant/components/nederlandse_spoorwegen/sensor.py +++ b/homeassistant/components/nederlandse_spoorwegen/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Nederlandse Spoorwegen public transport. - -For more details on this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.nederlandse_spoorwegen/ -""" +"""Support for Nederlandse Spoorwegen public transport.""" from datetime import datetime, timedelta import logging diff --git a/homeassistant/components/nello/lock.py b/homeassistant/components/nello/lock.py index e7eaea8fcd..efb7719e20 100644 --- a/homeassistant/components/nello/lock.py +++ b/homeassistant/components/nello/lock.py @@ -1,9 +1,4 @@ -""" -Nello.io lock platform. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/lock.nello/ -""" +"""Nello.io lock platform.""" from itertools import filterfalse import logging diff --git a/homeassistant/components/ness_alarm/alarm_control_panel.py b/homeassistant/components/ness_alarm/alarm_control_panel.py index f77b534980..618297ef9a 100644 --- a/homeassistant/components/ness_alarm/alarm_control_panel.py +++ b/homeassistant/components/ness_alarm/alarm_control_panel.py @@ -1,9 +1,4 @@ -""" -Support for Ness D8X/D16X alarm panel. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/alarm_control_panel.ness_alarm/ -""" +"""Support for Ness D8X/D16X alarm panel.""" import logging diff --git a/homeassistant/components/ness_alarm/binary_sensor.py b/homeassistant/components/ness_alarm/binary_sensor.py index 7b684f74aa..2bed9eb640 100644 --- a/homeassistant/components/ness_alarm/binary_sensor.py +++ b/homeassistant/components/ness_alarm/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for Ness D8X/D16X zone states - represented as binary sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.ness_alarm/ -""" +"""Support for Ness D8X/D16X zone states - represented as binary sensors.""" import logging from homeassistant.components.binary_sensor import BinarySensorDevice diff --git a/homeassistant/components/netatmo_public/sensor.py b/homeassistant/components/netatmo_public/sensor.py index 7a500b6618..3480534436 100644 --- a/homeassistant/components/netatmo_public/sensor.py +++ b/homeassistant/components/netatmo_public/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Sensors using public Netatmo data. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.netatmo_public/. -""" +"""Support for Sensors using public Netatmo data.""" from datetime import timedelta import logging diff --git a/homeassistant/components/netdata/sensor.py b/homeassistant/components/netdata/sensor.py index 6a6eea0200..6d99722a41 100644 --- a/homeassistant/components/netdata/sensor.py +++ b/homeassistant/components/netdata/sensor.py @@ -1,9 +1,4 @@ -""" -Support gathering system information of hosts which are running netdata. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.netdata/ -""" +"""Support gathering system information of hosts which are running netdata.""" from datetime import timedelta import logging diff --git a/homeassistant/components/netgear/device_tracker.py b/homeassistant/components/netgear/device_tracker.py index 49bce93215..ce8c2d6066 100644 --- a/homeassistant/components/netgear/device_tracker.py +++ b/homeassistant/components/netgear/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for Netgear routers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.netgear/ -""" +"""Support for Netgear routers.""" import logging import voluptuous as vol diff --git a/homeassistant/components/netio/switch.py b/homeassistant/components/netio/switch.py index 4492697406..27a7dfbd5e 100644 --- a/homeassistant/components/netio/switch.py +++ b/homeassistant/components/netio/switch.py @@ -1,9 +1,4 @@ -""" -The Netio switch component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.netio/ -""" +"""The Netio switch component.""" import logging from collections import namedtuple from datetime import timedelta diff --git a/homeassistant/components/neurio_energy/sensor.py b/homeassistant/components/neurio_energy/sensor.py index 673cd8da72..9e12465c69 100644 --- a/homeassistant/components/neurio_energy/sensor.py +++ b/homeassistant/components/neurio_energy/sensor.py @@ -1,9 +1,4 @@ -""" -Support for monitoring a Neurio energy sensor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.neurio_energy/ -""" +"""Support for monitoring a Neurio energy sensor.""" import logging from datetime import timedelta diff --git a/homeassistant/components/nfandroidtv/notify.py b/homeassistant/components/nfandroidtv/notify.py index c4003a6312..1cf1fbd0db 100644 --- a/homeassistant/components/nfandroidtv/notify.py +++ b/homeassistant/components/nfandroidtv/notify.py @@ -1,9 +1,4 @@ -""" -Notifications for Android TV notification service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.nfandroidtv/ -""" +"""Notifications for Android TV notification service.""" import base64 import io import logging diff --git a/homeassistant/components/niko_home_control/light.py b/homeassistant/components/niko_home_control/light.py index 6b58ced598..00e8dc838a 100644 --- a/homeassistant/components/niko_home_control/light.py +++ b/homeassistant/components/niko_home_control/light.py @@ -1,9 +1,4 @@ -""" -Support for Niko Home Control. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/light.niko_home_control/ -""" +"""Support for Niko Home Control.""" import logging import voluptuous as vol diff --git a/homeassistant/components/nilu/air_quality.py b/homeassistant/components/nilu/air_quality.py index 2ab38c1ad9..979d5736d6 100644 --- a/homeassistant/components/nilu/air_quality.py +++ b/homeassistant/components/nilu/air_quality.py @@ -1,9 +1,4 @@ -""" -Sensor for checking the air quality around Norway. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/air_quality.nilu/ -""" +"""Sensor for checking the air quality around Norway.""" from datetime import timedelta import logging diff --git a/homeassistant/components/nmbs/sensor.py b/homeassistant/components/nmbs/sensor.py index 15f2933908..034c37530b 100644 --- a/homeassistant/components/nmbs/sensor.py +++ b/homeassistant/components/nmbs/sensor.py @@ -1,9 +1,4 @@ -""" -Get ride details and liveboard details for NMBS (Belgian railway). - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.nmbs/ -""" +"""Get ride details and liveboard details for NMBS (Belgian railway).""" import logging import voluptuous as vol diff --git a/homeassistant/components/noaa_tides/sensor.py b/homeassistant/components/noaa_tides/sensor.py index 6a72fdf8f2..0c4bde94f5 100644 --- a/homeassistant/components/noaa_tides/sensor.py +++ b/homeassistant/components/noaa_tides/sensor.py @@ -1,9 +1,4 @@ -""" -Support for the NOAA Tides and Currents API. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.noaa_tides/ -""" +"""Support for the NOAA Tides and Currents API.""" from datetime import datetime, timedelta import logging diff --git a/homeassistant/components/norway_air/air_quality.py b/homeassistant/components/norway_air/air_quality.py index 712f2734ea..06ed68801f 100644 --- a/homeassistant/components/norway_air/air_quality.py +++ b/homeassistant/components/norway_air/air_quality.py @@ -1,9 +1,4 @@ -""" -Sensor for checking the air quality forecast around Norway. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/air_quality.norway_air/ -""" +"""Sensor for checking the air quality forecast around Norway.""" import logging from datetime import timedelta diff --git a/homeassistant/components/notify/__init__.py b/homeassistant/components/notify/__init__.py index f0320617e1..8bb3384aeb 100644 --- a/homeassistant/components/notify/__init__.py +++ b/homeassistant/components/notify/__init__.py @@ -1,9 +1,4 @@ -""" -Provides functionality to notify people. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/notify/ -""" +"""Provides functionality to notify people.""" import asyncio import logging from functools import partial diff --git a/homeassistant/components/nsw_fuel_station/sensor.py b/homeassistant/components/nsw_fuel_station/sensor.py index f0da619a6e..ce4337fc93 100644 --- a/homeassistant/components/nsw_fuel_station/sensor.py +++ b/homeassistant/components/nsw_fuel_station/sensor.py @@ -1,9 +1,4 @@ -""" -Sensor platform to display the current fuel prices at a NSW fuel station. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.nsw_fuel_station/ -""" +"""Sensor platform to display the current fuel prices at a NSW fuel station.""" import datetime import logging from typing import Optional diff --git a/homeassistant/components/nuheat/climate.py b/homeassistant/components/nuheat/climate.py index 27e909f8f0..32adc1d216 100644 --- a/homeassistant/components/nuheat/climate.py +++ b/homeassistant/components/nuheat/climate.py @@ -1,9 +1,4 @@ -""" -Support for NuHeat thermostats. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/climate.nuheat/ -""" +"""Support for NuHeat thermostats.""" from datetime import timedelta import logging diff --git a/homeassistant/components/nuki/lock.py b/homeassistant/components/nuki/lock.py index 8af798e31e..ef49d4b97d 100644 --- a/homeassistant/components/nuki/lock.py +++ b/homeassistant/components/nuki/lock.py @@ -1,9 +1,4 @@ -""" -Nuki.io lock platform. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/lock.nuki/ -""" +"""Nuki.io lock platform.""" from datetime import timedelta import logging diff --git a/homeassistant/components/nut/sensor.py b/homeassistant/components/nut/sensor.py index 1464c0d91c..43ba06f70e 100644 --- a/homeassistant/components/nut/sensor.py +++ b/homeassistant/components/nut/sensor.py @@ -1,9 +1,4 @@ -""" -Provides a sensor to track various status aspects of a UPS. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.nut/ -""" +"""Provides a sensor to track various status aspects of a UPS.""" import logging from datetime import timedelta diff --git a/homeassistant/components/nx584/alarm_control_panel.py b/homeassistant/components/nx584/alarm_control_panel.py index c84872d0b2..c5e1fede6f 100644 --- a/homeassistant/components/nx584/alarm_control_panel.py +++ b/homeassistant/components/nx584/alarm_control_panel.py @@ -1,9 +1,4 @@ -""" -Support for NX584 alarm control panels. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/alarm_control_panel.nx584/ -""" +"""Support for NX584 alarm control panels.""" import logging import requests diff --git a/homeassistant/components/nx584/binary_sensor.py b/homeassistant/components/nx584/binary_sensor.py index 2929acc270..61f8fb801e 100644 --- a/homeassistant/components/nx584/binary_sensor.py +++ b/homeassistant/components/nx584/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for exposing NX584 elements as sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.nx584/ -""" +"""Support for exposing NX584 elements as sensors.""" import logging import threading import time diff --git a/homeassistant/components/nzbget/sensor.py b/homeassistant/components/nzbget/sensor.py index 2ee8e37a57..bb0b7c912f 100644 --- a/homeassistant/components/nzbget/sensor.py +++ b/homeassistant/components/nzbget/sensor.py @@ -1,9 +1,4 @@ -""" -Support for monitoring NZBGet NZB client. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.nzbget/ -""" +"""Support for monitoring NZBGet NZB client.""" from datetime import timedelta import logging diff --git a/homeassistant/components/ohmconnect/sensor.py b/homeassistant/components/ohmconnect/sensor.py index 3487cab2fc..1d870e4d15 100644 --- a/homeassistant/components/ohmconnect/sensor.py +++ b/homeassistant/components/ohmconnect/sensor.py @@ -1,9 +1,4 @@ -""" -Support for OhmConnect. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/sensor.ohmconnect/ -""" +"""Support for OhmConnect.""" import logging from datetime import timedelta diff --git a/homeassistant/components/onewire/sensor.py b/homeassistant/components/onewire/sensor.py index d39ab24230..2e55b5cea3 100644 --- a/homeassistant/components/onewire/sensor.py +++ b/homeassistant/components/onewire/sensor.py @@ -1,9 +1,4 @@ -""" -Support for 1-Wire environment sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.onewire/ -""" +"""Support for 1-Wire environment sensors.""" import os import time import logging diff --git a/homeassistant/components/onkyo/media_player.py b/homeassistant/components/onkyo/media_player.py index 2fb284bb24..64b9684c58 100644 --- a/homeassistant/components/onkyo/media_player.py +++ b/homeassistant/components/onkyo/media_player.py @@ -1,9 +1,4 @@ -""" -Support for Onkyo Receivers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.onkyo/ -""" +"""Support for Onkyo Receivers.""" import logging # pylint: disable=unused-import diff --git a/homeassistant/components/onvif/camera.py b/homeassistant/components/onvif/camera.py index a196f87cd1..90222b9caf 100644 --- a/homeassistant/components/onvif/camera.py +++ b/homeassistant/components/onvif/camera.py @@ -1,9 +1,4 @@ -""" -Support for ONVIF Cameras with FFmpeg as decoder. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/camera.onvif/ -""" +"""Support for ONVIF Cameras with FFmpeg as decoder.""" import asyncio import logging import os diff --git a/homeassistant/components/openalpr_cloud/image_processing.py b/homeassistant/components/openalpr_cloud/image_processing.py index c983a94554..12146009fa 100644 --- a/homeassistant/components/openalpr_cloud/image_processing.py +++ b/homeassistant/components/openalpr_cloud/image_processing.py @@ -1,9 +1,4 @@ -""" -Component that will help set the OpenALPR cloud for ALPR processing. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/image_processing.openalpr_cloud/ -""" +"""Component that will help set the OpenALPR cloud for ALPR processing.""" import asyncio import logging from base64 import b64encode diff --git a/homeassistant/components/openalpr_local/image_processing.py b/homeassistant/components/openalpr_local/image_processing.py index 4a98594d50..811a160dd0 100644 --- a/homeassistant/components/openalpr_local/image_processing.py +++ b/homeassistant/components/openalpr_local/image_processing.py @@ -1,9 +1,4 @@ -""" -Component that will help set the OpenALPR local for ALPR processing. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/image_processing.openalpr_local/ -""" +"""Component that will help set the OpenALPR local for ALPR processing.""" import asyncio import io import logging diff --git a/homeassistant/components/openevse/sensor.py b/homeassistant/components/openevse/sensor.py index cf41f87718..e54b47236c 100644 --- a/homeassistant/components/openevse/sensor.py +++ b/homeassistant/components/openevse/sensor.py @@ -1,9 +1,4 @@ -""" -Support for monitoring an OpenEVSE Charger. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.openevse/ -""" +"""Support for monitoring an OpenEVSE Charger.""" import logging from requests import RequestException diff --git a/homeassistant/components/openexchangerates/sensor.py b/homeassistant/components/openexchangerates/sensor.py index 6361b823de..6c14604414 100644 --- a/homeassistant/components/openexchangerates/sensor.py +++ b/homeassistant/components/openexchangerates/sensor.py @@ -1,9 +1,4 @@ -""" -Support for openexchangerates.org exchange rates service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.openexchangerates/ -""" +"""Support for openexchangerates.org exchange rates service.""" from datetime import timedelta import logging diff --git a/homeassistant/components/opengarage/cover.py b/homeassistant/components/opengarage/cover.py index 664d2e291a..1e3d312882 100644 --- a/homeassistant/components/opengarage/cover.py +++ b/homeassistant/components/opengarage/cover.py @@ -1,9 +1,4 @@ -""" -Platform for the opengarage.io cover component. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/cover.opengarage/ -""" +"""Platform for the opengarage.io cover component.""" import logging import requests diff --git a/homeassistant/components/openhardwaremonitor/sensor.py b/homeassistant/components/openhardwaremonitor/sensor.py index d429cad9d9..7c5072db97 100644 --- a/homeassistant/components/openhardwaremonitor/sensor.py +++ b/homeassistant/components/openhardwaremonitor/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Open Hardware Monitor Sensor Platform. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.openhardwaremonitor/ -""" +"""Support for Open Hardware Monitor Sensor Platform.""" from datetime import timedelta import logging diff --git a/homeassistant/components/openhome/media_player.py b/homeassistant/components/openhome/media_player.py index d828284a56..03926bce8c 100644 --- a/homeassistant/components/openhome/media_player.py +++ b/homeassistant/components/openhome/media_player.py @@ -1,9 +1,4 @@ -""" -Support for Openhome Devices. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.openhome/ -""" +"""Support for Openhome Devices.""" import logging from homeassistant.components.media_player import ( diff --git a/homeassistant/components/opensky/sensor.py b/homeassistant/components/opensky/sensor.py index 5ee11af4e6..3019c54471 100644 --- a/homeassistant/components/opensky/sensor.py +++ b/homeassistant/components/opensky/sensor.py @@ -1,9 +1,4 @@ -""" -Sensor for the Open Sky Network. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.opensky/ -""" +"""Sensor for the Open Sky Network.""" import logging from datetime import timedelta diff --git a/homeassistant/components/openweathermap/sensor.py b/homeassistant/components/openweathermap/sensor.py index a137836138..5de67721e3 100644 --- a/homeassistant/components/openweathermap/sensor.py +++ b/homeassistant/components/openweathermap/sensor.py @@ -1,9 +1,4 @@ -""" -Support for the OpenWeatherMap (OWM) service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.openweathermap/ -""" +"""Support for the OpenWeatherMap (OWM) service.""" from datetime import timedelta import logging diff --git a/homeassistant/components/opple/light.py b/homeassistant/components/opple/light.py index fb503d33d3..03e36dc179 100644 --- a/homeassistant/components/opple/light.py +++ b/homeassistant/components/opple/light.py @@ -1,9 +1,4 @@ -""" -Support for the Opple light. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.opple/ -""" +"""Support for the Opple light.""" import logging diff --git a/homeassistant/components/orvibo/switch.py b/homeassistant/components/orvibo/switch.py index 9e6686ca3a..c77e24446e 100644 --- a/homeassistant/components/orvibo/switch.py +++ b/homeassistant/components/orvibo/switch.py @@ -1,9 +1,4 @@ -""" -Support for Orvibo S20 Wifi Smart Switches. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.orvibo/ -""" +"""Support for Orvibo S20 Wifi Smart Switches.""" import logging import voluptuous as vol diff --git a/homeassistant/components/osramlightify/light.py b/homeassistant/components/osramlightify/light.py index 81b8e2a88e..b880273fd1 100644 --- a/homeassistant/components/osramlightify/light.py +++ b/homeassistant/components/osramlightify/light.py @@ -1,9 +1,4 @@ -""" -Support for Osram Lightify. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.osramlightify/ -""" +"""Support for Osram Lightify.""" import logging import random import socket diff --git a/homeassistant/components/otp/sensor.py b/homeassistant/components/otp/sensor.py index 5394b49c38..2ac4c51998 100644 --- a/homeassistant/components/otp/sensor.py +++ b/homeassistant/components/otp/sensor.py @@ -1,9 +1,4 @@ -""" -Support for One-Time Password (OTP). - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.otp/ -""" +"""Support for One-Time Password (OTP).""" import time import logging diff --git a/homeassistant/components/owntracks/device_tracker.py b/homeassistant/components/owntracks/device_tracker.py index f1214b62b0..69ea723d84 100644 --- a/homeassistant/components/owntracks/device_tracker.py +++ b/homeassistant/components/owntracks/device_tracker.py @@ -1,9 +1,4 @@ -""" -Device tracker platform that adds support for OwnTracks over MQTT. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.owntracks/ -""" +"""Device tracker platform that adds support for OwnTracks over MQTT.""" import json import logging diff --git a/homeassistant/components/panasonic_bluray/media_player.py b/homeassistant/components/panasonic_bluray/media_player.py index 36a3160d3b..ebf71135d3 100644 --- a/homeassistant/components/panasonic_bluray/media_player.py +++ b/homeassistant/components/panasonic_bluray/media_player.py @@ -1,9 +1,4 @@ -""" -Support for Panasonic Blu-Ray players. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/panasonic_bluray/ -""" +"""Support for Panasonic Blu-Ray players.""" from datetime import timedelta import logging diff --git a/homeassistant/components/panasonic_viera/media_player.py b/homeassistant/components/panasonic_viera/media_player.py index f1ac0cd90d..324becd0bf 100644 --- a/homeassistant/components/panasonic_viera/media_player.py +++ b/homeassistant/components/panasonic_viera/media_player.py @@ -1,9 +1,4 @@ -""" -Support for interface with a Panasonic Viera TV. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.panasonic_viera/ -""" +"""Support for interface with a Panasonic Viera TV.""" import logging import voluptuous as vol diff --git a/homeassistant/components/pandora/media_player.py b/homeassistant/components/pandora/media_player.py index ca78f7a431..32cde430d0 100644 --- a/homeassistant/components/pandora/media_player.py +++ b/homeassistant/components/pandora/media_player.py @@ -1,9 +1,4 @@ -""" -Component for controlling Pandora stations through the pianobar client. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/media_player.pandora/ -""" +"""Component for controlling Pandora stations through the pianobar client.""" from datetime import timedelta import logging import os diff --git a/homeassistant/components/philips_js/media_player.py b/homeassistant/components/philips_js/media_player.py index 97ec758e6c..f5eddff8d1 100644 --- a/homeassistant/components/philips_js/media_player.py +++ b/homeassistant/components/philips_js/media_player.py @@ -1,9 +1,4 @@ -""" -Media Player component to integrate TVs exposing the Joint Space API. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.philips_js/ -""" +"""Media Player component to integrate TVs exposing the Joint Space API.""" from datetime import timedelta import logging diff --git a/homeassistant/components/pi_hole/sensor.py b/homeassistant/components/pi_hole/sensor.py index ae9aca5bc7..805e17ebdf 100644 --- a/homeassistant/components/pi_hole/sensor.py +++ b/homeassistant/components/pi_hole/sensor.py @@ -1,9 +1,4 @@ -""" -Support for getting statistical data from a Pi-hole system. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.pi_hole/ -""" +"""Support for getting statistical data from a Pi-hole system.""" from datetime import timedelta import logging diff --git a/homeassistant/components/picotts/tts.py b/homeassistant/components/picotts/tts.py index c164e7fb85..fffadae0f1 100644 --- a/homeassistant/components/picotts/tts.py +++ b/homeassistant/components/picotts/tts.py @@ -1,9 +1,4 @@ -""" -Support for the Pico TTS speech service. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/tts.picotts/ -""" +"""Support for the Pico TTS speech service.""" import logging import os import shutil diff --git a/homeassistant/components/piglow/light.py b/homeassistant/components/piglow/light.py index 56c72e01fd..dc3906b200 100644 --- a/homeassistant/components/piglow/light.py +++ b/homeassistant/components/piglow/light.py @@ -1,9 +1,4 @@ -""" -Support for Piglow LED's. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.piglow/ -""" +"""Support for Piglow LED's.""" import logging import subprocess diff --git a/homeassistant/components/pilight/__init__.py b/homeassistant/components/pilight/__init__.py index d307a428e0..46be3b3720 100644 --- a/homeassistant/components/pilight/__init__.py +++ b/homeassistant/components/pilight/__init__.py @@ -1,9 +1,4 @@ -""" -Component to create an interface to a Pilight daemon. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/pilight/ -""" +"""Component to create an interface to a Pilight daemon.""" import logging import functools import socket diff --git a/homeassistant/components/pilight/binary_sensor.py b/homeassistant/components/pilight/binary_sensor.py index de23baef88..131a91b5fc 100644 --- a/homeassistant/components/pilight/binary_sensor.py +++ b/homeassistant/components/pilight/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for Pilight binary sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.pilight/ -""" +"""Support for Pilight binary sensors.""" import datetime import logging diff --git a/homeassistant/components/pilight/sensor.py b/homeassistant/components/pilight/sensor.py index ddcbe018f8..c36151c90d 100644 --- a/homeassistant/components/pilight/sensor.py +++ b/homeassistant/components/pilight/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Pilight sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.pilight/ -""" +"""Support for Pilight sensors.""" import logging import voluptuous as vol diff --git a/homeassistant/components/pilight/switch.py b/homeassistant/components/pilight/switch.py index 3bbe2e6911..d645d8e301 100644 --- a/homeassistant/components/pilight/switch.py +++ b/homeassistant/components/pilight/switch.py @@ -1,9 +1,4 @@ -""" -Support for switching devices via Pilight to on and off. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.pilight/ -""" +"""Support for switching devices via Pilight to on and off.""" import logging import voluptuous as vol diff --git a/homeassistant/components/ping/binary_sensor.py b/homeassistant/components/ping/binary_sensor.py index 4c597dd63e..4f95a470ef 100644 --- a/homeassistant/components/ping/binary_sensor.py +++ b/homeassistant/components/ping/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Tracks the latency of a host by sending ICMP echo requests (ping). - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.ping/ -""" +"""Tracks the latency of a host by sending ICMP echo requests (ping).""" import logging import subprocess import re diff --git a/homeassistant/components/ping/device_tracker.py b/homeassistant/components/ping/device_tracker.py index f3492da9e8..9f9bf4475b 100644 --- a/homeassistant/components/ping/device_tracker.py +++ b/homeassistant/components/ping/device_tracker.py @@ -1,9 +1,4 @@ -""" -Tracks devices by sending a ICMP echo request (ping). - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.ping/ -""" +"""Tracks devices by sending a ICMP echo request (ping).""" import logging import subprocess import sys diff --git a/homeassistant/components/pioneer/media_player.py b/homeassistant/components/pioneer/media_player.py index 00fa453100..a687ba5ad4 100644 --- a/homeassistant/components/pioneer/media_player.py +++ b/homeassistant/components/pioneer/media_player.py @@ -1,9 +1,4 @@ -""" -Support for Pioneer Network Receivers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.pioneer/ -""" +"""Support for Pioneer Network Receivers.""" import logging import telnetlib diff --git a/homeassistant/components/pjlink/media_player.py b/homeassistant/components/pjlink/media_player.py index c1b883a029..ad7bdc9e77 100644 --- a/homeassistant/components/pjlink/media_player.py +++ b/homeassistant/components/pjlink/media_player.py @@ -1,9 +1,4 @@ -""" -Support for controlling projector via the PJLink protocol. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.pjlink/ -""" +"""Support for controlling projector via the PJLink protocol.""" import logging import voluptuous as vol diff --git a/homeassistant/components/plex/media_player.py b/homeassistant/components/plex/media_player.py index a68a2faade..f2af6836e3 100644 --- a/homeassistant/components/plex/media_player.py +++ b/homeassistant/components/plex/media_player.py @@ -1,9 +1,4 @@ -""" -Support to interface with the Plex API. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.plex/ -""" +"""Support to interface with the Plex API.""" from datetime import timedelta import json import logging diff --git a/homeassistant/components/plex/sensor.py b/homeassistant/components/plex/sensor.py index eaf73ceb56..a3df6fdb41 100644 --- a/homeassistant/components/plex/sensor.py +++ b/homeassistant/components/plex/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Plex media server monitoring. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.plex/ -""" +"""Support for Plex media server monitoring.""" from datetime import timedelta import logging import voluptuous as vol diff --git a/homeassistant/components/pocketcasts/sensor.py b/homeassistant/components/pocketcasts/sensor.py index 9d5b837bba..f09e901200 100644 --- a/homeassistant/components/pocketcasts/sensor.py +++ b/homeassistant/components/pocketcasts/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Pocket Casts. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.pocketcasts/ -""" +"""Support for Pocket Casts.""" import logging from datetime import timedelta diff --git a/homeassistant/components/postnl/sensor.py b/homeassistant/components/postnl/sensor.py index 84cb42c095..f9c8019cd3 100644 --- a/homeassistant/components/postnl/sensor.py +++ b/homeassistant/components/postnl/sensor.py @@ -1,9 +1,4 @@ -""" -Sensor for PostNL packages. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.postnl/ -""" +"""Sensor for PostNL packages.""" from datetime import timedelta import logging diff --git a/homeassistant/components/prezzibenzina/sensor.py b/homeassistant/components/prezzibenzina/sensor.py index 171fea5331..525de7dad2 100644 --- a/homeassistant/components/prezzibenzina/sensor.py +++ b/homeassistant/components/prezzibenzina/sensor.py @@ -1,9 +1,4 @@ -""" -Support for the PrezziBenzina.it service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.prezzibenzina/ -""" +"""Support for the PrezziBenzina.it service.""" import datetime as dt from datetime import timedelta import logging diff --git a/homeassistant/components/proliphix/climate.py b/homeassistant/components/proliphix/climate.py index c88ece033d..c165334201 100644 --- a/homeassistant/components/proliphix/climate.py +++ b/homeassistant/components/proliphix/climate.py @@ -1,9 +1,4 @@ -""" -Support for Proliphix NT10e Thermostats. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/climate.proliphix/ -""" +"""Support for Proliphix NT10e Thermostats.""" import voluptuous as vol from homeassistant.components.climate import ClimateDevice, PLATFORM_SCHEMA diff --git a/homeassistant/components/prowl/notify.py b/homeassistant/components/prowl/notify.py index 6d91178912..1f2067cc66 100644 --- a/homeassistant/components/prowl/notify.py +++ b/homeassistant/components/prowl/notify.py @@ -1,9 +1,4 @@ -""" -Prowl notification service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.prowl/ -""" +"""Prowl notification service.""" import asyncio import logging diff --git a/homeassistant/components/proxy/camera.py b/homeassistant/components/proxy/camera.py index 3e6e4911d2..fda2cdea60 100644 --- a/homeassistant/components/proxy/camera.py +++ b/homeassistant/components/proxy/camera.py @@ -1,9 +1,4 @@ -""" -Proxy camera platform that enables image processing of camera data. - -For more details about this platform, please refer to the documentation -https://www.home-assistant.io/components/camera.proxy/ -""" +"""Proxy camera platform that enables image processing of camera data.""" import asyncio import logging diff --git a/homeassistant/components/ps4/__init__.py b/homeassistant/components/ps4/__init__.py index 9183bbe198..191eb22370 100644 --- a/homeassistant/components/ps4/__init__.py +++ b/homeassistant/components/ps4/__init__.py @@ -1,9 +1,4 @@ -""" -Support for PlayStation 4 consoles. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/ps4/ -""" +"""Support for PlayStation 4 consoles.""" import logging from homeassistant.const import CONF_REGION diff --git a/homeassistant/components/ps4/media_player.py b/homeassistant/components/ps4/media_player.py index 80c1fda52d..4dc4fa0a31 100644 --- a/homeassistant/components/ps4/media_player.py +++ b/homeassistant/components/ps4/media_player.py @@ -1,9 +1,4 @@ -""" -Support for PlayStation 4 consoles. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/ps4/ -""" +"""Support for PlayStation 4 consoles.""" import logging import socket diff --git a/homeassistant/components/pulseaudio_loopback/switch.py b/homeassistant/components/pulseaudio_loopback/switch.py index f112608d76..9ec6587f67 100644 --- a/homeassistant/components/pulseaudio_loopback/switch.py +++ b/homeassistant/components/pulseaudio_loopback/switch.py @@ -1,9 +1,4 @@ -""" -Switch logic for loading/unloading pulseaudio loopback modules. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.pulseaudio_loopback/ -""" +"""Switch logic for loading/unloading pulseaudio loopback modules.""" import logging import re import socket diff --git a/homeassistant/components/push/camera.py b/homeassistant/components/push/camera.py index 5490cd1508..c0424f1589 100644 --- a/homeassistant/components/push/camera.py +++ b/homeassistant/components/push/camera.py @@ -1,9 +1,4 @@ -""" -Camera platform that receives images through HTTP POST. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/camera.push/ -""" +"""Camera platform that receives images through HTTP POST.""" import logging import asyncio diff --git a/homeassistant/components/pushbullet/notify.py b/homeassistant/components/pushbullet/notify.py index f0b4ec24da..3fc90161ae 100644 --- a/homeassistant/components/pushbullet/notify.py +++ b/homeassistant/components/pushbullet/notify.py @@ -1,9 +1,4 @@ -""" -Pushbullet platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.pushbullet/ -""" +"""Pushbullet platform for notify component.""" import logging import mimetypes diff --git a/homeassistant/components/pushbullet/sensor.py b/homeassistant/components/pushbullet/sensor.py index 9b26bdfbbe..c90f952e7d 100644 --- a/homeassistant/components/pushbullet/sensor.py +++ b/homeassistant/components/pushbullet/sensor.py @@ -1,9 +1,4 @@ -""" -Pushbullet platform for sensor component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.pushbullet/ -""" +"""Pushbullet platform for sensor component.""" import logging import voluptuous as vol diff --git a/homeassistant/components/pushetta/notify.py b/homeassistant/components/pushetta/notify.py index 106c0641a6..028b0cfd49 100644 --- a/homeassistant/components/pushetta/notify.py +++ b/homeassistant/components/pushetta/notify.py @@ -1,9 +1,4 @@ -""" -Pushetta platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.pushetta/ -""" +"""Pushetta platform for notify component.""" import logging import voluptuous as vol diff --git a/homeassistant/components/pushover/notify.py b/homeassistant/components/pushover/notify.py index 78e9ed11c9..39a1ce5d2f 100644 --- a/homeassistant/components/pushover/notify.py +++ b/homeassistant/components/pushover/notify.py @@ -1,9 +1,4 @@ -""" -Pushover platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.pushover/ -""" +"""Pushover platform for notify component.""" import logging import voluptuous as vol diff --git a/homeassistant/components/pushsafer/notify.py b/homeassistant/components/pushsafer/notify.py index a1fa2b7409..c64b861631 100644 --- a/homeassistant/components/pushsafer/notify.py +++ b/homeassistant/components/pushsafer/notify.py @@ -1,9 +1,4 @@ -""" -Pushsafer platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.pushsafer/ -""" +"""Pushsafer platform for notify component.""" import base64 import logging import mimetypes diff --git a/homeassistant/components/pvoutput/sensor.py b/homeassistant/components/pvoutput/sensor.py index dbcd38af3c..2236821244 100644 --- a/homeassistant/components/pvoutput/sensor.py +++ b/homeassistant/components/pvoutput/sensor.py @@ -1,9 +1,4 @@ -""" -Support for getting collected information from PVOutput. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.pvoutput/ -""" +"""Support for getting collected information from PVOutput.""" import logging from collections import namedtuple from datetime import timedelta diff --git a/homeassistant/components/pyload/sensor.py b/homeassistant/components/pyload/sensor.py index 78a191c16f..7c7d1e7ae0 100644 --- a/homeassistant/components/pyload/sensor.py +++ b/homeassistant/components/pyload/sensor.py @@ -1,9 +1,4 @@ -""" -Support for monitoring pyLoad. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.pyload/ -""" +"""Support for monitoring pyLoad.""" from datetime import timedelta import logging diff --git a/homeassistant/components/python_script/__init__.py b/homeassistant/components/python_script/__init__.py index d639b63803..56a82b3912 100644 --- a/homeassistant/components/python_script/__init__.py +++ b/homeassistant/components/python_script/__init__.py @@ -1,9 +1,4 @@ -""" -Component to allow running Python scripts. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/python_script/ -""" +"""Component to allow running Python scripts.""" import datetime import glob import logging diff --git a/homeassistant/components/qbittorrent/sensor.py b/homeassistant/components/qbittorrent/sensor.py index 8718f3a9d7..7e91c0ab27 100644 --- a/homeassistant/components/qbittorrent/sensor.py +++ b/homeassistant/components/qbittorrent/sensor.py @@ -1,9 +1,4 @@ -""" -Support for monitoring the qBittorrent API. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.qbittorrent/ -""" +"""Support for monitoring the qBittorrent API.""" import logging import voluptuous as vol diff --git a/homeassistant/components/qnap/sensor.py b/homeassistant/components/qnap/sensor.py index a6a9c6e30d..e12f20c25b 100644 --- a/homeassistant/components/qnap/sensor.py +++ b/homeassistant/components/qnap/sensor.py @@ -1,9 +1,4 @@ -""" -Support for QNAP NAS Sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.qnap/ -""" +"""Support for QNAP NAS Sensors.""" import logging from datetime import timedelta diff --git a/homeassistant/components/qrcode/image_processing.py b/homeassistant/components/qrcode/image_processing.py index 00f4ad025b..46fa78cca7 100644 --- a/homeassistant/components/qrcode/image_processing.py +++ b/homeassistant/components/qrcode/image_processing.py @@ -1,9 +1,4 @@ -""" -Support for the QR image processing. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/image_processing.qr/ -""" +"""Support for the QR image processing.""" from homeassistant.core import split_entity_id from homeassistant.components.image_processing import ( ImageProcessingEntity, CONF_SOURCE, CONF_ENTITY_ID, CONF_NAME) diff --git a/homeassistant/components/quantum_gateway/device_tracker.py b/homeassistant/components/quantum_gateway/device_tracker.py index 90ba3575cf..3472a4dbb9 100644 --- a/homeassistant/components/quantum_gateway/device_tracker.py +++ b/homeassistant/components/quantum_gateway/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for Verizon FiOS Quantum Gateways. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.quantum_gateway/ -""" +"""Support for Verizon FiOS Quantum Gateways.""" import logging from requests.exceptions import RequestException diff --git a/homeassistant/components/qwikswitch/__init__.py b/homeassistant/components/qwikswitch/__init__.py index 23144ed82b..a646859562 100644 --- a/homeassistant/components/qwikswitch/__init__.py +++ b/homeassistant/components/qwikswitch/__init__.py @@ -1,9 +1,4 @@ -""" -Support for Qwikswitch devices. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/qwikswitch/ -""" +"""Support for Qwikswitch devices.""" import logging import voluptuous as vol diff --git a/homeassistant/components/qwikswitch/binary_sensor.py b/homeassistant/components/qwikswitch/binary_sensor.py index 6cdc29deae..a92c4d0b43 100644 --- a/homeassistant/components/qwikswitch/binary_sensor.py +++ b/homeassistant/components/qwikswitch/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for Qwikswitch Binary Sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.qwikswitch/ -""" +"""Support for Qwikswitch Binary Sensors.""" import logging from homeassistant.components.binary_sensor import BinarySensorDevice diff --git a/homeassistant/components/qwikswitch/light.py b/homeassistant/components/qwikswitch/light.py index 46a0a88483..cb4df24f97 100644 --- a/homeassistant/components/qwikswitch/light.py +++ b/homeassistant/components/qwikswitch/light.py @@ -1,9 +1,4 @@ -""" -Support for Qwikswitch Relays and Dimmers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.qwikswitch/ -""" +"""Support for Qwikswitch Relays and Dimmers.""" from homeassistant.components.light import SUPPORT_BRIGHTNESS, Light from . import DOMAIN as QWIKSWITCH, QSToggleEntity diff --git a/homeassistant/components/qwikswitch/sensor.py b/homeassistant/components/qwikswitch/sensor.py index b9ccb3c3a7..8befce4f7e 100644 --- a/homeassistant/components/qwikswitch/sensor.py +++ b/homeassistant/components/qwikswitch/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Qwikswitch Sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.qwikswitch/ -""" +"""Support for Qwikswitch Sensors.""" import logging from homeassistant.core import callback diff --git a/homeassistant/components/qwikswitch/switch.py b/homeassistant/components/qwikswitch/switch.py index ec544df8c7..4ee5396ae0 100644 --- a/homeassistant/components/qwikswitch/switch.py +++ b/homeassistant/components/qwikswitch/switch.py @@ -1,9 +1,4 @@ -""" -Support for Qwikswitch relays. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.qwikswitch/ -""" +"""Support for Qwikswitch relays.""" from homeassistant.components.switch import SwitchDevice from . import DOMAIN as QWIKSWITCH, QSToggleEntity diff --git a/homeassistant/components/rachio/__init__.py b/homeassistant/components/rachio/__init__.py index 27827da018..64a7a5af4d 100644 --- a/homeassistant/components/rachio/__init__.py +++ b/homeassistant/components/rachio/__init__.py @@ -1,9 +1,4 @@ -""" -Integration with the Rachio Iro sprinkler system controller. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/rachio/ -""" +"""Integration with the Rachio Iro sprinkler system controller.""" import asyncio import logging from typing import Optional diff --git a/homeassistant/components/rachio/binary_sensor.py b/homeassistant/components/rachio/binary_sensor.py index 9cf57ea323..ffcaeccacf 100644 --- a/homeassistant/components/rachio/binary_sensor.py +++ b/homeassistant/components/rachio/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Integration with the Rachio Iro sprinkler system controller. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.rachio/ -""" +"""Integration with the Rachio Iro sprinkler system controller.""" from abc import abstractmethod import logging diff --git a/homeassistant/components/rachio/switch.py b/homeassistant/components/rachio/switch.py index fe584441af..483e07e96f 100644 --- a/homeassistant/components/rachio/switch.py +++ b/homeassistant/components/rachio/switch.py @@ -1,9 +1,4 @@ -""" -Integration with the Rachio Iro sprinkler system controller. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.rachio/ -""" +"""Integration with the Rachio Iro sprinkler system controller.""" from abc import abstractmethod from datetime import timedelta import logging diff --git a/homeassistant/components/radarr/sensor.py b/homeassistant/components/radarr/sensor.py index 67695ae0e3..a3932acf86 100644 --- a/homeassistant/components/radarr/sensor.py +++ b/homeassistant/components/radarr/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Radarr. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.radarr/ -""" +"""Support for Radarr.""" import logging import time from datetime import datetime, timedelta diff --git a/homeassistant/components/radiotherm/climate.py b/homeassistant/components/radiotherm/climate.py index 4132d3c27c..66dfc4cc38 100644 --- a/homeassistant/components/radiotherm/climate.py +++ b/homeassistant/components/radiotherm/climate.py @@ -1,9 +1,4 @@ -""" -Support for Radio Thermostat wifi-enabled home thermostats. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/climate.radiotherm/ -""" +"""Support for Radio Thermostat wifi-enabled home thermostats.""" import datetime import logging diff --git a/homeassistant/components/rainbird/__init__.py b/homeassistant/components/rainbird/__init__.py index bbce7f752a..de0f42fda4 100644 --- a/homeassistant/components/rainbird/__init__.py +++ b/homeassistant/components/rainbird/__init__.py @@ -1,9 +1,4 @@ -""" -Support for Rain Bird Irrigation system LNK WiFi Module. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/rainbird/ -""" +"""Support for Rain Bird Irrigation system LNK WiFi Module.""" import logging import voluptuous as vol diff --git a/homeassistant/components/rainbird/sensor.py b/homeassistant/components/rainbird/sensor.py index 3d0de04e53..0cee202ecb 100644 --- a/homeassistant/components/rainbird/sensor.py +++ b/homeassistant/components/rainbird/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Rain Bird Irrigation system LNK WiFi Module. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/sensor.rainbird/ -""" +"""Support for Rain Bird Irrigation system LNK WiFi Module.""" import logging import voluptuous as vol diff --git a/homeassistant/components/rainbird/switch.py b/homeassistant/components/rainbird/switch.py index 2031769b34..32c7c49ab9 100644 --- a/homeassistant/components/rainbird/switch.py +++ b/homeassistant/components/rainbird/switch.py @@ -1,9 +1,4 @@ -""" -Support for Rain Bird Irrigation system LNK WiFi Module. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/switch.rainbird/ -""" +"""Support for Rain Bird Irrigation system LNK WiFi Module.""" import logging diff --git a/homeassistant/components/raincloud/__init__.py b/homeassistant/components/raincloud/__init__.py index 7ccf9f33ad..473d52bdbd 100644 --- a/homeassistant/components/raincloud/__init__.py +++ b/homeassistant/components/raincloud/__init__.py @@ -1,9 +1,4 @@ -""" -Support for Melnor RainCloud sprinkler water timer. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/raincloud/ -""" +"""Support for Melnor RainCloud sprinkler water timer.""" from datetime import timedelta import logging diff --git a/homeassistant/components/raincloud/binary_sensor.py b/homeassistant/components/raincloud/binary_sensor.py index cb66fc3c6a..6ebad7cc12 100644 --- a/homeassistant/components/raincloud/binary_sensor.py +++ b/homeassistant/components/raincloud/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for Melnor RainCloud sprinkler water timer. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.raincloud/ -""" +"""Support for Melnor RainCloud sprinkler water timer.""" import logging import voluptuous as vol diff --git a/homeassistant/components/raincloud/sensor.py b/homeassistant/components/raincloud/sensor.py index 8bcccf0617..6774d48ae9 100644 --- a/homeassistant/components/raincloud/sensor.py +++ b/homeassistant/components/raincloud/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Melnor RainCloud sprinkler water timer. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.raincloud/ -""" +"""Support for Melnor RainCloud sprinkler water timer.""" import logging import voluptuous as vol diff --git a/homeassistant/components/rainmachine/binary_sensor.py b/homeassistant/components/rainmachine/binary_sensor.py index 929dbcf314..4387e6b67b 100644 --- a/homeassistant/components/rainmachine/binary_sensor.py +++ b/homeassistant/components/rainmachine/binary_sensor.py @@ -1,9 +1,4 @@ -""" -This platform provides binary sensors for key RainMachine data. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.rainmachine/ -""" +"""This platform provides binary sensors for key RainMachine data.""" import logging from homeassistant.components.binary_sensor import BinarySensorDevice diff --git a/homeassistant/components/rainmachine/sensor.py b/homeassistant/components/rainmachine/sensor.py index 908daa2c83..1d438b8035 100644 --- a/homeassistant/components/rainmachine/sensor.py +++ b/homeassistant/components/rainmachine/sensor.py @@ -1,9 +1,4 @@ -""" -This platform provides support for sensor data from RainMachine. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.rainmachine/ -""" +"""This platform provides support for sensor data from RainMachine.""" import logging from homeassistant.core import callback diff --git a/homeassistant/components/rainmachine/switch.py b/homeassistant/components/rainmachine/switch.py index 6b658c0fcb..adcbe55981 100644 --- a/homeassistant/components/rainmachine/switch.py +++ b/homeassistant/components/rainmachine/switch.py @@ -1,9 +1,4 @@ -""" -This component provides support for RainMachine programs and zones. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/switch.rainmachine/ -""" +"""This component provides support for RainMachine programs and zones.""" from datetime import datetime import logging diff --git a/homeassistant/components/random/binary_sensor.py b/homeassistant/components/random/binary_sensor.py index 9bdc57c6e4..ad8bafaf4c 100644 --- a/homeassistant/components/random/binary_sensor.py +++ b/homeassistant/components/random/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for showing random states. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.random/ -""" +"""Support for showing random states.""" import logging import voluptuous as vol diff --git a/homeassistant/components/random/sensor.py b/homeassistant/components/random/sensor.py index 4dec96bec2..cc412ff777 100644 --- a/homeassistant/components/random/sensor.py +++ b/homeassistant/components/random/sensor.py @@ -1,9 +1,4 @@ -""" -Support for showing random numbers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.random/ -""" +"""Support for showing random numbers.""" import logging import voluptuous as vol diff --git a/homeassistant/components/raspyrfm/switch.py b/homeassistant/components/raspyrfm/switch.py index a8a6230fc0..a141721f3e 100644 --- a/homeassistant/components/raspyrfm/switch.py +++ b/homeassistant/components/raspyrfm/switch.py @@ -1,9 +1,4 @@ -""" -Support for switch devices that can be controlled using the RaspyRFM rc module. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.raspyrfm/ -""" +"""Support for switchs that can be controlled using the RaspyRFM rc module.""" import logging import voluptuous as vol diff --git a/homeassistant/components/recollect_waste/sensor.py b/homeassistant/components/recollect_waste/sensor.py index 9122973c91..1e3803ab86 100644 --- a/homeassistant/components/recollect_waste/sensor.py +++ b/homeassistant/components/recollect_waste/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Recollect Waste curbside collection pickup. - -For more details about this platform, please refer to the documentation at -https://www.home-assistant.io/components/sensor.recollect_waste/ -""" +"""Support for Recollect Waste curbside collection pickup.""" import logging import voluptuous as vol diff --git a/homeassistant/components/recswitch/switch.py b/homeassistant/components/recswitch/switch.py index 636c302cea..ed2da8022f 100644 --- a/homeassistant/components/recswitch/switch.py +++ b/homeassistant/components/recswitch/switch.py @@ -1,9 +1,4 @@ -""" -Support for Ankuoo RecSwitch MS6126 devices. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.recswitch/ -""" +"""Support for Ankuoo RecSwitch MS6126 devices.""" import logging diff --git a/homeassistant/components/rest/binary_sensor.py b/homeassistant/components/rest/binary_sensor.py index 1a94159290..0d28e98229 100644 --- a/homeassistant/components/rest/binary_sensor.py +++ b/homeassistant/components/rest/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for RESTful binary sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.rest/ -""" +"""Support for RESTful binary sensors.""" import logging from requests.auth import HTTPBasicAuth, HTTPDigestAuth diff --git a/homeassistant/components/rest/notify.py b/homeassistant/components/rest/notify.py index de75db8384..8134e73ae6 100644 --- a/homeassistant/components/rest/notify.py +++ b/homeassistant/components/rest/notify.py @@ -1,9 +1,4 @@ -""" -RESTful platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.rest/ -""" +"""RESTful platform for notify component.""" import logging import requests diff --git a/homeassistant/components/rest/sensor.py b/homeassistant/components/rest/sensor.py index a9446ee350..fe92f9d8a1 100644 --- a/homeassistant/components/rest/sensor.py +++ b/homeassistant/components/rest/sensor.py @@ -1,9 +1,4 @@ -""" -Support for RESTful API sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.rest/ -""" +"""Support for RESTful API sensors.""" import logging import json diff --git a/homeassistant/components/rest/switch.py b/homeassistant/components/rest/switch.py index 5f1920ae1a..2ef45b226f 100644 --- a/homeassistant/components/rest/switch.py +++ b/homeassistant/components/rest/switch.py @@ -1,9 +1,4 @@ -""" -Support for RESTful switches. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.rest/ -""" +"""Support for RESTful switches.""" import asyncio import logging diff --git a/homeassistant/components/rflink/binary_sensor.py b/homeassistant/components/rflink/binary_sensor.py index 5318642a5b..e98fb75665 100644 --- a/homeassistant/components/rflink/binary_sensor.py +++ b/homeassistant/components/rflink/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for Rflink binary sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.rflink/ -""" +"""Support for Rflink binary sensors.""" import logging import voluptuous as vol diff --git a/homeassistant/components/rflink/cover.py b/homeassistant/components/rflink/cover.py index f91ef1cc68..409d27862f 100644 --- a/homeassistant/components/rflink/cover.py +++ b/homeassistant/components/rflink/cover.py @@ -1,9 +1,4 @@ -""" -Support for Rflink Cover devices. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/cover.rflink/ -""" +"""Support for Rflink Cover devices.""" import logging import voluptuous as vol diff --git a/homeassistant/components/rflink/light.py b/homeassistant/components/rflink/light.py index cdb34328b5..112ed4b4f5 100644 --- a/homeassistant/components/rflink/light.py +++ b/homeassistant/components/rflink/light.py @@ -1,9 +1,4 @@ -""" -Support for Rflink lights. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.rflink/ -""" +"""Support for Rflink lights.""" import logging import voluptuous as vol diff --git a/homeassistant/components/rflink/sensor.py b/homeassistant/components/rflink/sensor.py index e46cc09d0b..c7498ece24 100644 --- a/homeassistant/components/rflink/sensor.py +++ b/homeassistant/components/rflink/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Rflink sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.rflink/ -""" +"""Support for Rflink sensors.""" import logging import voluptuous as vol diff --git a/homeassistant/components/rflink/switch.py b/homeassistant/components/rflink/switch.py index a1470bf115..d5889c797f 100644 --- a/homeassistant/components/rflink/switch.py +++ b/homeassistant/components/rflink/switch.py @@ -1,9 +1,4 @@ -""" -Support for Rflink switches. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.rflink/ -""" +"""Support for Rflink switches.""" import logging import voluptuous as vol diff --git a/homeassistant/components/ring/binary_sensor.py b/homeassistant/components/ring/binary_sensor.py index bcc365a2e8..79de0424d8 100644 --- a/homeassistant/components/ring/binary_sensor.py +++ b/homeassistant/components/ring/binary_sensor.py @@ -1,9 +1,4 @@ -""" -This component provides HA sensor support for Ring Door Bell/Chimes. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.ring/ -""" +"""This component provides HA sensor support for Ring Door Bell/Chimes.""" from datetime import timedelta import logging diff --git a/homeassistant/components/ring/camera.py b/homeassistant/components/ring/camera.py index 905cbd4615..18427b9b6f 100644 --- a/homeassistant/components/ring/camera.py +++ b/homeassistant/components/ring/camera.py @@ -1,9 +1,4 @@ -""" -This component provides support to the Ring Door Bell camera. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/camera.ring/ -""" +"""This component provides support to the Ring Door Bell camera.""" import asyncio from datetime import timedelta import logging diff --git a/homeassistant/components/ring/sensor.py b/homeassistant/components/ring/sensor.py index 5e323d89ad..c9cb2f1159 100644 --- a/homeassistant/components/ring/sensor.py +++ b/homeassistant/components/ring/sensor.py @@ -1,9 +1,4 @@ -""" -This component provides HA sensor support for Ring Door Bell/Chimes. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.ring/ -""" +"""This component provides HA sensor support for Ring Door Bell/Chimes.""" from datetime import timedelta import logging diff --git a/homeassistant/components/ritassist/device_tracker.py b/homeassistant/components/ritassist/device_tracker.py index c41ae9f2ec..74bec1b871 100644 --- a/homeassistant/components/ritassist/device_tracker.py +++ b/homeassistant/components/ritassist/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for RitAssist Platform. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.ritassist/ -""" +"""Support for RitAssist Platform.""" import logging import requests diff --git a/homeassistant/components/rmvtransport/sensor.py b/homeassistant/components/rmvtransport/sensor.py index 7835b74ac9..7a3afb3f32 100644 --- a/homeassistant/components/rmvtransport/sensor.py +++ b/homeassistant/components/rmvtransport/sensor.py @@ -1,9 +1,4 @@ -""" -Support for real-time departure information for Rhein-Main public transport. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.rmvtransport/ -""" +"""Support for departure information for Rhein-Main public transport.""" import asyncio import logging from datetime import timedelta diff --git a/homeassistant/components/rocketchat/notify.py b/homeassistant/components/rocketchat/notify.py index 8bf1e17226..e404114736 100644 --- a/homeassistant/components/rocketchat/notify.py +++ b/homeassistant/components/rocketchat/notify.py @@ -1,9 +1,4 @@ -""" -Rocket.Chat notification service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.rocketchat/ -""" +"""Rocket.Chat notification service.""" import logging import voluptuous as vol diff --git a/homeassistant/components/roomba/vacuum.py b/homeassistant/components/roomba/vacuum.py index d06ecc5141..fadbe2a82d 100644 --- a/homeassistant/components/roomba/vacuum.py +++ b/homeassistant/components/roomba/vacuum.py @@ -1,9 +1,4 @@ -""" -Support for Wi-Fi enabled iRobot Roombas. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/vacuum.roomba/ -""" +"""Support for Wi-Fi enabled iRobot Roombas.""" import asyncio import logging diff --git a/homeassistant/components/rova/sensor.py b/homeassistant/components/rova/sensor.py index 07be331f23..2c2c36b124 100644 --- a/homeassistant/components/rova/sensor.py +++ b/homeassistant/components/rova/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Rova garbage calendar. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.rova/ -""" +"""Support for Rova garbage calendar.""" from datetime import datetime, timedelta import logging diff --git a/homeassistant/components/rpi_camera/camera.py b/homeassistant/components/rpi_camera/camera.py index ba6f5e9330..f0dd1d3653 100644 --- a/homeassistant/components/rpi_camera/camera.py +++ b/homeassistant/components/rpi_camera/camera.py @@ -1,9 +1,4 @@ -""" -Camera platform that has a Raspberry Pi camera. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/camera.rpi_camera/ -""" +"""Camera platform that has a Raspberry Pi camera.""" import os import subprocess import logging diff --git a/homeassistant/components/rpi_rf/switch.py b/homeassistant/components/rpi_rf/switch.py index 6844cb0f38..d0a2337280 100644 --- a/homeassistant/components/rpi_rf/switch.py +++ b/homeassistant/components/rpi_rf/switch.py @@ -1,9 +1,4 @@ -""" -Allows to configure a switch using a 433MHz module via GPIO on a Raspberry Pi. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.rpi_rf/ -""" +"""Support for a switch using a 433MHz module via GPIO on a Raspberry Pi.""" import importlib import logging diff --git a/homeassistant/components/russound_rio/media_player.py b/homeassistant/components/russound_rio/media_player.py index 972594e07e..b8f9d29f5c 100644 --- a/homeassistant/components/russound_rio/media_player.py +++ b/homeassistant/components/russound_rio/media_player.py @@ -1,9 +1,4 @@ -""" -Support for Russound multizone controllers using RIO Protocol. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.russound_rio/ -""" +"""Support for Russound multizone controllers using RIO Protocol.""" import logging import voluptuous as vol diff --git a/homeassistant/components/russound_rnet/media_player.py b/homeassistant/components/russound_rnet/media_player.py index 6d919cdf7a..f489d48a9d 100644 --- a/homeassistant/components/russound_rnet/media_player.py +++ b/homeassistant/components/russound_rnet/media_player.py @@ -1,9 +1,4 @@ -""" -Support for interfacing with Russound via RNET Protocol. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.russound_rnet/ -""" +"""Support for interfacing with Russound via RNET Protocol.""" import logging import voluptuous as vol diff --git a/homeassistant/components/ruter/sensor.py b/homeassistant/components/ruter/sensor.py index 91966f0df9..f6fefc9619 100644 --- a/homeassistant/components/ruter/sensor.py +++ b/homeassistant/components/ruter/sensor.py @@ -1,9 +1,4 @@ -""" -A sensor platform that give you information about next departures from Ruter. - -For more details about this platform, please refer to the documentation at -https://www.home-assistant.io/components/sensor.ruter/ -""" +"""A sensor to provide information about next departures from Ruter.""" import logging import voluptuous as vol diff --git a/homeassistant/components/samsungtv/media_player.py b/homeassistant/components/samsungtv/media_player.py index e6715669da..1a2a24c362 100644 --- a/homeassistant/components/samsungtv/media_player.py +++ b/homeassistant/components/samsungtv/media_player.py @@ -1,9 +1,4 @@ -""" -Support for interface with an Samsung TV. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.samsungtv/ -""" +"""Support for interface with an Samsung TV.""" import asyncio from datetime import timedelta import logging diff --git a/homeassistant/components/scrape/sensor.py b/homeassistant/components/scrape/sensor.py index a6d16852df..e576eca78e 100644 --- a/homeassistant/components/scrape/sensor.py +++ b/homeassistant/components/scrape/sensor.py @@ -1,9 +1,4 @@ -""" -Support for getting data from websites with scraping. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.scrape/ -""" +"""Support for getting data from websites with scraping.""" import logging import voluptuous as vol diff --git a/homeassistant/components/scsgate/__init__.py b/homeassistant/components/scsgate/__init__.py index 79bf4e217c..67421e9a46 100644 --- a/homeassistant/components/scsgate/__init__.py +++ b/homeassistant/components/scsgate/__init__.py @@ -1,9 +1,4 @@ -""" -Support for SCSGate components. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/scsgate/ -""" +"""Support for SCSGate components.""" import logging from threading import Lock diff --git a/homeassistant/components/season/sensor.py b/homeassistant/components/season/sensor.py index 84a2b426e9..7c7b105496 100644 --- a/homeassistant/components/season/sensor.py +++ b/homeassistant/components/season/sensor.py @@ -1,9 +1,4 @@ -""" -Support for tracking which astronomical or meteorological season it is. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/sensor/season/ -""" +"""Support for tracking which astronomical or meteorological season it is.""" import logging from datetime import datetime diff --git a/homeassistant/components/sendgrid/notify.py b/homeassistant/components/sendgrid/notify.py index 211e288725..a717c7f24e 100644 --- a/homeassistant/components/sendgrid/notify.py +++ b/homeassistant/components/sendgrid/notify.py @@ -1,9 +1,4 @@ -""" -SendGrid notification service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.sendgrid/ -""" +"""SendGrid notification service.""" import logging import voluptuous as vol diff --git a/homeassistant/components/sensehat/light.py b/homeassistant/components/sensehat/light.py index 86153fffef..c68e77b40a 100644 --- a/homeassistant/components/sensehat/light.py +++ b/homeassistant/components/sensehat/light.py @@ -1,9 +1,4 @@ -""" -Support for Sense Hat LEDs. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.sensehat/ -""" +"""Support for Sense Hat LEDs.""" import logging import voluptuous as vol diff --git a/homeassistant/components/sensehat/sensor.py b/homeassistant/components/sensehat/sensor.py index 15c73d990e..870150c1a9 100644 --- a/homeassistant/components/sensehat/sensor.py +++ b/homeassistant/components/sensehat/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Sense HAT sensors. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/sensor.sensehat -""" +"""Support for Sense HAT sensors.""" import os import logging from datetime import timedelta diff --git a/homeassistant/components/sensibo/climate.py b/homeassistant/components/sensibo/climate.py index 3affaba3e1..bf06f23242 100644 --- a/homeassistant/components/sensibo/climate.py +++ b/homeassistant/components/sensibo/climate.py @@ -1,9 +1,4 @@ -""" -Support for Sensibo wifi-enabled home thermostats. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/climate.sensibo/ -""" +"""Support for Sensibo wifi-enabled home thermostats.""" import asyncio import logging diff --git a/homeassistant/components/sensor/__init__.py b/homeassistant/components/sensor/__init__.py index 50549f28fd..031657066c 100644 --- a/homeassistant/components/sensor/__init__.py +++ b/homeassistant/components/sensor/__init__.py @@ -1,9 +1,4 @@ -""" -Component to interface with various sensors that can be monitored. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/sensor/ -""" +"""Component to interface with various sensors that can be monitored.""" from datetime import timedelta import logging diff --git a/homeassistant/components/serial/sensor.py b/homeassistant/components/serial/sensor.py index 5d49b06555..c01981f902 100644 --- a/homeassistant/components/serial/sensor.py +++ b/homeassistant/components/serial/sensor.py @@ -1,9 +1,4 @@ -""" -Support for reading data from a serial port. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.serial/ -""" +"""Support for reading data from a serial port.""" import logging import json diff --git a/homeassistant/components/serial_pm/sensor.py b/homeassistant/components/serial_pm/sensor.py index 46dfc9fae7..9ad65f7256 100644 --- a/homeassistant/components/serial_pm/sensor.py +++ b/homeassistant/components/serial_pm/sensor.py @@ -1,9 +1,4 @@ -""" -Support for particulate matter sensors connected to a serial port. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.serial_pm/ -""" +"""Support for particulate matter sensors connected to a serial port.""" import logging import voluptuous as vol diff --git a/homeassistant/components/sesame/lock.py b/homeassistant/components/sesame/lock.py index 44a6cfb265..263914f389 100644 --- a/homeassistant/components/sesame/lock.py +++ b/homeassistant/components/sesame/lock.py @@ -1,9 +1,4 @@ -""" -Support for Sesame, by CANDY HOUSE. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/lock.sesame/ -""" +"""Support for Sesame, by CANDY HOUSE.""" from typing import Callable import voluptuous as vol diff --git a/homeassistant/components/seven_segments/image_processing.py b/homeassistant/components/seven_segments/image_processing.py index a460115cc3..7bbfceb15e 100644 --- a/homeassistant/components/seven_segments/image_processing.py +++ b/homeassistant/components/seven_segments/image_processing.py @@ -1,9 +1,4 @@ -""" -Local optical character recognition processing of seven segments displays. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/image_processing.seven_segments/ -""" +"""Optical character recognition processing of seven segments displays.""" import logging import io import os diff --git a/homeassistant/components/seventeentrack/sensor.py b/homeassistant/components/seventeentrack/sensor.py index 6fb4884989..ff17d1a4c5 100644 --- a/homeassistant/components/seventeentrack/sensor.py +++ b/homeassistant/components/seventeentrack/sensor.py @@ -1,9 +1,4 @@ -""" -Support for package tracking sensors from 17track.net. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.seventeentrack/ -""" +"""Support for package tracking sensors from 17track.net.""" import logging from datetime import timedelta diff --git a/homeassistant/components/sht31/sensor.py b/homeassistant/components/sht31/sensor.py index 4b84984977..613b1f8c92 100644 --- a/homeassistant/components/sht31/sensor.py +++ b/homeassistant/components/sht31/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Sensirion SHT31 temperature and humidity sensor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.sht31/ -""" +"""Support for Sensirion SHT31 temperature and humidity sensor.""" from datetime import timedelta import logging diff --git a/homeassistant/components/sigfox/sensor.py b/homeassistant/components/sigfox/sensor.py index 5e2a56cadc..1bce2d6b28 100644 --- a/homeassistant/components/sigfox/sensor.py +++ b/homeassistant/components/sigfox/sensor.py @@ -1,9 +1,4 @@ -""" -Sensor for SigFox devices. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.sigfox/ -""" +"""Sensor for SigFox devices.""" import logging import datetime import json diff --git a/homeassistant/components/simplepush/notify.py b/homeassistant/components/simplepush/notify.py index 63222d4adc..081351238d 100644 --- a/homeassistant/components/simplepush/notify.py +++ b/homeassistant/components/simplepush/notify.py @@ -1,9 +1,4 @@ -""" -Simplepush notification service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.simplepush/ -""" +"""Simplepush notification service.""" import logging import voluptuous as vol diff --git a/homeassistant/components/simulated/sensor.py b/homeassistant/components/simulated/sensor.py index 8f2c3dd36e..562f355f76 100644 --- a/homeassistant/components/simulated/sensor.py +++ b/homeassistant/components/simulated/sensor.py @@ -1,9 +1,4 @@ -""" -Adds a simulated sensor. - -For more details about this platform, refer to the documentation at -https://home-assistant.io/components/sensor.simulated/ -""" +"""Adds a simulated sensor.""" import logging import math from random import Random diff --git a/homeassistant/components/sky_hub/device_tracker.py b/homeassistant/components/sky_hub/device_tracker.py index 0d69e08aa7..4e0ce4352c 100644 --- a/homeassistant/components/sky_hub/device_tracker.py +++ b/homeassistant/components/sky_hub/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for Sky Hub. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.sky_hub/ -""" +"""Support for Sky Hub.""" import logging import re diff --git a/homeassistant/components/skybeacon/sensor.py b/homeassistant/components/skybeacon/sensor.py index 6960999306..9b8b4872cd 100644 --- a/homeassistant/components/skybeacon/sensor.py +++ b/homeassistant/components/skybeacon/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Skybeacon temperature/humidity Bluetooth LE sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.skybeacon/ -""" +"""Support for Skybeacon temperature/humidity Bluetooth LE sensors.""" import logging import threading from uuid import UUID diff --git a/homeassistant/components/slack/notify.py b/homeassistant/components/slack/notify.py index eabddf0129..026fed0a58 100644 --- a/homeassistant/components/slack/notify.py +++ b/homeassistant/components/slack/notify.py @@ -1,9 +1,4 @@ -""" -Slack platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.slack/ -""" +"""Slack platform for notify component.""" import logging import requests diff --git a/homeassistant/components/sleepiq/binary_sensor.py b/homeassistant/components/sleepiq/binary_sensor.py index 808eda4967..11f9e25d8c 100644 --- a/homeassistant/components/sleepiq/binary_sensor.py +++ b/homeassistant/components/sleepiq/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for SleepIQ sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.sleepiq/ -""" +"""Support for SleepIQ sensors.""" from homeassistant.components import sleepiq from homeassistant.components.binary_sensor import BinarySensorDevice diff --git a/homeassistant/components/sleepiq/sensor.py b/homeassistant/components/sleepiq/sensor.py index 2c97d7eb1e..3de444c332 100644 --- a/homeassistant/components/sleepiq/sensor.py +++ b/homeassistant/components/sleepiq/sensor.py @@ -1,9 +1,4 @@ -""" -Support for SleepIQ sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sleepiq/ -""" +"""Support for SleepIQ sensors.""" from homeassistant.components import sleepiq DEPENDENCIES = ['sleepiq'] diff --git a/homeassistant/components/sma/sensor.py b/homeassistant/components/sma/sensor.py index 61009a472f..a2ec7871f6 100644 --- a/homeassistant/components/sma/sensor.py +++ b/homeassistant/components/sma/sensor.py @@ -1,9 +1,4 @@ -""" -SMA Solar Webconnect interface. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.sma/ -""" +"""SMA Solar Webconnect interface.""" import asyncio from datetime import timedelta import logging diff --git a/homeassistant/components/smartthings/smartapp.py b/homeassistant/components/smartthings/smartapp.py index 548a38711b..9aa44d26f2 100644 --- a/homeassistant/components/smartthings/smartapp.py +++ b/homeassistant/components/smartthings/smartapp.py @@ -1,10 +1,4 @@ -""" -SmartApp functionality to receive cloud-push notifications. - -This module defines the functions to manage the SmartApp integration -within the SmartThings ecosystem in order to receive real-time webhook-based -callbacks when device states change. -""" +"""SmartApp functionality to receive cloud-push notifications.""" import asyncio import functools import logging diff --git a/homeassistant/components/smtp/notify.py b/homeassistant/components/smtp/notify.py index 4104013bcf..1aaf3464e2 100644 --- a/homeassistant/components/smtp/notify.py +++ b/homeassistant/components/smtp/notify.py @@ -1,9 +1,4 @@ -""" -Mail (SMTP) notification service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.smtp/ -""" +"""Mail (SMTP) notification service.""" from email.mime.application import MIMEApplication from email.mime.image import MIMEImage from email.mime.multipart import MIMEMultipart diff --git a/homeassistant/components/snapcast/media_player.py b/homeassistant/components/snapcast/media_player.py index 74b17ae5ff..b1589c4db5 100644 --- a/homeassistant/components/snapcast/media_player.py +++ b/homeassistant/components/snapcast/media_player.py @@ -1,9 +1,4 @@ -""" -Support for interacting with Snapcast clients. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.snapcast/ -""" +"""Support for interacting with Snapcast clients.""" import logging import socket diff --git a/homeassistant/components/snmp/device_tracker.py b/homeassistant/components/snmp/device_tracker.py index 7c6efc82ef..8a0fe7c610 100644 --- a/homeassistant/components/snmp/device_tracker.py +++ b/homeassistant/components/snmp/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for fetching WiFi associations through SNMP. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.snmp/ -""" +"""Support for fetching WiFi associations through SNMP.""" import binascii import logging diff --git a/homeassistant/components/snmp/sensor.py b/homeassistant/components/snmp/sensor.py index 3964e44e37..83d3111898 100644 --- a/homeassistant/components/snmp/sensor.py +++ b/homeassistant/components/snmp/sensor.py @@ -1,9 +1,4 @@ -""" -Support for displaying collected data over SNMP. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.snmp/ -""" +"""Support for displaying collected data over SNMP.""" import logging from datetime import timedelta diff --git a/homeassistant/components/snmp/switch.py b/homeassistant/components/snmp/switch.py index 0baa129657..fdb3267a3c 100644 --- a/homeassistant/components/snmp/switch.py +++ b/homeassistant/components/snmp/switch.py @@ -1,9 +1,4 @@ -""" -Support for SNMP enabled switch. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.snmp/ -""" +"""Support for SNMP enabled switch.""" import logging import voluptuous as vol diff --git a/homeassistant/components/socialblade/sensor.py b/homeassistant/components/socialblade/sensor.py index 9a73e9cdd6..77433ac6d5 100644 --- a/homeassistant/components/socialblade/sensor.py +++ b/homeassistant/components/socialblade/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Social Blade. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.socialblade/ -""" +"""Support for Social Blade.""" from datetime import timedelta import logging diff --git a/homeassistant/components/solaredge/sensor.py b/homeassistant/components/solaredge/sensor.py index d56ccc53b6..6c6d755728 100644 --- a/homeassistant/components/solaredge/sensor.py +++ b/homeassistant/components/solaredge/sensor.py @@ -1,9 +1,4 @@ -""" -Support for SolarEdge Monitoring API. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.solaredge/ -""" +"""Support for SolarEdge Monitoring API.""" from datetime import timedelta import logging diff --git a/homeassistant/components/sonarr/sensor.py b/homeassistant/components/sonarr/sensor.py index b0e87992e3..b593f6d318 100644 --- a/homeassistant/components/sonarr/sensor.py +++ b/homeassistant/components/sonarr/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Sonarr. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.sonarr/ -""" +"""Support for Sonarr.""" import logging import time from datetime import datetime diff --git a/homeassistant/components/songpal/media_player.py b/homeassistant/components/songpal/media_player.py index 7665b409d1..842360484c 100644 --- a/homeassistant/components/songpal/media_player.py +++ b/homeassistant/components/songpal/media_player.py @@ -1,9 +1,4 @@ -""" -Support for Songpal-enabled (Sony) media devices. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.songpal/ -""" +"""Support for Songpal-enabled (Sony) media devices.""" import asyncio import logging from collections import OrderedDict diff --git a/homeassistant/components/soundtouch/media_player.py b/homeassistant/components/soundtouch/media_player.py index b2045b9b65..027fad43a4 100644 --- a/homeassistant/components/soundtouch/media_player.py +++ b/homeassistant/components/soundtouch/media_player.py @@ -1,9 +1,4 @@ -""" -Support for interface with a Bose Soundtouch. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.soundtouch/ -""" +"""Support for interface with a Bose Soundtouch.""" import logging import re diff --git a/homeassistant/components/spc/alarm_control_panel.py b/homeassistant/components/spc/alarm_control_panel.py index 623a4b0dbd..77b412021a 100644 --- a/homeassistant/components/spc/alarm_control_panel.py +++ b/homeassistant/components/spc/alarm_control_panel.py @@ -1,9 +1,4 @@ -""" -Support for Vanderbilt (formerly Siemens) SPC alarm systems. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/alarm_control_panel.spc/ -""" +"""Support for Vanderbilt (formerly Siemens) SPC alarm systems.""" import logging import homeassistant.components.alarm_control_panel as alarm diff --git a/homeassistant/components/spc/binary_sensor.py b/homeassistant/components/spc/binary_sensor.py index 6a0712d62b..78ec2a11a9 100644 --- a/homeassistant/components/spc/binary_sensor.py +++ b/homeassistant/components/spc/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for Vanderbilt (formerly Siemens) SPC alarm systems. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.spc/ -""" +"""Support for Vanderbilt (formerly Siemens) SPC alarm systems.""" import logging from homeassistant.components.binary_sensor import BinarySensorDevice diff --git a/homeassistant/components/spotcrime/sensor.py b/homeassistant/components/spotcrime/sensor.py index 46f5fdc1c8..fa9cfa687e 100644 --- a/homeassistant/components/spotcrime/sensor.py +++ b/homeassistant/components/spotcrime/sensor.py @@ -1,9 +1,4 @@ -""" -Sensor for Spot Crime. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.spotcrime/ -""" +"""Sensor for Spot Crime.""" from datetime import timedelta from collections import defaultdict diff --git a/homeassistant/components/spotify/media_player.py b/homeassistant/components/spotify/media_player.py index 9965487ded..b9252d5035 100644 --- a/homeassistant/components/spotify/media_player.py +++ b/homeassistant/components/spotify/media_player.py @@ -1,9 +1,4 @@ -""" -Support for interacting with Spotify Connect. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.spotify/ -""" +"""Support for interacting with Spotify Connect.""" from datetime import timedelta import logging diff --git a/homeassistant/components/squeezebox/media_player.py b/homeassistant/components/squeezebox/media_player.py index 5f6fd525a1..d25d2f03fc 100644 --- a/homeassistant/components/squeezebox/media_player.py +++ b/homeassistant/components/squeezebox/media_player.py @@ -1,9 +1,4 @@ -""" -Support for interfacing to the Logitech SqueezeBox API. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.squeezebox/ -""" +"""Support for interfacing to the Logitech SqueezeBox API.""" import asyncio import json import logging diff --git a/homeassistant/components/srp_energy/sensor.py b/homeassistant/components/srp_energy/sensor.py index 4d2cd863b1..0ebae427da 100644 --- a/homeassistant/components/srp_energy/sensor.py +++ b/homeassistant/components/srp_energy/sensor.py @@ -1,9 +1,4 @@ -""" -Platform for retrieving energy data from SRP. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/sensor.srp_energy/ -""" +"""Platform for retrieving energy data from SRP.""" from datetime import datetime, timedelta import logging diff --git a/homeassistant/components/starlingbank/sensor.py b/homeassistant/components/starlingbank/sensor.py index e325e5e1a5..00640ea496 100644 --- a/homeassistant/components/starlingbank/sensor.py +++ b/homeassistant/components/starlingbank/sensor.py @@ -1,9 +1,4 @@ -""" -Support for balance data via the Starling Bank API. - -For more details about this platform, please refer to the documentation at -https://www.home-assistant.io/components/sensor.starlingbank/ -""" +"""Support for balance data via the Starling Bank API.""" import logging import requests diff --git a/homeassistant/components/startca/sensor.py b/homeassistant/components/startca/sensor.py index 85939ea72a..1e57a4cf85 100644 --- a/homeassistant/components/startca/sensor.py +++ b/homeassistant/components/startca/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Start.ca Bandwidth Monitor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.startca/ -""" +"""Support for Start.ca Bandwidth Monitor.""" from datetime import timedelta from xml.parsers.expat import ExpatError import logging diff --git a/homeassistant/components/statistics/sensor.py b/homeassistant/components/statistics/sensor.py index 01c783dc1d..a777a921f3 100644 --- a/homeassistant/components/statistics/sensor.py +++ b/homeassistant/components/statistics/sensor.py @@ -1,9 +1,4 @@ -""" -Support for statistics for sensor values. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.statistics/ -""" +"""Support for statistics for sensor values.""" import logging import statistics from collections import deque diff --git a/homeassistant/components/steam_online/sensor.py b/homeassistant/components/steam_online/sensor.py index 861a5958dd..4b4b73ad8c 100644 --- a/homeassistant/components/steam_online/sensor.py +++ b/homeassistant/components/steam_online/sensor.py @@ -1,9 +1,4 @@ -""" -Sensor for Steam account status. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.steam_online/ -""" +"""Sensor for Steam account status.""" import logging import voluptuous as vol diff --git a/homeassistant/components/stream/__init__.py b/homeassistant/components/stream/__init__.py index 1e8ae5d60e..43debc504e 100644 --- a/homeassistant/components/stream/__init__.py +++ b/homeassistant/components/stream/__init__.py @@ -1,9 +1,4 @@ -""" -Provide functionality to stream video source. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/stream/ -""" +"""Provide functionality to stream video source.""" import logging import threading diff --git a/homeassistant/components/stream/hls.py b/homeassistant/components/stream/hls.py index aa5ce10576..c19db4f203 100644 --- a/homeassistant/components/stream/hls.py +++ b/homeassistant/components/stream/hls.py @@ -1,9 +1,4 @@ -""" -Provide functionality to stream HLS. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/stream/hls -""" +"""Provide functionality to stream HLS.""" from aiohttp import web from homeassistant.core import callback diff --git a/homeassistant/components/stride/notify.py b/homeassistant/components/stride/notify.py index 9d05bd17f3..fa08697d79 100644 --- a/homeassistant/components/stride/notify.py +++ b/homeassistant/components/stride/notify.py @@ -1,9 +1,4 @@ -""" -Stride platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.stride/ -""" +"""Stride platform for notify component.""" import logging import voluptuous as vol diff --git a/homeassistant/components/supervisord/sensor.py b/homeassistant/components/supervisord/sensor.py index 894881dad8..fc40bd4e86 100644 --- a/homeassistant/components/supervisord/sensor.py +++ b/homeassistant/components/supervisord/sensor.py @@ -1,9 +1,4 @@ -""" -Sensor for Supervisord process status. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.supervisord/ -""" +"""Sensor for Supervisord process status.""" import logging import xmlrpc.client diff --git a/homeassistant/components/swiss_hydrological_data/sensor.py b/homeassistant/components/swiss_hydrological_data/sensor.py index c354ebedb2..84964a94cb 100644 --- a/homeassistant/components/swiss_hydrological_data/sensor.py +++ b/homeassistant/components/swiss_hydrological_data/sensor.py @@ -1,9 +1,4 @@ -""" -Support for hydrological data from the Federal Office for the Environment FOEN. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.swiss_hydrological_data/ -""" +"""Support for hydrological data from the Fed. Office for the Environment.""" from datetime import timedelta import logging diff --git a/homeassistant/components/swiss_public_transport/sensor.py b/homeassistant/components/swiss_public_transport/sensor.py index d9f2410f8c..8d6b7fdee0 100644 --- a/homeassistant/components/swiss_public_transport/sensor.py +++ b/homeassistant/components/swiss_public_transport/sensor.py @@ -1,9 +1,4 @@ -""" -Support for transport.opendata.ch. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.swiss_public_transport/ -""" +"""Support for transport.opendata.ch.""" from datetime import timedelta import logging diff --git a/homeassistant/components/swisscom/device_tracker.py b/homeassistant/components/swisscom/device_tracker.py index d5826ecedf..7371762da9 100644 --- a/homeassistant/components/swisscom/device_tracker.py +++ b/homeassistant/components/swisscom/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for Swisscom routers (Internet-Box). - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.swisscom/ -""" +"""Support for Swisscom routers (Internet-Box).""" import logging from aiohttp.hdrs import CONTENT_TYPE diff --git a/homeassistant/components/switch/__init__.py b/homeassistant/components/switch/__init__.py index d517f635a9..7e89a5369c 100644 --- a/homeassistant/components/switch/__init__.py +++ b/homeassistant/components/switch/__init__.py @@ -1,9 +1,4 @@ -""" -Component to interface with various switches that can be controlled remotely. - -For more details about this component, please refer to the documentation -at https://home-assistant.io/components/switch/ -""" +"""Component to interface with switches that can be controlled remotely.""" from datetime import timedelta import logging diff --git a/homeassistant/components/switch/light.py b/homeassistant/components/switch/light.py index 64f8779e4a..8f9e489bd9 100644 --- a/homeassistant/components/switch/light.py +++ b/homeassistant/components/switch/light.py @@ -1,9 +1,4 @@ -""" -Light support for switch entities. - -For more information about this platform, please refer to the documentation at -https://home-assistant.io/components/light.switch/ -""" +"""Light support for switch entities.""" import logging import voluptuous as vol diff --git a/homeassistant/components/switchmate/switch.py b/homeassistant/components/switchmate/switch.py index 60497e0207..c14a6ca808 100644 --- a/homeassistant/components/switchmate/switch.py +++ b/homeassistant/components/switchmate/switch.py @@ -1,9 +1,4 @@ -""" -Support for Switchmate. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.switchmate/ -""" +"""Support for Switchmate.""" import logging from datetime import timedelta diff --git a/homeassistant/components/syncthru/sensor.py b/homeassistant/components/syncthru/sensor.py index 862efb63fd..5596d4ab86 100644 --- a/homeassistant/components/syncthru/sensor.py +++ b/homeassistant/components/syncthru/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Samsung Printers with SyncThru web interface. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/sensor.syncthru/ -""" +"""Support for Samsung Printers with SyncThru web interface.""" import logging import voluptuous as vol diff --git a/homeassistant/components/synology/camera.py b/homeassistant/components/synology/camera.py index b094cf98ed..c452f60cc2 100644 --- a/homeassistant/components/synology/camera.py +++ b/homeassistant/components/synology/camera.py @@ -1,9 +1,4 @@ -""" -Support for Synology Surveillance Station Cameras. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/camera.synology/ -""" +"""Support for Synology Surveillance Station Cameras.""" import logging import requests diff --git a/homeassistant/components/synology_chat/notify.py b/homeassistant/components/synology_chat/notify.py index 32277dc197..8f2f654da3 100644 --- a/homeassistant/components/synology_chat/notify.py +++ b/homeassistant/components/synology_chat/notify.py @@ -1,9 +1,4 @@ -""" -SynologyChat platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.synology_chat/ -""" +"""SynologyChat platform for notify component.""" import json import logging diff --git a/homeassistant/components/syslog/notify.py b/homeassistant/components/syslog/notify.py index 740148e28e..2e6c3bf612 100644 --- a/homeassistant/components/syslog/notify.py +++ b/homeassistant/components/syslog/notify.py @@ -1,9 +1,4 @@ -""" -Syslog notification service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.syslog/ -""" +"""Syslog notification service.""" import logging import voluptuous as vol diff --git a/homeassistant/components/sytadin/sensor.py b/homeassistant/components/sytadin/sensor.py index f8ef18fcff..517deda7ca 100644 --- a/homeassistant/components/sytadin/sensor.py +++ b/homeassistant/components/sytadin/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Sytadin Traffic, French Traffic Supervision. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.sytadin/ -""" +"""Support for Sytadin Traffic, French Traffic Supervision.""" import logging import re from datetime import timedelta diff --git a/homeassistant/components/tank_utility/sensor.py b/homeassistant/components/tank_utility/sensor.py index c807f1aa4c..5389d60ef4 100644 --- a/homeassistant/components/tank_utility/sensor.py +++ b/homeassistant/components/tank_utility/sensor.py @@ -1,9 +1,4 @@ -""" -Support for the Tank Utility propane monitor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.tank_utility/ -""" +"""Support for the Tank Utility propane monitor.""" import datetime import logging diff --git a/homeassistant/components/tapsaff/binary_sensor.py b/homeassistant/components/tapsaff/binary_sensor.py index 1978a127c1..639e9574ed 100644 --- a/homeassistant/components/tapsaff/binary_sensor.py +++ b/homeassistant/components/tapsaff/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for Taps Affs. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.tapsaff/ -""" +"""Support for Taps Affs.""" from datetime import timedelta import logging diff --git a/homeassistant/components/tautulli/sensor.py b/homeassistant/components/tautulli/sensor.py index 5c48731f7d..44be10749b 100644 --- a/homeassistant/components/tautulli/sensor.py +++ b/homeassistant/components/tautulli/sensor.py @@ -1,9 +1,4 @@ -""" -A platform which allows you to get information from Tautulli. - -For more details about this platform, please refer to the documentation at -https://www.home-assistant.io/components/sensor.tautulli/ -""" +"""A platform which allows you to get information from Tautulli.""" from datetime import timedelta import logging diff --git a/homeassistant/components/tcp/binary_sensor.py b/homeassistant/components/tcp/binary_sensor.py index 80d77cd52a..4d26d819ed 100644 --- a/homeassistant/components/tcp/binary_sensor.py +++ b/homeassistant/components/tcp/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Provides a binary sensor which gets its values from a TCP socket. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.tcp/ -""" +"""Provides a binary sensor which gets its values from a TCP socket.""" import logging from homeassistant.components.binary_sensor import BinarySensorDevice diff --git a/homeassistant/components/tcp/sensor.py b/homeassistant/components/tcp/sensor.py index d214bd3d42..6788848df0 100644 --- a/homeassistant/components/tcp/sensor.py +++ b/homeassistant/components/tcp/sensor.py @@ -1,9 +1,4 @@ -""" -Support for TCP socket based sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.tcp/ -""" +"""Support for TCP socket based sensors.""" import logging import socket import select diff --git a/homeassistant/components/ted5000/sensor.py b/homeassistant/components/ted5000/sensor.py index 23a20b3e83..fba9866302 100644 --- a/homeassistant/components/ted5000/sensor.py +++ b/homeassistant/components/ted5000/sensor.py @@ -1,9 +1,4 @@ -""" -Support gathering ted500 information. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.ted5000/ -""" +"""Support gathering ted500 information.""" import logging from datetime import timedelta diff --git a/homeassistant/components/teksavvy/sensor.py b/homeassistant/components/teksavvy/sensor.py index 0be18cbd6b..de74ceda9f 100644 --- a/homeassistant/components/teksavvy/sensor.py +++ b/homeassistant/components/teksavvy/sensor.py @@ -1,9 +1,4 @@ -""" -Support for TekSavvy Bandwidth Monitor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.teksavvy/ -""" +"""Support for TekSavvy Bandwidth Monitor.""" from datetime import timedelta import logging import async_timeout diff --git a/homeassistant/components/telegram/notify.py b/homeassistant/components/telegram/notify.py index 428c7e093d..3602bbd244 100644 --- a/homeassistant/components/telegram/notify.py +++ b/homeassistant/components/telegram/notify.py @@ -1,9 +1,4 @@ -""" -Telegram platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.telegram/ -""" +"""Telegram platform for notify component.""" import logging import voluptuous as vol diff --git a/homeassistant/components/telnet/switch.py b/homeassistant/components/telnet/switch.py index 7c3baf2981..6ad7e7b43a 100644 --- a/homeassistant/components/telnet/switch.py +++ b/homeassistant/components/telnet/switch.py @@ -1,9 +1,4 @@ -""" -Support for switch controlled using a telnet connection. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.telnet/ -""" +"""Support for switch controlled using a telnet connection.""" from datetime import timedelta import logging import telnetlib diff --git a/homeassistant/components/temper/sensor.py b/homeassistant/components/temper/sensor.py index 72184df7c8..1c6cb9fdff 100644 --- a/homeassistant/components/temper/sensor.py +++ b/homeassistant/components/temper/sensor.py @@ -1,9 +1,4 @@ -""" -Support for getting temperature from TEMPer devices. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.temper/ -""" +"""Support for getting temperature from TEMPer devices.""" import logging import voluptuous as vol diff --git a/homeassistant/components/template/binary_sensor.py b/homeassistant/components/template/binary_sensor.py index 605ab24a26..bd9c4dfc69 100644 --- a/homeassistant/components/template/binary_sensor.py +++ b/homeassistant/components/template/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for exposing a templated binary sensor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.template/ -""" +"""Support for exposing a templated binary sensor.""" import logging import voluptuous as vol diff --git a/homeassistant/components/template/cover.py b/homeassistant/components/template/cover.py index 1d3642a603..2fdcc9f103 100644 --- a/homeassistant/components/template/cover.py +++ b/homeassistant/components/template/cover.py @@ -1,9 +1,4 @@ -""" -Support for covers which integrate with other components. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/cover.template/ -""" +"""Support for covers which integrate with other components.""" import logging import voluptuous as vol diff --git a/homeassistant/components/template/fan.py b/homeassistant/components/template/fan.py index d9182b79a4..cc6505d22f 100644 --- a/homeassistant/components/template/fan.py +++ b/homeassistant/components/template/fan.py @@ -1,9 +1,4 @@ -""" -Support for Template fans. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/fan.template/ -""" +"""Support for Template fans.""" import logging import voluptuous as vol diff --git a/homeassistant/components/template/light.py b/homeassistant/components/template/light.py index bf930dd1b3..980f0ad152 100644 --- a/homeassistant/components/template/light.py +++ b/homeassistant/components/template/light.py @@ -1,9 +1,4 @@ -""" -Support for Template lights. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.template/ -""" +"""Support for Template lights.""" import logging import voluptuous as vol diff --git a/homeassistant/components/template/lock.py b/homeassistant/components/template/lock.py index 527af4c5b8..ad5d0c4aea 100644 --- a/homeassistant/components/template/lock.py +++ b/homeassistant/components/template/lock.py @@ -1,9 +1,4 @@ -""" -Support for locks which integrates with other components. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/lock.template/ -""" +"""Support for locks which integrates with other components.""" import logging import voluptuous as vol diff --git a/homeassistant/components/template/sensor.py b/homeassistant/components/template/sensor.py index 5f3af4a06a..41dc6f8aee 100644 --- a/homeassistant/components/template/sensor.py +++ b/homeassistant/components/template/sensor.py @@ -1,9 +1,4 @@ -""" -Allows the creation of a sensor that breaks out state_attributes. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.template/ -""" +"""Allows the creation of a sensor that breaks out state_attributes.""" import logging from typing import Optional diff --git a/homeassistant/components/template/switch.py b/homeassistant/components/template/switch.py index a2098c2f5f..541bfd3bcf 100644 --- a/homeassistant/components/template/switch.py +++ b/homeassistant/components/template/switch.py @@ -1,9 +1,4 @@ -""" -Support for switches which integrates with other components. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.template/ -""" +"""Support for switches which integrates with other components.""" import logging import voluptuous as vol diff --git a/homeassistant/components/thomson/device_tracker.py b/homeassistant/components/thomson/device_tracker.py index 8a56fcee70..bbce443696 100644 --- a/homeassistant/components/thomson/device_tracker.py +++ b/homeassistant/components/thomson/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for THOMSON routers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.thomson/ -""" +"""Support for THOMSON routers.""" import logging import re import telnetlib diff --git a/homeassistant/components/threshold/binary_sensor.py b/homeassistant/components/threshold/binary_sensor.py index 0dadf3a61f..916a5b968b 100644 --- a/homeassistant/components/threshold/binary_sensor.py +++ b/homeassistant/components/threshold/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for monitoring if a sensor value is below/above a threshold. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.threshold/ -""" +"""Support for monitoring if a sensor value is below/above a threshold.""" import logging import voluptuous as vol diff --git a/homeassistant/components/tikteck/light.py b/homeassistant/components/tikteck/light.py index 64b4069d98..4f5596c71b 100644 --- a/homeassistant/components/tikteck/light.py +++ b/homeassistant/components/tikteck/light.py @@ -1,9 +1,4 @@ -""" -Support for Tikteck lights. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.tikteck/ -""" +"""Support for Tikteck lights.""" import logging import voluptuous as vol diff --git a/homeassistant/components/tile/device_tracker.py b/homeassistant/components/tile/device_tracker.py index 6da520280e..c471c1e23b 100644 --- a/homeassistant/components/tile/device_tracker.py +++ b/homeassistant/components/tile/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for Tile® Bluetooth trackers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.tile/ -""" +"""Support for Tile® Bluetooth trackers.""" import logging from datetime import timedelta diff --git a/homeassistant/components/time_date/sensor.py b/homeassistant/components/time_date/sensor.py index 7825867df6..5342dc5769 100644 --- a/homeassistant/components/time_date/sensor.py +++ b/homeassistant/components/time_date/sensor.py @@ -1,9 +1,4 @@ -""" -Support for showing the date and the time. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.time_date/ -""" +"""Support for showing the date and the time.""" from datetime import timedelta import logging diff --git a/homeassistant/components/todoist/calendar.py b/homeassistant/components/todoist/calendar.py index a0a3457667..313935e122 100644 --- a/homeassistant/components/todoist/calendar.py +++ b/homeassistant/components/todoist/calendar.py @@ -1,9 +1,4 @@ -""" -Support for Todoist task management (https://todoist.com). - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/calendar.todoist/ -""" +"""Support for Todoist task management (https://todoist.com).""" from datetime import datetime, timedelta import logging diff --git a/homeassistant/components/tomato/device_tracker.py b/homeassistant/components/tomato/device_tracker.py index 718adad421..9d0506fe04 100644 --- a/homeassistant/components/tomato/device_tracker.py +++ b/homeassistant/components/tomato/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for Tomato routers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.tomato/ -""" +"""Support for Tomato routers.""" import json import logging import re diff --git a/homeassistant/components/torque/sensor.py b/homeassistant/components/torque/sensor.py index 4941633677..2f947c178b 100644 --- a/homeassistant/components/torque/sensor.py +++ b/homeassistant/components/torque/sensor.py @@ -1,9 +1,4 @@ -""" -Support for the Torque OBD application. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.torque/ -""" +"""Support for the Torque OBD application.""" import logging import re diff --git a/homeassistant/components/totalconnect/alarm_control_panel.py b/homeassistant/components/totalconnect/alarm_control_panel.py index a272a22abe..c56c4ed95a 100644 --- a/homeassistant/components/totalconnect/alarm_control_panel.py +++ b/homeassistant/components/totalconnect/alarm_control_panel.py @@ -1,9 +1,4 @@ -""" -Interfaces with TotalConnect alarm control panels. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/alarm_control_panel.totalconnect/ -""" +"""Interfaces with TotalConnect alarm control panels.""" import logging import voluptuous as vol diff --git a/homeassistant/components/touchline/climate.py b/homeassistant/components/touchline/climate.py index fa38bd37c8..e003ea257d 100644 --- a/homeassistant/components/touchline/climate.py +++ b/homeassistant/components/touchline/climate.py @@ -1,9 +1,4 @@ -""" -Platform for Roth Touchline heat pump controller. - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/climate.touchline/ -""" +"""Platform for Roth Touchline heat pump controller.""" import logging import voluptuous as vol diff --git a/homeassistant/components/tplink/device_tracker.py b/homeassistant/components/tplink/device_tracker.py index 33a5d5f32f..7f5c4a37d2 100644 --- a/homeassistant/components/tplink/device_tracker.py +++ b/homeassistant/components/tplink/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for TP-Link routers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.tplink/ -""" +"""Support for TP-Link routers.""" import base64 from datetime import datetime import hashlib diff --git a/homeassistant/components/tplink/light.py b/homeassistant/components/tplink/light.py index 0ba1dfaa33..9f13766c4e 100644 --- a/homeassistant/components/tplink/light.py +++ b/homeassistant/components/tplink/light.py @@ -1,9 +1,4 @@ -""" -Support for TPLink lights. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/light.tplink/ -""" +"""Support for TPLink lights.""" import logging import time diff --git a/homeassistant/components/tplink/switch.py b/homeassistant/components/tplink/switch.py index a75945e995..a4eeadd1c6 100644 --- a/homeassistant/components/tplink/switch.py +++ b/homeassistant/components/tplink/switch.py @@ -1,9 +1,4 @@ -""" -Support for TPLink HS100/HS110/HS200 smart switch. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.tplink/ -""" +"""Support for TPLink HS100/HS110/HS200 smart switch.""" import logging import time diff --git a/homeassistant/components/traccar/device_tracker.py b/homeassistant/components/traccar/device_tracker.py index e3ac142794..28d13dd4fe 100644 --- a/homeassistant/components/traccar/device_tracker.py +++ b/homeassistant/components/traccar/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for Traccar device tracking. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.traccar/ -""" +"""Support for Traccar device tracking.""" from datetime import datetime, timedelta import logging diff --git a/homeassistant/components/trackr/device_tracker.py b/homeassistant/components/trackr/device_tracker.py index 08d3a4c944..1322fde7e1 100644 --- a/homeassistant/components/trackr/device_tracker.py +++ b/homeassistant/components/trackr/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for the TrackR platform. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.trackr/ -""" +"""Support for the TrackR platform.""" import logging import voluptuous as vol diff --git a/homeassistant/components/trafikverket_weatherstation/sensor.py b/homeassistant/components/trafikverket_weatherstation/sensor.py index 2dffd580b7..bf8f4c803e 100644 --- a/homeassistant/components/trafikverket_weatherstation/sensor.py +++ b/homeassistant/components/trafikverket_weatherstation/sensor.py @@ -1,9 +1,4 @@ -""" -Weather information for air and road temperature, provided by Trafikverket. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.trafikverket_weatherstation/ -""" +"""Weather information for air and road temperature (by Trafikverket).""" import asyncio from datetime import timedelta diff --git a/homeassistant/components/travisci/sensor.py b/homeassistant/components/travisci/sensor.py index c96bb18e95..99309f7e2b 100644 --- a/homeassistant/components/travisci/sensor.py +++ b/homeassistant/components/travisci/sensor.py @@ -1,9 +1,4 @@ -""" -This component provides HA sensor support for Travis CI framework. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.travisci/ -""" +"""This component provides HA sensor support for Travis CI framework.""" import logging from datetime import timedelta diff --git a/homeassistant/components/tts/__init__.py b/homeassistant/components/tts/__init__.py index 0cd4a1bb6c..763baa262b 100644 --- a/homeassistant/components/tts/__init__.py +++ b/homeassistant/components/tts/__init__.py @@ -1,9 +1,4 @@ -""" -Provide functionality to TTS. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/tts/ -""" +"""Provide functionality to TTS.""" import asyncio import ctypes import functools as ft diff --git a/homeassistant/components/twilio_call/notify.py b/homeassistant/components/twilio_call/notify.py index a1a28a03b1..ab57d72146 100644 --- a/homeassistant/components/twilio_call/notify.py +++ b/homeassistant/components/twilio_call/notify.py @@ -1,9 +1,4 @@ -""" -Twilio Call platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.twilio_call/ -""" +"""Twilio Call platform for notify component.""" import logging import urllib diff --git a/homeassistant/components/twilio_sms/notify.py b/homeassistant/components/twilio_sms/notify.py index b3b35ea178..a04e397a56 100644 --- a/homeassistant/components/twilio_sms/notify.py +++ b/homeassistant/components/twilio_sms/notify.py @@ -1,9 +1,4 @@ -""" -Twilio SMS platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.twilio_sms/ -""" +"""Twilio SMS platform for notify component.""" import logging import voluptuous as vol diff --git a/homeassistant/components/twitch/sensor.py b/homeassistant/components/twitch/sensor.py index 3e00f799dc..123de752d5 100644 --- a/homeassistant/components/twitch/sensor.py +++ b/homeassistant/components/twitch/sensor.py @@ -1,9 +1,4 @@ -""" -Support for the Twitch stream status. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.twitch/ -""" +"""Support for the Twitch stream status.""" import logging import voluptuous as vol diff --git a/homeassistant/components/twitter/notify.py b/homeassistant/components/twitter/notify.py index 9172da3678..54cd591f39 100644 --- a/homeassistant/components/twitter/notify.py +++ b/homeassistant/components/twitter/notify.py @@ -1,9 +1,4 @@ -""" -Twitter platform for notify component. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.twitter/ -""" +"""Twitter platform for notify component.""" from datetime import datetime, timedelta from functools import partial import json diff --git a/homeassistant/components/ubee/device_tracker.py b/homeassistant/components/ubee/device_tracker.py index f4ecc7d485..bbe028bbb7 100644 --- a/homeassistant/components/ubee/device_tracker.py +++ b/homeassistant/components/ubee/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for Ubee router. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.ubee/ -""" +"""Support for Ubee router.""" import logging import voluptuous as vol diff --git a/homeassistant/components/uber/sensor.py b/homeassistant/components/uber/sensor.py index a97ccaffed..87d87de66e 100644 --- a/homeassistant/components/uber/sensor.py +++ b/homeassistant/components/uber/sensor.py @@ -1,9 +1,4 @@ -""" -Support for the Uber API. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.uber/ -""" +"""Support for the Uber API.""" import logging from datetime import timedelta diff --git a/homeassistant/components/ubus/device_tracker.py b/homeassistant/components/ubus/device_tracker.py index 96f2f60c1e..54572524fb 100644 --- a/homeassistant/components/ubus/device_tracker.py +++ b/homeassistant/components/ubus/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for OpenWRT (ubus) routers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.ubus/ -""" +"""Support for OpenWRT (ubus) routers.""" import json import logging import re diff --git a/homeassistant/components/ue_smart_radio/media_player.py b/homeassistant/components/ue_smart_radio/media_player.py index 2261aadc2f..0d1f17e10e 100644 --- a/homeassistant/components/ue_smart_radio/media_player.py +++ b/homeassistant/components/ue_smart_radio/media_player.py @@ -1,9 +1,4 @@ -""" -Support for Logitech UE Smart Radios. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.ue_smart_radio/ -""" +"""Support for Logitech UE Smart Radios.""" import logging diff --git a/homeassistant/components/unifi/device_tracker.py b/homeassistant/components/unifi/device_tracker.py index 2dc5f7a4df..49e28114b1 100644 --- a/homeassistant/components/unifi/device_tracker.py +++ b/homeassistant/components/unifi/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for Unifi WAP controllers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.unifi/ -""" +"""Support for Unifi WAP controllers.""" import logging from datetime import timedelta import voluptuous as vol diff --git a/homeassistant/components/unifi_direct/device_tracker.py b/homeassistant/components/unifi_direct/device_tracker.py index bd90099e45..29a3c58fab 100644 --- a/homeassistant/components/unifi_direct/device_tracker.py +++ b/homeassistant/components/unifi_direct/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for Unifi AP direct access. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.unifi_direct/ -""" +"""Support for Unifi AP direct access.""" import logging import json diff --git a/homeassistant/components/universal/media_player.py b/homeassistant/components/universal/media_player.py index 5730a08673..69af20917c 100644 --- a/homeassistant/components/universal/media_player.py +++ b/homeassistant/components/universal/media_player.py @@ -1,9 +1,4 @@ -""" -Combination of multiple media players into one for a universal controller. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.universal/ -""" +"""Combination of multiple media players for a universal controller.""" from copy import copy import logging diff --git a/homeassistant/components/upc_connect/device_tracker.py b/homeassistant/components/upc_connect/device_tracker.py index 2ee6d64730..4a583b8349 100644 --- a/homeassistant/components/upc_connect/device_tracker.py +++ b/homeassistant/components/upc_connect/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for UPC ConnectBox router. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.upc_connect/ -""" +"""Support for UPC ConnectBox router.""" import asyncio import logging diff --git a/homeassistant/components/upnp/sensor.py b/homeassistant/components/upnp/sensor.py index 708ef314ab..86bcee879b 100644 --- a/homeassistant/components/upnp/sensor.py +++ b/homeassistant/components/upnp/sensor.py @@ -1,9 +1,4 @@ -""" -Support for UPnP/IGD Sensors. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.upnp/ -""" +"""Support for UPnP/IGD Sensors.""" from datetime import datetime import logging diff --git a/homeassistant/components/ups/sensor.py b/homeassistant/components/ups/sensor.py index e4aab55505..f338e990b0 100644 --- a/homeassistant/components/ups/sensor.py +++ b/homeassistant/components/ups/sensor.py @@ -1,9 +1,4 @@ -""" -Sensor for UPS packages. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.ups/ -""" +"""Sensor for UPS packages.""" from collections import defaultdict import logging from datetime import timedelta diff --git a/homeassistant/components/uptime/sensor.py b/homeassistant/components/uptime/sensor.py index 197233461f..7e741499f7 100644 --- a/homeassistant/components/uptime/sensor.py +++ b/homeassistant/components/uptime/sensor.py @@ -1,9 +1,4 @@ -""" -Platform to retrieve uptime for Home Assistant. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.uptime/ -""" +"""Platform to retrieve uptime for Home Assistant.""" import logging import voluptuous as vol diff --git a/homeassistant/components/uptimerobot/binary_sensor.py b/homeassistant/components/uptimerobot/binary_sensor.py index e48ac3039a..8e11966b68 100644 --- a/homeassistant/components/uptimerobot/binary_sensor.py +++ b/homeassistant/components/uptimerobot/binary_sensor.py @@ -1,9 +1,4 @@ -""" -A platform that to monitor Uptime Robot monitors. - -For more details about this platform, please refer to the documentation at -https://www.home-assistant.io/components/binary_sensor.uptimerobot/ -""" +"""A platform that to monitor Uptime Robot monitors.""" import logging import voluptuous as vol diff --git a/homeassistant/components/uscis/sensor.py b/homeassistant/components/uscis/sensor.py index e3a917b0a5..501c6c9665 100644 --- a/homeassistant/components/uscis/sensor.py +++ b/homeassistant/components/uscis/sensor.py @@ -1,9 +1,4 @@ -""" -Support for USCIS Case Status. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.uscis/ -""" +"""Support for USCIS Case Status.""" import logging from datetime import timedelta diff --git a/homeassistant/components/uvc/camera.py b/homeassistant/components/uvc/camera.py index 50e7c3d8fe..6525105406 100644 --- a/homeassistant/components/uvc/camera.py +++ b/homeassistant/components/uvc/camera.py @@ -1,9 +1,4 @@ -""" -Support for Ubiquiti's UVC cameras. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/camera.uvc/ -""" +"""Support for Ubiquiti's UVC cameras.""" import logging import socket diff --git a/homeassistant/components/vacuum/__init__.py b/homeassistant/components/vacuum/__init__.py index 3fdc7cb1a5..02266986cc 100644 --- a/homeassistant/components/vacuum/__init__.py +++ b/homeassistant/components/vacuum/__init__.py @@ -1,9 +1,4 @@ -""" -Support for vacuum cleaner robots (botvacs). - -For more details about this platform, please refer to the documentation -https://home-assistant.io/components/vacuum/ -""" +"""Support for vacuum cleaner robots (botvacs).""" from datetime import timedelta from functools import partial import logging diff --git a/homeassistant/components/vasttrafik/sensor.py b/homeassistant/components/vasttrafik/sensor.py index 8148a5c2fc..d8e9f1e767 100644 --- a/homeassistant/components/vasttrafik/sensor.py +++ b/homeassistant/components/vasttrafik/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Västtrafik public transport. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.vasttrafik/ -""" +"""Support for Västtrafik public transport.""" from datetime import datetime from datetime import timedelta import logging diff --git a/homeassistant/components/venstar/climate.py b/homeassistant/components/venstar/climate.py index 820443ee18..f3e7542af5 100644 --- a/homeassistant/components/venstar/climate.py +++ b/homeassistant/components/venstar/climate.py @@ -1,9 +1,4 @@ -""" -Support for Venstar WiFi Thermostats. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/climate.venstar/ -""" +"""Support for Venstar WiFi Thermostats.""" import logging import voluptuous as vol diff --git a/homeassistant/components/version/sensor.py b/homeassistant/components/version/sensor.py index 8a2a7593b2..6982b77a51 100644 --- a/homeassistant/components/version/sensor.py +++ b/homeassistant/components/version/sensor.py @@ -1,9 +1,4 @@ -""" -Sensor that can display the current Home Assistant versions. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.version/ -""" +"""Sensor that can display the current Home Assistant versions.""" import logging from datetime import timedelta diff --git a/homeassistant/components/vesync/switch.py b/homeassistant/components/vesync/switch.py index d9ffbf9c12..d37728624e 100644 --- a/homeassistant/components/vesync/switch.py +++ b/homeassistant/components/vesync/switch.py @@ -1,9 +1,4 @@ -""" -Support for Etekcity VeSync switches. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.vesync/ -""" +"""Support for Etekcity VeSync switches.""" import logging import voluptuous as vol from homeassistant.components.switch import (SwitchDevice, PLATFORM_SCHEMA) diff --git a/homeassistant/components/viaggiatreno/sensor.py b/homeassistant/components/viaggiatreno/sensor.py index 2b8de2042f..ee939d4a59 100644 --- a/homeassistant/components/viaggiatreno/sensor.py +++ b/homeassistant/components/viaggiatreno/sensor.py @@ -1,9 +1,4 @@ -""" -Support for information about the Italian train system using ViaggiaTreno API. - -For more details about this platform please refer to the documentation at -https://home-assistant.io/components/sensor.viaggiatreno -""" +"""Support for the Italian train system using ViaggiaTreno API.""" import asyncio import logging diff --git a/homeassistant/components/vizio/media_player.py b/homeassistant/components/vizio/media_player.py index af3fdd1e15..bab54c68a9 100644 --- a/homeassistant/components/vizio/media_player.py +++ b/homeassistant/components/vizio/media_player.py @@ -1,9 +1,4 @@ -""" -Vizio SmartCast TV support. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.vizio/ -""" +"""Vizio SmartCast TV support.""" from datetime import timedelta import logging diff --git a/homeassistant/components/vlc/media_player.py b/homeassistant/components/vlc/media_player.py index 592243938d..41f9b5b16d 100644 --- a/homeassistant/components/vlc/media_player.py +++ b/homeassistant/components/vlc/media_player.py @@ -1,9 +1,4 @@ -""" -Provide functionality to interact with vlc devices on the network. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.vlc/ -""" +"""Provide functionality to interact with vlc devices on the network.""" import logging import voluptuous as vol diff --git a/homeassistant/components/voicerss/tts.py b/homeassistant/components/voicerss/tts.py index 436f070e50..d5340e45b5 100644 --- a/homeassistant/components/voicerss/tts.py +++ b/homeassistant/components/voicerss/tts.py @@ -1,9 +1,4 @@ -""" -Support for the voicerss speech service. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/tts.voicerss/ -""" +"""Support for the voicerss speech service.""" import asyncio import logging diff --git a/homeassistant/components/volkszaehler/sensor.py b/homeassistant/components/volkszaehler/sensor.py index e67d9d6424..5b808ff3c3 100644 --- a/homeassistant/components/volkszaehler/sensor.py +++ b/homeassistant/components/volkszaehler/sensor.py @@ -1,9 +1,4 @@ -""" -Support for consuming values for the Volkszaehler API. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.volkszaehler/ -""" +"""Support for consuming values for the Volkszaehler API.""" from datetime import timedelta import logging diff --git a/homeassistant/components/vultr/binary_sensor.py b/homeassistant/components/vultr/binary_sensor.py index dccb648c9c..87e8e93bda 100644 --- a/homeassistant/components/vultr/binary_sensor.py +++ b/homeassistant/components/vultr/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Support for monitoring the state of Vultr subscriptions (VPS). - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/binary_sensor.vultr/ -""" +"""Support for monitoring the state of Vultr subscriptions (VPS).""" import logging import voluptuous as vol diff --git a/homeassistant/components/vultr/sensor.py b/homeassistant/components/vultr/sensor.py index 7ca731caba..f7e03dddac 100644 --- a/homeassistant/components/vultr/sensor.py +++ b/homeassistant/components/vultr/sensor.py @@ -1,9 +1,4 @@ -""" -Support for monitoring the state of Vultr Subscriptions. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/sensor.vultr/ -""" +"""Support for monitoring the state of Vultr Subscriptions.""" import logging import voluptuous as vol diff --git a/homeassistant/components/vultr/switch.py b/homeassistant/components/vultr/switch.py index 1f7d9ceaa2..502aaf9daa 100644 --- a/homeassistant/components/vultr/switch.py +++ b/homeassistant/components/vultr/switch.py @@ -1,9 +1,4 @@ -""" -Support for interacting with Vultr subscriptions. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/switch.vultr/ -""" +"""Support for interacting with Vultr subscriptions.""" import logging import voluptuous as vol diff --git a/homeassistant/components/wake_on_lan/switch.py b/homeassistant/components/wake_on_lan/switch.py index 16bd700e1d..c81a476f0f 100644 --- a/homeassistant/components/wake_on_lan/switch.py +++ b/homeassistant/components/wake_on_lan/switch.py @@ -1,9 +1,4 @@ -""" -Support for wake on lan. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/switch.wake_on_lan/ -""" +"""Support for wake on lan.""" import logging import platform import subprocess as sp diff --git a/homeassistant/components/waqi/sensor.py b/homeassistant/components/waqi/sensor.py index d6b8d278fb..f3000890de 100644 --- a/homeassistant/components/waqi/sensor.py +++ b/homeassistant/components/waqi/sensor.py @@ -1,9 +1,4 @@ -""" -Support for the World Air Quality Index service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.waqi/ -""" +"""Support for the World Air Quality Index service.""" import asyncio import logging from datetime import timedelta diff --git a/homeassistant/components/waterfurnace/sensor.py b/homeassistant/components/waterfurnace/sensor.py index 8a43a7dac7..8b1fc46312 100644 --- a/homeassistant/components/waterfurnace/sensor.py +++ b/homeassistant/components/waterfurnace/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Waterfurnace. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.waterfurnace/ -""" +"""Support for Waterfurnace.""" from homeassistant.components.sensor import ENTITY_ID_FORMAT from homeassistant.const import TEMP_FAHRENHEIT diff --git a/homeassistant/components/waze_travel_time/sensor.py b/homeassistant/components/waze_travel_time/sensor.py index 96a4c74729..984a580089 100644 --- a/homeassistant/components/waze_travel_time/sensor.py +++ b/homeassistant/components/waze_travel_time/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Waze travel time sensor. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.waze_travel_time/ -""" +"""Support for Waze travel time sensor.""" from datetime import timedelta import logging diff --git a/homeassistant/components/whois/sensor.py b/homeassistant/components/whois/sensor.py index 3685652387..e36bdea08c 100644 --- a/homeassistant/components/whois/sensor.py +++ b/homeassistant/components/whois/sensor.py @@ -1,9 +1,4 @@ -""" -Get WHOIS information for a given host. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.whois/ -""" +"""Get WHOIS information for a given host.""" from datetime import timedelta import logging diff --git a/homeassistant/components/worldclock/sensor.py b/homeassistant/components/worldclock/sensor.py index 6bb5d1fee2..1fdf97b708 100644 --- a/homeassistant/components/worldclock/sensor.py +++ b/homeassistant/components/worldclock/sensor.py @@ -1,9 +1,4 @@ -""" -Support for showing the time in a different time zone. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.worldclock/ -""" +"""Support for showing the time in a different time zone.""" import logging import voluptuous as vol diff --git a/homeassistant/components/worldtidesinfo/sensor.py b/homeassistant/components/worldtidesinfo/sensor.py index 0f7bfeaa90..1a1e349fee 100644 --- a/homeassistant/components/worldtidesinfo/sensor.py +++ b/homeassistant/components/worldtidesinfo/sensor.py @@ -1,9 +1,4 @@ -""" -Support for the worldtides.info API. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.worldtidesinfo/ -""" +"""Support for the worldtides.info API.""" from datetime import timedelta import logging import time diff --git a/homeassistant/components/worxlandroid/sensor.py b/homeassistant/components/worxlandroid/sensor.py index be5c8452d8..fa4fcc96c1 100644 --- a/homeassistant/components/worxlandroid/sensor.py +++ b/homeassistant/components/worxlandroid/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Worx Landroid mower. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.worxlandroid/ -""" +"""Support for Worx Landroid mower.""" import logging import asyncio diff --git a/homeassistant/components/wsdot/sensor.py b/homeassistant/components/wsdot/sensor.py index 4e53a2c17c..3c3e9300a0 100644 --- a/homeassistant/components/wsdot/sensor.py +++ b/homeassistant/components/wsdot/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Washington State Department of Transportation (WSDOT) data. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.wsdot/ -""" +"""Support for Washington State Department of Transportation (WSDOT) data.""" import logging import re from datetime import datetime, timezone, timedelta diff --git a/homeassistant/components/wunderground/sensor.py b/homeassistant/components/wunderground/sensor.py index 74a4c2089b..7ad1a6fd75 100644 --- a/homeassistant/components/wunderground/sensor.py +++ b/homeassistant/components/wunderground/sensor.py @@ -1,9 +1,4 @@ -""" -Support for WUnderground weather service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.wunderground/ -""" +"""Support for WUnderground weather service.""" import asyncio from datetime import timedelta import logging diff --git a/homeassistant/components/x10/light.py b/homeassistant/components/x10/light.py index 9618a13a1a..6c8c5f3fe6 100644 --- a/homeassistant/components/x10/light.py +++ b/homeassistant/components/x10/light.py @@ -1,9 +1,4 @@ -""" -Support for X10 lights. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.x10/ -""" +"""Support for X10 lights.""" import logging from subprocess import check_output, CalledProcessError, STDOUT diff --git a/homeassistant/components/xbox_live/sensor.py b/homeassistant/components/xbox_live/sensor.py index 9670b4b2f9..9f8a02686a 100644 --- a/homeassistant/components/xbox_live/sensor.py +++ b/homeassistant/components/xbox_live/sensor.py @@ -1,9 +1,4 @@ -""" -Sensor for Xbox Live account status. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.xbox_live/ -""" +"""Sensor for Xbox Live account status.""" import logging import voluptuous as vol diff --git a/homeassistant/components/xeoma/camera.py b/homeassistant/components/xeoma/camera.py index 74532a935f..dd0ee43270 100644 --- a/homeassistant/components/xeoma/camera.py +++ b/homeassistant/components/xeoma/camera.py @@ -1,9 +1,4 @@ -""" -Support for Xeoma Cameras. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/camera.xeoma/ -""" +"""Support for Xeoma Cameras.""" import logging import voluptuous as vol diff --git a/homeassistant/components/xiaomi/camera.py b/homeassistant/components/xiaomi/camera.py index b0acf50ec8..98e54d2bc7 100644 --- a/homeassistant/components/xiaomi/camera.py +++ b/homeassistant/components/xiaomi/camera.py @@ -1,9 +1,4 @@ -""" -This component provides support for Xiaomi Cameras. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/camera.xiaomi/ -""" +"""This component provides support for Xiaomi Cameras.""" import asyncio import logging diff --git a/homeassistant/components/xiaomi/device_tracker.py b/homeassistant/components/xiaomi/device_tracker.py index 12e64b724d..6c588271c9 100644 --- a/homeassistant/components/xiaomi/device_tracker.py +++ b/homeassistant/components/xiaomi/device_tracker.py @@ -1,9 +1,4 @@ -""" -Support for Xiaomi Mi routers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/device_tracker.xiaomi/ -""" +"""Support for Xiaomi Mi routers.""" import logging import requests diff --git a/homeassistant/components/xiaomi_tv/media_player.py b/homeassistant/components/xiaomi_tv/media_player.py index e3b25c3c31..2c8a2e1ea8 100644 --- a/homeassistant/components/xiaomi_tv/media_player.py +++ b/homeassistant/components/xiaomi_tv/media_player.py @@ -1,9 +1,4 @@ -""" -Add support for the Xiaomi TVs. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/xiaomi_tv/ -""" +"""Add support for the Xiaomi TVs.""" import logging import voluptuous as vol diff --git a/homeassistant/components/xmpp/notify.py b/homeassistant/components/xmpp/notify.py index 5a14046bd4..d8036f5ee1 100644 --- a/homeassistant/components/xmpp/notify.py +++ b/homeassistant/components/xmpp/notify.py @@ -1,9 +1,4 @@ -""" -Jabber (XMPP) notification service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.xmpp/ -""" +"""Jabber (XMPP) notification service.""" from concurrent.futures import TimeoutError as FutTimeoutError import logging import mimetypes diff --git a/homeassistant/components/yale_smart_alarm/alarm_control_panel.py b/homeassistant/components/yale_smart_alarm/alarm_control_panel.py index 67b7403344..1a8e03a636 100755 --- a/homeassistant/components/yale_smart_alarm/alarm_control_panel.py +++ b/homeassistant/components/yale_smart_alarm/alarm_control_panel.py @@ -1,9 +1,4 @@ -""" -Yale Smart Alarm client for interacting with the Yale Smart Alarm System API. - -For more details about this platform, please refer to the documentation at -https://www.home-assistant.io/components/alarm_control_panel.yale_smart_alarm -""" +"""Component for interacting with the Yale Smart Alarm System API.""" import logging import voluptuous as vol diff --git a/homeassistant/components/yamaha/media_player.py b/homeassistant/components/yamaha/media_player.py index f652d95e71..53c6b466f6 100644 --- a/homeassistant/components/yamaha/media_player.py +++ b/homeassistant/components/yamaha/media_player.py @@ -1,9 +1,4 @@ -""" -Support for Yamaha Receivers. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.yamaha/ -""" +"""Support for Yamaha Receivers.""" import logging import requests diff --git a/homeassistant/components/yamaha_musiccast/media_player.py b/homeassistant/components/yamaha_musiccast/media_player.py index 6aa06b604c..94002a4cc5 100644 --- a/homeassistant/components/yamaha_musiccast/media_player.py +++ b/homeassistant/components/yamaha_musiccast/media_player.py @@ -1,9 +1,4 @@ -""" -Support for Yamaha MusicCast Receivers. - -For more details about this platform, please refer to the documentation at -https://www.home-assistant.io/components/media_player.yamaha_musiccast/ -""" +"""Support for Yamaha MusicCast Receivers.""" import logging import voluptuous as vol diff --git a/homeassistant/components/yandextts/tts.py b/homeassistant/components/yandextts/tts.py index e60b890e84..e08f44d197 100644 --- a/homeassistant/components/yandextts/tts.py +++ b/homeassistant/components/yandextts/tts.py @@ -1,9 +1,4 @@ -""" -Support for the yandex speechkit tts service. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/tts/yandextts/ -""" +"""Support for the yandex speechkit tts service.""" import asyncio import logging diff --git a/homeassistant/components/yeelightsunflower/light.py b/homeassistant/components/yeelightsunflower/light.py index 2250a85c55..9252143526 100644 --- a/homeassistant/components/yeelightsunflower/light.py +++ b/homeassistant/components/yeelightsunflower/light.py @@ -1,9 +1,4 @@ -""" -Support for Yeelight Sunflower color bulbs (not Yeelight Blue or WiFi). - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.yeelightsunflower/ -""" +"""Support for Yeelight Sunflower color bulbs (not Yeelight Blue or WiFi).""" import logging import voluptuous as vol diff --git a/homeassistant/components/yessssms/notify.py b/homeassistant/components/yessssms/notify.py index 529aa4e7b6..c229c361e2 100644 --- a/homeassistant/components/yessssms/notify.py +++ b/homeassistant/components/yessssms/notify.py @@ -1,9 +1,4 @@ -""" -Support for the YesssSMS platform. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/notify.yessssms/ -""" +"""Support for the YesssSMS platform.""" import logging import voluptuous as vol diff --git a/homeassistant/components/yi/camera.py b/homeassistant/components/yi/camera.py index f82c8c3812..7ed36b9786 100644 --- a/homeassistant/components/yi/camera.py +++ b/homeassistant/components/yi/camera.py @@ -1,9 +1,4 @@ -""" -This component provides support for Xiaomi Cameras (HiSilicon Hi3518e V200). - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/camera.yi/ -""" +"""Support for Xiaomi Cameras (HiSilicon Hi3518e V200).""" import asyncio import logging diff --git a/homeassistant/components/yr/sensor.py b/homeassistant/components/yr/sensor.py index 665c482f05..4c898a7c9f 100644 --- a/homeassistant/components/yr/sensor.py +++ b/homeassistant/components/yr/sensor.py @@ -1,9 +1,4 @@ -""" -Support for Yr.no weather service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.yr/ -""" +"""Support for Yr.no weather service.""" import asyncio import logging diff --git a/homeassistant/components/yweather/sensor.py b/homeassistant/components/yweather/sensor.py index 349ee2c7aa..129532ceb5 100644 --- a/homeassistant/components/yweather/sensor.py +++ b/homeassistant/components/yweather/sensor.py @@ -1,9 +1,4 @@ -""" -Support for the Yahoo! Weather service. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.yweather/ -""" +"""Support for the Yahoo! Weather service.""" import logging from datetime import timedelta diff --git a/homeassistant/components/zamg/sensor.py b/homeassistant/components/zamg/sensor.py index c101e4da92..9ce5da6fb9 100644 --- a/homeassistant/components/zamg/sensor.py +++ b/homeassistant/components/zamg/sensor.py @@ -1,9 +1,4 @@ -""" -Sensor for data from Austrian "Zentralanstalt für Meteorologie und Geodynamik". - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.zamg/ -""" +"""Sensor for the Austrian "Zentralanstalt für Meteorologie und Geodynamik".""" import csv from datetime import datetime, timedelta import gzip diff --git a/homeassistant/components/zengge/light.py b/homeassistant/components/zengge/light.py index 69ca3da0af..8bbd56a483 100644 --- a/homeassistant/components/zengge/light.py +++ b/homeassistant/components/zengge/light.py @@ -1,9 +1,4 @@ -""" -Support for Zengge lights. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/light.zengge/ -""" +"""Support for Zengge lights.""" import logging import voluptuous as vol diff --git a/homeassistant/components/zestimate/sensor.py b/homeassistant/components/zestimate/sensor.py index ed3af84d39..f69e3b16eb 100644 --- a/homeassistant/components/zestimate/sensor.py +++ b/homeassistant/components/zestimate/sensor.py @@ -1,9 +1,4 @@ -""" -Support for zestimate data from zillow.com. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/sensor.zestimate/ -""" +"""Support for zestimate data from zillow.com.""" from datetime import timedelta import logging diff --git a/homeassistant/components/zha/__init__.py b/homeassistant/components/zha/__init__.py index 088ffff13d..08362eba08 100644 --- a/homeassistant/components/zha/__init__.py +++ b/homeassistant/components/zha/__init__.py @@ -1,9 +1,4 @@ -""" -Support for Zigbee Home Automation devices. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/zha/ -""" +"""Support for Zigbee Home Automation devices.""" import logging import voluptuous as vol diff --git a/homeassistant/components/zha/api.py b/homeassistant/components/zha/api.py index 2f88ad3a78..aacb0a711a 100644 --- a/homeassistant/components/zha/api.py +++ b/homeassistant/components/zha/api.py @@ -1,9 +1,4 @@ -""" -Web socket API for Zigbee Home Automation devices. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/zha/ -""" +"""Web socket API for Zigbee Home Automation devices.""" import asyncio import logging diff --git a/homeassistant/components/zha/binary_sensor.py b/homeassistant/components/zha/binary_sensor.py index 7c08c758af..b4254eb83e 100644 --- a/homeassistant/components/zha/binary_sensor.py +++ b/homeassistant/components/zha/binary_sensor.py @@ -1,9 +1,4 @@ -""" -Binary sensors on Zigbee Home Automation networks. - -For more details on this platform, please refer to the documentation -at https://home-assistant.io/components/binary_sensor.zha/ -""" +"""Binary sensors on Zigbee Home Automation networks.""" import logging from homeassistant.components.binary_sensor import DOMAIN, BinarySensorDevice diff --git a/homeassistant/components/zha/const.py b/homeassistant/components/zha/const.py index e7cf424990..1ccc3e0ea2 100644 --- a/homeassistant/components/zha/const.py +++ b/homeassistant/components/zha/const.py @@ -1,9 +1,4 @@ -""" -Backwards compatible constants bridge. - -For more details on this platform, please refer to the documentation -at https://home-assistant.io/components/fan.zha/ -""" +"""Backwards compatible constants bridge.""" # pylint: disable=W0614,W0401 from .core.const import * # noqa: F401,F403 from .core.registries import * # noqa: F401,F403 diff --git a/homeassistant/components/zha/device_entity.py b/homeassistant/components/zha/device_entity.py index 7563481bbb..3937e597b7 100644 --- a/homeassistant/components/zha/device_entity.py +++ b/homeassistant/components/zha/device_entity.py @@ -1,9 +1,4 @@ -""" -Device entity for Zigbee Home Automation. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/zha/ -""" +"""Device entity for Zigbee Home Automation.""" import logging import time diff --git a/homeassistant/components/zha/entity.py b/homeassistant/components/zha/entity.py index 1e98118e09..d894ef5d7a 100644 --- a/homeassistant/components/zha/entity.py +++ b/homeassistant/components/zha/entity.py @@ -1,9 +1,4 @@ -""" -Entity for Zigbee Home Automation. - -For more details about this component, please refer to the documentation at -https://home-assistant.io/components/zha/ -""" +"""Entity for Zigbee Home Automation.""" import logging import time diff --git a/homeassistant/components/zha/fan.py b/homeassistant/components/zha/fan.py index 73989ef32b..b80834af1d 100644 --- a/homeassistant/components/zha/fan.py +++ b/homeassistant/components/zha/fan.py @@ -1,9 +1,4 @@ -""" -Fans on Zigbee Home Automation networks. - -For more details on this platform, please refer to the documentation -at https://home-assistant.io/components/fan.zha/ -""" +"""Fans on Zigbee Home Automation networks.""" import logging from homeassistant.core import callback diff --git a/homeassistant/components/zha/light.py b/homeassistant/components/zha/light.py index 6ba4efa9b0..573936d6ac 100644 --- a/homeassistant/components/zha/light.py +++ b/homeassistant/components/zha/light.py @@ -1,9 +1,4 @@ -""" -Lights on Zigbee Home Automation networks. - -For more details on this platform, please refer to the documentation -at https://home-assistant.io/components/light.zha/ -""" +"""Lights on Zigbee Home Automation networks.""" from datetime import timedelta import logging diff --git a/homeassistant/components/zha/sensor.py b/homeassistant/components/zha/sensor.py index d45d8f8c30..13932d7dd7 100644 --- a/homeassistant/components/zha/sensor.py +++ b/homeassistant/components/zha/sensor.py @@ -1,9 +1,4 @@ -""" -Sensors on Zigbee Home Automation networks. - -For more details on this platform, please refer to the documentation -at https://home-assistant.io/components/sensor.zha/ -""" +"""Sensors on Zigbee Home Automation networks.""" import logging from homeassistant.core import callback diff --git a/homeassistant/components/zha/switch.py b/homeassistant/components/zha/switch.py index f1bf671a43..34c9ab2514 100644 --- a/homeassistant/components/zha/switch.py +++ b/homeassistant/components/zha/switch.py @@ -1,9 +1,4 @@ -""" -Switches on Zigbee Home Automation networks. - -For more details on this platform, please refer to the documentation -at https://home-assistant.io/components/switch.zha/ -""" +"""Switches on Zigbee Home Automation networks.""" import logging from homeassistant.components.switch import DOMAIN, SwitchDevice diff --git a/homeassistant/components/zhong_hong/climate.py b/homeassistant/components/zhong_hong/climate.py index 78cd7d16c4..7fd2b97100 100644 --- a/homeassistant/components/zhong_hong/climate.py +++ b/homeassistant/components/zhong_hong/climate.py @@ -1,9 +1,4 @@ -""" -Support for ZhongHong HVAC Controller. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/climate.zhong_hong/ -""" +"""Support for ZhongHong HVAC Controller.""" import logging import voluptuous as vol diff --git a/homeassistant/components/ziggo_mediabox_xl/media_player.py b/homeassistant/components/ziggo_mediabox_xl/media_player.py index abad22d89e..574d08e97a 100644 --- a/homeassistant/components/ziggo_mediabox_xl/media_player.py +++ b/homeassistant/components/ziggo_mediabox_xl/media_player.py @@ -1,9 +1,4 @@ -""" -Support for interface with a Ziggo Mediabox XL. - -For more details about this platform, please refer to the documentation at -https://home-assistant.io/components/media_player.ziggo_mediabox_xl/ -""" +"""Support for interface with a Ziggo Mediabox XL.""" import logging import socket