mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Predetermine listener type for script change listeners (#41510)
This commit is contained in:
@@ -39,6 +39,7 @@ def async_watch_for_action(script_obj, message):
|
||||
flag.set()
|
||||
|
||||
script_obj.change_listener = check_action
|
||||
assert script_obj.change_listener is check_action
|
||||
return flag
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user