Add empty line after module docstring (3) (#112750)

This commit is contained in:
Marc Mueller 2024-03-08 20:38:34 +01:00 committed by GitHub
parent 55b2d1a00c
commit aa16a9d707
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
345 changed files with 216 additions and 130 deletions

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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

View file

@ -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"

View file

@ -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,

View file

@ -1,6 +1,5 @@
"""Alexa Resources and Assets.""" """Alexa Resources and Assets."""
from typing import Any from typing import Any

View file

@ -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

View file

@ -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"

View file

@ -1,4 +1,5 @@
"""Android Debug Bridge component constants.""" """Android Debug Bridge component constants."""
DOMAIN = "androidtv" DOMAIN = "androidtv"
ANDROID_DEV = DOMAIN ANDROID_DEV = DOMAIN

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -1,4 +1,5 @@
"""AsusWrt component constants.""" """AsusWrt component constants."""
DOMAIN = "asuswrt" DOMAIN = "asuswrt"
CONF_DNSMASQ = "dnsmasq" CONF_DNSMASQ = "dnsmasq"

View file

@ -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"

View file

@ -1,4 +1,5 @@
"""Constant for AWS component.""" """Constant for AWS component."""
DOMAIN = "aws" DOMAIN = "aws"
DATA_CONFIG = "aws_config" DATA_CONFIG = "aws_config"

View file

@ -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"

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -1,6 +1,5 @@
"""Constants for the BleBox devices integration.""" """Constants for the BleBox devices integration."""
DOMAIN = "blebox" DOMAIN = "blebox"
PRODUCT = "product" PRODUCT = "product"

View file

@ -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"

View file

@ -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"

View file

@ -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

View file

@ -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"

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -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

View file

@ -1,4 +1,5 @@
"""Compensation constants.""" """Compensation constants."""
DOMAIN = "compensation" DOMAIN = "compensation"
SENSOR = "compensation" SENSOR = "compensation"

View file

@ -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

View file

@ -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

View file

@ -1,4 +1,5 @@
"""Constants for Daikin.""" """Constants for Daikin."""
DOMAIN = "daikin" DOMAIN = "daikin"
ATTR_TARGET_TEMPERATURE = "target_temperature" ATTR_TARGET_TEMPERATURE = "target_temperature"

View file

@ -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"

View file

@ -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"

View file

@ -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

View file

@ -1,4 +1,5 @@
"""Constants for the DirecTV integration.""" """Constants for the DirecTV integration."""
DOMAIN = "directv" DOMAIN = "directv"
# Attributes # Attributes

View file

@ -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

View file

@ -1,6 +1,5 @@
"""The ecoforest coordinator.""" """The ecoforest coordinator."""
import logging import logging
from pyecoforest.api import EcoforestApi from pyecoforest.api import EcoforestApi

View file

@ -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"

View file

@ -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"

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -1,3 +1,4 @@
"""Constants for the HTML5 component.""" """Constants for the HTML5 component."""
DOMAIN = "html5" DOMAIN = "html5"
SERVICE_DISMISS = "dismiss" SERVICE_DISMISS = "dismiss"

View file

@ -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

View file

@ -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,

View file

@ -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

View file

@ -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"

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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"

View file

@ -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

View file

@ -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,

View file

@ -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,

View file

@ -1,2 +1,3 @@
"""Constants for the lg_netcast component.""" """Constants for the lg_netcast component."""
DOMAIN = "lg_netcast" DOMAIN = "lg_netcast"

View file

@ -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

View file

@ -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

View file

@ -1,2 +1,3 @@
"""Constants for the Litter-Robot integration.""" """Constants for the Litter-Robot integration."""
DOMAIN = "litterrobot" DOMAIN = "litterrobot"

View file

@ -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"

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -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,

View file

@ -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"

View file

@ -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

View file

@ -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"

View file

@ -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

View file

@ -1,4 +1,5 @@
"""NextBus Constants.""" """NextBus Constants."""
DOMAIN = "nextbus" DOMAIN = "nextbus"
CONF_AGENCY = "agency" CONF_AGENCY = "agency"

View file

@ -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"

View file

@ -1,4 +1,5 @@
"""Constants for Nuki.""" """Constants for Nuki."""
DOMAIN = "nuki" DOMAIN = "nuki"
# Attributes # Attributes

View file

@ -1,4 +1,5 @@
"""Constants for NZBGet.""" """Constants for NZBGet."""
DOMAIN = "nzbget" DOMAIN = "nzbget"
# Attributes # Attributes

View file

@ -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"

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -1,4 +1,5 @@
"""Helper for OwnTracks.""" """Helper for OwnTracks."""
try: try:
import nacl import nacl
except ImportError: except ImportError:

View file

@ -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"

View file

@ -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

View file

@ -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

View file

@ -1,2 +1,3 @@
"""Constants for Private BLE Device.""" """Constants for Private BLE Device."""
DOMAIN = "private_ble_device" DOMAIN = "private_ble_device"

View file

@ -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"

View file

@ -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"

View file

@ -1,4 +1,5 @@
"""Constants for random helper.""" """Constants for random helper."""
DOMAIN = "random" DOMAIN = "random"
DEFAULT_MIN = 0 DEFAULT_MIN = 0

View file

@ -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"

View file

@ -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

View file

@ -1,4 +1,3 @@
"""Constants for the Renson integration.""" """Constants for the Renson integration."""
DOMAIN = "renson" DOMAIN = "renson"

View file

@ -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

View file

@ -1,4 +1,5 @@
"""Constants for the Roku integration.""" """Constants for the Roku integration."""
DOMAIN = "roku" DOMAIN = "roku"
# Attributes # Attributes

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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"

View file

@ -1,6 +1,5 @@
"""Constants for the solax integration.""" """Constants for the solax integration."""
DOMAIN = "solax" DOMAIN = "solax"
MANUFACTURER = "SolaX Power" MANUFACTURER = "SolaX Power"

View file

@ -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"

View file

@ -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