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."""
from __future__ import annotations
import logging

View file

@ -1,4 +1,5 @@
"""Binary Sensor platform for Garages Amsterdam."""
from __future__ import annotations
from homeassistant.components.binary_sensor import (

View file

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

View file

@ -1,4 +1,5 @@
"""Generic entity for Garages Amsterdam."""
from __future__ import annotations
from homeassistant.helpers.device_registry import DeviceEntryType, DeviceInfo

View file

@ -1,4 +1,5 @@
"""Sensor platform for Garages Amsterdam."""
from __future__ import annotations
from homeassistant.components.sensor import SensorEntity

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,5 @@
"""The Global Disaster Alert and Coordination System (GDACS) integration."""
from __future__ import annotations
from collections.abc import Callable

View file

@ -1,4 +1,5 @@
"""Define constants for the GDACS integration."""
from datetime import timedelta
from aio_georss_gdacs.consts import EVENT_TYPE_MAP

View file

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

View file

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

View file

@ -1,4 +1,5 @@
"""The generic component."""
from __future__ import annotations
from typing import Any

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,5 @@
"""Config flow to configure the GeoJSON events integration."""
from __future__ import annotations
from collections.abc import Mapping

View file

@ -1,4 +1,5 @@
"""Define constants for the GeoJSON events integration."""
from __future__ import annotations
from datetime import timedelta

View file

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

View file

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

View file

@ -1,4 +1,5 @@
"""Support for Geolocation."""
from __future__ import annotations
from datetime import timedelta

View file

@ -1,4 +1,5 @@
"""Offer geolocation automation rules."""
from __future__ import annotations
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
and grouped by category.
"""
from __future__ import annotations
from datetime import timedelta

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,5 @@
"""Platform for sensor integration."""
from __future__ import annotations
from collections.abc import Callable

View file

@ -1,4 +1,5 @@
"""Support for Geofency."""
from http import HTTPStatus
from aiohttp import web

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,5 @@
"""Diagnostics support for GIOS."""
from __future__ import annotations
from dataclasses import asdict

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,5 @@
"""Sensor platform for the GitHub integration."""
from __future__ import annotations
from collections.abc import Callable, Mapping

View file

@ -1,4 +1,5 @@
"""Sensor for retrieving latest GitLab CI job information."""
from __future__ import annotations
from datetime import timedelta

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,5 @@
"""GoodWe PV inverter numeric settings entities."""
from __future__ import annotations
from collections.abc import Awaitable, Callable

View file

@ -1,4 +1,5 @@
"""Support for GoodWe inverter via UDP."""
from __future__ import annotations
from collections.abc import Callable

View file

@ -1,4 +1,5 @@
"""Support for Google - Calendar Event Devices."""
from __future__ import annotations
from collections.abc import Mapping

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,4 +1,5 @@
"""Helper classes for Google Assistant integration."""
from __future__ import annotations
from abc import ABC, abstractmethod

View file

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

View file

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

View file

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

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