fix some syntax errors and made the example more complete (#1981)

This commit is contained in:
bbrendon 2017-02-06 13:34:50 -08:00 committed by Fabian Affolter
parent 8a16b0d413
commit 43eafc7a0c

View File

@ -41,10 +41,16 @@ script:
We call this now with: We call this now with:
```yaml ```yaml
service: script.sonos_say automation:
data: - alias: 'test'
sonos_entity: media_player.kitchen trigger:
volume: 0.3 - platform: state
message: 'Your husband comming home!' entity_id: input_boolean.mytest
delay: '00:00:05' action:
- service: script.sonos_say
data:
sonos_entity: media_player.office
volume: 0.5
message: 'Your husband comming home!'
delay: '00:00:05'
``` ```