I have created over 20 template sensors and need to use them in automation as condition. Is there any way to loop thru them or is the only way to add each of them as condition.
The sensors are named sensor.dals_* and the condition should be meet if any of them have the state “on”.