First Commit
This commit is contained in:
29
packages/nas/wol.yaml
Normal file
29
packages/nas/wol.yaml
Normal file
@ -0,0 +1,29 @@
|
||||
## -------------------------------------------------------------------------------------------------##
|
||||
## NAS - Wake on Lan
|
||||
## -------------------------------------------------------------------------------------------------##
|
||||
wake_on_lan:
|
||||
|
||||
|
||||
switch:
|
||||
- platform: wake_on_lan
|
||||
mac: 54:04:A6:BF:1E:43
|
||||
name: Server
|
||||
host: ip.wnsrt.de
|
||||
#switch:
|
||||
- platform: template
|
||||
switches:
|
||||
server_template:
|
||||
friendly_name: Server
|
||||
value_template: "{{ is_state('device_tracker.nas', 'home') }}"
|
||||
icon_template: mdi:desktop-tower
|
||||
turn_on:
|
||||
service: switch.turn_on
|
||||
target:
|
||||
entity_id: switch.server
|
||||
turn_off:
|
||||
|
||||
|
||||
device_tracker:
|
||||
- platform: ping
|
||||
hosts:
|
||||
nas: 192.168.178.81
|
Reference in New Issue
Block a user