Update examples for deprecated service call config

This commit is contained in:
Paulus Schoutsen 2016-03-26 18:28:02 -07:00
parent 0f229bd7e6
commit af0d154398
4 changed files with 22 additions and 18 deletions

View file

@ -47,18 +47,18 @@ The `script.foscam_off` and `script.foscam_on` can be used to set the motion det
script:
foscam_off:
sequence:
- execute_service: switch.turn_off
service_data:
- service: switch.turn_off
data:
entity_id: switch.foscam_motion
- service: shell_command.foscam_turn_off
foscam_on:
sequence:
- execute_service: switch.turn_off
service_data:
- service: switch.turn_off
data:
entity_id: switch.foscam_motion
- service: shell_command.foscam_turn_on
- execute_service: switch.turn_on
service_data:
- service: switch.turn_on
data:
entity_id: switch.foscam_motion
```