I saw a couple of posts about automation firing twice but they relay on state trigger…
my trigger is time as you can see below and yet when the time comes and conditions are met - the automation is firing twice (action of notification & switch state change)
any idea’s on how I can tie this all better and avoid the double action would be appreciated
trigger:
- platform: time
minutes: '/10'
condition:
condition: and
conditions:
- condition: template
value_template: "{{ ((states('input_slider.target_bedroom_temp') | float) - (states('sensor.broadlink_sensor_temperature') | float)) | round(1) > 0.5 }}"
- condition: state
entity_id: switch.fan
state: 'off'