I have a ‘dumb’ clothes dryer connected via a smart power monitoring socket that I’d like to get a Pushover notification for when it has finished it’s cycle. I can read power ok, and I know my pushover integration is working, the automation isn’t firing though. What am I missing here?
Have you restarted your HA instance or reloaded the “automations” platform after the numeric_state state trigger was fired?
If thats the case your automation will stop and with it your “wait_for_trigger” loop.
A better option would possiblity be to define two triggers and get rid of the “wait_for_trigger” - one which just triggers on your “above 100” and then based on a chosse with “trigger id” condition, sets a input_boolean marker that the machine is running.
The second trigger which fires on your “below 10” with condition of “input_boolean” state true and based on the choose “trigger id” again sends your notification & resets the input_boolean.
THis way your “automation” does not stop/ crush on restart / automation platform reload.
Hi, thanks for this, I think you were right, I restarted HA earlier and this evening it fired - I didn’t realise I had to reload Automations for ones that were created in the UI.
Anyway, I like the elegance of your suggestion below so will have a play with this tomorrow - thanks for taking the time to help me with it!