Trigger state - state changes to another value - then do stuff

I would like to create a sequence that does the following:

  • Kettle uses more than 500 watts (boiling started)
  • Wait for Kettle to drop to 0 watts (boiling stopped)
  • do stuff (send a message)

Can someone show me what the sequence would be like to make this happen whenever it happens?

Thanks in advance

You could use a threshold helper to monitor the wattage. Thay would give you a binary sensor to trigger the automation.

events: state node (> 500W) => wait unit node (= 0W) => do stuff

This is not working as expected. I am trying to wait for the kettle to “boil” for 1 minute and then wait for the kettle to go to zero power. The wait does not seem to work.

The Wait node behaves weirdly to me as well since the timeout seems to be the wait time before action and not a timeout before it resets.

Hopefully the pic is helpful.

If I cannot use the built-in controls to do this I will try the node-threshold-control next.

Thanks

In the wait until node, you have the property set to attributes.state_class it should be state.

1 Like

^ THAT is the answer.

Thanks !