Update integrations p-s to override extra_state_attributes() (#47759)
This commit is contained in:
parent
1fc8e32d86
commit
14ff6d4d1f
106 changed files with 144 additions and 146 deletions
|
@ -388,7 +388,7 @@ class RachioZone(RachioSwitch):
|
|||
return self._entity_picture
|
||||
|
||||
@property
|
||||
def device_state_attributes(self) -> dict:
|
||||
def extra_state_attributes(self) -> dict:
|
||||
"""Return the optional state attributes."""
|
||||
props = {ATTR_ZONE_NUMBER: self._zone_number, ATTR_ZONE_SUMMARY: self._summary}
|
||||
if self._shade_type:
|
||||
|
@ -494,7 +494,7 @@ class RachioSchedule(RachioSwitch):
|
|||
return "mdi:water" if self.schedule_is_enabled else "mdi:water-off"
|
||||
|
||||
@property
|
||||
def device_state_attributes(self) -> dict:
|
||||
def extra_state_attributes(self) -> dict:
|
||||
"""Return the optional state attributes."""
|
||||
return {
|
||||
ATTR_SCHEDULE_SUMMARY: self._summary,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue