Update integrations t-z to override extra_state_attributes() (#47760)
This commit is contained in:
parent
14a59d290a
commit
1fc8e32d86
127 changed files with 218 additions and 223 deletions
|
@ -83,9 +83,9 @@ class WinkSensorDevice(WinkDevice):
|
|||
return self._unit_of_measurement
|
||||
|
||||
@property
|
||||
def device_state_attributes(self):
|
||||
def extra_state_attributes(self):
|
||||
"""Return the state attributes."""
|
||||
super_attrs = super().device_state_attributes
|
||||
super_attrs = super().extra_state_attributes
|
||||
try:
|
||||
super_attrs["egg_times"] = self.wink.eggs()
|
||||
except AttributeError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue