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
499 changed files with 499 additions and 0 deletions
@@ -1,4 +1,5 @@
"""Support for monitoring an SABnzbd NZB client."""
from __future__ import annotations
from collections.abc import Callable, Coroutine
@@ -1,4 +1,5 @@
"""Adds config flow for SabNzbd."""
from __future__ import annotations
import logging
@@ -1,4 +1,5 @@
"""Constants for the Sabnzbd component."""
from datetime import timedelta
DOMAIN = "sabnzbd"
+1
View File
@@ -1,4 +1,5 @@
"""Support for the Sabnzbd service."""
from pysabnzbd import SabnzbdApi, SabnzbdApiException
from homeassistant.const import CONF_API_KEY, CONF_URL
@@ -1,4 +1,5 @@
"""Support for monitoring an SABnzbd NZB client."""
from __future__ import annotations
from dataclasses import dataclass
+1
View File
@@ -1,4 +1,5 @@
"""SAJ solar inverter interface."""
from __future__ import annotations
from collections.abc import Callable, Coroutine
@@ -1,4 +1,5 @@
"""The Samsung TV integration."""
from __future__ import annotations
from collections.abc import Coroutine, Mapping
@@ -1,4 +1,5 @@
"""samsungctl and samsungtvws bridge classes."""
from __future__ import annotations
from abc import ABC, abstractmethod
@@ -1,4 +1,5 @@
"""Config flow for Samsung TV."""
from __future__ import annotations
from collections.abc import Mapping
@@ -1,4 +1,5 @@
"""Provides device automations for control of Samsung TV."""
from __future__ import annotations
import voluptuous as vol
@@ -1,4 +1,5 @@
"""Diagnostics support for SamsungTV."""
from __future__ import annotations
from typing import Any
@@ -1,4 +1,5 @@
"""Base SamsungTV Entity."""
from __future__ import annotations
from homeassistant.config_entries import ConfigEntry
@@ -1,4 +1,5 @@
"""Helper functions for Samsung TV."""
from __future__ import annotations
from homeassistant.core import HomeAssistant, callback
@@ -1,4 +1,5 @@
"""Support for interface with an Samsung TV."""
from __future__ import annotations
import asyncio
@@ -1,4 +1,5 @@
"""Support for the SamsungTV remote."""
from __future__ import annotations
from collections.abc import Iterable
@@ -1,4 +1,5 @@
"""Samsung TV trigger dispatcher."""
from __future__ import annotations
from typing import cast
@@ -1,4 +1,5 @@
"""Samsung TV device turn on trigger."""
from __future__ import annotations
import voluptuous as vol
@@ -1,4 +1,5 @@
"""Support for Satel Integra alarm, using ETHM module."""
from __future__ import annotations
import asyncio
@@ -1,4 +1,5 @@
"""Support for Satel Integra zone states- represented as binary sensors."""
from __future__ import annotations
from homeassistant.components.binary_sensor import (
@@ -1,4 +1,5 @@
"""Support for Satel Integra modifiable outputs represented as switches."""
from __future__ import annotations
import logging
@@ -1,4 +1,5 @@
"""Allow users to set and activate scenes."""
from __future__ import annotations
import functools as ft
@@ -1,4 +1,5 @@
"""Support for schedules in Home Assistant."""
from __future__ import annotations
from collections.abc import Callable
@@ -1,4 +1,5 @@
"""The Schlage integration."""
from __future__ import annotations
from pycognito.exceptions import WarrantException
@@ -1,4 +1,5 @@
"""Config flow for Schlage integration."""
from __future__ import annotations
from collections.abc import Mapping
@@ -1,4 +1,5 @@
"""DataUpdateCoordinator for the Schlage integration."""
from __future__ import annotations
import asyncio
+1
View File
@@ -1,4 +1,5 @@
"""Platform for Schlage lock integration."""
from __future__ import annotations
from typing import Any
@@ -1,4 +1,5 @@
"""Support for Schluter thermostats."""
from __future__ import annotations
import logging
@@ -1,4 +1,5 @@
"""The scrape component."""
from __future__ import annotations
import asyncio
@@ -1,4 +1,5 @@
"""Adds config flow for Scrape integration."""
from __future__ import annotations
from collections.abc import Mapping
+1
View File
@@ -1,4 +1,5 @@
"""Constants for Scrape integration."""
from __future__ import annotations
from datetime import timedelta
@@ -1,4 +1,5 @@
"""Coordinator for the scrape component."""
from __future__ import annotations
from datetime import timedelta
@@ -1,4 +1,5 @@
"""Support for getting data from websites with scraping."""
from __future__ import annotations
import logging
@@ -1,4 +1,5 @@
"""Support for a ScreenLogic Binary Sensor."""
from copy import copy
import dataclasses
import logging
@@ -1,4 +1,5 @@
"""Support for a ScreenLogic heating device."""
from dataclasses import dataclass
import logging
from typing import Any
@@ -1,4 +1,5 @@
"""Config flow for ScreenLogic."""
from __future__ import annotations
import logging
@@ -1,4 +1,5 @@
"""Constants for the ScreenLogic integration."""
from screenlogicpy.const.common import UNIT
from screenlogicpy.device_const.circuit import FUNCTION
from screenlogicpy.device_const.system import COLOR_MODE
@@ -1,4 +1,5 @@
"""ScreenlogicDataUpdateCoordinator definition."""
from datetime import timedelta
import logging
@@ -1,4 +1,5 @@
"""Support for configurable supported data values for the ScreenLogic integration."""
from screenlogicpy.const.data import DEVICE, VALUE
ENTITY_MIGRATIONS = {
@@ -1,4 +1,5 @@
"""Base ScreenLogicEntity definitions."""
from collections.abc import Callable
from dataclasses import dataclass
from datetime import datetime
@@ -1,4 +1,5 @@
"""Support for a ScreenLogic light 'circuit' switch."""
from dataclasses import dataclass
import logging
@@ -1,4 +1,5 @@
"""Support for a ScreenLogic number entity."""
from dataclasses import dataclass
import logging
@@ -1,4 +1,5 @@
"""Support for a ScreenLogic Sensor."""
from collections.abc import Callable
from copy import copy
import dataclasses
@@ -1,4 +1,5 @@
"""Support for a ScreenLogic 'circuit' switch."""
from dataclasses import dataclass
import logging
@@ -1,4 +1,5 @@
"""Support for scripts."""
from __future__ import annotations
from abc import ABC, abstractmethod
@@ -1,4 +1,5 @@
"""Config validation helper for the script integration."""
from __future__ import annotations
from collections.abc import Mapping
@@ -1,4 +1,5 @@
"""Helpers for automation integration."""
from homeassistant.components.blueprint import DomainBlueprints
from homeassistant.const import SERVICE_RELOAD
from homeassistant.core import HomeAssistant, callback
@@ -1,4 +1,5 @@
"""Describe logbook events."""
from homeassistant.components.logbook import (
LOGBOOK_ENTRY_CONTEXT_ID,
LOGBOOK_ENTRY_ENTITY_ID,
+1
View File
@@ -1,4 +1,5 @@
"""Trace support for script."""
from __future__ import annotations
from collections.abc import Iterator
@@ -1,4 +1,5 @@
"""Support for SCSGate covers."""
from __future__ import annotations
import logging
@@ -1,4 +1,5 @@
"""Support for SCSGate lights."""
from __future__ import annotations
import logging
@@ -1,4 +1,5 @@
"""Support for SCSGate switches."""
from __future__ import annotations
import logging
@@ -1,4 +1,5 @@
"""The Search integration."""
from __future__ import annotations
from collections import defaultdict, deque
@@ -1,4 +1,5 @@
"""The Season integration."""
from homeassistant.config_entries import ConfigEntry
from homeassistant.core import HomeAssistant
@@ -1,4 +1,5 @@
"""Config flow to configure the Season integration."""
from __future__ import annotations
from typing import Any
+1
View File
@@ -1,4 +1,5 @@
"""Constants for the Season integration."""
from typing import Final
from homeassistant.const import Platform
@@ -1,4 +1,5 @@
"""Support for Season sensors."""
from __future__ import annotations
from datetime import date, datetime
@@ -1,4 +1,5 @@
"""Component to allow selecting an option from a list as platforms."""
from __future__ import annotations
from datetime import timedelta
@@ -1,4 +1,5 @@
"""Provides device actions for Select."""
from __future__ import annotations
from contextlib import suppress
@@ -1,4 +1,5 @@
"""Provide the device conditions for Select."""
from __future__ import annotations
import voluptuous as vol
@@ -1,4 +1,5 @@
"""Provides device triggers for Select."""
from __future__ import annotations
import voluptuous as vol
@@ -1,4 +1,5 @@
"""Reproduce a Select entity state."""
from __future__ import annotations
import asyncio
@@ -1,4 +1,5 @@
"""Helper to test significant Select state changes."""
from __future__ import annotations
from typing import Any
@@ -1,4 +1,5 @@
"""SendGrid notification service."""
from __future__ import annotations
from http import HTTPStatus
@@ -1,4 +1,5 @@
"""Support for monitoring a Sense energy sensor."""
from datetime import timedelta
import logging
@@ -1,4 +1,5 @@
"""Config flow for Sense integration."""
from collections.abc import Mapping
import logging
from typing import Any
@@ -1,4 +1,5 @@
"""The Sensibo component."""
from __future__ import annotations
from pysensibo.exceptions import AuthenticationError
@@ -1,4 +1,5 @@
"""Binary Sensor platform for Sensibo integration."""
from __future__ import annotations
from collections.abc import Callable
@@ -1,4 +1,5 @@
"""Button platform for Sensibo integration."""
from __future__ import annotations
from dataclasses import dataclass
@@ -1,4 +1,5 @@
"""Support for Sensibo wifi-enabled home thermostats."""
from __future__ import annotations
from bisect import bisect_left
@@ -1,4 +1,5 @@
"""Adds config flow for Sensibo integration."""
from __future__ import annotations
from collections.abc import Mapping
@@ -1,4 +1,5 @@
"""DataUpdateCoordinator for the Sensibo integration."""
from __future__ import annotations
from datetime import timedelta
@@ -1,4 +1,5 @@
"""Diagnostics support for Sensibo."""
from __future__ import annotations
from typing import Any
@@ -1,4 +1,5 @@
"""Base entity for Sensibo integration."""
from __future__ import annotations
import asyncio
@@ -1,4 +1,5 @@
"""Number platform for Sensibo integration."""
from __future__ import annotations
from collections.abc import Callable
@@ -1,4 +1,5 @@
"""Select platform for Sensibo integration."""
from __future__ import annotations
from collections.abc import Callable
@@ -1,4 +1,5 @@
"""Sensor platform for Sensibo integration."""
from __future__ import annotations
from collections.abc import Callable, Mapping
@@ -1,4 +1,5 @@
"""Switch platform for Sensibo integration."""
from __future__ import annotations
from collections.abc import Callable, Mapping
@@ -1,4 +1,5 @@
"""Update platform for Sensibo integration."""
from __future__ import annotations
from collections.abc import Callable
+1
View File
@@ -1,4 +1,5 @@
"""Utils for Sensibo integration."""
from __future__ import annotations
import asyncio
@@ -1,4 +1,5 @@
"""The sensirion_ble integration."""
from __future__ import annotations
import logging
@@ -1,4 +1,5 @@
"""Config flow for sensirion_ble."""
from __future__ import annotations
from typing import Any
@@ -1,4 +1,5 @@
"""Support for Sensirion sensors."""
from __future__ import annotations
from sensor_state_data import (
@@ -1,4 +1,5 @@
"""Component to interface with various sensors that can be monitored."""
from __future__ import annotations
import asyncio
+1
View File
@@ -1,4 +1,5 @@
"""Constants for sensor."""
from __future__ import annotations
from enum import StrEnum
@@ -1,4 +1,5 @@
"""Provides device conditions for sensors."""
from __future__ import annotations
import voluptuous as vol
@@ -1,4 +1,5 @@
"""Helpers for sensor entities."""
from __future__ import annotations
from datetime import date, datetime
@@ -1,4 +1,5 @@
"""Statistics helper for sensor."""
from __future__ import annotations
from collections import defaultdict
@@ -1,4 +1,5 @@
"""Helper to test significant sensor state changes."""
from __future__ import annotations
from typing import Any
@@ -1,4 +1,5 @@
"""The sensor websocket API."""
from __future__ import annotations
from typing import Any
@@ -1,4 +1,5 @@
"""The SensorPro integration."""
from __future__ import annotations
import logging
@@ -1,4 +1,5 @@
"""Config flow for sensorpro ble integration."""
from __future__ import annotations
from typing import Any
@@ -1,4 +1,5 @@
"""Support for SensorPro devices."""
from __future__ import annotations
from sensorpro_ble import DeviceKey
@@ -1,4 +1,5 @@
"""Support for SensorPro sensors."""
from __future__ import annotations
from sensorpro_ble import (
@@ -1,4 +1,5 @@
"""The SensorPush Bluetooth integration."""
from __future__ import annotations
import logging
@@ -1,4 +1,5 @@
"""Config flow for sensorpush integration."""
from __future__ import annotations
from typing import Any
@@ -1,4 +1,5 @@
"""Support for sensorpush ble sensors."""
from __future__ import annotations
from sensorpush_ble import DeviceClass, DeviceKey, SensorUpdate, Units
@@ -1,4 +1,5 @@
"""The sentry integration."""
from __future__ import annotations
import re
@@ -1,4 +1,5 @@
"""Config flow for sentry integration."""
from __future__ import annotations
import logging
@@ -1,4 +1,5 @@
"""The nVent RAYCHEM SENZ integration."""
from __future__ import annotations
from datetime import timedelta
+1
View File
@@ -1,4 +1,5 @@
"""API for nVent RAYCHEM SENZ bound to Home Assistant OAuth."""
from typing import cast
from aiosenz import AbstractSENZAuth

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