mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
spelling: components/forecast_solar (#64261)
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
parent
85bafbbc21
commit
87cdd973d9
@ -36,7 +36,7 @@ async def async_setup_entry(
|
|||||||
|
|
||||||
|
|
||||||
class ForecastSolarSensorEntity(CoordinatorEntity, SensorEntity):
|
class ForecastSolarSensorEntity(CoordinatorEntity, SensorEntity):
|
||||||
"""Defines a Forcast.Solar sensor."""
|
"""Defines a Forecast.Solar sensor."""
|
||||||
|
|
||||||
entity_description: ForecastSolarSensorEntityDescription
|
entity_description: ForecastSolarSensorEntityDescription
|
||||||
|
|
||||||
@ -47,7 +47,7 @@ class ForecastSolarSensorEntity(CoordinatorEntity, SensorEntity):
|
|||||||
coordinator: DataUpdateCoordinator,
|
coordinator: DataUpdateCoordinator,
|
||||||
entity_description: ForecastSolarSensorEntityDescription,
|
entity_description: ForecastSolarSensorEntityDescription,
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Initialize Forcast.Solar sensor."""
|
"""Initialize Forecast.Solar sensor."""
|
||||||
super().__init__(coordinator=coordinator)
|
super().__init__(coordinator=coordinator)
|
||||||
self.entity_description = entity_description
|
self.entity_description = entity_description
|
||||||
self.entity_id = f"{SENSOR_DOMAIN}.{entity_description.key}"
|
self.entity_id = f"{SENSOR_DOMAIN}.{entity_description.key}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user