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."""
CAT_ENTITIES = "entities"
CAT_CONFIG_ENTRIES = "config_entries"
SUBCAT_ALL = "all"

View File

@ -1,4 +1,5 @@
"""Constants used by Advantage Air integration."""
DOMAIN = "advantage_air"
ADVANTAGE_AIR_RETRY = 10
ADVANTAGE_AIR_STATE_OPEN = "open"

View File

@ -1,4 +1,5 @@
"""Constants for agent_dvr component."""
DOMAIN = "agent_dvr"
SERVERS = "servers"
DEVICES = "devices"

View File

@ -1,6 +1,5 @@
"""Describe group states."""
from homeassistant.components.group import GroupIntegrationRegistry
from homeassistant.core import HomeAssistant, callback

View File

@ -1,4 +1,5 @@
"""Constants for the AirNow integration."""
ATTR_API_AQI = "AQI"
ATTR_API_AQI_LEVEL = "Category.Number"
ATTR_API_AQI_DESCRIPTION = "Category.Name"

View File

@ -1,6 +1,5 @@
"""Describe group states."""
from homeassistant.components.group import GroupIntegrationRegistry
from homeassistant.const import (
STATE_ALARM_ARMED_AWAY,

View File

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

View File

@ -4,7 +4,6 @@
# Current and forecast will create general, controlled load and feed in as required
# At the moment renewables in the only grid sensor.
from __future__ import annotations
from typing import Any

View File

@ -1,4 +1,5 @@
"""Constants for amcrest component."""
DOMAIN = "amcrest"
DATA_AMCREST = DOMAIN
CAMERAS = "cameras"

View File

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

View File

@ -1,4 +1,5 @@
"""Constants for the Anthem A/V Receivers integration."""
ANTHEMAV_UPDATE_SIGNAL = "anthemav_update"
DEFAULT_NAME = "Anthem AV"

View File

@ -1,4 +1,5 @@
"""Constants used for arcam."""
DOMAIN = "arcam_fmj"
SIGNAL_CLIENT_STARTED = "arcam.client_started"

View File

@ -1,4 +1,5 @@
"""Constants for the Assist pipeline integration."""
DOMAIN = "assist_pipeline"
DATA_CONFIG = f"{DOMAIN}.config"

View File

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

View File

@ -1,4 +1,5 @@
"""Constants for the Aussie Broadband integration."""
DEFAULT_UPDATE_INTERVAL = 30
DOMAIN = "aussie_broadband"
SERVICE_ID = "service_id"

View File

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

View File

@ -1,4 +1,5 @@
"""Constants for the Azure DevOps integration."""
DOMAIN = "azure_devops"
CONF_ORG = "organization"

View File

@ -1,4 +1,5 @@
"""Constants for the Balboa Spa Client integration."""
DOMAIN = "balboa"
CONF_SYNC_TIME = "sync_time"
DEFAULT_SYNC_TIME = False

View File

@ -1,6 +1,5 @@
"""Describe group states."""
from homeassistant.components.group import GroupIntegrationRegistry
from homeassistant.const import STATE_OFF, STATE_ON
from homeassistant.core import HomeAssistant, callback

View File

@ -1,3 +1,4 @@
"""Constants for the Monoprice Blackbird Matrix Switch component."""
DOMAIN = "blackbird"
SERVICE_SETALLZONES = "set_all_zones"

View File

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

View File

@ -1,4 +1,5 @@
"""Constants for the blueprint integration."""
BLUEPRINT_FOLDER = "blueprints"
CONF_BLUEPRINT = "blueprint"

View File

@ -1,4 +1,5 @@
"""Constants for the Bluesound HiFi wireless speakers and audio integrations component."""
DOMAIN = "bluesound"
SERVICE_CLEAR_TIMER = "clear_sleep_timer"
SERVICE_JOIN = "join"

View File

@ -1,6 +1,5 @@
"""Library for working with CalDAV api."""
import caldav
from homeassistant.core import HomeAssistant

View File

@ -1,4 +1,5 @@
"""Constants for the Channels component."""
DOMAIN = "channels"
SERVICE_SEEK_FORWARD = "seek_forward"
SERVICE_SEEK_BACKWARD = "seek_backward"

View File

@ -1,6 +1,5 @@
"""Describe group states."""
from homeassistant.components.group import GroupIntegrationRegistry
from homeassistant.const import STATE_OFF
from homeassistant.core import HomeAssistant, callback

View File

@ -1,5 +1,4 @@
"""Constants for the Co2signal integration."""
DOMAIN = "co2signal"
ATTRIBUTION = "Data provided by Electricity Maps"

View File

@ -1,4 +1,5 @@
"""Constants for the color_extractor component."""
ATTR_PATH = "color_extract_path"
ATTR_URL = "color_extract_url"

View File

@ -1,6 +1,5 @@
"""Comelit integration."""
from aiocomelit.const import BRIDGE
from homeassistant.config_entries import ConfigEntry

View File

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

View File

@ -1,6 +1,5 @@
"""Describe group states."""
from homeassistant.components.group import GroupIntegrationRegistry
from homeassistant.const import STATE_CLOSED, STATE_OPEN
from homeassistant.core import HomeAssistant, callback

View File

@ -1,6 +1,5 @@
"""Intents for the cover integration."""
from homeassistant.const import SERVICE_CLOSE_COVER, SERVICE_OPEN_COVER
from homeassistant.core import HomeAssistant
from homeassistant.helpers import intent

View File

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

View File

@ -1,3 +1,4 @@
"""Constants for the Demo component."""
DOMAIN = "demo"
SERVICE_RANDOMIZE_DEVICE_TRACKER_DATA = "randomize_device_tracker_data"

View File

@ -1,4 +1,5 @@
"""Constants for device automations."""
CONF_CHANGED_STATES = "changed_states"
CONF_IS_OFF = "is_off"
CONF_IS_ON = "is_on"

View File

@ -1,6 +1,5 @@
"""Describe group states."""
from homeassistant.components.group import GroupIntegrationRegistry
from homeassistant.const import STATE_HOME, STATE_NOT_HOME
from homeassistant.core import HomeAssistant, callback

View File

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

View File

@ -1,6 +1,5 @@
"""The DoorBird integration base entity."""
from homeassistant.helpers import device_registry as dr
from homeassistant.helpers.device_registry import DeviceInfo
from homeassistant.helpers.entity import Entity

View File

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

View File

@ -1,4 +1,5 @@
"""Constants for the emulated_roku component."""
DOMAIN = "emulated_roku"
CONF_SERVERS = "servers"

View File

@ -1,4 +1,5 @@
"""Constants for the Enigma2 platform."""
DOMAIN = "enigma2"
CONF_USE_CHANNEL_ICON = "use_channel_icon"

View File

@ -1,4 +1,5 @@
"""Support for (EMEA/EU-based) Honeywell TCC climate systems."""
DOMAIN = "evohome"
STORAGE_VER = 1

View File

@ -1,6 +1,5 @@
"""Describe group states."""
from homeassistant.components.group import GroupIntegrationRegistry
from homeassistant.const import STATE_OFF, STATE_ON
from homeassistant.core import HomeAssistant, callback

View File

@ -1,6 +1,5 @@
"""The fitbit component."""
from homeassistant.config_entries import ConfigEntry
from homeassistant.const import Platform
from homeassistant.core import HomeAssistant

View File

@ -1,4 +1,5 @@
"""Constants for the Frontier Silicon Media Player integration."""
DOMAIN = "frontier_silicon"
CONF_WEBFSAPI_URL = "webfsapi_url"

View File

@ -1,4 +1,5 @@
"""Constants for Google Travel Time."""
DOMAIN = "google_travel_time"
ATTRIBUTION = "Powered by Google"

View File

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

View File

@ -1,6 +1,5 @@
"""Describe group states."""
from homeassistant.components.group import GroupIntegrationRegistry
from homeassistant.const import STATE_OFF, STATE_ON
from homeassistant.core import HomeAssistant, callback

View File

@ -1,6 +1,5 @@
"""Constants for Hunter Douglas Powerview hub."""
from aiohttp.client_exceptions import ServerDisconnectedError
from aiopvapi.helpers.aiorequest import (
PvApiConnectionError,

View File

@ -1,6 +1,5 @@
"""Support for Hydrawise cloud."""
from pydrawise import legacy
import voluptuous as vol

View File

@ -1,6 +1,5 @@
"""Constants for the Idasen Desk integration."""
DOMAIN = "idasen_desk"
EXPECTED_SERVICE_UUID = "99fa0001-338a-1024-8a49-009c0215f78a"

View File

@ -1,6 +1,5 @@
"""Constants for the JustNimbus integration."""
from typing import Final
from homeassistant.const import Platform

View File

@ -1,4 +1,5 @@
"""Constants for Keymitt BLE."""
# Base component constants
DOMAIN = "keymitt_ble"
MANUFACTURER = "Naran/Keymitt"

View File

@ -1,4 +1,5 @@
"""Constants for the Kodi platform."""
DOMAIN = "kodi"
CONF_WS_PORT = "ws_port"

View File

@ -1,2 +1,3 @@
"""Constants for the Kostal Plenticore Solar Inverter integration."""
DOMAIN = "kostal_plenticore"

View File

@ -1,4 +1,5 @@
"""Constants for the Kuler Sky integration."""
DOMAIN = "kulersky"
DATA_ADDRESSES = "addresses"

View File

@ -1,6 +1,5 @@
"""Diagnostics support for La Marzocco."""
from __future__ import annotations
from typing import Any

View File

@ -1,6 +1,5 @@
"""LD2410 BLE integration binary sensor platform."""
from homeassistant.components.binary_sensor import (
BinarySensorDeviceClass,
BinarySensorEntity,

View File

@ -1,6 +1,5 @@
"""LD2410 BLE integration sensor platform."""
from homeassistant.components.sensor import (
SensorDeviceClass,
SensorEntity,

View File

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

View File

@ -1,4 +1,5 @@
"""Constants for the LG Soundbar integration."""
DOMAIN = "lg_soundbar"
DEFAULT_PORT = 9741

View File

@ -1,6 +1,5 @@
"""Describe group states."""
from homeassistant.components.group import GroupIntegrationRegistry
from homeassistant.const import STATE_OFF, STATE_ON
from homeassistant.core import HomeAssistant, callback

View File

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

View File

@ -1,4 +1,5 @@
"""Constants for the Local File Camera component."""
DOMAIN = "local_file"
SERVICE_UPDATE_FILE_PATH = "update_file_path"
DATA_LOCAL_FILE = "local_file_cameras"

View File

@ -1,6 +1,5 @@
"""Describe group states."""
from homeassistant.components.group import GroupIntegrationRegistry
from homeassistant.const import STATE_LOCKED, STATE_UNLOCKED
from homeassistant.core import HomeAssistant, callback

View File

@ -1,5 +1,4 @@
"""Constants for the loqed integration."""
DOMAIN = "loqed"
CONF_CLOUDHOOK_URL = "cloudhook_url"

View File

@ -1,4 +1,5 @@
"""Constants for the Matrix integration."""
DOMAIN = "matrix"
SERVICE_SEND_MESSAGE = "send_message"

View File

@ -1,6 +1,5 @@
"""Describe group states."""
from homeassistant.components.group import GroupIntegrationRegistry
from homeassistant.const import (
STATE_IDLE,

View File

@ -1,6 +1,5 @@
"""Constants for the melnor integration."""
DOMAIN = "melnor"
DEFAULT_NAME = "Melnor Bluetooth"

View File

@ -1,6 +1,5 @@
"""API for the Minecraft Server integration."""
from dataclasses import dataclass
from enum import StrEnum
import logging

View File

@ -1,4 +1,5 @@
"""Constants for the myStrom integration."""
DOMAIN = "mystrom"
DEFAULT_NAME = "myStrom"
MANUFACTURER = "myStrom"

View File

@ -1,6 +1,5 @@
"""Number entity for myUplink."""
from aiohttp import ClientError
from myuplink import DevicePoint

View File

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

View File

@ -1,4 +1,5 @@
"""Constants for the NFAndroidTV integration."""
DOMAIN: str = "nfandroidtv"
CONF_DURATION = "duration"
CONF_FONTSIZE = "fontsize"

View File

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

View File

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

View File

@ -1,4 +1,5 @@
"""Constants for the onboarding component."""
DOMAIN = "onboarding"
STEP_USER = "user"
STEP_CORE_CONFIG = "core_config"

View File

@ -1,6 +1,5 @@
"""Constants for the Oncue integration."""
import aiohttp
from aiooncue import ServiceFailedException

View File

@ -1,4 +1,5 @@
"""Constants for the Openhome component."""
DOMAIN = "openhome"
SERVICE_INVOKE_PIN = "invoke_pin"
ATTR_PIN_INDEX = "pin"

View File

@ -1,4 +1,5 @@
"""Constants for the OVO Energy integration."""
DOMAIN = "ovo_energy"
DATA_CLIENT = "ovo_client"

View File

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

View File

@ -1,4 +1,5 @@
"""Constants for the Panasonic Viera integration."""
DOMAIN = "panasonic_viera"
DEVICE_MANUFACTURER = "Panasonic"

View File

@ -1,6 +1,5 @@
"""Describe group states."""
from homeassistant.components.group import GroupIntegrationRegistry
from homeassistant.const import STATE_HOME, STATE_NOT_HOME
from homeassistant.core import HomeAssistant, callback

View File

@ -1,6 +1,5 @@
"""Describe group states."""
from homeassistant.components.group import GroupIntegrationRegistry
from homeassistant.const import STATE_OK, STATE_PROBLEM
from homeassistant.core import HomeAssistant, callback

View File

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

View File

@ -1,4 +1,5 @@
"""Constants for PlayStation 4."""
ATTR_MEDIA_IMAGE_URL = "media_image_url"
CONFIG_ENTRY_VERSION = 3
DEFAULT_NAME = "PlayStation 4"

View File

@ -1,3 +1,4 @@
"""Constants for the Rainforest RAVEn integration."""
DEFAULT_NAME = "Rainforest RAVEn"
DOMAIN = "rainforest_raven"

View File

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

View File

@ -1,6 +1,5 @@
"""Constants for history."""
STATE_KEY = "state"
LAST_CHANGED_KEY = "last_changed"

View File

@ -1,6 +1,5 @@
"""Describe group states."""
from homeassistant.components.group import GroupIntegrationRegistry
from homeassistant.const import STATE_OFF, STATE_ON
from homeassistant.core import HomeAssistant, callback

View File

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

View File

@ -1,6 +1,5 @@
"""Provides helpers for RFXtrx."""
from RFXtrx import RFXtrxDevice, get_device
from homeassistant.core import HomeAssistant, callback

View File

@ -1,4 +1,5 @@
"""Constants for the Roku integration."""
DOMAIN = "roku"
# 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/.
"""
from typing import Any
from romy import RomyRobot

View File

@ -1,6 +1,5 @@
"""Describe group states."""
from homeassistant.components.group import GroupIntegrationRegistry
from homeassistant.core import HomeAssistant, callback

View File

@ -1,6 +1,5 @@
"""Constants for SlimProto Player integration."""
DOMAIN = "slimproto"
DEFAULT_NAME = "SlimProto Player"

View File

@ -1,4 +1,5 @@
"""SNMP constants."""
CONF_ACCEPT_ERRORS = "accept_errors"
CONF_AUTH_KEY = "auth_key"
CONF_AUTH_PROTOCOL = "auth_protocol"

View File

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

View File

@ -1,4 +1,5 @@
"""Constants for the Songpal component."""
DOMAIN = "songpal"
SET_SOUND_SETTING = "set_sound_setting"

View File

@ -1,4 +1,5 @@
"""Constants for the Bose SoundTouch component."""
DOMAIN = "soundtouch"
SERVICE_PLAY_EVERYWHERE = "play_everywhere"
SERVICE_CREATE_ZONE = "create_zone"

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