spelling: components/forecast_solar (#64261)

Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2022-01-17 09:16:00 -05:00 committed by GitHub
parent 85bafbbc21
commit 87cdd973d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}"