From 0e75bf304c8ccfcb024942a406d62c14e09f9ee0 Mon Sep 17 00:00:00 2001 From: Joris Roovers Date: Wed, 22 Sep 2021 13:38:42 +0200 Subject: [PATCH] Typo fixes in automation trigger docs (#19429) --- source/_docs/automation/trigger.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_docs/automation/trigger.markdown b/source/_docs/automation/trigger.markdown index 3f2bdab057a..a9b6ec7d331 100644 --- a/source/_docs/automation/trigger.markdown +++ b/source/_docs/automation/trigger.markdown @@ -294,7 +294,7 @@ The `for` template(s) will be evaluated when an entity changes as specified. ## State trigger Fires when the state of any of given entities changes. If only `entity_id` is given, the trigger will fire for all state changes, even if only state attributes change. -If only one of `from_state` or `to_state` are given, the trigger will fire on any matching state change, but not if only attributes change. +If only one of `from` or `to` are given, the trigger will fire on any matching state change, but not if only attributes change.
@@ -315,7 +315,7 @@ automation: to: "home" ``` -It's possible to give a list of from_states or to_states: +It's possible to give a list of `from` states or `to` states: ```yaml automation: