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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
37 changed files with 47 additions and 47 deletions

View file

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