Open GSVil opened 1 hour ago
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (script
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
script documentation script source (message by IssueLinks)
The problem
Using templates with Repeat Until/While does not work when trying to validate against the state of an entity. It does not appear to pick up state changes. Using the Script Builder (GUI) works, but I'm using value_template's so it will not work for me.
I'm trying to check when the state of a media-player changes to IDLE. It only sees the initial state (for example playing), even if the state changes during the script execution.
I have tested with both is_state () and states (), both fail to retrieve the state changes of an entity.
What version of Home Assistant Core has the issue?
core-2024.10.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Scripts
Link to integration documentation on our website
https://www.home-assistant.io/integrations/script/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
No response
Additional information
No response