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
|
@ -86,7 +86,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info=
|
|||
async_add_entities([derivative])
|
||||
|
||||
|
||||
class DerivativeSensor(SensorEntity, RestoreEntity):
|
||||
class DerivativeSensor(RestoreEntity, SensorEntity):
|
||||
"""Representation of an derivative sensor."""
|
||||
|
||||
def __init__(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue