Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
- alias: 'Washing Done'
mode: restart
trigger:
- platform: numeric_state
entity_id: sensor.washing_machine_power
above: 0
for:
minutes: 5
action:
- wait_for_trigger:
- platform: state
entity_id: sensor.washing_machine_power
to: 0
for:
minutes: 5
- service: notify.everyone
data:
title: "👕 So Fresh and So Clean"
message: Washing machine seems to be done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment