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

This commit is contained in:
Marc Mueller
2024-03-08 10:35:45 -05:00
committed by GitHub
parent 062cc4bfce
commit c773d57d39
392 changed files with 392 additions and 0 deletions
@@ -1,4 +1,5 @@
"""Support for w800rf32 binary sensors."""
from __future__ import annotations
import logging
@@ -1,4 +1,5 @@
"""Support for sending Wake-On-LAN magic packets."""
from functools import partial
import logging
@@ -1,4 +1,5 @@
"""Support for wake on lan."""
from __future__ import annotations
import logging
@@ -1,4 +1,5 @@
"""Provide functionality to wake word."""
from __future__ import annotations
from abc import abstractmethod
@@ -1,4 +1,5 @@
"""Wake word models."""
from dataclasses import dataclass
@@ -1,4 +1,5 @@
"""The Wallbox integration."""
from __future__ import annotations
from wallbox import Wallbox
@@ -1,4 +1,5 @@
"""Config flow for Wallbox integration."""
from __future__ import annotations
from collections.abc import Mapping
@@ -1,4 +1,5 @@
"""Constants for the Wallbox integration."""
from enum import StrEnum
DOMAIN = "wallbox"
@@ -1,4 +1,5 @@
"""DataUpdateCoordinator for the wallbox integration."""
from __future__ import annotations
from collections.abc import Callable
@@ -1,4 +1,5 @@
"""Base entity for the wallbox integration."""
from __future__ import annotations
from homeassistant.helpers.device_registry import DeviceInfo
+1
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
@@ -2,6 +2,7 @@
The number component allows control of charging current.
"""
from __future__ import annotations
from collections.abc import Awaitable, Callable
@@ -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
@@ -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
@@ -1,4 +1,5 @@
"""The World Air Quality Index (WAQI) integration."""
from __future__ import annotations
from aiowaqi import WAQIClient
@@ -1,4 +1,5 @@
"""Config flow for World Air Quality Index (WAQI) integration."""
from __future__ import annotations
import logging
@@ -1,4 +1,5 @@
"""Coordinator for the World Air Quality Index (WAQI) integration."""
from __future__ import annotations
from datetime import timedelta
+1
View File
@@ -1,4 +1,5 @@
"""Support for the World Air Quality Index service."""
from __future__ import annotations
from collections.abc import Callable, Mapping
@@ -1,4 +1,5 @@
"""Support for water heater devices."""
from __future__ import annotations
from collections.abc import Mapping
@@ -1,4 +1,5 @@
"""Provides device automations for Water Heater."""
from __future__ import annotations
import voluptuous as vol
@@ -1,4 +1,5 @@
"""Reproduce an Water heater state."""
from __future__ import annotations
import asyncio
@@ -1,4 +1,5 @@
"""Helper to test significant Water Heater state changes."""
from __future__ import annotations
from typing import Any
@@ -1,4 +1,5 @@
"""Support for Waterfurnaces."""
from datetime import timedelta
import logging
import threading
@@ -1,4 +1,5 @@
"""Support for Waterfurnace."""
from __future__ import annotations
from homeassistant.components.sensor import (
@@ -1,4 +1,5 @@
"""The WattTime integration."""
from __future__ import annotations
from datetime import timedelta
@@ -1,4 +1,5 @@
"""Config flow for WattTime integration."""
from __future__ import annotations
from collections.abc import Mapping
@@ -1,4 +1,5 @@
"""Diagnostics support for WattTime."""
from __future__ import annotations
from typing import Any
@@ -1,4 +1,5 @@
"""Support for WattTime sensors."""
from __future__ import annotations
from collections.abc import Mapping
@@ -1,4 +1,5 @@
"""Config flow for Waze Travel Time integration."""
from __future__ import annotations
import voluptuous as vol
@@ -1,4 +1,5 @@
"""Constants for waze_travel_time."""
from __future__ import annotations
DOMAIN = "waze_travel_time"
@@ -1,4 +1,5 @@
"""Support for Waze travel time sensor."""
from __future__ import annotations
import asyncio
@@ -1,4 +1,5 @@
"""Weather component that handles meteorological data for your location."""
from __future__ import annotations
import abc
@@ -1,4 +1,5 @@
"""Constants for weather."""
from __future__ import annotations
from collections.abc import Callable
@@ -1,4 +1,5 @@
"""Intents for the weather integration."""
from __future__ import annotations
import voluptuous as vol
@@ -1,4 +1,5 @@
"""Helper to test significant Weather state changes."""
from __future__ import annotations
from typing import Any
@@ -1,4 +1,5 @@
"""The weather websocket API."""
from __future__ import annotations
from typing import Any, Literal
@@ -1,4 +1,5 @@
"""Get data from Smart Weather station via UDP."""
from __future__ import annotations
from pyweatherflowudp.client import EVENT_DEVICE_DISCOVERED, WeatherFlowListener
@@ -1,4 +1,5 @@
"""Config flow for WeatherFlow."""
from __future__ import annotations
import asyncio
@@ -1,4 +1,5 @@
"""Sensors for the weatherflow integration."""
from __future__ import annotations
from collections.abc import Callable
@@ -1,4 +1,5 @@
"""The WeatherflowCloud integration."""
from __future__ import annotations
from homeassistant.config_entries import ConfigEntry
@@ -1,4 +1,5 @@
"""Config flow for WeatherflowCloud integration."""
from __future__ import annotations
from collections.abc import Mapping
@@ -1,4 +1,5 @@
"""Data coordinator for WeatherFlow Cloud Data."""
from datetime import timedelta
from aiohttp import ClientResponseError
@@ -1,4 +1,5 @@
"""Support for WeatherFlow Forecast weather service."""
from __future__ import annotations
from weatherflow4py.models.unified import WeatherFlowData
@@ -1,4 +1,5 @@
"""Integration for Apple's WeatherKit API."""
from __future__ import annotations
from apple_weatherkit.client import (
@@ -1,4 +1,5 @@
"""Adds config flow for WeatherKit."""
from __future__ import annotations
from collections.abc import Mapping
@@ -1,4 +1,5 @@
"""Constants for WeatherKit."""
from logging import Logger, getLogger
LOGGER: Logger = getLogger(__package__)
@@ -1,4 +1,5 @@
"""DataUpdateCoordinator for WeatherKit integration."""
from __future__ import annotations
from datetime import timedelta
@@ -1,4 +1,5 @@
"""Webhooks for Home Assistant."""
from __future__ import annotations
from collections.abc import Awaitable, Callable, Iterable
@@ -1,4 +1,5 @@
"""Offer webhook triggered automation rules."""
from __future__ import annotations
from dataclasses import dataclass
@@ -1,4 +1,5 @@
"""Config flow for Webmin."""
from __future__ import annotations
from collections.abc import Mapping
@@ -1,4 +1,5 @@
"""Data update coordinator for the Webmin integration."""
from __future__ import annotations
from typing import Any
@@ -1,4 +1,5 @@
"""Support for Webmin sensors."""
from __future__ import annotations
from homeassistant.components.sensor import (
@@ -1,4 +1,5 @@
"""Support for LG webOS Smart TV."""
from __future__ import annotations
from contextlib import suppress
@@ -1,4 +1,5 @@
"""Config flow to configure webostv component."""
from __future__ import annotations
from collections.abc import Mapping
@@ -1,4 +1,5 @@
"""Provides device automations for control of LG webOS Smart TV."""
from __future__ import annotations
import voluptuous as vol
@@ -1,4 +1,5 @@
"""Diagnostics support for LG webOS Smart TV."""
from __future__ import annotations
from typing import Any
@@ -1,4 +1,5 @@
"""Helper functions for webOS Smart TV."""
from __future__ import annotations
from aiowebostv import WebOsClient
@@ -1,4 +1,5 @@
"""Support for interface with an LG webOS Smart TV."""
from __future__ import annotations
import asyncio
@@ -1,4 +1,5 @@
"""Support for LG WebOS TV notification service."""
from __future__ import annotations
import logging
@@ -1,4 +1,5 @@
"""webOS Smart TV trigger dispatcher."""
from __future__ import annotations
from typing import cast
@@ -1,4 +1,5 @@
"""webOS Smart TV device turn on trigger."""
from __future__ import annotations
import voluptuous as vol
@@ -1,4 +1,5 @@
"""WebSocket based API for Home Assistant."""
from __future__ import annotations
from typing import Final, cast
@@ -1,4 +1,5 @@
"""Handle the auth of a connection."""
from __future__ import annotations
from collections.abc import Callable, Coroutine
@@ -1,4 +1,5 @@
"""Commands part of Websocket API."""
from __future__ import annotations
from collections.abc import Callable
@@ -1,4 +1,5 @@
"""Connection session."""
from __future__ import annotations
from collections.abc import Callable, Hashable
@@ -1,4 +1,5 @@
"""Websocket constants."""
from __future__ import annotations
from collections.abc import Awaitable, Callable
@@ -1,4 +1,5 @@
"""Decorators for the Websocket API."""
from __future__ import annotations
from collections.abc import Callable
@@ -1,4 +1,5 @@
"""WebSocket API related errors."""
from homeassistant.exceptions import HomeAssistantError
@@ -1,4 +1,5 @@
"""View to accept incoming websocket connection."""
from __future__ import annotations
import asyncio
@@ -1,4 +1,5 @@
"""Message templates for websocket commands."""
from __future__ import annotations
from functools import lru_cache
@@ -1,4 +1,5 @@
"""Entity to track connections to websocket API."""
from __future__ import annotations
from homeassistant.components.sensor import SensorEntity
@@ -1,4 +1,5 @@
"""Support for WeMo device discovery."""
from __future__ import annotations
from collections.abc import Callable, Coroutine, Sequence
@@ -1,4 +1,5 @@
"""Triggers for WeMo devices."""
from __future__ import annotations
from pywemo.subscribe import EVENT_TYPE_LONG_PRESS
+1
View File
@@ -1,4 +1,5 @@
"""Classes shared among Wemo entities."""
from __future__ import annotations
from collections.abc import Generator
+1
View File
@@ -1,4 +1,5 @@
"""Support for WeMo humidifier."""
from __future__ import annotations
from datetime import timedelta
+1
View File
@@ -1,4 +1,5 @@
"""Support for Belkin WeMo lights."""
from __future__ import annotations
from typing import Any, cast
+1
View File
@@ -1,4 +1,5 @@
"""Support for power sensors in WeMo Insight devices."""
from __future__ import annotations
from collections.abc import Callable
+1
View File
@@ -1,4 +1,5 @@
"""Support for WeMo switches."""
from __future__ import annotations
from datetime import datetime, timedelta
@@ -1,4 +1,5 @@
"""Home Assistant wrapper for a pyWeMo device."""
from __future__ import annotations
import asyncio
@@ -1,4 +1,5 @@
"""The Whirlpool Appliances integration."""
from dataclasses import dataclass
import logging
@@ -1,4 +1,5 @@
"""Platform for climate integration."""
from __future__ import annotations
import logging
@@ -1,4 +1,5 @@
"""Config flow for Whirlpool Appliances integration."""
from __future__ import annotations
from collections.abc import Mapping
@@ -1,4 +1,5 @@
"""The Washer/Dryer Sensor for Whirlpool Appliances."""
from __future__ import annotations
from collections.abc import Callable
@@ -1,4 +1,5 @@
"""The Whois integration."""
from __future__ import annotations
from whois import Domain, query as whois_query
@@ -1,4 +1,5 @@
"""Config flow to configure the Whois integration."""
from __future__ import annotations
from typing import Any
+1
View File
@@ -1,4 +1,5 @@
"""Constants for the Whois integration."""
from __future__ import annotations
from datetime import timedelta
@@ -1,4 +1,5 @@
"""Diagnostics support for Whois."""
from __future__ import annotations
from typing import Any
+1
View File
@@ -1,4 +1,5 @@
"""Get WHOIS information for a given host."""
from __future__ import annotations
from collections.abc import Callable
@@ -1,4 +1,5 @@
"""Component for wiffi support."""
from datetime import timedelta
import errno
import logging
@@ -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
@@ -2,6 +2,7 @@
Used by UI to setup a wiffi integration.
"""
from __future__ import annotations
import errno
+1
View File
@@ -1,4 +1,5 @@
"""Sensor platform support for wiffi devices."""
from homeassistant.components.sensor import (
SensorDeviceClass,
SensorEntity,
@@ -1,4 +1,5 @@
"""Config flow to configure WiLight."""
from urllib.parse import urlparse
import pywilight
@@ -1,4 +1,5 @@
"""Support for WiLight Cover."""
from __future__ import annotations
from typing import Any
+1
View File
@@ -1,4 +1,5 @@
"""Support for WiLight Fan."""
from __future__ import annotations
from typing import Any
@@ -1,4 +1,5 @@
"""Support for WiLight lights."""
from __future__ import annotations
from typing import Any
@@ -1,4 +1,5 @@
"""The WiLight Device integration."""
from __future__ import annotations
import asyncio
@@ -1,4 +1,5 @@
"""Support for config validation using voluptuous and Translate Trigger."""
from __future__ import annotations
import calendar
@@ -1,4 +1,5 @@
"""Support for WiLight switches."""
from __future__ import annotations
from typing import Any
@@ -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