Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
joostlek committed Sep 25, 2024
1 parent e87e545 commit e92fc0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/helpers/config_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1791,7 +1791,7 @@ def _trigger_pre_validator(value: Any | None) -> Any:
value = dict(value)
value[CONF_PLATFORM] = value.pop(CONF_TRIGGER)
elif CONF_PLATFORM not in value:
raise vol.Invalid("required key not provided", ["trigger"])
raise vol.Invalid("required key not provided", [CONF_TRIGGER])

return value

Expand Down

0 comments on commit e92fc0b

Please sign in to comment.