diff --git a/homeassistant/components/acer_projector/switch.py b/homeassistant/components/acer_projector/switch.py index 7abb3d1edbc..df6fb8816aa 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 72d9992c60f..3f0c8786794 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 eb5188a95cb..18bc3cb3430 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 66af51efcb1..87d5c3b6bd4 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 b9e7a3315e3..7fad7bb35be 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 4627ba77781..01146fecbb6 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 86bb3e73bda..36a68eda174 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 4f2913771b1..ea581aca747 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 774a3fe95f6..0eb57e5b27a 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 167cd9cfc78..d29ae32fb57 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 fd108e05973..14832aef315 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 0129b547acf..a62a7f2a6d9 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 fadb3cd96ff..b9b3070b97e 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 36bc5ae10e1..c7ee579bc17 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 b2c6b63864f..d7f6559fe7e 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 59723b47522..0ffe48d21ec 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 b70620df3e2..3fd669a2bba 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 e0c5ef129ce..fc443cd60b6 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 ab445db10d8..717acc2f336 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 142842b12d2..ed1fee25a6c 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 95825f4ca13..aef43c4b401 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 f5c6dd4a42a..d115e640ffa 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 53d232862c6..ac80a447e28 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 cfd683346ff..58546382a50 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 9f20eb6d493..8abd81e63be 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 617198b2c8c..65172025b56 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 9a45cb66a86..5b199538e68 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 d7ebb40d19a..e5fed20d997 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 09018562cb8..daac710d40a 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 eff9018bae9..4c4c831482b 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 07b69d41dfd..fbe27591ef5 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 97889ea7497..6b2395ef6d2 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 f59c922577b..badbcdc8a0b 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 c81160dc2ae..5b3c31d1ddf 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 592a6acbe58..e30eededa51 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 9972e4dca3b..029ed8faa6b 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 e654f29f42a..3bc14637a87 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 2daa2656e83..c66bc412160 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 e145005a5a7..0d4c7b736f3 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 0704881bff9..57d19172614 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 241c98d2328..def1dc3309f 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 b25916c7f66..c4cd3572e75 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 825ef04ccc5..dfb5fa073b9 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 89f3b95ac1b..3a4aa888001 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 a6b773040ef..73982ecc628 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 8d620e459d0..8f515cc469a 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 62a3706034a..4c96315ec1f 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 7efb7abd569..45fdb63a4a9 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 5720201b3f2..60f1ed5c6bc 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 2237a0a2977..8695f70786c 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 c308f2eac53..f990dd1aba1 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 746f3840a01..dc17cebcec2 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 21c41df3a1d..61853c0af89 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 821182ec103..5820feda567 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 d144d84cbf8..754873fa2c9 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 cb8874a817c..65cb20811b8 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 e453cdfd1a1..10739a1c7bb 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 61794224666..faa7d819a2e 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 c3a3af32450..fc740a46f62 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 d24c00c9266..fb3aaf78b0a 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 a04a631f2e9..54ba378f91c 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 2f7b169601c..afe29ae079f 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 1afea2c1607..d5a64626e89 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 1eeb9b51f28..2eccb233a3c 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 12c475e62ff..bcf6fb923f9 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 24df7c24611..65c6be19845 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 e473e54a3b7..b512a288ed5 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 3b2cdb7496d..111ae63601f 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 93e5126bbab..feb4481fb56 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 0283359b1f2..18b56049f83 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 20b292749b4..e5134508fea 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 7b4cd67bd70..b9ae5e26ebe 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 54af94944d6..2483d46b38a 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 9143405a553..a39f11b5352 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 1771fd0f1a3..384aadd8bf4 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 21ee1312e7a..860367d8091 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 4f4fca1b27a..7f3c5279905 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 7ea5a6d8880..941be72aa81 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 e1d151410b1..16d39762879 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 4edbd79ee0c..8d97198ad66 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 155d6b6ae49..4821e589b13 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 26f35d60305..5aff0f09983 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 fd00c9f22c4..77bb9a6b213 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 8b4031f09ed..9bb1aacfaf1 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 2ca0ebf62e5..31d8122692a 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 99dadcfe596..97f894aed86 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 9b7186e8e09..bedd5f079ce 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 540568b5785..70b07ee773f 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 cf8c8e1779b..a97fe340f92 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 7c3274cf83b..fc8b2859c07 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 b9c575dbd5a..b7be6bffb01 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 f56b3ac4b97..32b1c16a47c 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 0ece742aa03..d7c60bd96e2 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 b2b9c10574f..77e5c0b2b1a 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 4d317f52daa..3cf5aaca57e 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 d656b79e8ed..437497e4fac 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 720b4cc5180..6096f8247c4 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 34a0894ac60..95c7df58200 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 b1dd1b0ba45..70eed0c3616 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 ddcf07fd5e5..aa2931a987a 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 608fc560cf9..ff038d7009e 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 53729795f71..4710bbecfe1 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 71ec2dccbc6..acb97e4ebd6 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 a5b22108e81..285866c6eb8 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 03935c4f603..cd15a434138 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 33d2b98d225..5ad13b4e995 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 5b8e1f1688f..92aaea6882d 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 f44061ac8f9..b28330fdc67 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 7921181b742..ea35c729517 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 0ac2011a6dc..04a55a591b7 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 1498472ef9f..bf18bc1630f 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 5ec7030f56c..dfb9c4e943e 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 3dc4e550d9b..07f6fcc7f9c 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 380484add53..0adafe4f472 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 1263811aae7..42d301721da 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 04c084784c7..719c2525f0a 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 7bb2be19899..89973cfad0c 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 9c5a3bf07b8..3a30282bdf4 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 8cdc89a540e..f8d66688b4f 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 d73382d8bcf..cb6fc8329c6 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 fea756395e4..49fbfadff7e 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 6611fb0edfb..a3b91235125 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 de584510008..812fd3882b3 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 71195d66c69..54c19f70ef3 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 48cf8debea6..13c9be7bb14 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 6319a68b0c8..74f6cb37fc2 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 5de2fc4a4ee..8610a1e7f70 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 41d3e5706de..9aada348418 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 796aea86414..70d96424ced 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 a24d011623b..a0c4c56d318 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 abf06f15437..2c7a71f5724 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 72c7b95562f..f1822b4043b 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 90ad3fff57f..338e6ac932c 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 fc23abda1db..46e4a3c3c24 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 b3c40b4fa25..eb8912abe18 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 b03164a30d4..198ca327997 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 b1259db913d..8a94664f352 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 5d619878d98..6e059e1a30f 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 1bfee88d41c..2b62732dc91 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 7683c06b69c..16cb79406a9 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 220c073ef80..3052dd911ee 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 38c0ffacc32..75be4f7fe2c 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 43a26c27ce1..f02bd2bc9a5 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 31e72c78fd6..a628f25ea28 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 2c691661a29..625b922927c 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 2fbd1c5c81c..2b4f184c3fd 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 e14bd9f1098..18aa969132d 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 50d6802c4d2..e67ba390a98 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 54c319e6441..f535195bd07 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 07e56cfd51f..8bca13cfbb7 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 8183b0e66a6..c274d84329e 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 56edf1ddfd6..7efcc3deda2 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 d449476469b..07718dcf36c 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 3e2a5c21be8..a618c1e56dc 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 4df858fda23..3e1394c72d6 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 92e2cc751ac..734caa31270 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 e5dae70070b..dce52785fbf 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 d5d9150e4e8..abbe69c3e1d 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 c46fa751319..f746d2008e1 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 baf1d469b28..083ac01ab4a 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 b37483d2f13..384bf26599a 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 8dfb330cf5c..65de2c6ae43 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 17c288da6c2..0ed14c49ec8 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 8101bbd059a..d742166a192 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 62139c53c4b..2eeca5243a6 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 b6f2162d57a..9852f617d01 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 1c6804f6d82..03beef52357 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 edb3a57c28c..a0b14757745 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 75e280fe908..3e3e04f4447 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 397f08d8a7c..a6641bc14ad 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 356c1424012..93f834a894d 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 0d9008552a1..449ae5a76f1 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 ed7041a3b82..4f28d83e6cf 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 8b0a809b667..4b570fd0a4d 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 426afc6d314..b3c7c7c1215 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 ec69d1eec83..9588506af77 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 94c824fa5d7..1ffb2726495 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 5521e9a644c..e4f85a1892d 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 66cab473f49..d619d768c23 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 c9f8616f637..bfe42a5b080 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 1eb0f8e79db..35efa82c8a3 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 5e7b8291840..0a1a9d5f32e 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 335dbc668d9..5a86233d561 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 7f3b444bb75..dd574b348d8 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 97cd3f662d5..2af9c20fb29 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 53db254e4b3..e59b9144b4c 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 915d33668b4..fb3e96e83ab 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 accc4f9ec98..4d40ddd2c72 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 cbe2015f4f9..11d8a384165 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 3de60d6cb38..7bc9be00b8c 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 86b1a7aff44..b448830ab02 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 b78e9afb8b9..202e2a0eb46 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 c72d14ebb8a..788126b957f 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 b1ce428e1f2..62307cb1011 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 4dee9d69b42..8321bb768ca 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 0c484a0e3f4..b8efe8ae17d 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 c1825211433..385d20949d6 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 c37c5cc4e8e..170e93398a1 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 200464bb8cb..b59c49563e2 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 c6571894472..094a561d310 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 c94f97d93dc..9e89a8ad844 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 a64c743381d..659984fadea 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 334757c086d..cec0ac4f5c8 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 a4ae2349e24..72cc5ced3ef 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 52514a2de39..6d96f244f58 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 ff495706be7..fc9057bc905 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 fdefc40d8fd..a6a82c9ee1b 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 3a3dec26e1d..6e5dcdac9aa 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 9e415171f29..5128b8beea3 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 f5b76c89aba..f1eea4dd693 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 72817ca695c..e6f68d704fd 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 021560eee3c..9054c1fa0ad 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 55a7fb5aa48..7460ed6e9d0 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 fdc13f59d28..7a11c1dd8b7 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 3b1ae36152d..51168e4ef2e 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 8744d0afb28..f7b220ff138 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 4f8665b2011..17182bb833d 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 18f3c0b8c62..88e2a57a579 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 df975ef00ac..8152c2496e6 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 9ac77cf7f01..1d0e0d2fafb 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 9dca5f8e5f5..6851141efb4 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 aa3b2db7369..e5193985629 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 571d05e78e9..5ff23eb8e5d 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 714a6c38781..950007b462b 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 9dbb4787df7..3bec7e3c657 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 9250c8dde05..3a72c81fa11 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 50331435491..9efbc237e30 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 b986c51ddaa..381bc167918 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 f8380032aea..8451d751954 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 65aeaf7fba9..478bbed98fa 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 86e7fcdab3e..a8282a366ad 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 b8c2124ff0f..f873507112d 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 5d217796767..0b5806425d9 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 f8d0cdc5a12..81c93dba2ac 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 7c2a60f3498..f6ee2c47b96 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 f490fbd5b14..bad0ea3cded 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 32b1dac9250..9240343a5e3 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 3b2e72b398c..535940a80f5 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 aaed2f9663f..4b42ddba268 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 7c5d9789372..12fee5fae96 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 b45baf88bca..2e2481a462b 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 e3971cd8e42..db2e9ce0197 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 3a0225d8d65..4f187afa1d7 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 5638db4caaf..46cc78d4e4a 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 7a10513016f..35f85f15ed6 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 69fc145a4a5..7164315de8e 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 8662afc668e..e52e50ed21a 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 b9755569fd2..9972dcb9f44 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 f69c3c67aec..1ee9931d233 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 6b59d11e0a3..d43988ada43 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 56780d16f56..444f4109e98 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 9dbf7e74fe3..51135f4e21a 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 71c838679fb..fe5286ba813 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 b190a5cd2cd..0ec838f4d4b 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 afb50d766f4..fbdc8966ad0 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 1c93d6a1bcb..948b60b1b79 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 fefba2972f2..23bdf48f645 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 f60e8edd8c4..df65ed99f29 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 71716b4130d..5d9b7635ad2 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 6fb4a6bf8be..98d79cd970b 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 0500597b96a..4c09d1e09e0 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 a36a38f596f..14934db41c2 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 9bee2b81d61..8057a899347 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 f5d19c977a4..294383cb4dd 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 6192f6cdca5..c1a91b8312e 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 ad29a645765..3421551320e 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 29cc7332936..acbc0462722 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 0df294a148d..79d94a41991 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 cfb22ff1d52..c801de34a9a 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 3d9c9485da3..6c4e91517da 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 44e5dbda84f..36f9d1a829c 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 521230ccbd5..818081f7a2e 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 dd8a0395088..3aa82950fa7 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 55cf7a4ae7a..9fe31ef495e 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 ae6b9c260cd..91eae07e992 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 7a427d9b046..52baa3617e8 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 91f873f5a2d..04595b0daeb 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 c4635f8dc43..ed0734588ef 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 6867f57ee48..cb6d47a52b0 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 e18c67471d9..929ef42a2d5 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 f8bee17978d..cea2c6a55db 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 0e73dfac0b7..b9aa9c3e186 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 2da7953c12a..b87f4840334 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 2a250f0e63d..645e04a890c 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 e98ad47a6e7..edffd6ac7ce 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 a019d21fd78..3b1d70bc731 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 61d89c6d0b1..54518667949 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 9d8015109b2..8cbc1406e0b 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 2c605fb4b0d..3f1f8617689 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 f1142baa37a..d30c91bb9b2 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 7532f305328..f942091984a 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 889e5533403..34e83a51f28 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 a9c23d27e11..52d18a03419 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 8116421ac10..08b6c2b74ba 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 0f22ed150ca..659c6315b21 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 cb87a208b4f..b10e05cbf0f 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 b8bff6088d8..7dff81160e0 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 ee459d2174f..e01a30f0fab 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 aa8d5e2a31e..1e024fdc768 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 3373149a013..d7d36add517 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 e159132d560..368a12c1956 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 4847afd80c9..acfcf3de01c 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 efa00821c1b..63a764e8746 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 0a1b327dca9..6059b26bcbd 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 36f99719da4..961769711a4 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 71690f643f4..978c9ad34eb 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 a8a401a9c1f..d66be629f17 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 b2587c06512..b1112f153b2 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 4927be27eb3..42245dc4df3 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 00738abe4d1..8c5a14a3524 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 818617f1b9a..60457e21f9a 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 5d9376ad9eb..224d16e4869 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 e7eaea8fcd3..efb7719e201 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 f77b534980f..618297ef9a5 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 7b684f74aa1..2bed9eb6404 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 7a500b66183..3480534436d 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 6a6eea02005..6d99722a416 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 49bce932159..ce8c2d6066d 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 4492697406d..27a7dfbd5e7 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 673cd8da724..9e12465c69b 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 c4003a6312a..1cf1fbd0dbc 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 6b58ced5989..00e8dc838a6 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 2ab38c1ad95..979d5736d6a 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 15f29339087..034c37530b3 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 6a72fdf8f2a..0c4bde94f57 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 712f2734ea8..06ed68801f8 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 f0320617e19..8bb3384aebd 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 f0da619a6e7..ce4337fc93a 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 27e909f8f04..32adc1d216f 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 8af798e31e0..ef49d4b97dd 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 1464c0d91c1..43ba06f70eb 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 c84872d0b25..c5e1fede6fd 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 2929acc2709..61f8fb801ea 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 2ee8e37a57a..bb0b7c912fd 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 3487cab2fcd..1d870e4d15a 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 d39ab24230c..2e55b5cea36 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 2fb284bb24a..64b9684c58c 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 a196f87cd10..90222b9cafc 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 c983a945548..12146009fac 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 4a98594d50c..811a160dd02 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 cf41f87718d..e54b47236c5 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 6361b823dea..6c146044140 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 664d2e291ac..1e3d3128829 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 d429cad9d97..7c5072db97c 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 d828284a563..03926bce8c5 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 5ee11af4e60..3019c54471f 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 a137836138b..5de67721e30 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 fb503d33d31..03e36dc179d 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 9e6686ca3ae..c77e24446ec 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 81b8e2a88ec..b880273fd1e 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 5394b49c389..2ac4c519984 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 f1214b62b0e..69ea723d84c 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 36a3160d3b5..ebf71135d34 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 f1ac0cd90d4..324becd0bf7 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 ca78f7a4318..32cde430d0e 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 97ec758e6cf..f5eddff8d13 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 ae9aca5bc79..805e17ebdff 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 c164e7fb85d..fffadae0f13 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 56c72e01fdf..dc3906b2002 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 d307a428e0e..46be3b37204 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 de23baef884..131a91b5fc3 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 ddcbe018f8e..c36151c90dc 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 3bbe2e69110..d645d8e3013 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 4c597dd63e1..4f95a470efb 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 f3492da9e80..9f9bf4475b4 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 00fa453100a..a687ba5ad4a 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 c1b883a0295..ad7bdc9e77c 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 a68a2faade8..f2af6836e3b 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 eaf73ceb566..a3df6fdb41e 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 9d5b837bba9..f09e9012004 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 84cb42c0957..f9c8019cd31 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 171fea53314..525de7dad2f 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 c88ece033df..c165334201d 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 6d911789121..1f2067cc660 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 3e6e4911d27..fda2cdea60e 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 9183bbe1989..191eb223707 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 80c1fda52de..4dc4fa0a317 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 f112608d760..9ec6587f678 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 5490cd1508c..c0424f15898 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 f0b4ec24da8..3fc90161ae0 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 9b26bdfbbe9..c90f952e7de 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 106c0641a69..028b0cfd492 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 78e9ed11c95..39a1ce5d2f7 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 a1fa2b7409c..c64b861631a 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 dbcd38af3cc..22368212442 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 78a191c16f4..7c7d1e7ae08 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 d639b638033..56a82b39120 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 8718f3a9d74..7e91c0ab276 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 a6a9c6e30d0..e12f20c25b1 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 00f4ad025b2..46fa78cca7f 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 90ba3575cfa..3472a4dbb97 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 23144ed82b8..a6468595622 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 6cdc29deae4..a92c4d0b435 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 46a0a88483b..cb4df24f978 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 b9ccb3c3a7b..8befce4f7e2 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 ec544df8c75..4ee5396ae0c 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 27827da0182..64a7a5af4d7 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 9cf57ea3230..ffcaeccacff 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 fe584441afd..483e07e96f4 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 67695ae0e32..a3932acf862 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 4132d3c27c7..66dfc4cc385 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 bbce7f752af..de0f42fda4a 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 3d0de04e53e..0cee202ecb2 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 2031769b343..32c7c49ab99 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 7ccf9f33ada..473d52bdbdd 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 cb66fc3c6af..6ebad7cc121 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 8bcccf06171..6774d48ae99 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 929dbcf314c..4387e6b67be 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 908daa2c83d..1d438b8035f 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 6b658c0fcbf..adcbe559819 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 9bdc57c6e46..ad8bafaf4c2 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 4dec96bec2e..cc412ff7773 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 a8a6230fc09..a141721f3e5 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 9122973c919..1e3803ab866 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 636c302cea1..ed2da8022f8 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 1a94159290f..0d28e98229c 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 de75db83848..8134e73ae6b 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 a9446ee3503..fe92f9d8a10 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 5f1920ae1af..2ef45b226fe 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 5318642a5b1..e98fb756659 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 f91ef1cc682..409d27862f9 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 cdb34328b51..112ed4b4f51 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 e46cc09d0ba..c7498ece241 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 a1470bf115f..d5889c797f0 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 bcc365a2e83..79de0424d85 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 905cbd46158..18427b9b6f9 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 5e323d89ad8..c9cb2f1159a 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 c41ae9f2ec2..74bec1b8711 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 7835b74ac98..7a3afb3f324 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 8bf1e172264..e404114736a 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 d06ecc5141f..fadbe2a82d5 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 07be331f23f..2c2c36b1245 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 ba6f5e93304..f0dd1d36539 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 6844cb0f383..d0a23372802 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 972594e07e6..b8f9d29f5ca 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 6d919cdf7a8..f489d48a9d5 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 91966f0df9c..f6fefc96198 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 e6715669da7..1a2a24c3621 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 a6d16852df3..e576eca78e8 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 79bf4e217c9..67421e9a46a 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 84a2b426e9e..7c7b1054961 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 211e288725e..a717c7f24ed 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 86153fffef8..c68e77b40a4 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 15c73d990e1..870150c1a98 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 3affaba3e1f..bf06f232427 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 50549f28fd7..031657066cb 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 5d49b065558..c01981f9021 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 46dfc9fae75..9ad65f7256f 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 44a6cfb265c..263914f389c 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 a460115cc34..7bbfceb15e4 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 6fb4884989b..ff17d1a4c54 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 4b849849771..613b1f8c92a 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 5e2a56cadc3..1bce2d6b28d 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 63222d4adc1..081351238d9 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 8f2c3dd36e0..562f355f76b 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 0d69e08aa71..4e0ce4352cc 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 6960999306d..9b8b4872cdc 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 eabddf01299..026fed0a58e 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 808eda4967d..11f9e25d8c9 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 2c97d7eb1e1..3de444c3324 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 61009a472fb..a2ec7871f60 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 548a38711bd..9aa44d26f2d 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 4104013bcf7..1aaf3464e2b 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 74b17ae5ff1..b1589c4db51 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 7c6efc82ef9..8a0fe7c6101 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 3964e44e376..83d31118988 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 0baa129657d..fdb3267a3c7 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 9a73e9cdd68..77433ac6d57 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 d56ccc53b68..6c6d7557282 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 b0e87992e39..b593f6d3182 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 7665b409d1d..842360484cf 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 b2045b9b65e..027fad43a40 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 623a4b0dbd1..77b412021aa 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 6a0712d62bb..78ec2a11a97 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 46f5fdc1c85..fa9cfa687ec 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 9965487ded9..b9252d5035b 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 5f6fd525a11..d25d2f03fce 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 4d2cd863b12..0ebae427da1 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 e325e5e1a57..00640ea4963 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 85939ea72ae..1e57a4cf859 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 01c783dc1db..a777a921f31 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 861a5958dd3..4b4b73ad8cf 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 1e8ae5d60e3..43debc504e1 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 aa5ce105764..c19db4f203f 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 9d05bd17f34..fa08697d798 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 894881dad86..fc40bd4e867 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 c354ebedb2b..84964a94cbd 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 d9f2410f8ca..8d6b7fdee0e 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 d5826ecedff..7371762da92 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 d517f635a92..7e89a5369c8 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 64f8779e4ab..8f9e489bd9c 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 60497e0207b..c14a6ca8087 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 862efb63fd7..5596d4ab86a 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 b094cf98edf..c452f60cc2a 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 32277dc1971..8f2f654da3c 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 740148e28e5..2e6c3bf6123 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 f8ef18fcffe..517deda7ca2 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 c807f1aa4c7..5389d60ef46 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 1978a127c17..639e9574ed9 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 5c48731f7df..44be10749bf 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 80d77cd52a1..4d26d819ede 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 d214bd3d425..6788848df07 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 23a20b3e830..fba9866302d 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 0be18cbd6b6..de74ceda9f5 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 428c7e093d2..3602bbd2441 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 7c3baf2981a..6ad7e7b43a9 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 72184df7c8f..1c6cb9fdff4 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 605ab24a264..bd9c4dfc698 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 1d3642a6036..2fdcc9f1036 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 d9182b79a40..cc6505d22f7 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 bf930dd1b38..980f0ad152c 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 527af4c5b85..ad5d0c4aea7 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 5f3af4a06a4..41dc6f8aeeb 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 a2098c2f5fd..541bfd3bcfe 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 8a56fcee702..bbce443696d 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 0dadf3a61fd..916a5b968b2 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 64b4069d98e..4f5596c71be 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 6da520280e2..c471c1e23b4 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 7825867df64..5342dc57692 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 a0a3457667f..313935e1221 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 718adad4212..9d0506fe042 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 4941633677c..2f947c178b8 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 a272a22abe5..c56c4ed95a6 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 fa38bd37c8f..e003ea257d7 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 33a5d5f32f8..7f5c4a37d24 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 0ba1dfaa33a..9f13766c4ef 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 a75945e9956..a4eeadd1c60 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 e3ac1427941..28d13dd4fe6 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 08d3a4c9445..1322fde7e1a 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 2dffd580b7e..bf8f4c803e0 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 c96bb18e958..99309f7e2b7 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 0cd4a1bb6c6..763baa262be 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 a1a28a03b18..ab57d721465 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 b3b35ea1789..a04e397a568 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 3e00f799dcf..123de752d51 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 9172da36785..54cd591f394 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 f4ecc7d4855..bbe028bbb78 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 a97ccaffed0..87d87de66ee 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 96f2f60c1e5..54572524fb2 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 2261aadc2f6..0d1f17e10ec 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 2dc5f7a4df3..49e28114b17 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 bd90099e45c..29a3c58fab9 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 5730a086731..69af20917c5 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 2ee6d64730d..4a583b8349a 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 708ef314ab4..86bcee879b9 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 e4aab555050..f338e990b00 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 197233461fb..7e741499f73 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 e48ac3039ae..8e11966b680 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 e3a917b0a5a..501c6c9665c 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 50e7c3d8fe2..65251054060 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 3fdc7cb1a51..02266986ccf 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 8148a5c2fc7..d8e9f1e7675 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 820443ee186..f3e7542af5c 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 8a2a7593b2c..6982b77a51a 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 d9ffbf9c12d..d37728624ef 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 2b8de2042fa..ee939d4a594 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 af3fdd1e15a..bab54c68a90 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 592243938d7..41f9b5b16d4 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 436f070e503..d5340e45b5c 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 e67d9d6424a..5b808ff3c38 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 dccb648c9c2..87e8e93bda7 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 7ca731cabac..f7e03dddace 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 1f7d9ceaa28..502aaf9daa8 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 16bd700e1d5..c81a476f0f8 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 d6b8d278fb1..f3000890de6 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 8a43a7dac77..8b1fc46312c 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 96a4c747293..984a5800898 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 3685652387a..e36bdea08c3 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 6bb5d1fee2e..1fdf97b7088 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 0f7bfeaa900..1a1e349feee 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 be5c8452d88..fa4fcc96c12 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 4e53a2c17c4..3c3e9300a02 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 74a4c2089b2..7ad1a6fd75a 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 9618a13a1a9..6c8c5f3fe6f 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 9670b4b2f9c..9f8a02686ac 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 74532a935fc..dd0ee432707 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 b0acf50ec8c..98e54d2bc73 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 12e64b724dd..6c588271c9b 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 e3b25c3c31f..2c8a2e1ea83 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 5a14046bd41..d8036f5ee1e 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 67b74033442..1a8e03a6363 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 f652d95e713..53c6b466f6e 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 6aa06b604c5..94002a4cc55 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 e60b890e84f..e08f44d1974 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 2250a85c55c..9252143526b 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 529aa4e7b6e..c229c361e28 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 f82c8c38129..7ed36b97868 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 665c482f050..4c898a7c9fe 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 349ee2c7aae..129532ceb57 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 c101e4da920..9ce5da6fb95 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 69ca3da0af9..8bbd56a483e 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 ed3af84d396..f69e3b16ebe 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 088ffff13d1..08362eba082 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 2f88ad3a78b..aacb0a711a5 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 7c08c758af2..b4254eb83e7 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 e7cf424990b..1ccc3e0ea25 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 7563481bbb7..3937e597b78 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 1e98118e09f..d894ef5d7a3 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 73989ef32b4..b80834af1d7 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 6ba4efa9b0f..573936d6ac2 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 d45d8f8c30d..13932d7dd7a 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 f1bf671a43d..34c9ab2514d 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 78cd7d16c48..7fd2b971009 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 abad22d89eb..574d08e97a4 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