skrashevich/double-take

[BUG] Notification condition stopping sending notification

Mikescotland opened this issue · 2 comments

Sergey
Could you shed some light and explain what this condition in the notification automation does:

condition: template
value_template: '{{ trigger.to_state.state != trigger.from_state.state }}'

I was manually testing on my pics and first notification has been sent, however subsequent were blocked in HA:
Clipboard47

Thank you

This condition is necessary so that notifications don't duplicate.

For some kind of reasons, after some time (minutes, maybe 10 or something), this automation throws completely empty notification, or even two.
Is there any mqtt message just saying X has been detected? It is super hard to make any automation based on this entity.