Update integrations p-s to override extra_state_attributes() (#47759)
This commit is contained in:
parent
1fc8e32d86
commit
14ff6d4d1f
106 changed files with 144 additions and 146 deletions
|
@ -522,7 +522,7 @@ class PlexMediaPlayer(MediaPlayerEntity):
|
|||
_LOGGER.error("Timed out playing on %s", self.name)
|
||||
|
||||
@property
|
||||
def device_state_attributes(self):
|
||||
def extra_state_attributes(self):
|
||||
"""Return the scene state attributes."""
|
||||
attributes = {}
|
||||
for attr in [
|
||||
|
|
|
@ -89,7 +89,7 @@ class PlexSensor(Entity):
|
|||
return "mdi:plex"
|
||||
|
||||
@property
|
||||
def device_state_attributes(self):
|
||||
def extra_state_attributes(self):
|
||||
"""Return the state attributes."""
|
||||
return self._server.sensor_attributes
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue