Add empty line after module docstring [d-f] (#112698)

This commit is contained in:
Marc Mueller 2024-03-08 14:15:26 +01:00 committed by GitHub
parent d7e7dc96cc
commit 0e3945ca6c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
657 changed files with 657 additions and 0 deletions

View file

@ -1,4 +1,5 @@
"""Platform for the Daikin AC.""" """Platform for the Daikin AC."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""Support for the Daikin HVAC.""" """Support for the Daikin HVAC."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Config flow for the Daikin platform.""" """Config flow for the Daikin platform."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""Support for Daikin AC sensors.""" """Support for Daikin AC 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 Daikin AirBase zones.""" """Support for Daikin AirBase zones."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Support for Danfoss Air HRV.""" """Support for Danfoss Air HRV."""
from datetime import timedelta from datetime import timedelta
import logging import logging

View file

@ -1,4 +1,5 @@
"""Support for the for Danfoss Air HRV binary sensors.""" """Support for the for Danfoss Air HRV binary sensors."""
from __future__ import annotations from __future__ import annotations
from pydanfossair.commands import ReadCommand from pydanfossair.commands import ReadCommand

View file

@ -1,4 +1,5 @@
"""Support for the for Danfoss Air HRV sensors.""" """Support for the for Danfoss Air HRV sensors."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Support for the for Danfoss Air HRV sswitches.""" """Support for the for Danfoss Air HRV sswitches."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Component to allow setting date as platforms.""" """Component to allow setting date as platforms."""
from __future__ import annotations from __future__ import annotations
from datetime import date, timedelta from datetime import date, timedelta

View file

@ -1,4 +1,5 @@
"""Component to allow setting date/time as platforms.""" """Component to allow setting date/time as platforms."""
from __future__ import annotations from __future__ import annotations
from datetime import UTC, datetime, timedelta from datetime import UTC, datetime, timedelta

View file

@ -1,4 +1,5 @@
"""Support for DD-WRT routers.""" """Support for DD-WRT routers."""
from __future__ import annotations from __future__ import annotations
from http import HTTPStatus from http import HTTPStatus

View file

@ -1,4 +1,5 @@
"""The Remote Python Debugger integration.""" """The Remote Python Debugger integration."""
from __future__ import annotations from __future__ import annotations
from asyncio import Event, get_running_loop from asyncio import Event, get_running_loop

View file

@ -1,4 +1,5 @@
"""Support for deCONZ alarm control panel devices.""" """Support for deCONZ alarm control panel devices."""
from __future__ import annotations from __future__ import annotations
from pydeconz.models.alarm_system import AlarmSystemArmAction from pydeconz.models.alarm_system import AlarmSystemArmAction

View file

@ -1,4 +1,5 @@
"""Support for deCONZ binary sensors.""" """Support for deCONZ binary 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 deCONZ climate devices.""" """Support for deCONZ climate devices."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

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

View file

@ -1,4 +1,5 @@
"""Provides device automations for deconz events.""" """Provides device automations for deconz events."""
from __future__ import annotations from __future__ import annotations
import voluptuous as vol import voluptuous as vol

View file

@ -1,4 +1,5 @@
"""Diagnostics support for deCONZ.""" """Diagnostics support for deCONZ."""
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 deCONZ component.""" """Errors for the deCONZ component."""
from homeassistant.exceptions import HomeAssistantError from homeassistant.exceptions import HomeAssistantError

View file

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

View file

@ -1,4 +1,5 @@
"""Support for deCONZ lights.""" """Support for deCONZ lights."""
from __future__ import annotations from __future__ import annotations
from typing import Any, TypedDict, TypeVar from typing import Any, TypedDict, TypeVar

View file

@ -1,4 +1,5 @@
"""Describe deCONZ logbook events.""" """Describe deCONZ logbook events."""
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 deCONZ siren.""" """Support for deCONZ siren."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Utilities for deCONZ integration.""" """Utilities for deCONZ integration."""
from __future__ import annotations from __future__ import annotations

View file

@ -1,4 +1,5 @@
"""Support for Decora dimmers.""" """Support for Decora dimmers."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View file

@ -1,4 +1,5 @@
"""Interfaces with the myLeviton API for Decora Smart WiFi products.""" """Interfaces with the myLeviton API for Decora Smart WiFi products."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Component providing default configuration for new users.""" """Component providing default configuration for new users."""
from homeassistant.core import HomeAssistant from homeassistant.core import HomeAssistant
from homeassistant.helpers import config_validation as cv from homeassistant.helpers import config_validation as cv
from homeassistant.helpers.typing import ConfigType from homeassistant.helpers.typing import ConfigType

View file

@ -1,4 +1,5 @@
"""Support for De Lijn (Flemish public transport) information.""" """Support for De Lijn (Flemish public transport) information."""
from __future__ import annotations from __future__ import annotations
from datetime import datetime from datetime import datetime

View file

@ -1,4 +1,5 @@
"""The Deluge integration.""" """The Deluge integration."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Config flow for the Deluge integration.""" """Config flow for the Deluge integration."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Mapping from collections.abc import Mapping

View file

@ -1,4 +1,5 @@
"""Data update coordinator for the Deluge integration.""" """Data update coordinator for the Deluge 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 monitoring the Deluge BitTorrent client API.""" """Support for monitoring the Deluge BitTorrent client API."""
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 setting the Deluge BitTorrent client in Pause.""" """Support for setting the Deluge BitTorrent client in Pause."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Set up the demo environment that mimics interaction with devices.""" """Set up the demo environment that mimics interaction with devices."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""Demo platform that offers fake air quality data.""" """Demo platform that offers fake air quality data."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.air_quality import AirQualityEntity from homeassistant.components.air_quality import AirQualityEntity

View file

@ -1,4 +1,5 @@
"""Demo platform that has two fake alarm control panels.""" """Demo platform that has two fake alarm control panels."""
from __future__ import annotations from __future__ import annotations
import datetime import datetime

View file

@ -1,4 +1,5 @@
"""Demo platform that has two fake binary sensors.""" """Demo platform that has two fake binary sensors."""
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 @@
"""Demo platform that offers a fake button entity.""" """Demo platform that offers a fake button entity."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components import persistent_notification from homeassistant.components import persistent_notification

View file

@ -1,4 +1,5 @@
"""Demo platform that has two fake calendars.""" """Demo platform that has two fake calendars."""
from __future__ import annotations from __future__ import annotations
import datetime import datetime

View file

@ -1,4 +1,5 @@
"""Demo camera platform that has a fake camera.""" """Demo camera platform that has a fake camera."""
from __future__ import annotations from __future__ import annotations
from pathlib import Path from pathlib import Path

View file

@ -1,4 +1,5 @@
"""Demo platform that offers a fake climate device.""" """Demo platform that offers a fake climate device."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Config flow to configure demo component.""" """Config flow to configure demo component."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Demo platform for the cover component.""" """Demo platform for the cover component."""
from __future__ import annotations from __future__ import annotations
from datetime import datetime from datetime import datetime

View file

@ -1,4 +1,5 @@
"""Demo platform that offers a fake Date entity.""" """Demo platform that offers a fake Date entity."""
from __future__ import annotations from __future__ import annotations
from datetime import date from datetime import date

View file

@ -1,4 +1,5 @@
"""Demo platform that offers a fake date/time entity.""" """Demo platform that offers a fake date/time entity."""
from __future__ import annotations from __future__ import annotations
from datetime import UTC, datetime from datetime import UTC, datetime

View file

@ -1,4 +1,5 @@
"""Demo platform for the Device tracker component.""" """Demo platform for the Device tracker component."""
from __future__ import annotations from __future__ import annotations
import random import random

View file

@ -1,4 +1,5 @@
"""Demo platform that offers a fake event entity.""" """Demo platform that offers a fake event entity."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.event import EventDeviceClass, EventEntity from homeassistant.components.event import EventDeviceClass, EventEntity

View file

@ -1,4 +1,5 @@
"""Demo fan platform that has a fake fan.""" """Demo fan platform that has a fake fan."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Demo platform for the geolocation component.""" """Demo platform for the geolocation component."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View file

@ -1,4 +1,5 @@
"""Demo platform that offers a fake humidifier device.""" """Demo platform that offers a fake humidifier device."""
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 demo image processing.""" """Support for the demo image processing."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.image_processing import ( from homeassistant.components.image_processing import (

View file

@ -1,4 +1,5 @@
"""Demo light platform that implements lights.""" """Demo light platform that implements lights."""
from __future__ import annotations from __future__ import annotations
import random import random

View file

@ -1,4 +1,5 @@
"""Demo lock platform that implements locks.""" """Demo lock platform that implements locks."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""Support for a demo mailbox.""" """Support for a demo mailbox."""
from __future__ import annotations from __future__ import annotations
from hashlib import sha1 from hashlib import sha1

View file

@ -1,4 +1,5 @@
"""Demo implementation of the media player.""" """Demo implementation of the media player."""
from __future__ import annotations from __future__ import annotations
from datetime import datetime from datetime import datetime

View file

@ -1,4 +1,5 @@
"""Demo notification service.""" """Demo notification service."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Demo platform that offers a fake Number entity.""" """Demo platform that offers a fake Number entity."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.number import NumberDeviceClass, NumberEntity, NumberMode from homeassistant.components.number import NumberDeviceClass, NumberEntity, NumberMode

View file

@ -1,4 +1,5 @@
"""Demo platform that has two fake remotes.""" """Demo platform that has two fake remotes."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Iterable from collections.abc import Iterable

View file

@ -1,4 +1,5 @@
"""Demo platform that offers a fake select entity.""" """Demo platform that offers a fake select entity."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.select import SelectEntity from homeassistant.components.select import SelectEntity

View file

@ -1,4 +1,5 @@
"""Demo platform that has a couple of fake sensors.""" """Demo platform that has a couple of fake sensors."""
from __future__ import annotations from __future__ import annotations
from datetime import datetime, timedelta from datetime import datetime, timedelta

View file

@ -1,4 +1,5 @@
"""Demo platform that offers a fake siren device.""" """Demo platform that offers a fake siren device."""
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 demo for speech-to-text service.""" """Support for the demo for speech-to-text service."""
from __future__ import annotations from __future__ import annotations
from collections.abc import AsyncIterable from collections.abc import AsyncIterable

View file

@ -1,4 +1,5 @@
"""Demo platform that has two fake switches.""" """Demo platform that has two fake switches."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Demo platform that offers a fake text entity.""" """Demo platform that offers a fake text entity."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.text import TextEntity, TextMode from homeassistant.components.text import TextEntity, TextMode

View file

@ -1,4 +1,5 @@
"""Demo platform that offers a fake time entity.""" """Demo platform that offers a fake time entity."""
from __future__ import annotations from __future__ import annotations
from datetime import time from datetime import time

View file

@ -1,4 +1,5 @@
"""Support for the demo for text-to-speech service.""" """Support for the demo for text-to-speech service."""
from __future__ import annotations from __future__ import annotations
import os import os

View file

@ -1,4 +1,5 @@
"""Demo platform that offers fake update entities.""" """Demo platform that offers fake update entities."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""Demo platform for the vacuum component.""" """Demo platform for the vacuum component."""
from __future__ import annotations from __future__ import annotations
from datetime import datetime from datetime import datetime

View file

@ -1,4 +1,5 @@
"""Demo platform that offers a fake water heater device.""" """Demo platform that offers a fake water heater device."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Demo platform that offers fake meteorological data.""" """Demo platform that offers fake meteorological data."""
from __future__ import annotations from __future__ import annotations
from datetime import datetime, timedelta from datetime import datetime, timedelta

View file

@ -1,4 +1,5 @@
"""Support for Denon Network Receivers.""" """Support for Denon Network Receivers."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Config flow to configure Denon AVR receivers using their HTTP interface.""" """Config flow to configure Denon AVR receivers using their HTTP interface."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Support for Denon AVR receivers using their HTTP interface.""" """Support for Denon AVR receivers using their HTTP interface."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Awaitable, Callable, Coroutine from collections.abc import Awaitable, Callable, Coroutine

View file

@ -1,4 +1,5 @@
"""Code to handle a DenonAVR receiver.""" """Code to handle a DenonAVR receiver."""
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 Derivative integration.""" """The Derivative 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 Derivative integration.""" """Config flow for Derivative integration."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Mapping from collections.abc import Mapping

View file

@ -1,4 +1,5 @@
"""Numeric derivative of data coming from a source sensor over time.""" """Numeric derivative of data coming from a source sensor over time."""
from __future__ import annotations from __future__ import annotations
from datetime import datetime, timedelta from datetime import datetime, timedelta

View file

@ -1,4 +1,5 @@
"""The Devialet integration.""" """The Devialet integration."""
from __future__ import annotations from __future__ import annotations
from devialet import DevialetApi from devialet import DevialetApi

View file

@ -1,4 +1,5 @@
"""Support for Devialet Phantom speakers.""" """Support for Devialet Phantom speakers."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

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

View file

@ -1,4 +1,5 @@
"""Class representing a Devialet update coordinator.""" """Class representing a Devialet update coordinator."""
from datetime import timedelta from datetime import timedelta
import logging import logging

View file

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

View file

@ -1,4 +1,5 @@
"""Support for Devialet speakers.""" """Support for Devialet speakers."""
from __future__ import annotations from __future__ import annotations
from devialet.const import NORMAL_INPUTS from devialet.const import NORMAL_INPUTS

View file

@ -1,4 +1,5 @@
"""Helpers for device automations.""" """Helpers for device automations."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""Device action validator.""" """Device action validator."""
from __future__ import annotations from __future__ import annotations
from typing import Any, Protocol from typing import Any, Protocol

View file

@ -1,4 +1,5 @@
"""Validate device conditions.""" """Validate device conditions."""
from __future__ import annotations from __future__ import annotations
from typing import TYPE_CHECKING, Any, Protocol from typing import TYPE_CHECKING, Any, Protocol

View file

@ -1,4 +1,5 @@
"""Device automation helpers for entity.""" """Device automation helpers for entity."""
from __future__ import annotations from __future__ import annotations
import voluptuous as vol import voluptuous as vol

View file

@ -1,4 +1,5 @@
"""Device automation exceptions.""" """Device automation exceptions."""
from homeassistant.exceptions import HomeAssistantError from homeassistant.exceptions import HomeAssistantError

View file

@ -1,4 +1,5 @@
"""Helpers for device oriented automations.""" """Helpers for device oriented automations."""
from __future__ import annotations from __future__ import annotations
from typing import cast from typing import cast

View file

@ -1,4 +1,5 @@
"""Device automation helpers for toggle entity.""" """Device automation helpers for toggle entity."""
from __future__ import annotations from __future__ import annotations
import voluptuous as vol import voluptuous as vol

View file

@ -1,4 +1,5 @@
"""Offer device oriented automation.""" """Offer device oriented automation."""
from __future__ import annotations from __future__ import annotations
from typing import Any, Protocol from typing import Any, Protocol

View file

@ -1,4 +1,5 @@
"""Support to turn on lights based on the states.""" """Support to turn on lights based on the states."""
from datetime import timedelta from datetime import timedelta
import logging import logging

View file

@ -1,4 +1,5 @@
"""Provide functionality to keep track of devices.""" """Provide functionality to keep track of devices."""
from __future__ import annotations from __future__ import annotations
from functools import partial from functools import partial

View file

@ -1,4 +1,5 @@
"""Code to set up a device tracker platform using a config entry.""" """Code to set up a device tracker platform using a config entry."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""Device tracker constants.""" """Device tracker constants."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View file

@ -1,4 +1,5 @@
"""Provides device automations for Device tracker.""" """Provides device automations for Device tracker."""
from __future__ import annotations from __future__ import annotations
import voluptuous as vol import voluptuous as vol

View file

@ -1,4 +1,5 @@
"""Provides device automations for Device Tracker.""" """Provides device automations for Device Tracker."""
from __future__ import annotations from __future__ import annotations
from operator import attrgetter from operator import attrgetter

View file

@ -1,4 +1,5 @@
"""Legacy device tracker classes.""" """Legacy device tracker classes."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""The devolo_home_control integration.""" """The devolo_home_control integration."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

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