Update Laundry Package
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
# -----------------------------------------------------------------------------
|
||||
# Washer Final Pump-Out State Machine
|
||||
input_select:
|
||||
washer_final_pump_state:
|
||||
name: Washer Final Pump State
|
||||
options:
|
||||
- Idle
|
||||
- Check
|
||||
- Triggered
|
||||
# washer_final_pump_state:
|
||||
# name: Washer Final Pump State
|
||||
# options:
|
||||
# - Idle
|
||||
# - Check
|
||||
# - Triggered
|
||||
|
||||
washer_complete_detect_state:
|
||||
name: Washer Complete Detect State
|
||||
@@ -41,7 +41,6 @@ automation:
|
||||
data:
|
||||
message: Dryer is done
|
||||
|
||||
|
||||
- alias: Washer Complete Detect - Stage 1
|
||||
mode: single
|
||||
trigger:
|
||||
@@ -160,60 +159,58 @@ automation:
|
||||
data:
|
||||
message: Washer is Done
|
||||
|
||||
# - alias: Washer Final Pump-Out - Check
|
||||
# mode: single
|
||||
# trigger:
|
||||
# - platform: numeric_state
|
||||
# entity_id: sensor.washer_power_electric_consumption_a
|
||||
# above: 0.5
|
||||
# condition:
|
||||
# - "{{ is_state('input_select.washer_final_pump_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: numeric_state
|
||||
# entity_id: sensor.washer_power_electric_consumption_a
|
||||
# below: 0.5
|
||||
# condition:
|
||||
# - "{{ is_state('input_select.washer_final_pump_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 - Check
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.washer_power_electric_consumption_a
|
||||
above: 0.5
|
||||
condition:
|
||||
- "{{ is_state('input_select.washer_final_pump_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 - 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: Washer Final Pump-Out - Trigger
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: numeric_state
|
||||
entity_id: sensor.washer_power_electric_consumption_a
|
||||
below: 0.5
|
||||
condition:
|
||||
- "{{ is_state('input_select.washer_final_pump_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
|
||||
mode: single
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_select.washer_final_pump_state
|
||||
to: Triggered
|
||||
action:
|
||||
- service: notify.everyone
|
||||
data:
|
||||
message: Washer is done
|
||||
# - alias: Notify when Washer Done
|
||||
# mode: single
|
||||
# trigger:
|
||||
# - platform: state
|
||||
# entity_id: input_select.washer_final_pump_state
|
||||
# to: Triggered
|
||||
# action:
|
||||
# - service: notify.everyone
|
||||
# data:
|
||||
# message: Washer is done
|
||||
|
||||
Reference in New Issue
Block a user