Added Example with turn_on_action: (#5616)

* Added Example with turn_on_action:

It took me 2 hours to make it work. It deserves an example

* now with correct identation
This commit is contained in:
lorenzofattori 2018-06-28 22:25:30 +02:00 committed by Franck Nijhof
parent 174a2c9ac9
commit c9d0726b0a

View File

@ -35,3 +35,15 @@ Configuration variables:
<p class='note'>
When using api_version: 5 changing sources switches tv channels. Additionally this allows setting the volume level.
</p>
```yaml
# Example configuration.yaml with turn_on_action
media_player:
- platform: philips_js
host: 192.168.1.99
turn_on_action:
service: wake_on_lan.send_magic_packet
data:
mac: aa:bb:cc:dd:ee:ff
```