Add empty line after module docstring [w-z] (#112706)

This commit is contained in:
Marc Mueller 2024-03-08 16:35:45 +01:00 committed by GitHub
parent 062cc4bfce
commit c773d57d39
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
392 changed files with 392 additions and 0 deletions

View file

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

View file

@ -1,4 +1,5 @@
"""Support for sending Wake-On-LAN magic packets.""" """Support for sending Wake-On-LAN magic packets."""
from functools import partial from functools import partial
import logging import logging

View file

@ -1,4 +1,5 @@
"""Support for wake on lan.""" """Support for wake on lan."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Provide functionality to wake word.""" """Provide functionality to wake word."""
from __future__ import annotations from __future__ import annotations
from abc import abstractmethod from abc import abstractmethod

View file

@ -1,4 +1,5 @@
"""Wake word models.""" """Wake word models."""
from dataclasses import dataclass from dataclasses import dataclass

View file

@ -1,4 +1,5 @@
"""The Wallbox integration.""" """The Wallbox integration."""
from __future__ import annotations from __future__ import annotations
from wallbox import Wallbox from wallbox import Wallbox

View file

@ -1,4 +1,5 @@
"""Config flow for Wallbox integration.""" """Config flow for Wallbox 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 @@
"""Constants for the Wallbox integration.""" """Constants for the Wallbox integration."""
from enum import StrEnum from enum import StrEnum
DOMAIN = "wallbox" DOMAIN = "wallbox"

View file

@ -1,4 +1,5 @@
"""DataUpdateCoordinator for the wallbox integration.""" """DataUpdateCoordinator for the wallbox integration."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View file

@ -1,4 +1,5 @@
"""Base entity for the wallbox integration.""" """Base entity for the wallbox integration."""
from __future__ import annotations from __future__ import annotations
from homeassistant.helpers.device_registry import DeviceInfo from homeassistant.helpers.device_registry import DeviceInfo

View file

@ -1,4 +1,5 @@
"""Home Assistant component for accessing the Wallbox Portal API. The lock component creates a lock entity.""" """Home Assistant component for accessing the Wallbox Portal API. The lock component creates a lock entity."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -2,6 +2,7 @@
The number component allows control of charging current. The number component allows control of charging current.
""" """
from __future__ import annotations from __future__ import annotations
from collections.abc import Awaitable, Callable from collections.abc import Awaitable, Callable

View file

@ -1,4 +1,5 @@
"""Home Assistant component for accessing the Wallbox Portal API. The sensor component creates multiple sensors regarding wallbox performance.""" """Home Assistant component for accessing the Wallbox Portal API. The sensor component creates multiple sensors regarding wallbox performance."""
from __future__ import annotations from __future__ import annotations
from dataclasses import dataclass from dataclasses import dataclass

View file

@ -1,4 +1,5 @@
"""Home Assistant component for accessing the Wallbox Portal API. The switch component creates a switch entity.""" """Home Assistant component for accessing the Wallbox Portal API. The switch component creates a switch entity."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""The World Air Quality Index (WAQI) integration.""" """The World Air Quality Index (WAQI) integration."""
from __future__ import annotations from __future__ import annotations
from aiowaqi import WAQIClient from aiowaqi import WAQIClient

View file

@ -1,4 +1,5 @@
"""Config flow for World Air Quality Index (WAQI) integration.""" """Config flow for World Air Quality Index (WAQI) integration."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Coordinator for the World Air Quality Index (WAQI) integration.""" """Coordinator for the World Air Quality Index (WAQI) 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 the World Air Quality Index service.""" """Support for the World Air Quality Index service."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable, Mapping from collections.abc import Callable, Mapping

View file

@ -1,4 +1,5 @@
"""Support for water heater devices.""" """Support for water heater devices."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Mapping from collections.abc import Mapping

View file

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

View file

@ -1,4 +1,5 @@
"""Reproduce an Water heater state.""" """Reproduce an Water heater state."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""Helper to test significant Water Heater state changes.""" """Helper to test significant Water Heater state changes."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Support for Waterfurnaces.""" """Support for Waterfurnaces."""
from datetime import timedelta from datetime import timedelta
import logging import logging
import threading import threading

View file

@ -1,4 +1,5 @@
"""Support for Waterfurnace.""" """Support for Waterfurnace."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.sensor import ( from homeassistant.components.sensor import (

View file

@ -1,4 +1,5 @@
"""The WattTime integration.""" """The WattTime 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 WattTime integration.""" """Config flow for WattTime 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 @@
"""Diagnostics support for WattTime.""" """Diagnostics support for WattTime."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Support for WattTime sensors.""" """Support for WattTime sensors."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Mapping from collections.abc import Mapping

View file

@ -1,4 +1,5 @@
"""Config flow for Waze Travel Time integration.""" """Config flow for Waze Travel Time integration."""
from __future__ import annotations from __future__ import annotations
import voluptuous as vol import voluptuous as vol

View file

@ -1,4 +1,5 @@
"""Constants for waze_travel_time.""" """Constants for waze_travel_time."""
from __future__ import annotations from __future__ import annotations
DOMAIN = "waze_travel_time" DOMAIN = "waze_travel_time"

View file

@ -1,4 +1,5 @@
"""Support for Waze travel time sensor.""" """Support for Waze travel time sensor."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""Weather component that handles meteorological data for your location.""" """Weather component that handles meteorological data for your location."""
from __future__ import annotations from __future__ import annotations
import abc import abc

View file

@ -1,4 +1,5 @@
"""Constants for weather.""" """Constants for weather."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View file

@ -1,4 +1,5 @@
"""Intents for the weather integration.""" """Intents for the weather integration."""
from __future__ import annotations from __future__ import annotations
import voluptuous as vol import voluptuous as vol

View file

@ -1,4 +1,5 @@
"""Helper to test significant Weather state changes.""" """Helper to test significant Weather state changes."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""The weather websocket API.""" """The weather websocket API."""
from __future__ import annotations from __future__ import annotations
from typing import Any, Literal from typing import Any, Literal

View file

@ -1,4 +1,5 @@
"""Get data from Smart Weather station via UDP.""" """Get data from Smart Weather station via UDP."""
from __future__ import annotations from __future__ import annotations
from pyweatherflowudp.client import EVENT_DEVICE_DISCOVERED, WeatherFlowListener from pyweatherflowudp.client import EVENT_DEVICE_DISCOVERED, WeatherFlowListener

View file

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

View file

@ -1,4 +1,5 @@
"""Sensors for the weatherflow integration.""" """Sensors for the weatherflow integration."""
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 WeatherflowCloud integration.""" """The WeatherflowCloud 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 WeatherflowCloud integration.""" """Config flow for WeatherflowCloud 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 coordinator for WeatherFlow Cloud Data.""" """Data coordinator for WeatherFlow Cloud Data."""
from datetime import timedelta from datetime import timedelta
from aiohttp import ClientResponseError from aiohttp import ClientResponseError

View file

@ -1,4 +1,5 @@
"""Support for WeatherFlow Forecast weather service.""" """Support for WeatherFlow Forecast weather service."""
from __future__ import annotations from __future__ import annotations
from weatherflow4py.models.unified import WeatherFlowData from weatherflow4py.models.unified import WeatherFlowData

View file

@ -1,4 +1,5 @@
"""Integration for Apple's WeatherKit API.""" """Integration for Apple's WeatherKit API."""
from __future__ import annotations from __future__ import annotations
from apple_weatherkit.client import ( from apple_weatherkit.client import (

View file

@ -1,4 +1,5 @@
"""Adds config flow for WeatherKit.""" """Adds config flow for WeatherKit."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Mapping from collections.abc import Mapping

View file

@ -1,4 +1,5 @@
"""Constants for WeatherKit.""" """Constants for WeatherKit."""
from logging import Logger, getLogger from logging import Logger, getLogger
LOGGER: Logger = getLogger(__package__) LOGGER: Logger = getLogger(__package__)

View file

@ -1,4 +1,5 @@
"""DataUpdateCoordinator for WeatherKit integration.""" """DataUpdateCoordinator for WeatherKit integration."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View file

@ -1,4 +1,5 @@
"""Webhooks for Home Assistant.""" """Webhooks for Home Assistant."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Awaitable, Callable, Iterable from collections.abc import Awaitable, Callable, Iterable

View file

@ -1,4 +1,5 @@
"""Offer webhook triggered automation rules.""" """Offer webhook triggered automation rules."""
from __future__ import annotations from __future__ import annotations
from dataclasses import dataclass from dataclasses import dataclass

View file

@ -1,4 +1,5 @@
"""Config flow for Webmin.""" """Config flow for Webmin."""
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 Webmin integration.""" """Data update coordinator for the Webmin 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 Webmin sensors.""" """Support for Webmin sensors."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.sensor import ( from homeassistant.components.sensor import (

View file

@ -1,4 +1,5 @@
"""Support for LG webOS Smart TV.""" """Support for LG webOS Smart TV."""
from __future__ import annotations from __future__ import annotations
from contextlib import suppress from contextlib import suppress

View file

@ -1,4 +1,5 @@
"""Config flow to configure webostv component.""" """Config flow to configure webostv 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 @@
"""Provides device automations for control of LG webOS Smart TV.""" """Provides device automations for control of LG webOS Smart TV."""
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 LG webOS Smart TV.""" """Diagnostics support for LG webOS Smart TV."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Helper functions for webOS Smart TV.""" """Helper functions for webOS Smart TV."""
from __future__ import annotations from __future__ import annotations
from aiowebostv import WebOsClient from aiowebostv import WebOsClient

View file

@ -1,4 +1,5 @@
"""Support for interface with an LG webOS Smart TV.""" """Support for interface with an LG webOS Smart TV."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""Support for LG WebOS TV notification service.""" """Support for LG WebOS TV notification service."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""webOS Smart TV trigger dispatcher.""" """webOS Smart TV trigger dispatcher."""
from __future__ import annotations from __future__ import annotations
from typing import cast from typing import cast

View file

@ -1,4 +1,5 @@
"""webOS Smart TV device turn on trigger.""" """webOS Smart TV device turn on trigger."""
from __future__ import annotations from __future__ import annotations
import voluptuous as vol import voluptuous as vol

View file

@ -1,4 +1,5 @@
"""WebSocket based API for Home Assistant.""" """WebSocket based API for Home Assistant."""
from __future__ import annotations from __future__ import annotations
from typing import Final, cast from typing import Final, cast

View file

@ -1,4 +1,5 @@
"""Handle the auth of a connection.""" """Handle the auth of a connection."""
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 @@
"""Commands part of Websocket API.""" """Commands part of Websocket 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 @@
"""Connection session.""" """Connection session."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable, Hashable from collections.abc import Callable, Hashable

View file

@ -1,4 +1,5 @@
"""Websocket constants.""" """Websocket constants."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Awaitable, Callable from collections.abc import Awaitable, Callable

View file

@ -1,4 +1,5 @@
"""Decorators for the Websocket API.""" """Decorators for the Websocket 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 @@
"""WebSocket API related errors.""" """WebSocket API related errors."""
from homeassistant.exceptions import HomeAssistantError from homeassistant.exceptions import HomeAssistantError

View file

@ -1,4 +1,5 @@
"""View to accept incoming websocket connection.""" """View to accept incoming websocket connection."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""Message templates for websocket commands.""" """Message templates for websocket commands."""
from __future__ import annotations from __future__ import annotations
from functools import lru_cache from functools import lru_cache

View file

@ -1,4 +1,5 @@
"""Entity to track connections to websocket API.""" """Entity to track connections to websocket API."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.sensor import SensorEntity from homeassistant.components.sensor import SensorEntity

View file

@ -1,4 +1,5 @@
"""Support for WeMo device discovery.""" """Support for WeMo device discovery."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable, Coroutine, Sequence from collections.abc import Callable, Coroutine, Sequence

View file

@ -1,4 +1,5 @@
"""Triggers for WeMo devices.""" """Triggers for WeMo devices."""
from __future__ import annotations from __future__ import annotations
from pywemo.subscribe import EVENT_TYPE_LONG_PRESS from pywemo.subscribe import EVENT_TYPE_LONG_PRESS

View file

@ -1,4 +1,5 @@
"""Classes shared among Wemo entities.""" """Classes shared among Wemo entities."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Generator from collections.abc import Generator

View file

@ -1,4 +1,5 @@
"""Support for WeMo humidifier.""" """Support for WeMo humidifier."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View file

@ -1,4 +1,5 @@
"""Support for Belkin WeMo lights.""" """Support for Belkin WeMo lights."""
from __future__ import annotations from __future__ import annotations
from typing import Any, cast from typing import Any, cast

View file

@ -1,4 +1,5 @@
"""Support for power sensors in WeMo Insight devices.""" """Support for power sensors in WeMo Insight devices."""
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 WeMo switches.""" """Support for WeMo switches."""
from __future__ import annotations from __future__ import annotations
from datetime import datetime, timedelta from datetime import datetime, timedelta

View file

@ -1,4 +1,5 @@
"""Home Assistant wrapper for a pyWeMo device.""" """Home Assistant wrapper for a pyWeMo device."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""The Whirlpool Appliances integration.""" """The Whirlpool Appliances integration."""
from dataclasses import dataclass from dataclasses import dataclass
import logging import logging

View file

@ -1,4 +1,5 @@
"""Platform for climate integration.""" """Platform for climate integration."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Config flow for Whirlpool Appliances integration.""" """Config flow for Whirlpool Appliances 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 @@
"""The Washer/Dryer Sensor for Whirlpool Appliances.""" """The Washer/Dryer Sensor for Whirlpool Appliances."""
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 Whois integration.""" """The Whois integration."""
from __future__ import annotations from __future__ import annotations
from whois import Domain, query as whois_query from whois import Domain, query as whois_query

View file

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

View file

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

View file

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

View file

@ -1,4 +1,5 @@
"""Get WHOIS information for a given host.""" """Get WHOIS information for a given host."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View file

@ -1,4 +1,5 @@
"""Component for wiffi support.""" """Component for wiffi support."""
from datetime import timedelta from datetime import timedelta
import errno import errno
import logging import logging

View file

@ -1,4 +1,5 @@
"""Binary sensor platform support for wiffi devices.""" """Binary sensor platform support for wiffi devices."""
from homeassistant.components.binary_sensor import BinarySensorEntity from homeassistant.components.binary_sensor import BinarySensorEntity
from homeassistant.config_entries import ConfigEntry from homeassistant.config_entries import ConfigEntry
from homeassistant.core import HomeAssistant, callback from homeassistant.core import HomeAssistant, callback

View file

@ -2,6 +2,7 @@
Used by UI to setup a wiffi integration. Used by UI to setup a wiffi integration.
""" """
from __future__ import annotations from __future__ import annotations
import errno import errno

View file

@ -1,4 +1,5 @@
"""Sensor platform support for wiffi devices.""" """Sensor platform support for wiffi devices."""
from homeassistant.components.sensor import ( from homeassistant.components.sensor import (
SensorDeviceClass, SensorDeviceClass,
SensorEntity, SensorEntity,

View file

@ -1,4 +1,5 @@
"""Config flow to configure WiLight.""" """Config flow to configure WiLight."""
from urllib.parse import urlparse from urllib.parse import urlparse
import pywilight import pywilight

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,5 @@
"""Support for config validation using voluptuous and Translate Trigger.""" """Support for config validation using voluptuous and Translate Trigger."""
from __future__ import annotations from __future__ import annotations
import calendar import calendar

View file

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

View file

@ -1,4 +1,5 @@
"""Binary sensor support for Wireless Sensor Tags.""" """Binary sensor support for Wireless Sensor Tags."""
from __future__ import annotations from __future__ import annotations
import voluptuous as vol import voluptuous as vol

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