Add empty line after module docstring [a-d] (#112697)

This commit is contained in:
Marc Mueller 2024-03-08 14:51:32 +01:00 committed by GitHub
parent 38adfbf1a3
commit ff3a801936
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
655 changed files with 655 additions and 0 deletions

View File

@ -1,4 +1,5 @@
"""Support for the Abode Security System.""" """Support for the Abode Security System."""
from __future__ import annotations from __future__ import annotations
from dataclasses import dataclass, field from dataclasses import dataclass, field

View File

@ -1,4 +1,5 @@
"""Support for Abode Security System alarm control panels.""" """Support for Abode Security System alarm control panels."""
from __future__ import annotations from __future__ import annotations
from jaraco.abode.devices.alarm import Alarm as AbodeAl from jaraco.abode.devices.alarm import Alarm as AbodeAl

View File

@ -1,4 +1,5 @@
"""Support for Abode Security System binary sensors.""" """Support for Abode Security System binary sensors."""
from __future__ import annotations from __future__ import annotations
from typing import cast from typing import cast

View File

@ -1,4 +1,5 @@
"""Support for Abode Security System cameras.""" """Support for Abode Security System cameras."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View File

@ -1,4 +1,5 @@
"""Config flow for the Abode Security System component.""" """Config flow for the Abode Security System component."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Mapping from collections.abc import Mapping

View File

@ -1,4 +1,5 @@
"""Support for Abode Security System covers.""" """Support for Abode Security System covers."""
from typing import Any from typing import Any
from jaraco.abode.devices.cover import Cover as AbodeCV from jaraco.abode.devices.cover import Cover as AbodeCV

View File

@ -1,4 +1,5 @@
"""Support for Abode Security System lights.""" """Support for Abode Security System lights."""
from __future__ import annotations from __future__ import annotations
from math import ceil from math import ceil

View File

@ -1,4 +1,5 @@
"""Support for the Abode Security System locks.""" """Support for the Abode Security System locks."""
from typing import Any from typing import Any
from jaraco.abode.devices.lock import Lock as AbodeLK from jaraco.abode.devices.lock import Lock as AbodeLK

View File

@ -1,4 +1,5 @@
"""Support for Abode Security System sensors.""" """Support for Abode Security System sensors."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View File

@ -1,4 +1,5 @@
"""Support for Abode Security System switches.""" """Support for Abode Security System switches."""
from __future__ import annotations from __future__ import annotations
from typing import Any, cast from typing import Any, cast

View File

@ -1,4 +1,5 @@
"""The AccuWeather component.""" """The AccuWeather component."""
from __future__ import annotations from __future__ import annotations
from asyncio import timeout from asyncio import timeout

View File

@ -1,4 +1,5 @@
"""Adds config flow for AccuWeather.""" """Adds config flow for AccuWeather."""
from __future__ import annotations from __future__ import annotations
from asyncio import timeout from asyncio import timeout

View File

@ -1,4 +1,5 @@
"""Constants for AccuWeather integration.""" """Constants for AccuWeather integration."""
from __future__ import annotations from __future__ import annotations
from typing import Final from typing import Final

View File

@ -1,4 +1,5 @@
"""Diagnostics support for AccuWeather.""" """Diagnostics support for AccuWeather."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Support for the AccuWeather service.""" """Support for the AccuWeather service."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View File

@ -1,4 +1,5 @@
"""Provide info to system health.""" """Provide info to system health."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Support for the AccuWeather service.""" """Support for the AccuWeather service."""
from __future__ import annotations from __future__ import annotations
from typing import cast from typing import cast

View File

@ -1,4 +1,5 @@
"""Use serial protocol of Acer projector to obtain state of the projector.""" """Use serial protocol of Acer projector to obtain state of the projector."""
from __future__ import annotations from __future__ import annotations
from typing import Final from typing import Final

View File

@ -1,4 +1,5 @@
"""Use serial protocol of Acer projector to obtain state of the projector.""" """Use serial protocol of Acer projector to obtain state of the projector."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""The Rollease Acmeda Automate integration.""" """The Rollease Acmeda Automate integration."""
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 @@
"""Base class for Acmeda Roller Blinds.""" """Base class for Acmeda Roller Blinds."""
from __future__ import annotations from __future__ import annotations
import aiopulse import aiopulse

View File

@ -1,4 +1,5 @@
"""Config flow for Rollease Acmeda Automate Pulse Hub.""" """Config flow for Rollease Acmeda Automate Pulse Hub."""
from __future__ import annotations from __future__ import annotations
from asyncio import timeout from asyncio import timeout

View File

@ -1,4 +1,5 @@
"""Support for Acmeda Roller Blinds.""" """Support for Acmeda Roller Blinds."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Errors for the Acmeda Pulse component.""" """Errors for the Acmeda Pulse component."""
from homeassistant.exceptions import HomeAssistantError from homeassistant.exceptions import HomeAssistantError

View File

@ -1,4 +1,5 @@
"""Helper functions for Acmeda Pulse.""" """Helper functions for Acmeda Pulse."""
from __future__ import annotations from __future__ import annotations
from aiopulse import Roller from aiopulse import Roller

View File

@ -1,4 +1,5 @@
"""Code to handle a Pulse Hub.""" """Code to handle a Pulse Hub."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View File

@ -1,4 +1,5 @@
"""Support for Acmeda Roller Blind Batteries.""" """Support for Acmeda Roller Blind Batteries."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.sensor import SensorDeviceClass, SensorEntity from homeassistant.components.sensor import SensorDeviceClass, SensorEntity

View File

@ -1,4 +1,5 @@
"""Support for Actiontec MI424WR (Verizon FIOS) routers.""" """Support for Actiontec MI424WR (Verizon FIOS) routers."""
from __future__ import annotations from __future__ import annotations
import re import re

View File

@ -1,4 +1,5 @@
"""Support for Actiontec MI424WR (Verizon FIOS) routers.""" """Support for Actiontec MI424WR (Verizon FIOS) routers."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Model definitions for Actiontec MI424WR (Verizon FIOS) routers.""" """Model definitions for Actiontec MI424WR (Verizon FIOS) routers."""
from dataclasses import dataclass from dataclasses import dataclass

View File

@ -1,4 +1,5 @@
"""The Adax integration.""" """The Adax integration."""
from __future__ import annotations from __future__ import annotations
from homeassistant.config_entries import ConfigEntry from homeassistant.config_entries import ConfigEntry

View File

@ -1,4 +1,5 @@
"""Support for Adax wifi-enabled home heaters.""" """Support for Adax wifi-enabled home heaters."""
from __future__ import annotations from __future__ import annotations
from typing import Any, cast from typing import Any, cast

View File

@ -1,4 +1,5 @@
"""Config flow for Adax integration.""" """Config flow for Adax integration."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Constants for the Adax integration.""" """Constants for the Adax integration."""
from typing import Final from typing import Final
ACCOUNT_ID: Final = "account_id" ACCOUNT_ID: Final = "account_id"

View File

@ -1,4 +1,5 @@
"""Support for AdGuard Home.""" """Support for AdGuard Home."""
from __future__ import annotations from __future__ import annotations
from adguardhome import AdGuardHome, AdGuardHomeConnectionError from adguardhome import AdGuardHome, AdGuardHomeConnectionError

View File

@ -1,4 +1,5 @@
"""Config flow to configure the AdGuard Home integration.""" """Config flow to configure the AdGuard Home integration."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""AdGuard Home base entity.""" """AdGuard Home base entity."""
from __future__ import annotations from __future__ import annotations
from adguardhome import AdGuardHome, AdGuardHomeError from adguardhome import AdGuardHome, AdGuardHomeError

View File

@ -1,4 +1,5 @@
"""Support for AdGuard Home sensors.""" """Support for AdGuard Home sensors."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable, Coroutine from collections.abc import Callable, Coroutine

View File

@ -1,4 +1,5 @@
"""Support for AdGuard Home switches.""" """Support for AdGuard Home switches."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable, Coroutine from collections.abc import Callable, Coroutine

View File

@ -1,4 +1,5 @@
"""Support for ADS binary sensors.""" """Support for ADS binary sensors."""
from __future__ import annotations from __future__ import annotations
import pyads import pyads

View File

@ -1,4 +1,5 @@
"""Support for ADS covers.""" """Support for ADS covers."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Support for ADS light sources.""" """Support for ADS light sources."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Support for ADS sensors.""" """Support for ADS sensors."""
from __future__ import annotations from __future__ import annotations
import voluptuous as vol import voluptuous as vol

View File

@ -1,4 +1,5 @@
"""Support for ADS switch platform.""" """Support for ADS switch platform."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Advantage Air climate integration.""" """Advantage Air climate integration."""
from datetime import timedelta from datetime import timedelta
import logging import logging

View File

@ -1,4 +1,5 @@
"""Binary Sensor platform for Advantage Air integration.""" """Binary Sensor platform for Advantage Air integration."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.binary_sensor import ( from homeassistant.components.binary_sensor import (

View File

@ -1,4 +1,5 @@
"""Climate platform for Advantage Air integration.""" """Climate platform for Advantage Air integration."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Config Flow for Advantage Air integration.""" """Config Flow for Advantage Air integration."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Cover platform for Advantage Air integration.""" """Cover platform for Advantage Air integration."""
from typing import Any from typing import Any
from homeassistant.components.cover import ( from homeassistant.components.cover import (

View File

@ -1,4 +1,5 @@
"""Provides diagnostics for Advantage Air.""" """Provides diagnostics for Advantage Air."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Advantage Air parent entity class.""" """Advantage Air parent entity class."""
from typing import Any from typing import Any
from advantage_air import ApiError from advantage_air import ApiError

View File

@ -1,4 +1,5 @@
"""Light platform for Advantage Air integration.""" """Light platform for Advantage Air integration."""
from typing import Any from typing import Any
from homeassistant.components.light import ATTR_BRIGHTNESS, ColorMode, LightEntity from homeassistant.components.light import ATTR_BRIGHTNESS, ColorMode, LightEntity

View File

@ -1,4 +1,5 @@
"""The Advantage Air integration models.""" """The Advantage Air integration models."""
from __future__ import annotations from __future__ import annotations
from dataclasses import dataclass from dataclasses import dataclass

View File

@ -1,4 +1,5 @@
"""Sensor platform for Advantage Air integration.""" """Sensor platform for Advantage Air integration."""
from __future__ import annotations from __future__ import annotations
from decimal import Decimal from decimal import Decimal

View File

@ -1,4 +1,5 @@
"""Switch platform for Advantage Air integration.""" """Switch platform for Advantage Air integration."""
from typing import Any from typing import Any
from homeassistant.components.switch import SwitchDeviceClass, SwitchEntity from homeassistant.components.switch import SwitchDeviceClass, SwitchEntity

View File

@ -1,4 +1,5 @@
"""Config flow for AEMET OpenData.""" """Config flow for AEMET OpenData."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Constant values for the AEMET OpenData component.""" """Constant values for the AEMET OpenData component."""
from __future__ import annotations from __future__ import annotations
from aemet_opendata.const import ( from aemet_opendata.const import (

View File

@ -1,4 +1,5 @@
"""Weather data coordinator for the AEMET OpenData service.""" """Weather data coordinator for the AEMET OpenData service."""
from __future__ import annotations from __future__ import annotations
from asyncio import timeout from asyncio import timeout

View File

@ -1,4 +1,5 @@
"""Support for the AEMET OpenData diagnostics.""" """Support for the AEMET OpenData diagnostics."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Entity classes for the AEMET OpenData integration.""" """Entity classes for the AEMET OpenData integration."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Support for the AEMET OpenData service.""" """Support for the AEMET OpenData service."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View File

@ -1,4 +1,5 @@
"""The AfterShip integration.""" """The AfterShip integration."""
from __future__ import annotations from __future__ import annotations
from pyaftership import AfterShip, AfterShipException from pyaftership import AfterShip, AfterShipException

View File

@ -1,4 +1,5 @@
"""Config flow for AfterShip integration.""" """Config flow for AfterShip integration."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Constants for the Aftership integration.""" """Constants for the Aftership integration."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View File

@ -1,4 +1,5 @@
"""Support for non-delivered packages recorded in AfterShip.""" """Support for non-delivered packages recorded in AfterShip."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Support for Agent.""" """Support for Agent."""
from agent import AgentError from agent import AgentError
from agent.a import Agent from agent.a import Agent

View File

@ -1,4 +1,5 @@
"""Support for Agent DVR Alarm Control Panels.""" """Support for Agent DVR Alarm Control Panels."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.alarm_control_panel import ( from homeassistant.components.alarm_control_panel import (

View File

@ -1,4 +1,5 @@
"""Support for Agent camera streaming.""" """Support for Agent camera streaming."""
from datetime import timedelta from datetime import timedelta
import logging import logging

View File

@ -1,4 +1,5 @@
"""Config flow to configure Agent devices.""" """Config flow to configure Agent devices."""
from contextlib import suppress from contextlib import suppress
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Component for handling Air Quality data for your location.""" """Component for handling Air Quality data for your location."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View File

@ -1,4 +1,5 @@
"""The Airly integration.""" """The Airly integration."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View File

@ -1,4 +1,5 @@
"""Adds config flow for Airly.""" """Adds config flow for Airly."""
from __future__ import annotations from __future__ import annotations
from asyncio import timeout from asyncio import timeout

View File

@ -1,4 +1,5 @@
"""Constants for Airly integration.""" """Constants for Airly integration."""
from __future__ import annotations from __future__ import annotations
from typing import Final from typing import Final

View File

@ -1,4 +1,5 @@
"""DataUpdateCoordinator for the Airly integration.""" """DataUpdateCoordinator for the Airly integration."""
from asyncio import timeout from asyncio import timeout
from datetime import timedelta from datetime import timedelta
import logging import logging

View File

@ -1,4 +1,5 @@
"""Diagnostics support for Airly.""" """Diagnostics support for Airly."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Support for the Airly sensor service.""" """Support for the Airly sensor service."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View File

@ -1,4 +1,5 @@
"""Provide info to system health.""" """Provide info to system health."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""DataUpdateCoordinator for the AirNow integration.""" """DataUpdateCoordinator for the AirNow integration."""
from datetime import timedelta from datetime import timedelta
import logging import logging
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Diagnostics support for AirNow.""" """Diagnostics support for AirNow."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Support for the AirNow sensor service.""" """Support for the AirNow sensor service."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View File

@ -1,4 +1,5 @@
"""The air-Q integration.""" """The air-Q integration."""
from __future__ import annotations from __future__ import annotations
from homeassistant.config_entries import ConfigEntry from homeassistant.config_entries import ConfigEntry

View File

@ -1,4 +1,5 @@
"""Config flow for air-Q integration.""" """Config flow for air-Q integration."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Constants for the air-Q integration.""" """Constants for the air-Q integration."""
from typing import Final from typing import Final
DOMAIN: Final = "airq" DOMAIN: Final = "airq"

View File

@ -1,4 +1,5 @@
"""The air-Q integration.""" """The air-Q integration."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View File

@ -1,4 +1,5 @@
"""Definition of air-Q sensor platform.""" """Definition of air-Q sensor platform."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View File

@ -1,4 +1,5 @@
"""The Airthings integration.""" """The Airthings integration."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View File

@ -1,4 +1,5 @@
"""Config flow for Airthings integration.""" """Config flow for Airthings integration."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Support for Airthings sensors.""" """Support for Airthings sensors."""
from __future__ import annotations from __future__ import annotations
from airthings import AirthingsDevice from airthings import AirthingsDevice

View File

@ -1,4 +1,5 @@
"""The Airthings BLE integration.""" """The Airthings BLE integration."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View File

@ -1,4 +1,5 @@
"""Support for airthings ble sensors.""" """Support for airthings ble sensors."""
from __future__ import annotations from __future__ import annotations
import dataclasses import dataclasses

View File

@ -1,4 +1,5 @@
"""The AirTouch4 integration.""" """The AirTouch4 integration."""
from airtouch4pyapi import AirTouch from airtouch4pyapi import AirTouch
from homeassistant.config_entries import ConfigEntry from homeassistant.config_entries import ConfigEntry

View File

@ -1,4 +1,5 @@
"""AirTouch 4 component to control of AirTouch 4 Climate Devices.""" """AirTouch 4 component to control of AirTouch 4 Climate Devices."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Config flow for AirTouch4.""" """Config flow for AirTouch4."""
from airtouch4pyapi import AirTouch, AirTouchStatus from airtouch4pyapi import AirTouch, AirTouchStatus
import voluptuous as vol import voluptuous as vol

View File

@ -1,4 +1,5 @@
"""The Airtouch 5 integration.""" """The Airtouch 5 integration."""
from __future__ import annotations from __future__ import annotations
from airtouch5py.airtouch5_simple_client import Airtouch5SimpleClient from airtouch5py.airtouch5_simple_client import Airtouch5SimpleClient

View File

@ -1,4 +1,5 @@
"""Config flow for Airtouch 5 integration.""" """Config flow for Airtouch 5 integration."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Base class for Airtouch5 entities.""" """Base class for Airtouch5 entities."""
from airtouch5py.airtouch5_client import Airtouch5ConnectionStateChange from airtouch5py.airtouch5_client import Airtouch5ConnectionStateChange
from airtouch5py.airtouch5_simple_client import Airtouch5SimpleClient from airtouch5py.airtouch5_simple_client import Airtouch5SimpleClient

View File

@ -1,4 +1,5 @@
"""The AirVisual component.""" """The AirVisual component."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View File

@ -1,4 +1,5 @@
"""Define a config flow manager for AirVisual.""" """Define a config flow manager for AirVisual."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View File

@ -1,4 +1,5 @@
"""Diagnostics support for AirVisual.""" """Diagnostics support for AirVisual."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Support for AirVisual air quality sensors.""" """Support for AirVisual air quality sensors."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.sensor import ( from homeassistant.components.sensor import (

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