Add empty line after module docstring [g-i] (#112699)

This commit is contained in:
Marc Mueller 2024-03-08 14:52:48 +01:00 committed by GitHub
parent ff3a801936
commit 8809d3aa88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
627 changed files with 627 additions and 0 deletions

View file

@ -1,4 +1,5 @@
"""Platform for the Garadget cover component.""" """Platform for the Garadget cover component."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Binary Sensor platform for Garages Amsterdam.""" """Binary Sensor platform for Garages Amsterdam."""
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 @@
"""Config flow for Garages Amsterdam integration.""" """Config flow for Garages Amsterdam integration."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Generic entity for Garages Amsterdam.""" """Generic entity for Garages Amsterdam."""
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 @@
"""Sensor platform for Garages Amsterdam.""" """Sensor platform for Garages Amsterdam."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.sensor import SensorEntity from homeassistant.components.sensor import SensorEntity

View file

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

View file

@ -1,4 +1,5 @@
"""Support for binary_sensor entities.""" """Support for binary_sensor entities."""
from __future__ import annotations from __future__ import annotations
from dataclasses import dataclass, field from dataclasses import dataclass, field

View file

@ -1,4 +1,5 @@
"""Support for button entities.""" """Support for button entities."""
from __future__ import annotations from __future__ import annotations
from dataclasses import dataclass, field from dataclasses import dataclass, field

View file

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

View file

@ -1,4 +1,5 @@
"""Provides the DataUpdateCoordinator.""" """Provides the DataUpdateCoordinator."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View file

@ -1,4 +1,5 @@
"""Support for number entities.""" """Support for number entities."""
from __future__ import annotations from __future__ import annotations
from dataclasses import dataclass, field from dataclasses import dataclass, field

View file

@ -1,4 +1,5 @@
"""Support for switch entities.""" """Support for switch entities."""
from __future__ import annotations from __future__ import annotations
from dataclasses import dataclass, field from dataclasses import dataclass, field

View file

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

View file

@ -1,4 +1,5 @@
"""Support for binary sensor using GC100.""" """Support for binary sensor using GC100."""
from __future__ import annotations from __future__ import annotations
import voluptuous as vol import voluptuous as vol

View file

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

View file

@ -1,4 +1,5 @@
"""The Global Disaster Alert and Coordination System (GDACS) integration.""" """The Global Disaster Alert and Coordination System (GDACS) 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 @@
"""Define constants for the GDACS integration.""" """Define constants for the GDACS integration."""
from datetime import timedelta from datetime import timedelta
from aio_georss_gdacs.consts import EVENT_TYPE_MAP from aio_georss_gdacs.consts import EVENT_TYPE_MAP

View file

@ -1,4 +1,5 @@
"""Geolocation support for GDACS Feed.""" """Geolocation support for GDACS Feed."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View file

@ -1,4 +1,5 @@
"""Feed Entity Manager Sensor support for GDACS Feed.""" """Feed Entity Manager Sensor support for GDACS Feed."""
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 generic component.""" """The generic component."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

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

View file

@ -1,4 +1,5 @@
"""Config flow for generic (IP Camera).""" """Config flow for generic (IP Camera)."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""Diagnostics support for generic (IP camera).""" """Diagnostics support for generic (IP camera)."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Adds support for generic hygrostat units.""" """Adds support for generic hygrostat units."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""Adds support for generic thermostat units.""" """Adds support for generic thermostat units."""
from __future__ import annotations from __future__ import annotations
import asyncio import asyncio

View file

@ -1,4 +1,5 @@
"""Support for a Genius Hub system.""" """Support for a Genius Hub system."""
from __future__ import annotations from __future__ import annotations
from datetime import datetime, timedelta from datetime import datetime, timedelta

View file

@ -1,4 +1,5 @@
"""Support for Genius Hub binary_sensor devices.""" """Support for Genius Hub binary_sensor devices."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.binary_sensor import BinarySensorEntity from homeassistant.components.binary_sensor import BinarySensorEntity

View file

@ -1,4 +1,5 @@
"""Support for Genius Hub climate devices.""" """Support for Genius Hub climate devices."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.climate import ( from homeassistant.components.climate import (

View file

@ -1,4 +1,5 @@
"""Support for Genius Hub sensor devices.""" """Support for Genius Hub sensor devices."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View file

@ -1,4 +1,5 @@
"""Support for Genius Hub switch/outlet devices.""" """Support for Genius Hub switch/outlet devices."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View file

@ -1,4 +1,5 @@
"""Support for Genius Hub water_heater devices.""" """Support for Genius Hub water_heater devices."""
from __future__ import annotations from __future__ import annotations
from homeassistant.components.water_heater import ( from homeassistant.components.water_heater import (

View file

@ -1,4 +1,5 @@
"""The GeoJSON events component.""" """The GeoJSON events component."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Config flow to configure the GeoJSON events integration.""" """Config flow to configure the GeoJSON events 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 @@
"""Define constants for the GeoJSON events integration.""" """Define constants for the GeoJSON events integration."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View file

@ -1,4 +1,5 @@
"""Support for generic GeoJSON events.""" """Support for generic GeoJSON events."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View file

@ -1,4 +1,5 @@
"""Entity manager for generic GeoJSON events.""" """Entity manager for generic GeoJSON events."""
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 Geolocation.""" """Support for Geolocation."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View file

@ -1,4 +1,5 @@
"""Offer geolocation automation rules.""" """Offer geolocation automation rules."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -4,6 +4,7 @@ Retrieves current events (typically incidents or alerts) in GeoRSS format, and
shows information on events filtered by distance to the HA instance's location shows information on events filtered by distance to the HA instance's location
and grouped by category. and grouped by category.
""" """
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View file

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

View file

@ -1,4 +1,5 @@
"""Provides the Geocaching DataUpdateCoordinator.""" """Provides the Geocaching DataUpdateCoordinator."""
from __future__ import annotations from __future__ import annotations
from geocachingapi.exceptions import GeocachingApiError from geocachingapi.exceptions import GeocachingApiError

View file

@ -1,4 +1,5 @@
"""Models for the Geocaching integration.""" """Models for the Geocaching integration."""
from typing import TypedDict from typing import TypedDict

View file

@ -1,4 +1,5 @@
"""oAuth2 functions and classes for Geocaching API integration.""" """oAuth2 functions and classes for Geocaching API integration."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Platform for sensor integration.""" """Platform for sensor 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 @@
"""Support for Geofency.""" """Support for Geofency."""
from http import HTTPStatus from http import HTTPStatus
from aiohttp import web from aiohttp import web

View file

@ -1,4 +1,5 @@
"""Config flow for Geofency.""" """Config flow for Geofency."""
from homeassistant.helpers import config_entry_flow from homeassistant.helpers import config_entry_flow
from .const import DOMAIN from .const import DOMAIN

View file

@ -1,4 +1,5 @@
"""Support for the Geofency device tracker platform.""" """Support for the Geofency device tracker platform."""
from homeassistant.components.device_tracker import SourceType, TrackerEntity from homeassistant.components.device_tracker import SourceType, TrackerEntity
from homeassistant.config_entries import ConfigEntry from homeassistant.config_entries import ConfigEntry
from homeassistant.const import ATTR_LATITUDE, ATTR_LONGITUDE from homeassistant.const import ATTR_LATITUDE, ATTR_LONGITUDE

View file

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

View file

@ -1,4 +1,5 @@
"""Define constants for the GeoNet NZ Quakes integration.""" """Define constants for the GeoNet NZ Quakes integration."""
from datetime import timedelta from datetime import timedelta
from homeassistant.const import Platform from homeassistant.const import Platform

View file

@ -1,4 +1,5 @@
"""Geolocation support for GeoNet NZ Quakes Feeds.""" """Geolocation support for GeoNet NZ Quakes Feeds."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View file

@ -1,4 +1,5 @@
"""Feed Entity Manager Sensor support for GeoNet NZ Quakes Feeds.""" """Feed Entity Manager Sensor support for GeoNet NZ Quakes Feeds."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

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

View file

@ -1,4 +1,5 @@
"""Define constants for the GeoNet NZ Volcano integration.""" """Define constants for the GeoNet NZ Volcano integration."""
from datetime import timedelta from datetime import timedelta
from homeassistant.const import Platform from homeassistant.const import Platform

View file

@ -1,4 +1,5 @@
"""Feed Entity Manager Sensor support for GeoNet NZ Volcano Feeds.""" """Feed Entity Manager Sensor support for GeoNet NZ Volcano Feeds."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

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

View file

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

View file

@ -1,4 +1,5 @@
"""Constants for GIOS integration.""" """Constants for GIOS 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 GIOS.""" """Diagnostics support for GIOS."""
from __future__ import annotations from __future__ import annotations
from dataclasses import asdict from dataclasses import asdict

View file

@ -1,4 +1,5 @@
"""Support for the GIOS service.""" """Support for the GIOS service."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View file

@ -1,4 +1,5 @@
"""Provide info to system health.""" """Provide info to system health."""
from __future__ import annotations from __future__ import annotations
from typing import Any, Final from typing import Any, Final

View file

@ -1,4 +1,5 @@
"""The GitHub integration.""" """The GitHub integration."""
from __future__ import annotations from __future__ import annotations
from aiogithubapi import GitHubAPI from aiogithubapi import GitHubAPI

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,5 @@
"""Sensor platform for the GitHub integration.""" """Sensor platform for the GitHub 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 @@
"""Sensor for retrieving latest GitLab CI job information.""" """Sensor for retrieving latest GitLab CI job information."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View file

@ -1,4 +1,5 @@
"""Support for displaying details about a Gitter.im chat room.""" """Support for displaying details about a Gitter.im chat room."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

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

View file

@ -1,4 +1,5 @@
"""Support gathering system information of hosts which are running glances.""" """Support gathering system information of hosts which are running glances."""
from __future__ import annotations from __future__ import annotations
from dataclasses import dataclass from dataclasses import dataclass

View file

@ -1,4 +1,5 @@
"""The Goal Zero Yeti integration.""" """The Goal Zero Yeti integration."""
from __future__ import annotations from __future__ import annotations
from typing import TYPE_CHECKING from typing import TYPE_CHECKING

View file

@ -1,4 +1,5 @@
"""Support for Goal Zero Yeti Sensors.""" """Support for Goal Zero Yeti Sensors."""
from __future__ import annotations from __future__ import annotations
from typing import cast from typing import cast

View file

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

View file

@ -1,4 +1,5 @@
"""Support for Goal Zero Yeti Sensors.""" """Support for Goal Zero Yeti Sensors."""
from __future__ import annotations from __future__ import annotations
from typing import cast from typing import cast

View file

@ -1,4 +1,5 @@
"""Support for Goal Zero Yeti Switches.""" """Support for Goal Zero Yeti Switches."""
from __future__ import annotations from __future__ import annotations
from typing import Any, cast from typing import Any, cast

View file

@ -1,4 +1,5 @@
"""Common code for GogoGate2 component.""" """Common code for GogoGate2 component."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Awaitable, Callable, Mapping from collections.abc import Awaitable, Callable, Mapping

View file

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

View file

@ -1,4 +1,5 @@
"""Support for Gogogate2 garage Doors.""" """Support for Gogogate2 garage Doors."""
from __future__ import annotations from __future__ import annotations
from typing import Any from typing import Any

View file

@ -1,4 +1,5 @@
"""Support for Gogogate2 garage Doors.""" """Support for Gogogate2 garage Doors."""
from __future__ import annotations from __future__ import annotations
from itertools import chain from itertools import chain

View file

@ -1,4 +1,5 @@
"""GoodWe PV inverter selection settings entities.""" """GoodWe PV inverter selection settings entities."""
from collections.abc import Awaitable, Callable from collections.abc import Awaitable, Callable
from dataclasses import dataclass from dataclasses import dataclass
from datetime import datetime from datetime import datetime

View file

@ -1,4 +1,5 @@
"""Config flow to configure Goodwe inverters using their local API.""" """Config flow to configure Goodwe inverters using their local API."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Constants for the Goodwe component.""" """Constants for the Goodwe component."""
from datetime import timedelta from datetime import timedelta
from homeassistant.const import Platform from homeassistant.const import Platform

View file

@ -1,4 +1,5 @@
"""Update coordinator for Goodwe.""" """Update coordinator for Goodwe."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

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

View file

@ -1,4 +1,5 @@
"""GoodWe PV inverter numeric settings entities.""" """GoodWe PV inverter numeric settings entities."""
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 GoodWe inverter via UDP.""" """Support for GoodWe inverter via UDP."""
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 Google - Calendar Event Devices.""" """Support for Google - Calendar Event Devices."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Mapping from collections.abc import Mapping

View file

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

View file

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

View file

@ -1,4 +1,5 @@
"""Support for Actions on Google Assistant Smart Home Control.""" """Support for Actions on Google Assistant Smart Home Control."""
from __future__ import annotations from __future__ import annotations
import logging import logging

View file

@ -1,4 +1,5 @@
"""Support for buttons.""" """Support for buttons."""
from __future__ import annotations from __future__ import annotations
from homeassistant import config_entries from homeassistant import config_entries

View file

@ -1,4 +1,5 @@
"""Constants for Google Assistant.""" """Constants for Google Assistant."""
from homeassistant.components import ( from homeassistant.components import (
alarm_control_panel, alarm_control_panel,
binary_sensor, binary_sensor,

View file

@ -1,4 +1,5 @@
"""Helpers to redact Google Assistant data when logging.""" """Helpers to redact Google Assistant data when logging."""
from __future__ import annotations from __future__ import annotations
from collections.abc import Callable from collections.abc import Callable

View file

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

View file

@ -1,4 +1,5 @@
"""Errors for Google Assistant.""" """Errors for Google Assistant."""
from .const import ERR_CHALLENGE_NEEDED from .const import ERR_CHALLENGE_NEEDED

View file

@ -1,4 +1,5 @@
"""Helper classes for Google Assistant integration.""" """Helper classes for Google Assistant 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 @@
"""Support for Google Actions Smart Home Control.""" """Support for Google Actions Smart Home Control."""
from __future__ import annotations from __future__ import annotations
from datetime import timedelta from datetime import timedelta

View file

@ -1,4 +1,5 @@
"""Describe logbook events.""" """Describe logbook events."""
from homeassistant.components.logbook import LOGBOOK_ENTRY_MESSAGE, LOGBOOK_ENTRY_NAME from homeassistant.components.logbook import LOGBOOK_ENTRY_MESSAGE, LOGBOOK_ENTRY_NAME
from homeassistant.core import callback from homeassistant.core import callback

View file

@ -1,4 +1,5 @@
"""Google Report State implementation.""" """Google Report State implementation."""
from __future__ import annotations from __future__ import annotations
from collections import deque from collections import deque

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