35 lines
1.0 KiB
YAML
35 lines
1.0 KiB
YAML
# Laundry Package
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Laundry Automations
|
|
automation:
|
|
- alias: Notify when Dryer Done
|
|
mode: single
|
|
trigger:
|
|
- platform: numeric_state
|
|
entity_id: sensor.dryer_power_electric_consumption_a
|
|
below: 1.0
|
|
for:
|
|
minutes: 1
|
|
action:
|
|
- service: notify.everyone
|
|
data:
|
|
message: Dryer is done
|
|
|
|
- alias: Notify when Washer Done
|
|
mode: single
|
|
trigger:
|
|
- platform: numeric_state
|
|
entity_id: sensor.washer_power_electric_consumption_a
|
|
below: 2.0
|
|
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:
|
|
- service: notify.everyone
|
|
data:
|
|
message: Washer is done
|