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
|
@ -43,7 +43,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
|
|||
add_entities([entity])
|
||||
|
||||
|
||||
class AdsSensor(SensorEntity, AdsEntity):
|
||||
class AdsSensor(AdsEntity, SensorEntity):
|
||||
"""Representation of an ADS sensor entity."""
|
||||
|
||||
def __init__(self, ads_hub, ads_var, ads_type, name, unit_of_measurement, factor):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue