mirror of
https://github.com/home-assistant/core.git
synced 2025-11-17 06:50:12 +00:00
Update integrations j-o to override extra_state_attributes() (#47758)
This commit is contained in:
@@ -76,7 +76,7 @@ class LaunchLibrarySensor(Entity):
|
||||
return "mdi:rocket"
|
||||
|
||||
@property
|
||||
def device_state_attributes(self) -> Optional[dict]:
|
||||
def extra_state_attributes(self) -> Optional[dict]:
|
||||
"""Return attributes for the sensor."""
|
||||
if self.next_launch:
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user