fixes and updates

This commit is contained in:
2023-07-17 13:39:40 +02:00
parent 139a655400
commit 3c35a848df
6 changed files with 44 additions and 13 deletions

View File

@@ -13,8 +13,8 @@ automation:
device_id: ce016fbf6d9602740bbabe1fe9915c88
domain: light
- type: turn_off
entity_id: light.guestroom_switch_lamp
device_id: 343b205f3ed48a715e59c5490050150f
entity_id: light.office_switch_socket
device_id: 1fcba92f6a53183e10c1dc35a9bb82ce
domain: light
# Office button turn light on
@@ -45,8 +45,8 @@ automation:
device_id: ce016fbf6d9602740bbabe1fe9915c88
domain: light
- type: turn_on
entity_id: light.guestroom_switch_lamp
device_id: 343b205f3ed48a715e59c5490050150f
entity_id: light.office_switch_socket
device_id: 1fcba92f6a53183e10c1dc35a9bb82ce
domain: light
#### Remote ####
@@ -77,9 +77,13 @@ automation:
entity_id: light.office_bulb
device_id: ce016fbf6d9602740bbabe1fe9915c88
domain: light
- type: turn_off
entity_id: light.office_switch_socket
device_id: 1fcba92f6a53183e10c1dc35a9bb82ce
domain: light
# Office remote turn pc on
- alias: office_light_remote_turn_on_pc
- alias: office_remote_turn_on_pc
trigger:
- device_id: 8cc9ef0e9155403ae478abf46bd884e4
domain: zha
@@ -88,11 +92,12 @@ automation:
subtype: left
action:
- type: turn_on
entity_id: switch.tower
- type: turn_on
entity_id: light.guestroom_switch_lamp
device_id: 343b205f3ed48a715e59c5490050150f
entity_id: light.office_switch_socket
device_id: 1fcba92f6a53183e10c1dc35a9bb82ce
domain: light
- service: switch.turn_on
target:
entity_id: switch.tower
# Office remote turn all off
- alias: office_light_remote_turn_off_all

View File

@@ -5,3 +5,7 @@ switch:
mac: !secret tower_mac
name: tower
switch:
- platform: wake_on_lan
mac: !secret nas_mac
name: nas