Clean up docstrings (#22679)
* Clean up docstrings * Fix long lines * Fix more docstrings * Fix more docstrings * Fix more docstrings
This commit is contained in:
parent
625c8e0cee
commit
048b100eea
604 changed files with 604 additions and 3632 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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."""
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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 (
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 (
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue