Update integrations f-i to override extra_state_attributes() (#47757)
This commit is contained in:
parent
6c084ae6ce
commit
af4d06b12e
119 changed files with 165 additions and 165 deletions
|
@ -58,9 +58,9 @@ class HueLightLevel(GenericHueGaugeSensorEntity):
|
|||
return round(float(10 ** ((self.sensor.lightlevel - 1) / 10000)), 2)
|
||||
|
||||
@property
|
||||
def device_state_attributes(self):
|
||||
def extra_state_attributes(self):
|
||||
"""Return the device state attributes."""
|
||||
attributes = super().device_state_attributes
|
||||
attributes = super().extra_state_attributes
|
||||
attributes.update(
|
||||
{
|
||||
"lightlevel": self.sensor.lightlevel,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue