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
|
@ -42,7 +42,7 @@ async def async_setup_entry(
|
|||
# pylint: disable=invalid-overridden-method
|
||||
|
||||
|
||||
class EsphomeSensor(SensorEntity, EsphomeEntity):
|
||||
class EsphomeSensor(EsphomeEntity, SensorEntity):
|
||||
"""A sensor implementation for esphome."""
|
||||
|
||||
@property
|
||||
|
@ -89,7 +89,7 @@ class EsphomeSensor(SensorEntity, EsphomeEntity):
|
|||
return self._static_info.device_class
|
||||
|
||||
|
||||
class EsphomeTextSensor(SensorEntity, EsphomeEntity):
|
||||
class EsphomeTextSensor(EsphomeEntity, SensorEntity):
|
||||
"""A text sensor implementation for ESPHome."""
|
||||
|
||||
@property
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue