In my configuration I created several Input_Boolean variables that I can turn on or off. Up till release 105 I could use them as conditions in my automations like:
- id: '0020200325004'
alias: Mi 2 Motion
trigger:
- entity_id: binary_sensor.motion_sensor_158d0001e44955
platform: state
to: 'on'
condition:
condition: state
entity_id: input_boolean.sendmimot2
state: 'on'
action:
- data: {}
entity_id: script.mi2_motion_delay
service: script.turn_off
- data:
message: Motion Detected by Mi somewhere
title: '*Motion Warning*'
service: notify.tg_sendwarning
- data: {}
entity_id: script.mi2_motion_delay
service: script.turn_on
initial_state: true
Since I upgraded to release 107 the Actions in this automation are triggered always regardless of the state of the input_boolean used in the Condition.
Did I miss some breaking changes in the Release notes?
Can you confirm that the entitiy input_boolean.sendmimot2 is in state “on” when the automation triggers? Can you maybe post a screenshot of the entity under Developer Tools -> States when your automation fires but it shouldn’t?
How did you check that it always triggers? Did you execute the automation manually? Because this skips conditions.
I have a number of input_boolean entities created and used as automation conditions and have not had this problem; I’m currently running 0.107.7.
I’ve spent a significant amount of time over the last couple of weekends tweaking, testing and validating my automations and would definitely have noticed if there was an issue of this type.