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:
Carlo Costanzo
2025-09-30 12:11:05 -04:00
parent 06b1655083
commit a8ed755000
5 changed files with 55 additions and 18 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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'