mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Fix variable name from script refactoring (#46503)
This commit is contained in:
parent
1444afbe5a
commit
aa061e5818
@ -44,6 +44,7 @@ from homeassistant.const import (
|
||||
CONF_REPEAT,
|
||||
CONF_SCENE,
|
||||
CONF_SEQUENCE,
|
||||
CONF_SERVICE,
|
||||
CONF_TARGET,
|
||||
CONF_TIMEOUT,
|
||||
CONF_UNTIL,
|
||||
@ -438,9 +439,9 @@ class _ScriptRun:
|
||||
)
|
||||
|
||||
running_script = (
|
||||
params["domain"] == "automation"
|
||||
and params["service_name"] == "trigger"
|
||||
or params["domain"] in ("python_script", "script")
|
||||
params[CONF_DOMAIN] == "automation"
|
||||
and params[CONF_SERVICE] == "trigger"
|
||||
or params[CONF_DOMAIN] in ("python_script", "script")
|
||||
)
|
||||
# If this might start a script then disable the call timeout.
|
||||
# Otherwise use the normal service call limit.
|
||||
|
Loading…
x
Reference in New Issue
Block a user