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
|
@ -154,7 +154,7 @@ class ArwnSensor(Entity):
|
|||
return self._uid
|
||||
|
||||
@property
|
||||
def state_attributes(self):
|
||||
def extra_state_attributes(self):
|
||||
"""Return all the state attributes."""
|
||||
return self.event
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue