Update integrations a-e to override extra_state_attributes() (#47756)
This commit is contained in:
parent
f92b75cbb2
commit
6c084ae6ce
106 changed files with 130 additions and 130 deletions
|
@ -620,7 +620,7 @@ class DarkSkySensor(Entity):
|
|||
return None
|
||||
|
||||
@property
|
||||
def device_state_attributes(self):
|
||||
def extra_state_attributes(self):
|
||||
"""Return the state attributes."""
|
||||
return {ATTR_ATTRIBUTION: ATTRIBUTION}
|
||||
|
||||
|
@ -739,7 +739,7 @@ class DarkSkyAlertSensor(Entity):
|
|||
return "mdi:alert-circle-outline"
|
||||
|
||||
@property
|
||||
def device_state_attributes(self):
|
||||
def extra_state_attributes(self):
|
||||
"""Return the state attributes."""
|
||||
return self._alerts
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue