mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-10-09 23:56:06 +00:00
Refactor automation configurations to comment out kitchen door triggers and conditions across multiple files.. #cleanup - Also added a schedule to flip Vacuum from Mop to Sweep for weekdays.
This commit is contained in:
@@ -37,8 +37,8 @@
|
||||
- wait_template: "{{ states.binary_sensor.mcu1_gpio12.state == 'on' }}"
|
||||
timeout: '00:05:00'
|
||||
|
||||
- wait_template: "{{ states.binary_sensor.kitchen_door.state == 'on' }}"
|
||||
timeout: '00:1:00'
|
||||
# - wait_template: "{{ states.binary_sensor.kitchen_door.state == 'on' }}"
|
||||
# timeout: '00:1:00'
|
||||
|
||||
- delay: '00:01:00'
|
||||
- service: script.speech_engine
|
||||
|
@@ -24,8 +24,8 @@
|
||||
value_template: "{{ trigger.event.data.entity_id is not none }}"
|
||||
- condition: template
|
||||
value_template: "{{ trigger.event.data.entity_id.split('.')[0] == 'light' }}"
|
||||
- condition: template
|
||||
value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.tv' }}"
|
||||
# - condition: template
|
||||
# value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.tv' }}"
|
||||
- condition: template
|
||||
value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.couch' }}"
|
||||
- condition: template
|
||||
@@ -34,8 +34,8 @@
|
||||
value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.flood_2' }}"
|
||||
- condition: template
|
||||
value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.treeflood' }}"
|
||||
- condition: template
|
||||
value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.led' }}"
|
||||
# - condition: template
|
||||
# value_template: "{{ trigger.event.data.entity_id.split('_')[0] != 'light.led' }}"
|
||||
- condition: template
|
||||
value_template: "{{ trigger.event.data.entity_id.split('_')[1] != 'screensaver' }}"
|
||||
- condition: template
|
||||
|
@@ -9,9 +9,9 @@
|
||||
id: 5ea2a2b5-e3de-4acd-823c-dac3eeaa6118
|
||||
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.kitchen_door
|
||||
to: 'on'
|
||||
# - platform: state
|
||||
# entity_id: binary_sensor.kitchen_door
|
||||
# to: 'on'
|
||||
- platform: state
|
||||
entity_id: binary_sensor.mcu1_gpio12
|
||||
to: 'on'
|
||||
@@ -37,19 +37,19 @@
|
||||
to: 'off'
|
||||
for:
|
||||
seconds: 15
|
||||
- platform: state
|
||||
entity_id: binary_sensor.kitchen_door
|
||||
to: 'off'
|
||||
for:
|
||||
seconds: 15
|
||||
# - platform: state
|
||||
# entity_id: binary_sensor.kitchen_door
|
||||
# to: 'off'
|
||||
# for:
|
||||
# seconds: 15
|
||||
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: binary_sensor.mcu1_gpio12
|
||||
state: 'off'
|
||||
- condition: state
|
||||
entity_id: binary_sensor.kitchen_door
|
||||
state: 'off'
|
||||
# - condition: state
|
||||
# entity_id: binary_sensor.kitchen_door
|
||||
# state: 'off'
|
||||
- condition: state
|
||||
entity_id: light.garage_hallway
|
||||
state: 'on'
|
||||
|
Reference in New Issue
Block a user