This commit is contained in:
root
2026-10-05 16:11:37 -04:00
parent f076657834
commit fc8d869f69
6 changed files with 665 additions and 625 deletions
@@ -162,11 +162,6 @@
device_id: d371342d65df3ddbd28fb841b6ce0a13
entity_id: 7df615008eff2c537a1d6ac4be76def4
domain: switch
- type: turn_on
device_id: 872cdc7e609c8df8544349fceae0828e
entity_id: df6f91a7fc4619ff7d664e12518fc9c2
domain: switch
enabled: true
- type: turn_on
device_id: 6f341a97517eecd7e4befd4633bb0c3a
entity_id: 4b21efa79430d63e813137d08a8df60e
@@ -292,6 +287,7 @@
device_id: 88c1bfde7eba191a46899d4c59754512
entity_id: 594a0d24aa2fd2dc2156d9918a2204bf
domain: switch
enabled: false
- type: turn_on
device_id: 00ce230936f351558f177d5ed229759b
entity_id: 9ef15fb77ca7e81bcb6c7551329f50aa
@@ -2,21 +2,6 @@
############## OUTSIDE AUTOMATIONS #############
################################################
- id: '1751505592389'
alias: Turn off bug zapper at 1030PM
description: Disabled because the front porch schedule already turns this outlet off at 22:00.
initial_state: false
triggers:
- trigger: time
at: '22:30:00'
conditions: []
actions:
- type: turn_off
device_id: 872cdc7e609c8df8544349fceae0828e
entity_id: df6f91a7fc4619ff7d664e12518fc9c2
domain: switch
mode: single
- id: '1769311377293'
alias: Front Porch outlets turn off at 10P
description: ''
@@ -37,12 +22,73 @@
device_id: e2343a74462cc1434c4acfa2e32d1364
entity_id: ea84e174f0fa3316b9923c4254454a37
domain: switch
- type: turn_off
device_id: 872cdc7e609c8df8544349fceae0828e
entity_id: df6f91a7fc4619ff7d664e12518fc9c2
domain: switch
- type: turn_off
device_id: a1fdc7c838bdded4d8e90bb7941476a3
entity_id: 84d24335edc946153ed4f81ac7906f3c
domain: switch
mode: single
- id: porch_decorations_schedule
alias: Porch Decorations Schedule
description: >-
Turn on Porch Decorations 1, Porch Decor 1, Porch Decor 2, and Porch Decor 3
one hour before sunset. Turn them off at 22:30 Sunday through Thursday and
at 23:45 Friday and Saturday.
mode: single
triggers:
- trigger: sun
event: sunset
offset: "-01:00:00"
id: decorations_on
- trigger: time
at: "22:30:00"
id: decorations_off_weeknight
- trigger: time
at: "23:45:00"
id: decorations_off_weekend
conditions: []
actions:
- choose:
- conditions:
- condition: trigger
id: decorations_on
sequence:
- action: switch.turn_on
continue_on_error: true
target:
entity_id:
- switch.washing_machine_socket_1
- switch.big_family_room_lamp
- switch.studio_plug_1_2
- switch.porch_decorations_3
- conditions:
- condition: trigger
id: decorations_off_weeknight
- condition: time
weekday:
- sun
- mon
- tue
- wed
- thu
sequence:
- action: switch.turn_off
continue_on_error: true
target:
entity_id:
- switch.washing_machine_socket_1
- switch.big_family_room_lamp
- switch.studio_plug_1_2
- switch.porch_decorations_3
- conditions:
- condition: trigger
id: decorations_off_weekend
- condition: time
weekday:
- fri
- sat
sequence:
- action: switch.turn_off
continue_on_error: true
target:
entity_id:
- switch.washing_machine_socket_1
- switch.big_family_room_lamp
- switch.studio_plug_1_2
- switch.porch_decorations_3
@@ -18,10 +18,6 @@
device_id: a1fdc7c838bdded4d8e90bb7941476a3
entity_id: 84d24335edc946153ed4f81ac7906f3c
domain: switch
- type: turn_off
device_id: 872cdc7e609c8df8544349fceae0828e
entity_id: df6f91a7fc4619ff7d664e12518fc9c2
domain: switch
- type: turn_off
device_id: eae417dc05ec7c9f1da72f76f32bff18
entity_id: 8ebd9a84e00e9a8a4c05860cb01767ef
@@ -111,6 +107,7 @@
device_id: 88c1bfde7eba191a46899d4c59754512
entity_id: 594a0d24aa2fd2dc2156d9918a2204bf
domain: switch
enabled: false
mode: single
###################
+46 -83
View File
@@ -377,96 +377,59 @@
entity_id: d430d19aa2f118038cb01a3157865ed0
domain: switch
mode: single
- id: '1772979000001'
alias: Constipation-Orion 80mm Exhaust Fan On During Print
description: Disabled pending replacement exhaust fan control.
initial_state: false
triggers:
- trigger: device
device_id: 615a0b19447425670a6b61ec2343c791
domain: bambu_lab
type: event_print_started
conditions: []
actions:
- action: fan.turn_on
target:
entity_id: fan.fdm_exhaust_fan_control_80mm_exhaust_fan
mode: single
- id: '1772979000002'
alias: Turn Off 80mm Exhaust Fan 15 Minutes After Constipation-Orion Print Finishes
description: Disabled pending replacement exhaust fan control.
initial_state: false
triggers:
- trigger: device
device_id: 615a0b19447425670a6b61ec2343c791
domain: bambu_lab
type: event_print_finished
- trigger: device
device_id: 615a0b19447425670a6b61ec2343c791
domain: bambu_lab
type: event_print_canceled
conditions: []
actions:
- action: fan.turn_on
target:
entity_id: fan.fdm_exhaust_fan_control_80mm_exhaust_fan
- delay:
hours: 0
minutes: 15
seconds: 0
- condition: template
value_template: '{{ states(''sensor.constipation_orion_print_status'') != ''printing''
}}'
- action: fan.turn_off
target:
entity_id: fan.fdm_exhaust_fan_control_80mm_exhaust_fan
- id: fdm_printer_exhaust_fans
alias: FDM Printer Exhaust Fans During Prints
description: >-
Turn on the FDM Printer Exhaust Fans outlet when Constipation Orion,
Prints Charming, or Printney Spears (Centauri Carbon) is printing. Leave it
on until all three have been finished for 30 minutes. A pause keeps the
fans on. An unknown printer status does not start the shutoff timer.
mode: restart
- id: '1772979000003'
alias: Prints Charming Or Printney Spears 120mm Exhaust Fan On During Print
description: Disabled pending replacement control for the shared exhaust fan.
initial_state: false
triggers:
- trigger: state
entity_id: sensor.p1s_01p09c470102673_print_status
to:
entity_id:
- sensor.constipation_orion_print_status
- sensor.p1s_01p09c470102673_print_status
- sensor.centauri_carbon_print_status
- trigger: homeassistant
event: start
- trigger: event
event_type: automation_reloaded
conditions: []
actions:
- variables:
active_states:
- printing
- running
conditions: []
actions:
- action: fan.turn_on
target:
entity_id: fan.fdm_exhaust_fan_control_120mm_exhaust_fan
mode: single
- id: '1772979000004'
alias: Turn Off 120mm Exhaust Fan 15 Minutes After Print Completion
description: Disabled pending replacement control for the shared exhaust fan.
initial_state: false
triggers:
- trigger: state
entity_id: sensor.p1s_01p09c470102673_print_status
to:
- finish
- complete
- completed
- idle
- failed
- cancelled
conditions:
- pause
- paused
- pausing
- prepare
- preparing
printers:
- sensor.constipation_orion_print_status
- sensor.p1s_01p09c470102673_print_status
- sensor.centauri_carbon_print_status
- if:
- condition: template
value_template: '{{ trigger.from_state is not none and trigger.from_state.state
in [''printing'',''running''] }}'
actions:
- action: fan.turn_on
value_template: >-
{{ expand(printers) | selectattr('state', 'in', active_states) | list | count > 0 }}
then:
- action: switch.turn_on
target:
entity_id: fan.fdm_exhaust_fan_control_120mm_exhaust_fan
entity_id: switch.studio_plug_2
else:
- condition: template
value_template: "{{ trigger.platform == 'state' }}"
- condition: template
value_template: >-
{{ expand(printers) | selectattr('state', 'in', ['unknown', 'unavailable']) | list | count == 0 }}
- delay:
hours: 0
minutes: 15
seconds: 0
minutes: 30
- condition: template
value_template: '{{ states(''sensor.p1s_01p09c470102673_print_status'') != ''printing''
}}'
- action: fan.turn_off
value_template: >-
{{ expand(printers) | selectattr('state', 'in', active_states) | list | count == 0
and expand(printers) | selectattr('state', 'in', ['unknown', 'unavailable']) | list | count == 0 }}
- action: switch.turn_off
target:
entity_id: fan.fdm_exhaust_fan_control_120mm_exhaust_fan
mode: restart
entity_id: switch.studio_plug_2
+12 -8
View File
@@ -61,15 +61,19 @@
equipment_name: Dehumidifier
- id: ac_tank_full_shutoff
alias: AC Tank Full - Shut Off Office AC Power
description: Keep the outlet off while wet and report whether shutdown was confirmed.
use_blueprint:
path: local/tank_full_interlock.yaml
input:
moisture_sensor: binary_sensor.ac_tank_sensor_moisture
outlet: switch.studio_plug_2
alias: AC Tank Full
description: Alert when the AC tank sensor is wet. This does not switch an outlet.
mode: single
triggers:
- trigger: state
entity_id: binary_sensor.ac_tank_sensor_moisture
to: "on"
conditions: []
actions:
- action: script.notify_events_alerts
data:
title: AC tank is full
equipment_name: Office AC
message: AC tank sensor detected water.
- id: dehumidifier_tank_sensor_low_battery
alias: Dehumidifier Tank Sensor Low Battery
File diff suppressed because it is too large Load Diff