Update integrations j-o to override extra_state_attributes() (#47758)

This commit is contained in:
Erik Montnemery
2021-03-11 20:11:25 +01:00
committed by GitHub
parent 1095905f8c
commit 14a59d290a
110 changed files with 150 additions and 150 deletions

View File

@@ -111,7 +111,7 @@ class JewishCalendarSensor(Entity):
)
@property
def device_state_attributes(self):
def extra_state_attributes(self):
"""Return the state attributes."""
if self._type != "holiday":
return {}
@@ -153,7 +153,7 @@ class JewishCalendarTimeSensor(JewishCalendarSensor):
return DEVICE_CLASS_TIMESTAMP
@property
def device_state_attributes(self):
def extra_state_attributes(self):
"""Return the state attributes."""
attrs = {}