mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 06:16:50 +00:00
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:
parent
174a2c9ac9
commit
c9d0726b0a
@ -35,3 +35,15 @@ Configuration variables:
|
|||||||
<p class='note'>
|
<p class='note'>
|
||||||
When using api_version: 5 changing sources switches tv channels. Additionally this allows setting the volume level.
|
When using api_version: 5 changing sources switches tv channels. Additionally this allows setting the volume level.
|
||||||
</p>
|
</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
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user