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:
Illia Grybkov 2022-02-04 03:26:56 -06:00 committed by GitHub
parent 2d433d1add
commit 555127b9c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.