Update Laundry Package

This commit is contained in:
2022-07-31 14:57:44 -07:00
parent 38176c839b
commit b400486526

View File

@@ -1,5 +1,15 @@
# Laundry Package # Laundry Package
# -----------------------------------------------------------------------------
# Washer Final Pump-Out State Machine
input_select:
washer_final_pump_state:
name: Washer Final Pump State
options:
- Idle
- Check
- Triggered
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# Laundry Automations # Laundry Automations
automation: automation:
@@ -16,18 +26,61 @@ automation:
data: data:
message: Dryer is done message: Dryer is done
- alias: Washer Final Pump-Out - Check
mode: single
trigger:
- platform: state
entity_id: sensor.washer_power_electric_consumption_a
above: 0.5
conditions:
- condition: state
entity_id: input_select.washer_final_pump_state
state: Idle
action:
- service: input_select.select_option
target:
entity_id: input_select.washer_final_pump_state
data:
option: Check
- alias: Washer Final Pump-Out - Trigger
mode: single
trigger:
- platform: state
entity_id: sensor.washer_power_electric_consumption_a
below: 0.5
conditions:
- condition: state
entity_id: input_select.washer_final_pump_state
state: Check
action:
- service: input_select.select_option
target:
entity_id: input_select.washer_final_pump_state
data:
option: Triggered
- alias: Washer Final Pump-Out - Reset
mode: single
trigger:
- platform: state
entity_id: input_select.washer_final_pump_state
from: Idle
for:
seconds: 30
action:
- service: input_select.select_option
target:
entity_id: input_select.washer_final_pump_state
data:
option: Idle
- alias: Notify when Washer Done - alias: Notify when Washer Done
mode: single mode: single
trigger: trigger:
- platform: numeric_state - platform: state
entity_id: sensor.washer_power_electric_consumption_a entity_id: input_select.washer_final_pump_state
below: 2.0 to: Triggered
for:
# There is a ~ 5 minute delay within the rinse/spin cycle, so a 6
# minute threshold should avoid triggering early. The lid release
# occurs about 3 minutes after completion of the final spin, so
# there is only about 3 minutes of latency in this automation.
minutes: 6
action: action:
- service: notify.everyone - service: notify.everyone
data: data: