Creating a generic window sensor and thermostat automation

You could do something like what I proposed in this Area-based automation to define the target climate entity.

1 Like