Automation triggers unwanted

Hello everyone,

I’ve stup a sensor node with mysensors. This sensor node sends a temperature message every 5 min. and sends a door message if the door is opened (reed switch). In my home assistant two sensor are shown binary_sensor.frontdoor_1_1 and sensor.frontdoor_1_2.

The binary sensor is the door state wich only gets update when the door opens. I’ve setup the following automation in my .yaml file:

automation: - alias: Door opened trigger: platform: state entity_id: binary_sensor.frontdoorsensor_1_1 action: service: notify.mypushbullet data_template: title: "Frontdoor sensor triggerd." message: "Front door sensor is triggered because {{ states.binary_senso$

This automation sends a notification when the door is opened. However every 5 minutes when the temperature gets send to home assistant this automation triggers. How can i only let this automation trigger when the binary_sensor.frontdoor_1_1 updates?

Thanks in advance.

Sounds like a problem with your mysensors sketch and not home assistant. Figure out why the binary sensor is affected by the temperature update, and solve that. Look at the serial logs first to see what messages are transmitted. Then look at your sketch.