@majdzik84 wrote:
I have automation that lets me know when the door is open for a long time. It works correctly, but once in a while (randomly) I get a fake notification.
I noticed the problem mainly with binary_sensor.drzwi_frontowe (maybe because they are most often used).
On the screens you can see that the notification was sent 10 minutes after closing the door (and not after 10 minutes when the door is still open)
Does anyone know why this is happening?
- alias: Otwarte drzwi zewnętrzne trigger: - platform: state entity_id: binary_sensor.drzwi_frontowe from: 'off' to: 'on' for: '00:10:00' - platform: state entity_id: binary_sensor.drzwi_kotlownia from: 'off' to: 'on' for: '00:10:00' - platform: state entity_id: binary_sensor.drzwi_garaz from: 'off' to: 'on' for: '00:30:00' action: - service: script.notify data_template: title: "Wykryto otwarte drzwi zewnętrzne" message: "Zamknij drzwi {{ trigger.to_state.attributes.location }}, godzina {{ now().strftime('%H:%M') }}." tag: "notification-door-opened"
Posts: 1
Participants: 1