Add wake_on_lan to netcast example (#17889)

This commit is contained in:
Joakim Sørensen 2021-05-19 13:00:42 +02:00 committed by GitHub
parent 3552734ffb
commit f1214728cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 6 deletions

View File

@ -51,15 +51,18 @@ Just add the token to your configuration and restart Home Assistant and the medi
## Advanced configuration
The example below shows how you can use the `turn_on_action`
The example below shows how you can use the `turn_on_action` the [`wake_on_lan` integration](/integrations/wake_on_lan/).
```yaml
# Example configuration.yaml entry
wake_on_lan: # enables `wake_on_lan` integration
# Enables the `lg_netcast` media player
media_player:
- platform: lg_netcast
host: 192.168.0.20
turn_on_action:
service: switch.turn_on
target:
entity_id: switch.tv_switch
service: wake_on_lan.send_magic_packet
data:
mac: AA-BB-CC-DD-EE-FF
broadcast_address: 11.22.33.44
```

View File

@ -117,7 +117,7 @@ This usually only works if the TV is connected to the same network. Routing the
```yaml
# Example configuration.yaml entry
wake_on_lan: # enables `wake_on_lan` domain
wake_on_lan: # enables `wake_on_lan` integration
webostv:
host: 192.168.0.10