Move SensorEntity last in the inheritance tree (#48230)
This commit is contained in:
parent
18e6816373
commit
9e9ba53f0e
37 changed files with 47 additions and 47 deletions
|
@ -17,7 +17,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
|
|||
async_add_entities(sensors, False)
|
||||
|
||||
|
||||
class DexcomGlucoseValueSensor(SensorEntity, CoordinatorEntity):
|
||||
class DexcomGlucoseValueSensor(CoordinatorEntity, SensorEntity):
|
||||
"""Representation of a Dexcom glucose value sensor."""
|
||||
|
||||
def __init__(self, coordinator, username, unit_of_measurement):
|
||||
|
@ -59,7 +59,7 @@ class DexcomGlucoseValueSensor(SensorEntity, CoordinatorEntity):
|
|||
return self._unique_id
|
||||
|
||||
|
||||
class DexcomGlucoseTrendSensor(SensorEntity, CoordinatorEntity):
|
||||
class DexcomGlucoseTrendSensor(CoordinatorEntity, SensorEntity):
|
||||
"""Representation of a Dexcom glucose trend sensor."""
|
||||
|
||||
def __init__(self, coordinator, username):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue