Add empty line after module docstring [s] (#112704)

This commit is contained in:
Marc Mueller 2024-03-08 14:33:51 +01:00 committed by GitHub
parent 0e3945ca6c
commit 930a396712
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
499 changed files with 499 additions and 0 deletions

View File

@ -1,4 +1,5 @@
"""Support for monitoring an SABnzbd NZB client.""" """Support for monitoring an SABnzbd NZB client."""
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 @@
"""Adds config flow for SabNzbd.""" """Adds config flow for SabNzbd."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Constants for the Sabnzbd component.""" """Constants for the Sabnzbd component."""
from datetime import timedelta from datetime import timedelta
DOMAIN = "sabnzbd" DOMAIN = "sabnzbd"

View File

@ -1,4 +1,5 @@
"""Support for the Sabnzbd service.""" """Support for the Sabnzbd service."""
from pysabnzbd import SabnzbdApi, SabnzbdApiException from pysabnzbd import SabnzbdApi, SabnzbdApiException
from homeassistant.const import CONF_API_KEY, CONF_URL from homeassistant.const import CONF_API_KEY, CONF_URL

View File

@ -1,4 +1,5 @@
"""Support for monitoring an SABnzbd NZB client.""" """Support for monitoring an SABnzbd NZB client."""
from __future__ import annotations from __future__ import annotations
from dataclasses import dataclass from dataclasses import dataclass

View File

@ -1,4 +1,5 @@
"""SAJ solar inverter interface.""" """SAJ solar inverter interface."""
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 @@
"""The Samsung TV integration.""" """The Samsung TV integration."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Coroutine, Mapping from collections.abc import Coroutine, Mapping

View File

@ -1,4 +1,5 @@
"""samsungctl and samsungtvws bridge classes.""" """samsungctl and samsungtvws bridge classes."""
from __future__ import annotations from __future__ import annotations
from abc import ABC, abstractmethod from abc import ABC, abstractmethod

View File

@ -1,4 +1,5 @@
"""Config flow for Samsung TV.""" """Config flow for Samsung TV."""
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 Samsung TV.""" """Provides device automations for control of Samsung 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 SamsungTV.""" """Diagnostics support for SamsungTV."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""Base SamsungTV Entity.""" """Base SamsungTV Entity."""
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 @@
"""Helper functions for Samsung TV.""" """Helper functions for Samsung TV."""
from __future__ import annotations from __future__ import annotations
from homeassistant.core import HomeAssistant, callback from homeassistant.core import HomeAssistant, callback

View File

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

View File

@ -1,4 +1,5 @@
"""Support for the SamsungTV remote.""" """Support for the SamsungTV remote."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Iterable from collections.abc import Iterable

View File

@ -1,4 +1,5 @@
"""Samsung TV trigger dispatcher.""" """Samsung 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 @@
"""Samsung TV device turn on trigger.""" """Samsung 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 @@
"""Support for Satel Integra alarm, using ETHM module.""" """Support for Satel Integra alarm, using ETHM module."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View File

@ -1,4 +1,5 @@
"""Support for Satel Integra zone states- represented as binary sensors.""" """Support for Satel Integra zone states- represented as binary sensors."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.binary_sensor import ( from homeassistant.components.binary_sensor import (

View File

@ -1,4 +1,5 @@
"""Support for Satel Integra modifiable outputs represented as switches.""" """Support for Satel Integra modifiable outputs represented as switches."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Allow users to set and activate scenes.""" """Allow users to set and activate scenes."""
from __future__ import annotations from __future__ import annotations
import functools as ft import functools as ft

View File

@ -1,4 +1,5 @@
"""Support for schedules in Home Assistant.""" """Support for schedules in Home Assistant."""
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 Schlage integration.""" """The Schlage integration."""
from __future__ import annotations from __future__ import annotations
from pycognito.exceptions import WarrantException from pycognito.exceptions import WarrantException

View File

@ -1,4 +1,5 @@
"""Config flow for Schlage integration.""" """Config flow for Schlage 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 @@
"""DataUpdateCoordinator for the Schlage integration.""" """DataUpdateCoordinator for the Schlage integration."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View File

@ -1,4 +1,5 @@
"""Platform for Schlage lock integration.""" """Platform for Schlage lock 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 Schluter thermostats.""" """Support for Schluter thermostats."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""The scrape component.""" """The scrape component."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View File

@ -1,4 +1,5 @@
"""Adds config flow for Scrape integration.""" """Adds config flow for Scrape 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 Scrape integration.""" """Constants for Scrape integration."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View File

@ -1,4 +1,5 @@
"""Coordinator for the scrape component.""" """Coordinator for the scrape component."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View File

@ -1,4 +1,5 @@
"""Support for getting data from websites with scraping.""" """Support for getting data from websites with scraping."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View File

@ -1,4 +1,5 @@
"""Support for a ScreenLogic Binary Sensor.""" """Support for a ScreenLogic Binary Sensor."""
from copy import copy from copy import copy
import dataclasses import dataclasses
import logging import logging

View File

@ -1,4 +1,5 @@
"""Support for a ScreenLogic heating device.""" """Support for a ScreenLogic heating device."""
from dataclasses import dataclass from dataclasses import dataclass
import logging import logging
from typing import Any from typing import Any

View File

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

View File

@ -1,4 +1,5 @@
"""Constants for the ScreenLogic integration.""" """Constants for the ScreenLogic integration."""
from screenlogicpy.const.common import UNIT from screenlogicpy.const.common import UNIT
from screenlogicpy.device_const.circuit import FUNCTION from screenlogicpy.device_const.circuit import FUNCTION
from screenlogicpy.device_const.system import COLOR_MODE from screenlogicpy.device_const.system import COLOR_MODE

View File

@ -1,4 +1,5 @@
"""ScreenlogicDataUpdateCoordinator definition.""" """ScreenlogicDataUpdateCoordinator definition."""
from datetime import timedelta from datetime import timedelta
import logging import logging

View File

@ -1,4 +1,5 @@
"""Support for configurable supported data values for the ScreenLogic integration.""" """Support for configurable supported data values for the ScreenLogic integration."""
from screenlogicpy.const.data import DEVICE, VALUE from screenlogicpy.const.data import DEVICE, VALUE
ENTITY_MIGRATIONS = { ENTITY_MIGRATIONS = {

View File

@ -1,4 +1,5 @@
"""Base ScreenLogicEntity definitions.""" """Base ScreenLogicEntity definitions."""
from collections.abc import Callable from collections.abc import Callable
from dataclasses import dataclass from dataclasses import dataclass
from datetime import datetime from datetime import datetime

View File

@ -1,4 +1,5 @@
"""Support for a ScreenLogic light 'circuit' switch.""" """Support for a ScreenLogic light 'circuit' switch."""
from dataclasses import dataclass from dataclasses import dataclass
import logging import logging

View File

@ -1,4 +1,5 @@
"""Support for a ScreenLogic number entity.""" """Support for a ScreenLogic number entity."""
from dataclasses import dataclass from dataclasses import dataclass
import logging import logging

View File

@ -1,4 +1,5 @@
"""Support for a ScreenLogic Sensor.""" """Support for a ScreenLogic Sensor."""
from collections.abc import Callable from collections.abc import Callable
from copy import copy from copy import copy
import dataclasses import dataclasses

View File

@ -1,4 +1,5 @@
"""Support for a ScreenLogic 'circuit' switch.""" """Support for a ScreenLogic 'circuit' switch."""
from dataclasses import dataclass from dataclasses import dataclass
import logging import logging

View File

@ -1,4 +1,5 @@
"""Support for scripts.""" """Support for scripts."""
from __future__ import annotations from __future__ import annotations
from abc import ABC, abstractmethod from abc import ABC, abstractmethod

View File

@ -1,4 +1,5 @@
"""Config validation helper for the script integration.""" """Config validation helper for the script 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 @@
"""Helpers for automation integration.""" """Helpers for automation integration."""
from homeassistant.components.blueprint import DomainBlueprints from homeassistant.components.blueprint import DomainBlueprints
from homeassistant.const import SERVICE_RELOAD from homeassistant.const import SERVICE_RELOAD
from homeassistant.core import HomeAssistant, callback from homeassistant.core import HomeAssistant, callback

View File

@ -1,4 +1,5 @@
"""Describe logbook events.""" """Describe logbook events."""
from homeassistant.components.logbook import ( from homeassistant.components.logbook import (
LOGBOOK_ENTRY_CONTEXT_ID, LOGBOOK_ENTRY_CONTEXT_ID,
LOGBOOK_ENTRY_ENTITY_ID, LOGBOOK_ENTRY_ENTITY_ID,

View File

@ -1,4 +1,5 @@
"""Trace support for script.""" """Trace support for script."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Iterator from collections.abc import Iterator

View File

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

View File

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

View File

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

View File

@ -1,4 +1,5 @@
"""The Search integration.""" """The Search integration."""
from __future__ import annotations from __future__ import annotations
from collections import defaultdict, deque from collections import defaultdict, deque

View File

@ -1,4 +1,5 @@
"""The Season integration.""" """The Season integration."""
from homeassistant.config_entries import ConfigEntry from homeassistant.config_entries import ConfigEntry
from homeassistant.core import HomeAssistant from homeassistant.core import HomeAssistant

View File

@ -1,4 +1,5 @@
"""Config flow to configure the Season integration.""" """Config flow to configure the Season 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 Season integration.""" """Constants for the Season integration."""
from typing import Final from typing import Final
from homeassistant.const import Platform from homeassistant.const import Platform

View File

@ -1,4 +1,5 @@
"""Support for Season sensors.""" """Support for Season sensors."""
from __future__ import annotations from __future__ import annotations
from datetime import date, datetime from datetime import date, datetime

View File

@ -1,4 +1,5 @@
"""Component to allow selecting an option from a list as platforms.""" """Component to allow selecting an option from a list as platforms."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View File

@ -1,4 +1,5 @@
"""Provides device actions for Select.""" """Provides device actions for Select."""
from __future__ import annotations from __future__ import annotations
from contextlib import suppress from contextlib import suppress

View File

@ -1,4 +1,5 @@
"""Provide the device conditions for Select.""" """Provide the device conditions for Select."""
from __future__ import annotations from __future__ import annotations
import voluptuous as vol import voluptuous as vol

View File

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

View File

@ -1,4 +1,5 @@
"""Reproduce a Select entity state.""" """Reproduce a Select entity state."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View File

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

View File

@ -1,4 +1,5 @@
"""SendGrid notification service.""" """SendGrid notification service."""
from __future__ import annotations from __future__ import annotations
from http import HTTPStatus from http import HTTPStatus

View File

@ -1,4 +1,5 @@
"""Support for monitoring a Sense energy sensor.""" """Support for monitoring a Sense energy sensor."""
from datetime import timedelta from datetime import timedelta
import logging import logging

View File

@ -1,4 +1,5 @@
"""Config flow for Sense integration.""" """Config flow for Sense integration."""
from collections.abc import Mapping from collections.abc import Mapping
import logging import logging
from typing import Any from typing import Any

View File

@ -1,4 +1,5 @@
"""The Sensibo component.""" """The Sensibo component."""
from __future__ import annotations from __future__ import annotations
from pysensibo.exceptions import AuthenticationError from pysensibo.exceptions import AuthenticationError

View File

@ -1,4 +1,5 @@
"""Binary Sensor platform for Sensibo integration.""" """Binary Sensor platform for Sensibo 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 @@
"""Button platform for Sensibo integration.""" """Button platform for Sensibo 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 Sensibo wifi-enabled home thermostats.""" """Support for Sensibo wifi-enabled home thermostats."""
from __future__ import annotations from __future__ import annotations
from bisect import bisect_left from bisect import bisect_left

View File

@ -1,4 +1,5 @@
"""Adds config flow for Sensibo integration.""" """Adds config flow for Sensibo 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 @@
"""DataUpdateCoordinator for the Sensibo integration.""" """DataUpdateCoordinator for the Sensibo 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 Sensibo.""" """Diagnostics support for Sensibo."""
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 Sensibo integration.""" """Base entity for Sensibo integration."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View File

@ -1,4 +1,5 @@
"""Number platform for Sensibo integration.""" """Number platform for Sensibo 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 @@
"""Select platform for Sensibo integration.""" """Select platform for Sensibo 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 @@
"""Sensor platform for Sensibo integration.""" """Sensor platform for Sensibo integration."""
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 @@
"""Switch platform for Sensibo integration.""" """Switch platform for Sensibo integration."""
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 @@
"""Update platform for Sensibo integration.""" """Update platform for Sensibo 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 @@
"""Utils for Sensibo integration.""" """Utils for Sensibo integration."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View File

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

View File

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

View File

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

View File

@ -1,4 +1,5 @@
"""Component to interface with various sensors that can be monitored.""" """Component to interface with various sensors that can be monitored."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View File

@ -1,4 +1,5 @@
"""Constants for sensor.""" """Constants for sensor."""
from __future__ import annotations from __future__ import annotations
from enum import StrEnum from enum import StrEnum

View File

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

View File

@ -1,4 +1,5 @@
"""Helpers for sensor entities.""" """Helpers for sensor entities."""
from __future__ import annotations from __future__ import annotations
from datetime import date, datetime from datetime import date, datetime

View File

@ -1,4 +1,5 @@
"""Statistics helper for sensor.""" """Statistics helper for sensor."""
from __future__ import annotations from __future__ import annotations
from collections import defaultdict from collections import defaultdict

View File

@ -1,4 +1,5 @@
"""Helper to test significant sensor state changes.""" """Helper to test significant sensor 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 sensor websocket API.""" """The sensor websocket API."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View File

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

View File

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

View File

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

View File

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

View File

@ -1,4 +1,5 @@
"""Config flow for sensorpush integration.""" """Config flow for sensorpush 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 sensorpush ble sensors.""" """Support for sensorpush ble sensors."""
from __future__ import annotations from __future__ import annotations
from sensorpush_ble import DeviceClass, DeviceKey, SensorUpdate, Units from sensorpush_ble import DeviceClass, DeviceKey, SensorUpdate, Units

View File

@ -1,4 +1,5 @@
"""The sentry integration.""" """The sentry integration."""
from __future__ import annotations from __future__ import annotations
import re import re

View File

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

View File

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

View File

@ -1,4 +1,5 @@
"""API for nVent RAYCHEM SENZ bound to Home Assistant OAuth.""" """API for nVent RAYCHEM SENZ bound to Home Assistant OAuth."""
from typing import cast from typing import cast
from aiosenz import AbstractSENZAuth from aiosenz import AbstractSENZAuth

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