#Im trying to get a notification when

1 messages · Page 1 of 1 (latest)

placid kayak
#
  1. What does the trace show?
  2. What's not working?
  3. Why not use a binary sensor group?
restive fulcrumBOT
fathom citrus
#

Thanks for your hint. But do you know why my automation does not work? It ist pretty simple.
When the zone „home“ ist below 1 and one of 6 sensors is 1 then send a notification.

#

But the automation is never triggered

placid kayak
#

Ok, so we've got an answer to #2 ... but what about #1?

#

Also, have you checked that the zone drops to zero from above zero?

fathom citrus
#

The zone drops to zero.

restive fulcrumBOT
#

To test an automation there's three stages you can follow. Testing the action, the condition and action, and the whole automation:

  1. Use Configuration -> Automations to find the automation and then select Run in the three dots menu. If this fails your problem is in the action: section, and details should be found in your log file
  2. Use Developer tools -> Services and call automation.trigger on the automation with skip_condition: false. If the first passes but this fails then the problem is in your condition: block
  3. Use Developer tools -> States to find the trigger entity, click the name, then change the state (at the top) to something that'll trigger the automation before pushing Set State. If this fails then the problem is with your trigger: section, or the automation is turned off (you can check that in Automations, automations that are turned off will show Disabled)

You can also see this section in the docs about testing and automation traces.

placid kayak
#

☝️

fathom citrus
#

Will have a look this evening when I’m back at home