mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +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
|
||||
|
||||
automation:
|
||||
trigger:
|
||||
- platform: webostv.turn_on
|
||||
entity_id: media_player.lg_webos_smart_tv
|
||||
action:
|
||||
- service: wake_on_lan.send_magic_packet
|
||||
data:
|
||||
mac: AA-BB-CC-DD-EE-FF
|
||||
- alias: "Turn On Living Room TV with WakeOnLan"
|
||||
trigger:
|
||||
- platform: webostv.turn_on
|
||||
entity_id: media_player.lg_webos_smart_tv
|
||||
action:
|
||||
- service: wake_on_lan.send_magic_packet
|
||||
data:
|
||||
mac: aa:bb:cc:dd:ee:ff
|
||||
```
|
||||
|
||||
Any other [actions](/docs/automation/action/) to power on the device can be configured.
|
||||
|
Loading…
x
Reference in New Issue
Block a user