Add Laundry Package
This commit is contained in:
3
packages/laundry/README.md
Normal file
3
packages/laundry/README.md
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
# Laundry Package
|
||||||
|
|
||||||
|
This package contains automations for laundry monitoring and notification.
|
||||||
34
packages/laundry/laundry.yaml
Normal file
34
packages/laundry/laundry.yaml
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
# 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
|
||||||
@@ -38,3 +38,9 @@ notify:
|
|||||||
- service: mobile_app_jp_pixel3a
|
- service: mobile_app_jp_pixel3a
|
||||||
data:
|
data:
|
||||||
title: Home Assistant
|
title: Home Assistant
|
||||||
|
|
||||||
|
- name: everyone
|
||||||
|
platform: group
|
||||||
|
services:
|
||||||
|
- service: mobile_app_jen_iphone
|
||||||
|
- service: mobile_app_jp_pixel3a
|
||||||
|
|||||||
Reference in New Issue
Block a user