Add empty line after module docstring (3) (#112750)
This commit is contained in:
parent
55b2d1a00c
commit
aa16a9d707
345 changed files with 216 additions and 130 deletions
|
@ -1,4 +1,5 @@
|
||||||
"""Permission constants."""
|
"""Permission constants."""
|
||||||
|
|
||||||
CAT_ENTITIES = "entities"
|
CAT_ENTITIES = "entities"
|
||||||
CAT_CONFIG_ENTRIES = "config_entries"
|
CAT_CONFIG_ENTRIES = "config_entries"
|
||||||
SUBCAT_ALL = "all"
|
SUBCAT_ALL = "all"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants used by Advantage Air integration."""
|
"""Constants used by Advantage Air integration."""
|
||||||
|
|
||||||
DOMAIN = "advantage_air"
|
DOMAIN = "advantage_air"
|
||||||
ADVANTAGE_AIR_RETRY = 10
|
ADVANTAGE_AIR_RETRY = 10
|
||||||
ADVANTAGE_AIR_STATE_OPEN = "open"
|
ADVANTAGE_AIR_STATE_OPEN = "open"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for agent_dvr component."""
|
"""Constants for agent_dvr component."""
|
||||||
|
|
||||||
DOMAIN = "agent_dvr"
|
DOMAIN = "agent_dvr"
|
||||||
SERVERS = "servers"
|
SERVERS = "servers"
|
||||||
DEVICES = "devices"
|
DEVICES = "devices"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Describe group states."""
|
"""Describe group states."""
|
||||||
|
|
||||||
|
|
||||||
from homeassistant.components.group import GroupIntegrationRegistry
|
from homeassistant.components.group import GroupIntegrationRegistry
|
||||||
from homeassistant.core import HomeAssistant, callback
|
from homeassistant.core import HomeAssistant, callback
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the AirNow integration."""
|
"""Constants for the AirNow integration."""
|
||||||
|
|
||||||
ATTR_API_AQI = "AQI"
|
ATTR_API_AQI = "AQI"
|
||||||
ATTR_API_AQI_LEVEL = "Category.Number"
|
ATTR_API_AQI_LEVEL = "Category.Number"
|
||||||
ATTR_API_AQI_DESCRIPTION = "Category.Name"
|
ATTR_API_AQI_DESCRIPTION = "Category.Name"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Describe group states."""
|
"""Describe group states."""
|
||||||
|
|
||||||
|
|
||||||
from homeassistant.components.group import GroupIntegrationRegistry
|
from homeassistant.components.group import GroupIntegrationRegistry
|
||||||
from homeassistant.const import (
|
from homeassistant.const import (
|
||||||
STATE_ALARM_ARMED_AWAY,
|
STATE_ALARM_ARMED_AWAY,
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Alexa Resources and Assets."""
|
"""Alexa Resources and Assets."""
|
||||||
|
|
||||||
|
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
# Current and forecast will create general, controlled load and feed in as required
|
# Current and forecast will create general, controlled load and feed in as required
|
||||||
# At the moment renewables in the only grid sensor.
|
# At the moment renewables in the only grid sensor.
|
||||||
|
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for amcrest component."""
|
"""Constants for amcrest component."""
|
||||||
|
|
||||||
DOMAIN = "amcrest"
|
DOMAIN = "amcrest"
|
||||||
DATA_AMCREST = DOMAIN
|
DATA_AMCREST = DOMAIN
|
||||||
CAMERAS = "cameras"
|
CAMERAS = "cameras"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Android Debug Bridge component constants."""
|
"""Android Debug Bridge component constants."""
|
||||||
|
|
||||||
DOMAIN = "androidtv"
|
DOMAIN = "androidtv"
|
||||||
|
|
||||||
ANDROID_DEV = DOMAIN
|
ANDROID_DEV = DOMAIN
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the Anthem A/V Receivers integration."""
|
"""Constants for the Anthem A/V Receivers integration."""
|
||||||
|
|
||||||
ANTHEMAV_UPDATE_SIGNAL = "anthemav_update"
|
ANTHEMAV_UPDATE_SIGNAL = "anthemav_update"
|
||||||
|
|
||||||
DEFAULT_NAME = "Anthem AV"
|
DEFAULT_NAME = "Anthem AV"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants used for arcam."""
|
"""Constants used for arcam."""
|
||||||
|
|
||||||
DOMAIN = "arcam_fmj"
|
DOMAIN = "arcam_fmj"
|
||||||
|
|
||||||
SIGNAL_CLIENT_STARTED = "arcam.client_started"
|
SIGNAL_CLIENT_STARTED = "arcam.client_started"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the Assist pipeline integration."""
|
"""Constants for the Assist pipeline integration."""
|
||||||
|
|
||||||
DOMAIN = "assist_pipeline"
|
DOMAIN = "assist_pipeline"
|
||||||
|
|
||||||
DATA_CONFIG = f"{DOMAIN}.config"
|
DATA_CONFIG = f"{DOMAIN}.config"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""AsusWrt component constants."""
|
"""AsusWrt component constants."""
|
||||||
|
|
||||||
DOMAIN = "asuswrt"
|
DOMAIN = "asuswrt"
|
||||||
|
|
||||||
CONF_DNSMASQ = "dnsmasq"
|
CONF_DNSMASQ = "dnsmasq"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the Aussie Broadband integration."""
|
"""Constants for the Aussie Broadband integration."""
|
||||||
|
|
||||||
DEFAULT_UPDATE_INTERVAL = 30
|
DEFAULT_UPDATE_INTERVAL = 30
|
||||||
DOMAIN = "aussie_broadband"
|
DOMAIN = "aussie_broadband"
|
||||||
SERVICE_ID = "service_id"
|
SERVICE_ID = "service_id"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constant for AWS component."""
|
"""Constant for AWS component."""
|
||||||
|
|
||||||
DOMAIN = "aws"
|
DOMAIN = "aws"
|
||||||
|
|
||||||
DATA_CONFIG = "aws_config"
|
DATA_CONFIG = "aws_config"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the Azure DevOps integration."""
|
"""Constants for the Azure DevOps integration."""
|
||||||
|
|
||||||
DOMAIN = "azure_devops"
|
DOMAIN = "azure_devops"
|
||||||
|
|
||||||
CONF_ORG = "organization"
|
CONF_ORG = "organization"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the Balboa Spa Client integration."""
|
"""Constants for the Balboa Spa Client integration."""
|
||||||
|
|
||||||
DOMAIN = "balboa"
|
DOMAIN = "balboa"
|
||||||
CONF_SYNC_TIME = "sync_time"
|
CONF_SYNC_TIME = "sync_time"
|
||||||
DEFAULT_SYNC_TIME = False
|
DEFAULT_SYNC_TIME = False
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Describe group states."""
|
"""Describe group states."""
|
||||||
|
|
||||||
|
|
||||||
from homeassistant.components.group import GroupIntegrationRegistry
|
from homeassistant.components.group import GroupIntegrationRegistry
|
||||||
from homeassistant.const import STATE_OFF, STATE_ON
|
from homeassistant.const import STATE_OFF, STATE_ON
|
||||||
from homeassistant.core import HomeAssistant, callback
|
from homeassistant.core import HomeAssistant, callback
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
"""Constants for the Monoprice Blackbird Matrix Switch component."""
|
"""Constants for the Monoprice Blackbird Matrix Switch component."""
|
||||||
|
|
||||||
DOMAIN = "blackbird"
|
DOMAIN = "blackbird"
|
||||||
SERVICE_SETALLZONES = "set_all_zones"
|
SERVICE_SETALLZONES = "set_all_zones"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Constants for the BleBox devices integration."""
|
"""Constants for the BleBox devices integration."""
|
||||||
|
|
||||||
|
|
||||||
DOMAIN = "blebox"
|
DOMAIN = "blebox"
|
||||||
PRODUCT = "product"
|
PRODUCT = "product"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the blueprint integration."""
|
"""Constants for the blueprint integration."""
|
||||||
|
|
||||||
BLUEPRINT_FOLDER = "blueprints"
|
BLUEPRINT_FOLDER = "blueprints"
|
||||||
|
|
||||||
CONF_BLUEPRINT = "blueprint"
|
CONF_BLUEPRINT = "blueprint"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the Bluesound HiFi wireless speakers and audio integrations component."""
|
"""Constants for the Bluesound HiFi wireless speakers and audio integrations component."""
|
||||||
|
|
||||||
DOMAIN = "bluesound"
|
DOMAIN = "bluesound"
|
||||||
SERVICE_CLEAR_TIMER = "clear_sleep_timer"
|
SERVICE_CLEAR_TIMER = "clear_sleep_timer"
|
||||||
SERVICE_JOIN = "join"
|
SERVICE_JOIN = "join"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Library for working with CalDAV api."""
|
"""Library for working with CalDAV api."""
|
||||||
|
|
||||||
|
|
||||||
import caldav
|
import caldav
|
||||||
|
|
||||||
from homeassistant.core import HomeAssistant
|
from homeassistant.core import HomeAssistant
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the Channels component."""
|
"""Constants for the Channels component."""
|
||||||
|
|
||||||
DOMAIN = "channels"
|
DOMAIN = "channels"
|
||||||
SERVICE_SEEK_FORWARD = "seek_forward"
|
SERVICE_SEEK_FORWARD = "seek_forward"
|
||||||
SERVICE_SEEK_BACKWARD = "seek_backward"
|
SERVICE_SEEK_BACKWARD = "seek_backward"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Describe group states."""
|
"""Describe group states."""
|
||||||
|
|
||||||
|
|
||||||
from homeassistant.components.group import GroupIntegrationRegistry
|
from homeassistant.components.group import GroupIntegrationRegistry
|
||||||
from homeassistant.const import STATE_OFF
|
from homeassistant.const import STATE_OFF
|
||||||
from homeassistant.core import HomeAssistant, callback
|
from homeassistant.core import HomeAssistant, callback
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
"""Constants for the Co2signal integration."""
|
"""Constants for the Co2signal integration."""
|
||||||
|
|
||||||
|
|
||||||
DOMAIN = "co2signal"
|
DOMAIN = "co2signal"
|
||||||
ATTRIBUTION = "Data provided by Electricity Maps"
|
ATTRIBUTION = "Data provided by Electricity Maps"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the color_extractor component."""
|
"""Constants for the color_extractor component."""
|
||||||
|
|
||||||
ATTR_PATH = "color_extract_path"
|
ATTR_PATH = "color_extract_path"
|
||||||
ATTR_URL = "color_extract_url"
|
ATTR_URL = "color_extract_url"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Comelit integration."""
|
"""Comelit integration."""
|
||||||
|
|
||||||
|
|
||||||
from aiocomelit.const import BRIDGE
|
from aiocomelit.const import BRIDGE
|
||||||
|
|
||||||
from homeassistant.config_entries import ConfigEntry
|
from homeassistant.config_entries import ConfigEntry
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Compensation constants."""
|
"""Compensation constants."""
|
||||||
|
|
||||||
DOMAIN = "compensation"
|
DOMAIN = "compensation"
|
||||||
|
|
||||||
SENSOR = "compensation"
|
SENSOR = "compensation"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Describe group states."""
|
"""Describe group states."""
|
||||||
|
|
||||||
|
|
||||||
from homeassistant.components.group import GroupIntegrationRegistry
|
from homeassistant.components.group import GroupIntegrationRegistry
|
||||||
from homeassistant.const import STATE_CLOSED, STATE_OPEN
|
from homeassistant.const import STATE_CLOSED, STATE_OPEN
|
||||||
from homeassistant.core import HomeAssistant, callback
|
from homeassistant.core import HomeAssistant, callback
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Intents for the cover integration."""
|
"""Intents for the cover integration."""
|
||||||
|
|
||||||
|
|
||||||
from homeassistant.const import SERVICE_CLOSE_COVER, SERVICE_OPEN_COVER
|
from homeassistant.const import SERVICE_CLOSE_COVER, SERVICE_OPEN_COVER
|
||||||
from homeassistant.core import HomeAssistant
|
from homeassistant.core import HomeAssistant
|
||||||
from homeassistant.helpers import intent
|
from homeassistant.helpers import intent
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for Daikin."""
|
"""Constants for Daikin."""
|
||||||
|
|
||||||
DOMAIN = "daikin"
|
DOMAIN = "daikin"
|
||||||
|
|
||||||
ATTR_TARGET_TEMPERATURE = "target_temperature"
|
ATTR_TARGET_TEMPERATURE = "target_temperature"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
"""Constants for the Demo component."""
|
"""Constants for the Demo component."""
|
||||||
|
|
||||||
DOMAIN = "demo"
|
DOMAIN = "demo"
|
||||||
SERVICE_RANDOMIZE_DEVICE_TRACKER_DATA = "randomize_device_tracker_data"
|
SERVICE_RANDOMIZE_DEVICE_TRACKER_DATA = "randomize_device_tracker_data"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for device automations."""
|
"""Constants for device automations."""
|
||||||
|
|
||||||
CONF_CHANGED_STATES = "changed_states"
|
CONF_CHANGED_STATES = "changed_states"
|
||||||
CONF_IS_OFF = "is_off"
|
CONF_IS_OFF = "is_off"
|
||||||
CONF_IS_ON = "is_on"
|
CONF_IS_ON = "is_on"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Describe group states."""
|
"""Describe group states."""
|
||||||
|
|
||||||
|
|
||||||
from homeassistant.components.group import GroupIntegrationRegistry
|
from homeassistant.components.group import GroupIntegrationRegistry
|
||||||
from homeassistant.const import STATE_HOME, STATE_NOT_HOME
|
from homeassistant.const import STATE_HOME, STATE_NOT_HOME
|
||||||
from homeassistant.core import HomeAssistant, callback
|
from homeassistant.core import HomeAssistant, callback
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the DirecTV integration."""
|
"""Constants for the DirecTV integration."""
|
||||||
|
|
||||||
DOMAIN = "directv"
|
DOMAIN = "directv"
|
||||||
|
|
||||||
# Attributes
|
# Attributes
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""The DoorBird integration base entity."""
|
"""The DoorBird integration base entity."""
|
||||||
|
|
||||||
|
|
||||||
from homeassistant.helpers import device_registry as dr
|
from homeassistant.helpers import device_registry as dr
|
||||||
from homeassistant.helpers.device_registry import DeviceInfo
|
from homeassistant.helpers.device_registry import DeviceInfo
|
||||||
from homeassistant.helpers.entity import Entity
|
from homeassistant.helpers.entity import Entity
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""The ecoforest coordinator."""
|
"""The ecoforest coordinator."""
|
||||||
|
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from pyecoforest.api import EcoforestApi
|
from pyecoforest.api import EcoforestApi
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the emulated_roku component."""
|
"""Constants for the emulated_roku component."""
|
||||||
|
|
||||||
DOMAIN = "emulated_roku"
|
DOMAIN = "emulated_roku"
|
||||||
|
|
||||||
CONF_SERVERS = "servers"
|
CONF_SERVERS = "servers"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the Enigma2 platform."""
|
"""Constants for the Enigma2 platform."""
|
||||||
|
|
||||||
DOMAIN = "enigma2"
|
DOMAIN = "enigma2"
|
||||||
|
|
||||||
CONF_USE_CHANNEL_ICON = "use_channel_icon"
|
CONF_USE_CHANNEL_ICON = "use_channel_icon"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Support for (EMEA/EU-based) Honeywell TCC climate systems."""
|
"""Support for (EMEA/EU-based) Honeywell TCC climate systems."""
|
||||||
|
|
||||||
DOMAIN = "evohome"
|
DOMAIN = "evohome"
|
||||||
|
|
||||||
STORAGE_VER = 1
|
STORAGE_VER = 1
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Describe group states."""
|
"""Describe group states."""
|
||||||
|
|
||||||
|
|
||||||
from homeassistant.components.group import GroupIntegrationRegistry
|
from homeassistant.components.group import GroupIntegrationRegistry
|
||||||
from homeassistant.const import STATE_OFF, STATE_ON
|
from homeassistant.const import STATE_OFF, STATE_ON
|
||||||
from homeassistant.core import HomeAssistant, callback
|
from homeassistant.core import HomeAssistant, callback
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""The fitbit component."""
|
"""The fitbit component."""
|
||||||
|
|
||||||
|
|
||||||
from homeassistant.config_entries import ConfigEntry
|
from homeassistant.config_entries import ConfigEntry
|
||||||
from homeassistant.const import Platform
|
from homeassistant.const import Platform
|
||||||
from homeassistant.core import HomeAssistant
|
from homeassistant.core import HomeAssistant
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the Frontier Silicon Media Player integration."""
|
"""Constants for the Frontier Silicon Media Player integration."""
|
||||||
|
|
||||||
DOMAIN = "frontier_silicon"
|
DOMAIN = "frontier_silicon"
|
||||||
|
|
||||||
CONF_WEBFSAPI_URL = "webfsapi_url"
|
CONF_WEBFSAPI_URL = "webfsapi_url"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for Google Travel Time."""
|
"""Constants for Google Travel Time."""
|
||||||
|
|
||||||
DOMAIN = "google_travel_time"
|
DOMAIN = "google_travel_time"
|
||||||
|
|
||||||
ATTRIBUTION = "Powered by Google"
|
ATTRIBUTION = "Powered by Google"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
"""Constants for the HTML5 component."""
|
"""Constants for the HTML5 component."""
|
||||||
|
|
||||||
DOMAIN = "html5"
|
DOMAIN = "html5"
|
||||||
SERVICE_DISMISS = "dismiss"
|
SERVICE_DISMISS = "dismiss"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Describe group states."""
|
"""Describe group states."""
|
||||||
|
|
||||||
|
|
||||||
from homeassistant.components.group import GroupIntegrationRegistry
|
from homeassistant.components.group import GroupIntegrationRegistry
|
||||||
from homeassistant.const import STATE_OFF, STATE_ON
|
from homeassistant.const import STATE_OFF, STATE_ON
|
||||||
from homeassistant.core import HomeAssistant, callback
|
from homeassistant.core import HomeAssistant, callback
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Constants for Hunter Douglas Powerview hub."""
|
"""Constants for Hunter Douglas Powerview hub."""
|
||||||
|
|
||||||
|
|
||||||
from aiohttp.client_exceptions import ServerDisconnectedError
|
from aiohttp.client_exceptions import ServerDisconnectedError
|
||||||
from aiopvapi.helpers.aiorequest import (
|
from aiopvapi.helpers.aiorequest import (
|
||||||
PvApiConnectionError,
|
PvApiConnectionError,
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Support for Hydrawise cloud."""
|
"""Support for Hydrawise cloud."""
|
||||||
|
|
||||||
|
|
||||||
from pydrawise import legacy
|
from pydrawise import legacy
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Constants for the Idasen Desk integration."""
|
"""Constants for the Idasen Desk integration."""
|
||||||
|
|
||||||
|
|
||||||
DOMAIN = "idasen_desk"
|
DOMAIN = "idasen_desk"
|
||||||
|
|
||||||
EXPECTED_SERVICE_UUID = "99fa0001-338a-1024-8a49-009c0215f78a"
|
EXPECTED_SERVICE_UUID = "99fa0001-338a-1024-8a49-009c0215f78a"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Constants for the JustNimbus integration."""
|
"""Constants for the JustNimbus integration."""
|
||||||
|
|
||||||
|
|
||||||
from typing import Final
|
from typing import Final
|
||||||
|
|
||||||
from homeassistant.const import Platform
|
from homeassistant.const import Platform
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for Keymitt BLE."""
|
"""Constants for Keymitt BLE."""
|
||||||
|
|
||||||
# Base component constants
|
# Base component constants
|
||||||
DOMAIN = "keymitt_ble"
|
DOMAIN = "keymitt_ble"
|
||||||
MANUFACTURER = "Naran/Keymitt"
|
MANUFACTURER = "Naran/Keymitt"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the Kodi platform."""
|
"""Constants for the Kodi platform."""
|
||||||
|
|
||||||
DOMAIN = "kodi"
|
DOMAIN = "kodi"
|
||||||
|
|
||||||
CONF_WS_PORT = "ws_port"
|
CONF_WS_PORT = "ws_port"
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
"""Constants for the Kostal Plenticore Solar Inverter integration."""
|
"""Constants for the Kostal Plenticore Solar Inverter integration."""
|
||||||
|
|
||||||
DOMAIN = "kostal_plenticore"
|
DOMAIN = "kostal_plenticore"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the Kuler Sky integration."""
|
"""Constants for the Kuler Sky integration."""
|
||||||
|
|
||||||
DOMAIN = "kulersky"
|
DOMAIN = "kulersky"
|
||||||
|
|
||||||
DATA_ADDRESSES = "addresses"
|
DATA_ADDRESSES = "addresses"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Diagnostics support for La Marzocco."""
|
"""Diagnostics support for La Marzocco."""
|
||||||
|
|
||||||
|
|
||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""LD2410 BLE integration binary sensor platform."""
|
"""LD2410 BLE integration binary sensor platform."""
|
||||||
|
|
||||||
|
|
||||||
from homeassistant.components.binary_sensor import (
|
from homeassistant.components.binary_sensor import (
|
||||||
BinarySensorDeviceClass,
|
BinarySensorDeviceClass,
|
||||||
BinarySensorEntity,
|
BinarySensorEntity,
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""LD2410 BLE integration sensor platform."""
|
"""LD2410 BLE integration sensor platform."""
|
||||||
|
|
||||||
|
|
||||||
from homeassistant.components.sensor import (
|
from homeassistant.components.sensor import (
|
||||||
SensorDeviceClass,
|
SensorDeviceClass,
|
||||||
SensorEntity,
|
SensorEntity,
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
"""Constants for the lg_netcast component."""
|
"""Constants for the lg_netcast component."""
|
||||||
|
|
||||||
DOMAIN = "lg_netcast"
|
DOMAIN = "lg_netcast"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the LG Soundbar integration."""
|
"""Constants for the LG Soundbar integration."""
|
||||||
|
|
||||||
DOMAIN = "lg_soundbar"
|
DOMAIN = "lg_soundbar"
|
||||||
|
|
||||||
DEFAULT_PORT = 9741
|
DEFAULT_PORT = 9741
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Describe group states."""
|
"""Describe group states."""
|
||||||
|
|
||||||
|
|
||||||
from homeassistant.components.group import GroupIntegrationRegistry
|
from homeassistant.components.group import GroupIntegrationRegistry
|
||||||
from homeassistant.const import STATE_OFF, STATE_ON
|
from homeassistant.const import STATE_OFF, STATE_ON
|
||||||
from homeassistant.core import HomeAssistant, callback
|
from homeassistant.core import HomeAssistant, callback
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
"""Constants for the Litter-Robot integration."""
|
"""Constants for the Litter-Robot integration."""
|
||||||
|
|
||||||
DOMAIN = "litterrobot"
|
DOMAIN = "litterrobot"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the Local File Camera component."""
|
"""Constants for the Local File Camera component."""
|
||||||
|
|
||||||
DOMAIN = "local_file"
|
DOMAIN = "local_file"
|
||||||
SERVICE_UPDATE_FILE_PATH = "update_file_path"
|
SERVICE_UPDATE_FILE_PATH = "update_file_path"
|
||||||
DATA_LOCAL_FILE = "local_file_cameras"
|
DATA_LOCAL_FILE = "local_file_cameras"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Describe group states."""
|
"""Describe group states."""
|
||||||
|
|
||||||
|
|
||||||
from homeassistant.components.group import GroupIntegrationRegistry
|
from homeassistant.components.group import GroupIntegrationRegistry
|
||||||
from homeassistant.const import STATE_LOCKED, STATE_UNLOCKED
|
from homeassistant.const import STATE_LOCKED, STATE_UNLOCKED
|
||||||
from homeassistant.core import HomeAssistant, callback
|
from homeassistant.core import HomeAssistant, callback
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
"""Constants for the loqed integration."""
|
"""Constants for the loqed integration."""
|
||||||
|
|
||||||
|
|
||||||
DOMAIN = "loqed"
|
DOMAIN = "loqed"
|
||||||
CONF_CLOUDHOOK_URL = "cloudhook_url"
|
CONF_CLOUDHOOK_URL = "cloudhook_url"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the Matrix integration."""
|
"""Constants for the Matrix integration."""
|
||||||
|
|
||||||
DOMAIN = "matrix"
|
DOMAIN = "matrix"
|
||||||
|
|
||||||
SERVICE_SEND_MESSAGE = "send_message"
|
SERVICE_SEND_MESSAGE = "send_message"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Describe group states."""
|
"""Describe group states."""
|
||||||
|
|
||||||
|
|
||||||
from homeassistant.components.group import GroupIntegrationRegistry
|
from homeassistant.components.group import GroupIntegrationRegistry
|
||||||
from homeassistant.const import (
|
from homeassistant.const import (
|
||||||
STATE_IDLE,
|
STATE_IDLE,
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Constants for the melnor integration."""
|
"""Constants for the melnor integration."""
|
||||||
|
|
||||||
|
|
||||||
DOMAIN = "melnor"
|
DOMAIN = "melnor"
|
||||||
DEFAULT_NAME = "Melnor Bluetooth"
|
DEFAULT_NAME = "Melnor Bluetooth"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""API for the Minecraft Server integration."""
|
"""API for the Minecraft Server integration."""
|
||||||
|
|
||||||
|
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from enum import StrEnum
|
from enum import StrEnum
|
||||||
import logging
|
import logging
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the myStrom integration."""
|
"""Constants for the myStrom integration."""
|
||||||
|
|
||||||
DOMAIN = "mystrom"
|
DOMAIN = "mystrom"
|
||||||
DEFAULT_NAME = "myStrom"
|
DEFAULT_NAME = "myStrom"
|
||||||
MANUFACTURER = "myStrom"
|
MANUFACTURER = "myStrom"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Number entity for myUplink."""
|
"""Number entity for myUplink."""
|
||||||
|
|
||||||
|
|
||||||
from aiohttp import ClientError
|
from aiohttp import ClientError
|
||||||
from myuplink import DevicePoint
|
from myuplink import DevicePoint
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""NextBus Constants."""
|
"""NextBus Constants."""
|
||||||
|
|
||||||
DOMAIN = "nextbus"
|
DOMAIN = "nextbus"
|
||||||
|
|
||||||
CONF_AGENCY = "agency"
|
CONF_AGENCY = "agency"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the NFAndroidTV integration."""
|
"""Constants for the NFAndroidTV integration."""
|
||||||
|
|
||||||
DOMAIN: str = "nfandroidtv"
|
DOMAIN: str = "nfandroidtv"
|
||||||
CONF_DURATION = "duration"
|
CONF_DURATION = "duration"
|
||||||
CONF_FONTSIZE = "fontsize"
|
CONF_FONTSIZE = "fontsize"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for Nuki."""
|
"""Constants for Nuki."""
|
||||||
|
|
||||||
DOMAIN = "nuki"
|
DOMAIN = "nuki"
|
||||||
|
|
||||||
# Attributes
|
# Attributes
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for NZBGet."""
|
"""Constants for NZBGet."""
|
||||||
|
|
||||||
DOMAIN = "nzbget"
|
DOMAIN = "nzbget"
|
||||||
|
|
||||||
# Attributes
|
# Attributes
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the onboarding component."""
|
"""Constants for the onboarding component."""
|
||||||
|
|
||||||
DOMAIN = "onboarding"
|
DOMAIN = "onboarding"
|
||||||
STEP_USER = "user"
|
STEP_USER = "user"
|
||||||
STEP_CORE_CONFIG = "core_config"
|
STEP_CORE_CONFIG = "core_config"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Constants for the Oncue integration."""
|
"""Constants for the Oncue integration."""
|
||||||
|
|
||||||
|
|
||||||
import aiohttp
|
import aiohttp
|
||||||
from aiooncue import ServiceFailedException
|
from aiooncue import ServiceFailedException
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the Openhome component."""
|
"""Constants for the Openhome component."""
|
||||||
|
|
||||||
DOMAIN = "openhome"
|
DOMAIN = "openhome"
|
||||||
SERVICE_INVOKE_PIN = "invoke_pin"
|
SERVICE_INVOKE_PIN = "invoke_pin"
|
||||||
ATTR_PIN_INDEX = "pin"
|
ATTR_PIN_INDEX = "pin"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the OVO Energy integration."""
|
"""Constants for the OVO Energy integration."""
|
||||||
|
|
||||||
DOMAIN = "ovo_energy"
|
DOMAIN = "ovo_energy"
|
||||||
|
|
||||||
DATA_CLIENT = "ovo_client"
|
DATA_CLIENT = "ovo_client"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Helper for OwnTracks."""
|
"""Helper for OwnTracks."""
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import nacl
|
import nacl
|
||||||
except ImportError:
|
except ImportError:
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the Panasonic Viera integration."""
|
"""Constants for the Panasonic Viera integration."""
|
||||||
|
|
||||||
DOMAIN = "panasonic_viera"
|
DOMAIN = "panasonic_viera"
|
||||||
|
|
||||||
DEVICE_MANUFACTURER = "Panasonic"
|
DEVICE_MANUFACTURER = "Panasonic"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Describe group states."""
|
"""Describe group states."""
|
||||||
|
|
||||||
|
|
||||||
from homeassistant.components.group import GroupIntegrationRegistry
|
from homeassistant.components.group import GroupIntegrationRegistry
|
||||||
from homeassistant.const import STATE_HOME, STATE_NOT_HOME
|
from homeassistant.const import STATE_HOME, STATE_NOT_HOME
|
||||||
from homeassistant.core import HomeAssistant, callback
|
from homeassistant.core import HomeAssistant, callback
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Describe group states."""
|
"""Describe group states."""
|
||||||
|
|
||||||
|
|
||||||
from homeassistant.components.group import GroupIntegrationRegistry
|
from homeassistant.components.group import GroupIntegrationRegistry
|
||||||
from homeassistant.const import STATE_OK, STATE_PROBLEM
|
from homeassistant.const import STATE_OK, STATE_PROBLEM
|
||||||
from homeassistant.core import HomeAssistant, callback
|
from homeassistant.core import HomeAssistant, callback
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
"""Constants for Private BLE Device."""
|
"""Constants for Private BLE Device."""
|
||||||
|
|
||||||
DOMAIN = "private_ble_device"
|
DOMAIN = "private_ble_device"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for PlayStation 4."""
|
"""Constants for PlayStation 4."""
|
||||||
|
|
||||||
ATTR_MEDIA_IMAGE_URL = "media_image_url"
|
ATTR_MEDIA_IMAGE_URL = "media_image_url"
|
||||||
CONFIG_ENTRY_VERSION = 3
|
CONFIG_ENTRY_VERSION = 3
|
||||||
DEFAULT_NAME = "PlayStation 4"
|
DEFAULT_NAME = "PlayStation 4"
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
"""Constants for the Rainforest RAVEn integration."""
|
"""Constants for the Rainforest RAVEn integration."""
|
||||||
|
|
||||||
DEFAULT_NAME = "Rainforest RAVEn"
|
DEFAULT_NAME = "Rainforest RAVEn"
|
||||||
DOMAIN = "rainforest_raven"
|
DOMAIN = "rainforest_raven"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for random helper."""
|
"""Constants for random helper."""
|
||||||
|
|
||||||
DOMAIN = "random"
|
DOMAIN = "random"
|
||||||
|
|
||||||
DEFAULT_MIN = 0
|
DEFAULT_MIN = 0
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Constants for history."""
|
"""Constants for history."""
|
||||||
|
|
||||||
|
|
||||||
STATE_KEY = "state"
|
STATE_KEY = "state"
|
||||||
LAST_CHANGED_KEY = "last_changed"
|
LAST_CHANGED_KEY = "last_changed"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Describe group states."""
|
"""Describe group states."""
|
||||||
|
|
||||||
|
|
||||||
from homeassistant.components.group import GroupIntegrationRegistry
|
from homeassistant.components.group import GroupIntegrationRegistry
|
||||||
from homeassistant.const import STATE_OFF, STATE_ON
|
from homeassistant.const import STATE_OFF, STATE_ON
|
||||||
from homeassistant.core import HomeAssistant, callback
|
from homeassistant.core import HomeAssistant, callback
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
"""Constants for the Renson integration."""
|
"""Constants for the Renson integration."""
|
||||||
|
|
||||||
|
|
||||||
DOMAIN = "renson"
|
DOMAIN = "renson"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Provides helpers for RFXtrx."""
|
"""Provides helpers for RFXtrx."""
|
||||||
|
|
||||||
|
|
||||||
from RFXtrx import RFXtrxDevice, get_device
|
from RFXtrx import RFXtrxDevice, get_device
|
||||||
|
|
||||||
from homeassistant.core import HomeAssistant, callback
|
from homeassistant.core import HomeAssistant, callback
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the Roku integration."""
|
"""Constants for the Roku integration."""
|
||||||
|
|
||||||
DOMAIN = "roku"
|
DOMAIN = "roku"
|
||||||
|
|
||||||
# Attributes
|
# Attributes
|
||||||
|
|
|
@ -4,7 +4,6 @@ For more details about this platform, please refer to the documentation
|
||||||
https://home-assistant.io/components/vacuum.romy/.
|
https://home-assistant.io/components/vacuum.romy/.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
from romy import RomyRobot
|
from romy import RomyRobot
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Describe group states."""
|
"""Describe group states."""
|
||||||
|
|
||||||
|
|
||||||
from homeassistant.components.group import GroupIntegrationRegistry
|
from homeassistant.components.group import GroupIntegrationRegistry
|
||||||
from homeassistant.core import HomeAssistant, callback
|
from homeassistant.core import HomeAssistant, callback
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Constants for SlimProto Player integration."""
|
"""Constants for SlimProto Player integration."""
|
||||||
|
|
||||||
|
|
||||||
DOMAIN = "slimproto"
|
DOMAIN = "slimproto"
|
||||||
|
|
||||||
DEFAULT_NAME = "SlimProto Player"
|
DEFAULT_NAME = "SlimProto Player"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""SNMP constants."""
|
"""SNMP constants."""
|
||||||
|
|
||||||
CONF_ACCEPT_ERRORS = "accept_errors"
|
CONF_ACCEPT_ERRORS = "accept_errors"
|
||||||
CONF_AUTH_KEY = "auth_key"
|
CONF_AUTH_KEY = "auth_key"
|
||||||
CONF_AUTH_PROTOCOL = "auth_protocol"
|
CONF_AUTH_PROTOCOL = "auth_protocol"
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
"""Constants for the solax integration."""
|
"""Constants for the solax integration."""
|
||||||
|
|
||||||
|
|
||||||
DOMAIN = "solax"
|
DOMAIN = "solax"
|
||||||
|
|
||||||
MANUFACTURER = "SolaX Power"
|
MANUFACTURER = "SolaX Power"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the Songpal component."""
|
"""Constants for the Songpal component."""
|
||||||
|
|
||||||
DOMAIN = "songpal"
|
DOMAIN = "songpal"
|
||||||
SET_SOUND_SETTING = "set_sound_setting"
|
SET_SOUND_SETTING = "set_sound_setting"
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
"""Constants for the Bose SoundTouch component."""
|
"""Constants for the Bose SoundTouch component."""
|
||||||
|
|
||||||
DOMAIN = "soundtouch"
|
DOMAIN = "soundtouch"
|
||||||
SERVICE_PLAY_EVERYWHERE = "play_everywhere"
|
SERVICE_PLAY_EVERYWHERE = "play_everywhere"
|
||||||
SERVICE_CREATE_ZONE = "create_zone"
|
SERVICE_CREATE_ZONE = "create_zone"
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue