Change device entry type to an StrEnum (#59940)
Co-authored-by: Ville Skyttä <ville.skytta@iki.fi> Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
4a5238efa5
commit
053c456199
45 changed files with 167 additions and 71 deletions
|
@ -2,7 +2,6 @@
|
|||
from __future__ import annotations
|
||||
|
||||
from datetime import timedelta
|
||||
from typing import Final
|
||||
|
||||
from homeassistant.components.sensor import STATE_CLASS_MEASUREMENT
|
||||
from homeassistant.const import (
|
||||
|
@ -21,7 +20,6 @@ CONF_DECLINATION = "declination"
|
|||
CONF_AZIMUTH = "azimuth"
|
||||
CONF_MODULES_POWER = "modules power"
|
||||
CONF_DAMPING = "damping"
|
||||
ENTRY_TYPE_SERVICE: Final = "service"
|
||||
|
||||
SENSORS: tuple[ForecastSolarSensorEntityDescription, ...] = (
|
||||
ForecastSolarSensorEntityDescription(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue