Clean up docstrings (#22679)

* Clean up docstrings

* Fix long lines

* Fix more docstrings

* Fix more docstrings

* Fix more docstrings
This commit is contained in:
Tobias Sauerwein 2019-04-03 17:40:03 +02:00 committed by Pascal Vizeli
parent 625c8e0cee
commit 048b100eea
604 changed files with 604 additions and 3632 deletions

View file

@ -1,9 +1,4 @@
""" """Use serial protocol of Acer projector to obtain state of the projector."""
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/
"""
import logging import logging
import re import re

View file

@ -1,9 +1,4 @@
""" """Support for Actiontec MI424WR (Verizon FIOS) routers."""
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/
"""
import logging import logging
import re import re
import telnetlib import telnetlib

View file

@ -1,9 +1,4 @@
""" """Support for non-delivered packages recorded in AfterShip."""
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/
"""
from datetime import timedelta from datetime import timedelta
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Component for handling Air Quality data for your location."""
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/
"""
from datetime import timedelta from datetime import timedelta
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Support for AirVisual air quality sensors."""
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/
"""
from logging import getLogger from logging import getLogger
from datetime import timedelta from datetime import timedelta

View file

@ -1,9 +1,4 @@
""" """Platform for the Aladdin Connect cover component."""
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/
"""
import logging import logging
import voluptuous as vol import voluptuous as vol

View file

@ -1,9 +1,4 @@
""" """Component to interface with an alarm control panel."""
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/
"""
from datetime import timedelta from datetime import timedelta
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Interfaces with Alarm.com alarm control panels."""
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/
"""
import logging import logging
import re import re

View file

@ -1,9 +1,4 @@
""" """Stock market information from Alpha Vantage."""
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/
"""
from datetime import timedelta from datetime import timedelta
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Support for the Amazon Polly text to speech service."""
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/
"""
import logging import logging
import voluptuous as vol import voluptuous as vol

View file

@ -1,6 +1 @@
""" """Support for functionality to interact with Android TV/Fire TV devices."""
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/
"""

View file

@ -1,9 +1,4 @@
""" """Support for functionality to interact with Android TV / Fire TV devices."""
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/
"""
import functools import functools
import logging import logging
import voluptuous as vol import voluptuous as vol

View file

@ -1,9 +1,4 @@
""" """Support for ANEL PwrCtrl switches."""
Support for ANEL PwrCtrl switches.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/switch.pwrctrl/
"""
import logging import logging
import socket import socket
from datetime import timedelta from datetime import timedelta

View file

@ -1,9 +1,4 @@
""" """Support for Anthem Network Receivers and Processors."""
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/
"""
import logging import logging
import voluptuous as vol import voluptuous as vol

View file

@ -1,9 +1,4 @@
""" """APNS Notification platform."""
APNS Notification platform.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/notify.apns/
"""
import logging import logging
import os import os

View file

@ -1,9 +1,4 @@
""" """Support for interface with an Aquos TV."""
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/
"""
import logging import logging
import voluptuous as vol import voluptuous as vol

View file

@ -1,9 +1,4 @@
""" """Support for an exposed aREST RESTful API of a device."""
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/
"""
import logging import logging
from datetime import timedelta from datetime import timedelta

View file

@ -1,9 +1,4 @@
""" """Support for an exposed aREST RESTful API of a device."""
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/
"""
import logging import logging
from datetime import timedelta from datetime import timedelta

View file

@ -1,9 +1,4 @@
""" """Support for an exposed aREST RESTful API of a device."""
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/
"""
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Support for Aruba Access Points."""
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/
"""
import logging import logging
import re import re

View file

@ -1,9 +1,4 @@
""" """Support for collecting data from the ARWN project."""
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/
"""
import json import json
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Support for ASUSWRT routers."""
Support for ASUSWRT routers.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/device_tracker.asuswrt/
"""
import logging import logging
from homeassistant.components.device_tracker import DeviceScanner from homeassistant.components.device_tracker import DeviceScanner

View file

@ -1,9 +1,4 @@
""" """Asuswrt status sensors."""
Asuswrt status sensors.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/sensor.asuswrt/
"""
import logging import logging
from homeassistant.helpers.entity import Entity from homeassistant.helpers.entity import Entity

View file

@ -1,9 +1,4 @@
""" """Support for aurora forecast data sensor."""
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/
"""
from datetime import timedelta from datetime import timedelta
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Support for the Automatic platform."""
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/
"""
import asyncio import asyncio
from datetime import timedelta from datetime import timedelta
import json import json

View file

@ -1,9 +1,4 @@
""" """Support for Avion dimmers."""
Support for Avion dimmers.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/light.avion/
"""
import importlib import importlib
import logging import logging
import time import time

View file

@ -1,9 +1,4 @@
""" """Support for the Awair indoor air quality monitor."""
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/
"""
from datetime import timedelta from datetime import timedelta
import logging import logging

View file

@ -1,9 +1,4 @@
""" """AWS Lambda platform for notify component."""
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/
"""
import base64 import base64
import json import json
import logging import logging

View file

@ -1,9 +1,4 @@
""" """AWS SNS platform for notify component."""
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/
"""
import json import json
import logging import logging

View file

@ -1,9 +1,4 @@
""" """AWS SQS platform for notify component."""
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/
"""
import json import json
import logging import logging

View file

@ -1,10 +1,4 @@
""" """Support for Baidu speech service."""
Support for Baidu speech service.
For more details about this component, please refer to the documentation at
https://home-assistant.io/components/tts.baidu/
"""
import logging import logging
import voluptuous as vol import voluptuous as vol

View file

@ -1,9 +1,4 @@
""" """Use Bayesian Inference to trigger a binary sensor."""
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/
"""
from collections import OrderedDict from collections import OrderedDict
import voluptuous as vol import voluptuous as vol

View file

@ -1,9 +1,4 @@
""" """Support for French FAI Bouygues Bbox routers."""
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/
"""
from collections import namedtuple from collections import namedtuple
from datetime import timedelta from datetime import timedelta
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Support for Bbox Bouygues Modem Router."""
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/
"""
import logging import logging
from datetime import timedelta from datetime import timedelta

View file

@ -1,9 +1,4 @@
""" """Support for BH1750 light sensor."""
Support for BH1750 light sensor.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/sensor.bh1750/
"""
from functools import partial from functools import partial
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Component to interface with binary sensors."""
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/
"""
from datetime import timedelta from datetime import timedelta
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Bitcoin information service that uses blockchain.info."""
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/
"""
import logging import logging
from datetime import timedelta from datetime import timedelta

View file

@ -1,9 +1,4 @@
""" """Support for interfacing with Monoprice Blackbird 4k 8x8 HDBaseT Matrix."""
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
"""
import logging import logging
import socket import socket

View file

@ -1,9 +1,4 @@
""" """Support for Blinkstick lights."""
Support for Blinkstick lights.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/light.blinksticklight/
"""
import logging import logging
import voluptuous as vol import voluptuous as vol

View file

@ -1,9 +1,4 @@
""" """Support for Blinkt! lights on Raspberry Pi."""
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/
"""
import importlib import importlib
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Support for Blockchain.info sensors."""
Support for Blockchain.info sensors.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/sensor.blockchain/
"""
import logging import logging
from datetime import timedelta from datetime import timedelta

View file

@ -1,9 +1,4 @@
""" """Support for Bluesound devices."""
Support for Bluesound devices.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/media_player.bluesound/
"""
import asyncio import asyncio
from asyncio.futures import CancelledError from asyncio.futures import CancelledError
from datetime import timedelta from datetime import timedelta

View file

@ -1,9 +1,4 @@
""" """Tracking for bluetooth low energy devices."""
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/
"""
import logging import logging
from homeassistant.helpers.event import track_point_in_utc_time from homeassistant.helpers.event import track_point_in_utc_time

View file

@ -1,9 +1,4 @@
""" """Tracking for bluetooth devices."""
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/
"""
import logging import logging
import voluptuous as vol import voluptuous as vol

View file

@ -1,9 +1,4 @@
""" """Support for BME280 temperature, humidity and pressure sensor."""
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/
"""
from datetime import timedelta from datetime import timedelta
from functools import partial from functools import partial
import logging import logging

View file

@ -1,12 +1,4 @@
""" """Support for BME680 Sensor over SMBus."""
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/
"""
import importlib import importlib
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Support for Australian BOM (Bureau of Meteorology) weather service."""
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/
"""
import datetime import datetime
import ftplib import ftplib
import gzip import gzip

View file

@ -1,9 +1,4 @@
""" """Support for interface with a Sony Bravia TV."""
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/
"""
import logging import logging
import re import re

View file

@ -1,9 +1,4 @@
""" """Support for the Broadlink RM2 Pro (only temperature) and A1 devices."""
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/
"""
from datetime import timedelta from datetime import timedelta
import binascii import binascii
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Support for Broadlink RM devices."""
Support for Broadlink RM devices.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/switch.broadlink/
"""
import asyncio import asyncio
from base64 import b64decode, b64encode from base64 import b64decode, b64encode
import binascii import binascii

View file

@ -1,9 +1,4 @@
""" """Sensor platform for Brottsplatskartan information."""
Sensor platform for Brottsplatskartan information.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/sensor.brottsplatskartan/
"""
from collections import defaultdict from collections import defaultdict
from datetime import timedelta from datetime import timedelta
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Support for Brunt Blind Engine covers."""
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
"""
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Support for BT Home Hub 5."""
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/
"""
import logging import logging
import voluptuous as vol import voluptuous as vol

View file

@ -1,9 +1,4 @@
""" """Support for BT Smart Hub (Sometimes referred to as BT Home Hub 6)."""
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/
"""
import logging import logging
import voluptuous as vol import voluptuous as vol

View file

@ -1,9 +1,4 @@
""" """Support for Buienradar.nl weather service."""
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/
"""
import asyncio import asyncio
from datetime import datetime, timedelta from datetime import datetime, timedelta
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Support for WebDav Calendar."""
Support for WebDav Calendar.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/calendar.caldav/
"""
from datetime import datetime, timedelta from datetime import datetime, timedelta
import logging import logging
import re import re

View file

@ -1,9 +1,4 @@
""" """Component to interface with cameras."""
Component to interface with cameras.
For more details about this component, please refer to the documentation at
https://home-assistant.io/components/camera/
"""
import asyncio import asyncio
import base64 import base64
import collections import collections

View file

@ -1,9 +1,4 @@
""" """Support for Canary alarm."""
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/
"""
import logging import logging
from homeassistant.components.alarm_control_panel import AlarmControlPanel from homeassistant.components.alarm_control_panel import AlarmControlPanel

View file

@ -1,9 +1,4 @@
""" """Support for Canary camera."""
Support for Canary camera.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/camera.canary/
"""
import asyncio import asyncio
from datetime import timedelta from datetime import timedelta
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Support for Canary sensors."""
Support for Canary sensors.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/sensor.canary/
"""
from homeassistant.const import TEMP_CELSIUS from homeassistant.const import TEMP_CELSIUS
from homeassistant.helpers.entity import Entity from homeassistant.helpers.entity import Entity

View file

@ -1,9 +1,4 @@
""" """Counter for the days until an HTTPS (TLS) certificate will expire."""
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/
"""
import logging import logging
import socket import socket
import ssl import ssl

View file

@ -1,9 +1,4 @@
""" """Support for interfacing with an instance of getchannels.com."""
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/
"""
import logging import logging
import voluptuous as vol import voluptuous as vol

View file

@ -1,9 +1,4 @@
""" """Support for Cisco IOS Routers."""
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/
"""
import logging import logging
import voluptuous as vol import voluptuous as vol

View file

@ -1,9 +1,4 @@
""" """Cisco Spark platform for notify component."""
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/
"""
import logging import logging
import voluptuous as vol import voluptuous as vol

View file

@ -1,9 +1,4 @@
""" """Sensor for the CityBikes data."""
Sensor for the CityBikes data.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/sensor.citybikes/
"""
import asyncio import asyncio
from datetime import timedelta from datetime import timedelta
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Support for Clementine Music Player as media player."""
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/
"""
from datetime import timedelta from datetime import timedelta
import logging import logging
import time import time

View file

@ -1,9 +1,4 @@
""" """Clickatell platform for notify component."""
Clickatell platform for notify component.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/notify.clickatell/
"""
import logging import logging
import requests import requests

View file

@ -1,9 +1,4 @@
""" """Clicksend platform for notify component."""
Clicksend platform for notify component.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/notify.clicksend/
"""
import json import json
import logging import logging

View file

@ -1,11 +1,4 @@
""" """clicksend_tts platform for notify component."""
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/
"""
import json import json
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Provides functionality to interact with climate devices."""
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/
"""
from datetime import timedelta from datetime import timedelta
import logging import logging
import functools as ft import functools as ft

View file

@ -1,9 +1,4 @@
""" """Support for interacting with and controlling the cmus music player."""
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/
"""
import logging import logging
import voluptuous as vol import voluptuous as vol

View file

@ -1,8 +1,4 @@
""" """Support for the CO2signal platform."""
Support for the CO2signal platform.
For more details about this platform, please refer to the documentation
"""
import logging import logging
import voluptuous as vol import voluptuous as vol

View file

@ -1,9 +1,4 @@
""" """Support for Coinbase sensors."""
Support for Coinbase sensors.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/sensor.coinbase/
"""
from homeassistant.const import ATTR_ATTRIBUTION from homeassistant.const import ATTR_ATTRIBUTION
from homeassistant.helpers.entity import Entity from homeassistant.helpers.entity import Entity

View file

@ -1,9 +1,4 @@
""" """Details about crypto currencies from CoinMarketCap."""
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/
"""
import logging import logging
from datetime import timedelta from datetime import timedelta
from urllib.error import HTTPError from urllib.error import HTTPError

View file

@ -1,9 +1,4 @@
""" """Support for ComEd Hourly Pricing data."""
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/
"""
import asyncio import asyncio
from datetime import timedelta from datetime import timedelta
import json import json

View file

@ -1,9 +1,4 @@
""" """Support for custom shell commands to retrieve values."""
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/
"""
from datetime import timedelta from datetime import timedelta
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Support for command line covers."""
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/
"""
import logging import logging
import subprocess import subprocess

View file

@ -1,9 +1,4 @@
""" """Support for command line notification services."""
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/
"""
import logging import logging
import subprocess import subprocess

View file

@ -1,9 +1,4 @@
""" """Allows to configure custom shell commands to turn a value for a sensor."""
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/
"""
import collections import collections
from datetime import timedelta from datetime import timedelta
import json import json

View file

@ -1,9 +1,4 @@
""" """Support for custom shell commands to turn a switch on/off."""
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/
"""
import logging import logging
import subprocess import subprocess

View file

@ -1,9 +1,4 @@
""" """Support for Concord232 alarm control panels."""
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/
"""
import datetime import datetime
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Support for exposing Concord232 elements as sensors."""
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/
"""
import datetime import datetime
import logging import logging

View file

@ -1,9 +1,4 @@
""" """CoolMasterNet platform to control of CoolMasteNet Climate Devices."""
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/
"""
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Support for Cover devices."""
Support for Cover devices.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/cover/
"""
from datetime import timedelta from datetime import timedelta
import functools as ft import functools as ft
import logging import logging

View file

@ -1,8 +1,4 @@
""" """Support for ClearPass Policy Manager."""
Support for ClearPass Policy Manager.
Allows tracking devices with CPPM.
"""
import logging import logging
from datetime import timedelta from datetime import timedelta

View file

@ -1,9 +1,4 @@
""" """Details about printers which are connected to CUPS."""
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/
"""
import importlib import importlib
import logging import logging
from datetime import timedelta from datetime import timedelta

View file

@ -1,9 +1,4 @@
""" """Support for currencylayer.com exchange rates service."""
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/
"""
from datetime import timedelta from datetime import timedelta
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Support for Dark Sky weather service."""
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/
"""
from datetime import timedelta from datetime import timedelta
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Support for DD-WRT routers."""
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/
"""
import logging import logging
import re import re

View file

@ -1,9 +1,4 @@
""" """Support for Decora dimmers."""
Support for Decora dimmers.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/light.decora/
"""
import importlib import importlib
import logging import logging
from functools import wraps from functools import wraps

View file

@ -1,12 +1,4 @@
""" """Interfaces with the myLeviton API for Decora Smart WiFi products."""
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.
"""
import logging import logging

View file

@ -1,9 +1,4 @@
""" """Support for monitoring the Deluge BitTorrent client API."""
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/
"""
import logging import logging
import voluptuous as vol import voluptuous as vol

View file

@ -1,9 +1,4 @@
""" """Support for setting the Deluge BitTorrent client in Pause."""
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/
"""
import logging import logging
import voluptuous as vol import voluptuous as vol

View file

@ -1,9 +1,4 @@
""" """Demo platform that offers fake air quality data."""
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/
"""
from homeassistant.components.air_quality import AirQualityEntity from homeassistant.components.air_quality import AirQualityEntity

View file

@ -1,9 +1,4 @@
""" """Demo platform that has two fake alarm control panels."""
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/
"""
import datetime import datetime
from homeassistant.components.manual.alarm_control_panel import ManualAlarm from homeassistant.components.manual.alarm_control_panel import ManualAlarm
from homeassistant.const import ( from homeassistant.const import (

View file

@ -1,9 +1,4 @@
""" """Demo platform that has two fake binary sensors."""
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/
"""
from homeassistant.components.binary_sensor import BinarySensorDevice from homeassistant.components.binary_sensor import BinarySensorDevice

View file

@ -1,9 +1,4 @@
""" """Demo platform that has two fake binary sensors."""
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/
"""
import copy import copy
from homeassistant.components.google import CONF_DEVICE_ID, CONF_NAME from homeassistant.components.google import CONF_DEVICE_ID, CONF_NAME

View file

@ -1,9 +1,4 @@
""" """Demo camera platform that has a fake camera."""
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/
"""
import logging import logging
import os import os

View file

@ -1,9 +1,4 @@
""" """Demo platform that offers a fake climate device."""
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/
"""
from homeassistant.const import ATTR_TEMPERATURE, TEMP_CELSIUS, TEMP_FAHRENHEIT from homeassistant.const import ATTR_TEMPERATURE, TEMP_CELSIUS, TEMP_FAHRENHEIT
from homeassistant.components.climate import ClimateDevice from homeassistant.components.climate import ClimateDevice

View file

@ -1,9 +1,4 @@
""" """Demo platform for the cover component."""
Demo platform for the cover component.
For more details about this platform, please refer to the documentation
https://home-assistant.io/components/demo/
"""
from homeassistant.helpers.event import track_utc_time_change from homeassistant.helpers.event import track_utc_time_change
from homeassistant.components.cover import ( from homeassistant.components.cover import (

Some files were not shown because too many files have changed in this diff Show more