mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-21 04:05:20 +01:00
Update integrations j-o to override extra_state_attributes() (#47758)
This commit is contained in:
@@ -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 = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user