Mark base components' state_attribute @final, rename others to extra_state_attributes (#48161)
* Mark base state_attributes @final, rename others to extra_state_attributes * Fix calendar, update tests
This commit is contained in:
parent
668d018e9c
commit
346a724ac3
52 changed files with 106 additions and 71 deletions
|
@ -315,7 +315,7 @@ class Zone(entity.Entity):
|
|||
return self._config.get(CONF_ICON)
|
||||
|
||||
@property
|
||||
def state_attributes(self) -> dict | None:
|
||||
def extra_state_attributes(self) -> dict | None:
|
||||
"""Return the state attributes of the zone."""
|
||||
return self._attrs
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue