1
0
mirror of https://github.com/home-assistant/core.git synced 2026-04-28 04:33:49 +01:00

Add empty line after module docstring [helpers + other] (#112707)

This commit is contained in:
Marc Mueller
2024-03-08 16:36:11 +01:00
committed by GitHub
parent c773d57d39
commit 19ab3d6daf
284 changed files with 287 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
Call init before using it in your tests to ensure clean test data.
"""
from homeassistant.components.alarm_control_panel import AlarmControlPanelEntity
from homeassistant.components.alarm_control_panel.const import (
AlarmControlPanelEntityFeature,

View File

@@ -2,6 +2,7 @@
Call init before using it in your tests to ensure clean test data.
"""
from homeassistant.components.binary_sensor import DEVICE_CLASSES, BinarySensorEntity
from tests.common import MockEntity

View File

@@ -2,6 +2,7 @@
Call init before using it in your tests to ensure clean test data.
"""
from typing import Any
from homeassistant.components.cover import CoverEntity, CoverEntityFeature

View File

@@ -2,6 +2,7 @@
Call init before using it in your tests to ensure clean test data.
"""
from datetime import date
from homeassistant.components.date import DateEntity

View File

@@ -2,6 +2,7 @@
Call init before using it in your tests to ensure clean test data.
"""
from datetime import UTC, datetime
from homeassistant.components.datetime import DateTimeEntity

View File

@@ -2,6 +2,7 @@
Call init before using it in your tests to ensure clean test data.
"""
from homeassistant.components.event import EventEntity
from tests.common import MockEntity

View File

@@ -2,6 +2,7 @@
Call init before using it in your tests to ensure clean test data.
"""
from homeassistant.components.fan import FanEntity, FanEntityFeature
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_platform import AddEntitiesCallback

View File

@@ -2,6 +2,7 @@
Call init before using it in your tests to ensure clean test data.
"""
from homeassistant.components.light import ColorMode, LightEntity
from homeassistant.const import STATE_OFF, STATE_ON

View File

@@ -2,6 +2,7 @@
Call init before using it in your tests to ensure clean test data.
"""
from homeassistant.components.lock import LockEntity, LockEntityFeature
from tests.common import MockEntity

View File

@@ -2,6 +2,7 @@
Call init before using it in your tests to ensure clean test data.
"""
from homeassistant.components.number import NumberEntity, RestoreNumber
from tests.common import MockEntity

View File

@@ -2,6 +2,7 @@
Call init before using it in your tests to ensure clean test data.
"""
from homeassistant.components.remote import RemoteEntity
from homeassistant.const import STATE_OFF, STATE_ON

View File

@@ -2,6 +2,7 @@
Call init before using it in your tests to ensure clean test data.
"""
from homeassistant.components.select import SelectEntity
from tests.common import MockEntity

View File

@@ -2,6 +2,7 @@
Call init before using it in your tests to ensure clean test data.
"""
from homeassistant.components.sensor import (
DEVICE_CLASSES,
RestoreSensor,

View File

@@ -2,6 +2,7 @@
Call init before using it in your tests to ensure clean test data.
"""
from homeassistant.const import STATE_OFF, STATE_ON
from tests.common import MockToggleEntity

View File

@@ -2,6 +2,7 @@
Call init before using it in your tests to ensure clean test data.
"""
from homeassistant.components.text import RestoreText, TextEntity, TextMode
from tests.common import MockEntity

View File

@@ -2,6 +2,7 @@
Call init before using it in your tests to ensure clean test data.
"""
from datetime import time
from homeassistant.components.time import TimeEntity

View File

@@ -2,6 +2,7 @@
Call init before using it in your tests to ensure clean test data.
"""
from __future__ import annotations
import logging

View File

@@ -2,6 +2,7 @@
Call init before using it in your tests to ensure clean test data.
"""
from __future__ import annotations
from typing import Any