Add empty line after module docstring [j-m] (#112700)

This commit is contained in:
Marc Mueller 2024-03-08 15:01:29 +01:00 committed by GitHub
parent 1722e23df8
commit 59a6035d3f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
606 changed files with 606 additions and 0 deletions

View file

@ -1,4 +1,5 @@
"""The Jellyfin integration.""" """The Jellyfin integration."""
from typing import Any from typing import Any
from homeassistant.config_entries import ConfigEntry from homeassistant.config_entries import ConfigEntry

View file

@ -1,4 +1,5 @@
"""Support for media browsing.""" """Support for media browsing."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""Utility methods for initializing a Jellyfin client.""" """Utility methods for initializing a Jellyfin client."""
from __future__ import annotations from __future__ import annotations
import socket import socket

View file

@ -1,4 +1,5 @@
"""Config flow for the Jellyfin integration.""" """Config flow for the Jellyfin 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 Jellyfin integration.""" """Data update coordinator for the Jellyfin integration."""
from __future__ import annotations from __future__ import annotations
from abc import ABC, abstractmethod from abc import ABC, abstractmethod

View file

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

View file

@ -1,4 +1,5 @@
"""Base Entity for Jellyfin.""" """Base Entity for Jellyfin."""
from __future__ import annotations from __future__ import annotations
from homeassistant.helpers.device_registry import DeviceEntryType, DeviceInfo from homeassistant.helpers.device_registry import DeviceEntryType, DeviceInfo

View file

@ -1,4 +1,5 @@
"""Support for the Jellyfin media player.""" """Support for the Jellyfin media player."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""The Media Source implementation for the Jellyfin integration.""" """The Media Source implementation for the Jellyfin integration."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Models for the Jellyfin integration.""" """Models for the Jellyfin integration."""
from __future__ import annotations from __future__ import annotations
from dataclasses import dataclass from dataclasses import dataclass

View file

@ -1,4 +1,5 @@
"""Support for Jellyfin sensors.""" """Support for Jellyfin 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 @@
"""The jewish_calendar component.""" """The jewish_calendar component."""
from __future__ import annotations from __future__ import annotations
from hdate import Location from hdate import Location

View file

@ -1,4 +1,5 @@
"""Support for Jewish Calendar binary sensors.""" """Support for Jewish Calendar 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 @@
"""Platform to retrieve Jewish calendar information for Home Assistant.""" """Platform to retrieve Jewish calendar information for Home Assistant."""
from __future__ import annotations from __future__ import annotations
from datetime import date as Date from datetime import date as Date

View file

@ -1,4 +1,5 @@
"""Support for Join notifications.""" """Support for Join notifications."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""The JuiceNet integration.""" """The JuiceNet integration."""
from datetime import timedelta from datetime import timedelta
import logging import logging

View file

@ -1,4 +1,5 @@
"""Support for controlling juicenet/juicepoint/juicebox based EVSE numbers.""" """Support for controlling juicenet/juicepoint/juicebox based EVSE numbers."""
from __future__ import annotations from __future__ import annotations
from dataclasses import dataclass from dataclasses import dataclass

View file

@ -1,4 +1,5 @@
"""Support for monitoring juicenet/juicepoint/juicebox based EVSE sensors.""" """Support for monitoring juicenet/juicepoint/juicebox based EVSE 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 monitoring juicenet/juicepoint/juicebox based EVSE switches.""" """Support for monitoring juicenet/juicepoint/juicebox based EVSE switches."""
from typing import Any from typing import Any
from homeassistant.components.switch import SwitchEntity from homeassistant.components.switch import SwitchEntity

View file

@ -1,4 +1,5 @@
"""The JustNimbus integration.""" """The JustNimbus 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 JustNimbus integration.""" """Config flow for JustNimbus 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 @@
"""JustNimbus coordinator.""" """JustNimbus coordinator."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View file

@ -1,4 +1,5 @@
"""Base Entity for JustNimbus sensors.""" """Base Entity for JustNimbus sensors."""
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 @@
"""Support for the JustNimbus platform.""" """Support for the JustNimbus platform."""
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 Kaiterra Air Quality Sensors.""" """Support for Kaiterra Air Quality Sensors."""
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 @@
"""Support for Kaiterra Temperature ahn Humidity Sensors.""" """Support for Kaiterra Temperature ahn Humidity Sensors."""
from __future__ import annotations from __future__ import annotations
from dataclasses import dataclass from dataclasses import dataclass

View file

@ -1,4 +1,5 @@
"""Kaleidescape Media Player.""" """Kaleidescape Media Player."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Support for customised Kankun SP3 Wifi switch.""" """Support for customised Kankun SP3 Wifi switch."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Support for KEBA charging station binary sensors.""" """Support for KEBA charging station binary sensors."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Support for KEBA charging station switch.""" """Support for KEBA charging station switch."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Support for Keba notifications.""" """Support for Keba notifications."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.notify import ATTR_DATA, BaseNotificationService from homeassistant.components.notify import ATTR_DATA, BaseNotificationService

View file

@ -1,4 +1,5 @@
"""Support for KEBA charging station sensors.""" """Support for KEBA charging station 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 @@
"""The keenetic_ndms2 component.""" """The keenetic_ndms2 component."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""The Keenetic Client class.""" """The Keenetic Client class."""
from homeassistant.components.binary_sensor import ( from homeassistant.components.binary_sensor import (
BinarySensorDeviceClass, BinarySensorDeviceClass,
BinarySensorEntity, BinarySensorEntity,

View file

@ -1,4 +1,5 @@
"""Config flow for Keenetic NDMS2.""" """Config flow for Keenetic NDMS2."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Support for Keenetic routers as device tracker.""" """Support for Keenetic routers as device tracker."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""The Keenetic Client class.""" """The Keenetic Client class."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View file

@ -1,4 +1,5 @@
"""Platform for the KEF Wireless Speakers.""" """Platform for the KEF Wireless Speakers."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View file

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

View file

@ -1,4 +1,5 @@
"""Config flow for Kegtron ble integration.""" """Config flow for Kegtron ble 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 Kegtron devices.""" """Support for Kegtron devices."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Support for Kegtron sensors.""" """Support for Kegtron sensors."""
from __future__ import annotations from __future__ import annotations
from kegtron_ble import ( from kegtron_ble import (

View file

@ -1,4 +1,5 @@
"""Support to emulate keyboard presses on host machine.""" """Support to emulate keyboard presses on host machine."""
from pykeyboard import PyKeyboard from pykeyboard import PyKeyboard
import voluptuous as vol import voluptuous as vol

View file

@ -1,4 +1,5 @@
"""Receive signals from a keyboard and use it as a remote control.""" """Receive signals from a keyboard and use it as a remote control."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""Integration to integrate Keymitt BLE devices with Home Assistant.""" """Integration to integrate Keymitt BLE devices with Home Assistant."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Adds config flow for MicroBot.""" """Adds config flow for MicroBot."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Integration to integrate Keymitt BLE devices with Home Assistant.""" """Integration to integrate Keymitt BLE devices with Home Assistant."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""MicroBot class.""" """MicroBot class."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Switch platform for MicroBot.""" """Switch platform for MicroBot."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Support for Keene Electronics IR-IP devices.""" """Support for Keene Electronics IR-IP devices."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Iterable from collections.abc import Iterable

View file

@ -1,4 +1,5 @@
"""KIRA interface to receive UDP packets from an IR-IP bridge.""" """KIRA interface to receive UDP packets from an IR-IP bridge."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -3,6 +3,7 @@
This sets up a demo environment of features which are obscure or which represent This sets up a demo environment of features which are obscure or which represent
incorrect behavior, and are thus not wanted in the demo integration. incorrect behavior, and are thus not wanted in the demo integration.
""" """
from __future__ import annotations from __future__ import annotations
import datetime import datetime

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 @@
"""Config flow to configure the Kitchen Sink component.""" """Config flow to configure the Kitchen Sink component."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Demo image platform.""" """Demo image platform."""
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 has a couple fake lawn mowers.""" """Demo platform that has a couple fake lawn mowers."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.lawn_mower import ( from homeassistant.components.lawn_mower import (

View file

@ -1,4 +1,5 @@
"""Demo platform that has a couple of fake locks.""" """Demo platform that has a couple of fake locks."""
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 has a couple of fake sensors.""" """Demo platform that has a couple of fake 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 @@
"""Demo platform that has some fake switches.""" """Demo platform that has some 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 fake meteorological data.""" """Demo platform that offers fake meteorological data."""
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 KIWI.KI lock platform.""" """Support for the KIWI.KI lock platform."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Config flow for kmtronic integration.""" """Config flow for kmtronic integration."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""KMtronic Switch integration.""" """KMtronic Switch integration."""
from typing import Any from typing import Any
import urllib.parse import urllib.parse

View file

@ -1,4 +1,5 @@
"""Support KNX devices.""" """Support KNX devices."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""Support for KNX/IP binary sensors.""" """Support for KNX/IP binary sensors."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Support for KNX/IP buttons.""" """Support for KNX/IP buttons."""
from __future__ import annotations from __future__ import annotations
from xknx import XKNX from xknx import XKNX

View file

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

View file

@ -1,4 +1,5 @@
"""Config flow for KNX.""" """Config flow for KNX."""
from __future__ import annotations from __future__ import annotations
from abc import ABC, abstractmethod from abc import ABC, abstractmethod

View file

@ -1,4 +1,5 @@
"""Constants for the KNX integration.""" """Constants for the KNX integration."""
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 @@
"""Support for KNX/IP covers.""" """Support for KNX/IP covers."""
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 KNX/IP date.""" """Support for KNX/IP date."""
from __future__ import annotations from __future__ import annotations
from datetime import date as dt_date from datetime import date as dt_date

View file

@ -1,4 +1,5 @@
"""Support for KNX/IP datetime.""" """Support for KNX/IP datetime."""
from __future__ import annotations from __future__ import annotations
from datetime import datetime from datetime import datetime

View file

@ -1,4 +1,5 @@
"""Handle KNX Devices.""" """Handle KNX Devices."""
from __future__ import annotations from __future__ import annotations
from xknx import XKNX from xknx import XKNX

View file

@ -1,4 +1,5 @@
"""Provides device triggers for KNX.""" """Provides device triggers for KNX."""
from __future__ import annotations from __future__ import annotations
from typing import Any, Final from typing import Any, Final

View file

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

View file

@ -1,4 +1,5 @@
"""Exposures to KNX bus.""" """Exposures to KNX bus."""
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 KNX/IP fans.""" """Support for KNX/IP fans."""
from __future__ import annotations from __future__ import annotations
import math import math

View file

@ -1,4 +1,5 @@
"""Base class for KNX devices.""" """Base class for KNX devices."""
from __future__ import annotations from __future__ import annotations
from typing import cast from typing import cast

View file

@ -1,4 +1,5 @@
"""Support for KNX/IP lights.""" """Support for KNX/IP 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 KNX/IP notification services.""" """Support for KNX/IP notification services."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Support for KNX/IP numeric values.""" """Support for KNX/IP numeric values."""
from __future__ import annotations from __future__ import annotations
from typing import cast from typing import cast

View file

@ -1,4 +1,5 @@
"""Handle KNX project data.""" """Handle KNX project data."""
from __future__ import annotations from __future__ import annotations
from dataclasses import dataclass from dataclasses import dataclass

View file

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

View file

@ -1,4 +1,5 @@
"""Voluptuous schemas for the KNX integration.""" """Voluptuous schemas for the KNX integration."""
from __future__ import annotations from __future__ import annotations
from abc import ABC from abc import ABC

View file

@ -1,4 +1,5 @@
"""Support for KNX/IP select entities.""" """Support for KNX/IP select entities."""
from __future__ import annotations from __future__ import annotations
from xknx import XKNX from xknx import XKNX

View file

@ -1,4 +1,5 @@
"""Support for KNX/IP sensors.""" """Support for KNX/IP 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 @@
"""KNX integration services.""" """KNX integration services."""
from __future__ import annotations from __future__ import annotations
from functools import partial from functools import partial

View file

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

View file

@ -1,4 +1,5 @@
"""KNX Telegram handler.""" """KNX Telegram handler."""
from __future__ import annotations from __future__ import annotations
from collections import deque from collections import deque

View file

@ -1,4 +1,5 @@
"""Support for KNX/IP text.""" """Support for KNX/IP text."""
from __future__ import annotations from __future__ import annotations
from xknx import XKNX from xknx import XKNX

View file

@ -1,4 +1,5 @@
"""Support for KNX/IP time.""" """Support for KNX/IP time."""
from __future__ import annotations from __future__ import annotations
from datetime import time as dt_time from datetime import time as dt_time

View file

@ -1,4 +1,5 @@
"""Validation helpers for KNX config schemas.""" """Validation helpers for KNX config schemas."""
from collections.abc import Callable from collections.abc import Callable
import ipaddress import ipaddress
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Support for KNX/IP weather station.""" """Support for KNX/IP weather station."""
from __future__ import annotations from __future__ import annotations
from xknx import XKNX from xknx import XKNX

View file

@ -1,4 +1,5 @@
"""KNX Websocket API.""" """KNX Websocket API."""
from __future__ import annotations from __future__ import annotations
from typing import TYPE_CHECKING, Final from typing import TYPE_CHECKING, Final

View file

@ -1,4 +1,5 @@
"""Config flow for Kodi integration.""" """Config flow for Kodi integration."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

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

View file

@ -1,4 +1,5 @@
"""Support for interfacing with the XBMC/Kodi JSON-RPC API.""" """Support for interfacing with the XBMC/Kodi JSON-RPC API."""
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 @@
"""Kodi notification service.""" """Kodi notification service."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Support for wired binary sensors attached to a Konnected device.""" """Support for wired binary sensors attached to a Konnected device."""
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.const import ( from homeassistant.const import (

View file

@ -1,4 +1,5 @@
"""Config flow for konnected.io integration.""" """Config flow for konnected.io 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