mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 17:27:19 +00:00
Add wake_on_lan to netcast example (#17889)
This commit is contained in:
parent
3552734ffb
commit
f1214728cf
@ -51,15 +51,18 @@ Just add the token to your configuration and restart Home Assistant and the medi
|
|||||||
|
|
||||||
## Advanced configuration
|
## 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
|
```yaml
|
||||||
# Example configuration.yaml entry
|
wake_on_lan: # enables `wake_on_lan` integration
|
||||||
|
|
||||||
|
# Enables the `lg_netcast` media player
|
||||||
media_player:
|
media_player:
|
||||||
- platform: lg_netcast
|
- platform: lg_netcast
|
||||||
host: 192.168.0.20
|
host: 192.168.0.20
|
||||||
turn_on_action:
|
turn_on_action:
|
||||||
service: switch.turn_on
|
service: wake_on_lan.send_magic_packet
|
||||||
target:
|
data:
|
||||||
entity_id: switch.tv_switch
|
mac: AA-BB-CC-DD-EE-FF
|
||||||
|
broadcast_address: 11.22.33.44
|
||||||
```
|
```
|
||||||
|
@ -117,7 +117,7 @@ This usually only works if the TV is connected to the same network. Routing the
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
wake_on_lan: # enables `wake_on_lan` domain
|
wake_on_lan: # enables `wake_on_lan` integration
|
||||||
|
|
||||||
webostv:
|
webostv:
|
||||||
host: 192.168.0.10
|
host: 192.168.0.10
|
||||||
|
Loading…
x
Reference in New Issue
Block a user