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

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