Hello,
I am currently working on setting up notifications for when the washer cycle is complete or the dryer cycle is complete.
The washer is based on wattage usage and the dryer is based on a temperature sensor near the air exhaust. 0-20 minute delays arent a big deal but ideally the shorter the better.
Here is my washer yaml.
alias: Power Washer-OFF
description: 'When the watts on the washer is high enough and then reaches 0, send notis'
trigger:
- type: power
platform: device
device_id: abf43f0811ca11eb80527bda4ddf9b35
entity_id: sensor.zen15_power_switch_electric_w
domain: sensor
above: 2
for:
hours: 0
minutes: 5
seconds: 0
condition: []
action:
- delay: '00:05:00'
- condition: state
entity_id: sensor.zen15_power_switch_electric_w
state: '0'
attribute: unit_of_measurement
- service: notify.hagroupnotifyphones
data:
message: Dryer cycle complete
mode: restart
max: 10
I get no errors as far as syntax goes, when testing and hitting execute, I do indeed get a notification. So it appears I can’t figure out logic.
Here is my YAML for my dryer.
alias: Temp Dryer-OFF
description: 'When the temperature on the dryer is low enough, time to notify. '
trigger:
- type: temperature
platform: device
device_id: 9c6da5e1f97f4807b7ff18a69a9b87f0
entity_id: sensor.aqara_temp1_e1b67b04_temperature
domain: sensor
above: 70
for:
hours: 0
minutes: 1
seconds: 0
condition:
- type: is_temperature
condition: device
device_id: 9c6da5e1f97f4807b7ff18a69a9b87f0
entity_id: sensor.aqara_temp1_e1b67b04_temperature
domain: sensor
below: 60
action:
- service: notify.hagroupnotifyphones
data:
message: Dryer cycle complete
mode: queued
max: 10
Notifications were sent successfully when hitting the execute button when creating it but it appears I do not get notifications in real world usage for washer or dryer.