🤖 split automations

This commit is contained in:
James Walker 2021-09-25 22:08:41 -04:00
parent 44da00944a
commit 83323fe24d
Signed by: walkah
GPG Key ID: 3C127179D6086E93
5 changed files with 57 additions and 30 deletions

View File

@ -1 +1 @@
2021.7.4
2021.9.7

View File

@ -1,29 +1 @@
---
- 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
[]

View 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

View 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

View File

@ -10,5 +10,6 @@ homeassistant:
group: !include groups.yaml
automation: !include automations.yaml
automation manual: !include_dir_list ./automations
script: !include scripts.yaml
scene: !include scenes.yaml