🤖 split automations
This commit is contained in:
26
automations/main_floor/light_rack.yaml
Normal file
26
automations/main_floor/light_rack.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
- id: '1631582483969'
|
||||
alias: Turn on light rack
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: time
|
||||
at: 08:00:00
|
||||
condition: []
|
||||
action:
|
||||
- type: turn_on
|
||||
device_id: bb22c5ed5d647c0713ace2e742f92bd1
|
||||
entity_id: switch.light_rack
|
||||
domain: switch
|
||||
mode: single
|
||||
- id: '1631583563463'
|
||||
alias: Turn off light rack
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: time
|
||||
at: '22:00:00'
|
||||
condition: []
|
||||
action:
|
||||
- type: turn_off
|
||||
device_id: bb22c5ed5d647c0713ace2e742f92bd1
|
||||
entity_id: switch.light_rack
|
||||
domain: switch
|
||||
mode: single
|
28
automations/office/air_conditioner.yaml
Normal file
28
automations/office/air_conditioner.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
- id: '1625281735631'
|
||||
alias: Keep office cool
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.home_office_temperature
|
||||
above: '24'
|
||||
condition: []
|
||||
action:
|
||||
- type: turn_on
|
||||
device_id: 0739a7e7036ad9758825b93a524e1f00
|
||||
entity_id: switch.air_conditioner
|
||||
domain: switch
|
||||
mode: single
|
||||
- id: '1625503795025'
|
||||
alias: Turn off office AC
|
||||
description: ''
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.home_office_temperature
|
||||
below: '22'
|
||||
condition: []
|
||||
action:
|
||||
- type: turn_off
|
||||
device_id: 0739a7e7036ad9758825b93a524e1f00
|
||||
entity_id: switch.air_conditioner
|
||||
domain: switch
|
||||
mode: single
|
Reference in New Issue
Block a user