The automation state trigger has deprecated its state alias (#2758)

The "state" used to be an alias for "to" but this was deprecated to make the
meaning more clear.

This commit updates the examples to no longer use the deprecated name.
This commit is contained in:
Anders Melchiorsen 2017-06-04 18:45:40 +02:00 committed by Fabian Affolter
parent 8c13dcfe99
commit 476449131c
10 changed files with 23 additions and 25 deletions

View file

@ -45,7 +45,7 @@ Some example automations:
trigger:
platform: state
entity_id: sensor.modem_callerid
state: "callerid"
to: "callerid"
action:
service: notify.notify
data:
@ -54,7 +54,7 @@ Some example automations:
trigger:
platform: state
entity_id: sensor.modem_callerid
state: "callerid"
to: "callerid"
action:
service: persistent_notification.create
data:
@ -64,7 +64,7 @@ Some example automations:
trigger:
platform: state
entity_id: sensor.modem_callerid
state: "callerid"
to: "callerid"
action:
service: tts.google_say
data_template: