First Commit

This commit is contained in:
darthsandmann
2022-07-29 03:05:27 +02:00
commit a7af1c3b93
22 changed files with 1226 additions and 0 deletions

29
packages/nas/wol.yaml Normal file
View 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