Move SensorEntity last in the inheritance tree (#48230)

This commit is contained in:
Erik Montnemery
2021-03-22 20:05:13 +01:00
committed by GitHub
parent 18e6816373
commit 9e9ba53f0e
37 changed files with 47 additions and 47 deletions

View File

@@ -49,7 +49,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
async_add_entities(sensors, False)
class AccuWeatherSensor(SensorEntity, CoordinatorEntity):
class AccuWeatherSensor(CoordinatorEntity, SensorEntity):
"""Define an AccuWeather entity."""
def __init__(self, name, kind, coordinator, forecast_day=None):