Skip to content

Commit ddd8cf7

Browse files
authored
Fix a bad script error message (home-assistant#157654)
1 parent 1356eea commit ddd8cf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

homeassistant/helpers/script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -999,7 +999,7 @@ async def _async_step_call_service(self) -> None:
999999
if supports_response == SupportsResponse.NONE and return_response:
10001000
raise vol.Invalid(
10011001
f"Script does not support '{CONF_RESPONSE_VARIABLE}' for service "
1002-
f"'{CONF_RESPONSE_VARIABLE}' which does not support response data."
1002+
f"'{params[CONF_DOMAIN]}.{params[CONF_SERVICE]}' which does not support response data."
10031003
)
10041004

10051005
running_script = (

0 commit comments

Comments
 (0)