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