Skip to content

Do not defer listening to state_changed events until HA has started. … #751

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rumpeltux
Copy link

Fixes #750 (see that issue for details)

@ALERTua
Copy link
Contributor

ALERTua commented Aug 24, 2025

@craigbarratt This PR claims to fix "state_trigger not working after disabling and reactivating pyscript":
The state_changed listener is only setup upon hass_started.
When disabling pyscript, the listener is removed. When re-enabling it, the listener is never re-added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

state_trigger not working after disabling and reactivating pyscript
2 participants