1
0
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:
J. Nick Koston
2020-10-09 01:41:12 -05:00
committed by GitHub
parent 0b3bea0282
commit 5ebf5996f1
2 changed files with 30 additions and 4 deletions

View File

@@ -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