mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 10:17:23 +00:00
Update webostv with more real-life example of turn on automation (#21443)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
2d433d1add
commit
555127b9c6
@ -49,13 +49,14 @@ Automations can also be created using an automation action:
|
|||||||
wake_on_lan: # enables `wake_on_lan` integration
|
wake_on_lan: # enables `wake_on_lan` integration
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
trigger:
|
- alias: "Turn On Living Room TV with WakeOnLan"
|
||||||
- platform: webostv.turn_on
|
trigger:
|
||||||
entity_id: media_player.lg_webos_smart_tv
|
- platform: webostv.turn_on
|
||||||
action:
|
entity_id: media_player.lg_webos_smart_tv
|
||||||
- service: wake_on_lan.send_magic_packet
|
action:
|
||||||
data:
|
- service: wake_on_lan.send_magic_packet
|
||||||
mac: AA-BB-CC-DD-EE-FF
|
data:
|
||||||
|
mac: aa:bb:cc:dd:ee:ff
|
||||||
```
|
```
|
||||||
|
|
||||||
Any other [actions](/docs/automation/action/) to power on the device can be configured.
|
Any other [actions](/docs/automation/action/) to power on the device can be configured.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user