You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using whitespace in attributes the lookup of the state attribute fails because an entity with whitespace in its name cannot be found.
Works:
entity_id|state_attribute
Does not work:
entity_id | state_attribute
Fixes#53804
When using whitespace in attributes the lookup of the state attribute fails because an entity with whitespace in its name cannot be found.
Works:
entity_id|state_attribute
Does not work:
entity_id | state_attribute
Fixes#53804
The problem
Universal media player can use state attributes of other entities for its own attributes.
These can be specified as following:
entity_id|state_attribute
When using white space in this definition the lookup of the state attribute fails as an entity with white space in its name cannot be found.
E.g. does not work:
entity_id | state_attribute
core/homeassistant/components/universal/media_player.py
Line 161 in f6b162b
After splitting the
attributes
value white space should be stripped for both strings in theattr
list.What is version of Home Assistant Core has the issue?
core-2021.7.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Universal Media Player
Link to integration documentation on our website
https://www.home-assistant.io/integrations/universal/
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: