I’m running into an issue where the actions on my automations are firing twice. I’ve included an example below. It’s a minor annoyance right now as the only thing my automations do is send me a pushbullet notification. It’s going to become a bigger issue for some other automations I have planned though, so I’d apreciate anyone’s help!
`# Alert me if the laundry room door has been left open for five minutes
trigger:
platform: state
entity_id: binary_sensor.laundry_room_door
state: ‘on’
for:
minutes: 5
action:
service: notify.house
data:
title: Door Alert
message: The laundry room door is open, and has been for five minutes.`
I’ve tried calling the notify.house service directly, and can confirm it only sends a single notification when used in this way.
Glad my suggestion put you on the right track, and that you got it to work!
FYI: Yes, an include is necessary. HASS won’t pick up seperate YAML-files unless you’ve included them in your configuration.yaml file in some shape or form.
I will try it by updating all my automation to be explicit using ‘from’ and ‘to’ all the times.
I thought condition should help though as I mentioned in my code above post as well below here.