Update integrations a-e to override extra_state_attributes() (#47756)

This commit is contained in:
Erik Montnemery
2021-03-11 16:51:03 +01:00
committed by GitHub
parent f92b75cbb2
commit 6c084ae6ce
106 changed files with 130 additions and 130 deletions

View File

@@ -118,7 +118,7 @@ class AlarmDecoderBinarySensor(BinarySensorEntity):
return False
@property
def device_state_attributes(self):
def extra_state_attributes(self):
"""Return the state attributes."""
attr = {CONF_ZONE_NUMBER: self._zone_number}
if self._rfid and self._rfstate is not None: