im going nuts about a automation that should be really simple.
I made a sensor called sensor.dishwasher_running, that do work, It changes from True to False or the other way around.
But i cant get HA to send me a notification about it.
If anyone could look at the code and see what im doing wrong?
- alias: 'Rule 018 - Diskmaskinen'
trigger:
platform: state
entity_id:
- sensor.dishwasher_running
from: 'True'
to: 'False'
action:
- service: notify.iphone7
data_template:
message: 'Diskmasinen är klar (current power: {{ states.switch.diskmaskin.attributes.current_power_mwh }})'
Awesome! I do like the idea
I really need to use templates in my automations so valuable, I have the hardest time getting them started! Thanks for the ideas!