I’m trying to trigger an automation based on a sensor value AND an input_boolean state. The idea is that a given value AND a certain input_boolean would trigger the automation. So far, I have tried about 6-8 different syntax variations on:
Ideally, I’d like to use an if statement that allowed me to trigger the automation based on the user defined input_booleans. So, it would also trigger the automation if ‘input_boolean.cooking_grilling_steak’ == ‘on’ AND ‘sensor.meat’ > ‘120’ … as an example.
All of the above variations of the above syntax have failed to trigger the automation.
By including both entities in the trigger and in the conditions you effectively make the automation AND the triggers. i.e. the automation will trigger on either entity but both conditions have to be true for the action to be executed.
then i would need to write a new automation for every variation on the input_boolean. For example, cooking_smoking_pork, cooking_grilling_steak, and cooking_grilling_chicken would all need a separate automation. I’m trying to use a single automation for the different input_booleans and associated “doneness” temps.