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."""
from __future__ import annotations
import logging

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,5 @@
"""Constants for the Wallbox integration."""
from enum import StrEnum
DOMAIN = "wallbox"

View File

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

View File

@ -1,4 +1,5 @@
"""Base entity for the wallbox integration."""
from __future__ import annotations
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."""
from __future__ import annotations
from typing import Any

View File

@ -2,6 +2,7 @@
The number component allows control of charging current.
"""
from __future__ import annotations
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."""
from __future__ import annotations
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."""
from __future__ import annotations
from typing import Any

View File

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

View File

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

View File

@ -1,4 +1,5 @@
"""Coordinator for the World Air Quality Index (WAQI) integration."""
from __future__ import annotations
from datetime import timedelta

View File

@ -1,4 +1,5 @@
"""Support for the World Air Quality Index service."""
from __future__ import annotations
from collections.abc import Callable, Mapping

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,5 @@
"""Data coordinator for WeatherFlow Cloud Data."""
from datetime import timedelta
from aiohttp import ClientResponseError

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,5 @@
"""Data update coordinator for the Webmin integration."""
from __future__ import annotations
from typing import Any

View File

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

View File

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

View File

@ -1,4 +1,5 @@
"""Config flow to configure webostv component."""
from __future__ import annotations
from collections.abc import Mapping

View File

@ -1,4 +1,5 @@
"""Provides device automations for control of LG webOS Smart TV."""
from __future__ import annotations
import voluptuous as vol

View File

@ -1,4 +1,5 @@
"""Diagnostics support for LG webOS Smart TV."""
from __future__ import annotations
from typing import Any

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,5 @@
"""Handle the auth of a connection."""
from __future__ import annotations
from collections.abc import Callable, Coroutine

View File

@ -1,4 +1,5 @@
"""Commands part of Websocket API."""
from __future__ import annotations
from collections.abc import Callable

View File

@ -1,4 +1,5 @@
"""Connection session."""
from __future__ import annotations
from collections.abc import Callable, Hashable

View File

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

View File

@ -1,4 +1,5 @@
"""Decorators for the Websocket API."""
from __future__ import annotations
from collections.abc import Callable

View File

@ -1,4 +1,5 @@
"""WebSocket API related errors."""
from homeassistant.exceptions import HomeAssistantError

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,5 @@
"""Support for power sensors in WeMo Insight devices."""
from __future__ import annotations
from collections.abc import Callable

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,5 @@
"""The Washer/Dryer Sensor for Whirlpool Appliances."""
from __future__ import annotations
from collections.abc import Callable

View File

@ -1,4 +1,5 @@
"""The Whois integration."""
from __future__ import annotations
from whois import Domain, query as whois_query

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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