That's absolutely not what I meant. The trigger condition is not the problem. The action is. It is not goal-based. I can't give a target value (as template) and the system tries to bring the entity to that state.
I have to have another check (or two automations) to trigger the off/on-action. Home assistant basically has no idea how to bring entities to a desired state.
I have to have another check (or two automations) to trigger the off/on-action. Home assistant basically has no idea how to bring entities to a desired state.