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'

View File

@@ -3,6 +3,6 @@ doors:
entities:
- binary_sensor.hallway_linen
- binary_sensor.hallway_pantry
- binary_sensor.kitchen_door
# - binary_sensor.kitchen_door
- binary_sensor.MCU2_GPIO12 # Main Slider
- binary_sensor.MCU3_Light # Alarm Door

View File

@@ -78,3 +78,40 @@ automation:
- delay: 00:20:00
- event: event_did_someone_help_vacuum_loop
# https://www.vcloudinfo.com/click-here - For more info or contact.
- alias: 'Set Vacuum Mode: Weekdays Sweeping, Weekends Sweeping and Mopping'
id: l10s_vacuum_mode_schedule
trigger:
- platform: time
at: '08:00:00'
condition: []
action:
- choose:
- conditions:
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
sequence:
- service: select.select_option
target:
entity_id: select.l10s_vacuum_cleaning_mode
data:
option: sweeping
- conditions:
- condition: time
weekday:
- sat
- sun
sequence:
- service: select.select_option
target:
entity_id: select.l10s_vacuum_cleaning_mode
data:
option: sweeping_and_mopping
default: []