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

pull/112739/head
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."""
from __future__ import annotations
import asyncio

View File

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

View File

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

View File

@ -1,4 +1,5 @@
"""Support for Daikin AC sensors."""
from __future__ import annotations
from collections.abc import Callable

View File

@ -1,4 +1,5 @@
"""Support for Daikin AirBase zones."""
from __future__ import annotations
from typing import Any

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,5 @@
"""Support for deCONZ binary sensors."""
from __future__ import annotations
from collections.abc import Callable

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,5 @@
"""Describe deCONZ logbook events."""
from __future__ import annotations
from collections.abc import Callable

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,5 @@
"""Data update coordinator for the Deluge integration."""
from __future__ import annotations
from datetime import timedelta

View File

@ -1,4 +1,5 @@
"""Support for monitoring the Deluge BitTorrent client API."""
from __future__ import annotations
from collections.abc import Callable

View File

@ -1,4 +1,5 @@
"""Support for setting the Deluge BitTorrent client in Pause."""
from __future__ import annotations
from typing import Any

View File

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

View File

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

View File

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

View File

@ -1,4 +1,5 @@
"""Demo platform that has two fake binary sensors."""
from __future__ import annotations
from homeassistant.components.binary_sensor import (

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,5 @@
"""Support for the demo image processing."""
from __future__ import annotations
from homeassistant.components.image_processing import (

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,5 @@
"""Code to handle a DenonAVR receiver."""
from __future__ import annotations
from collections.abc import Callable

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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