That looks great. I’ll try it out.
hi! just stumbled across your custom component and it looks great! just wondering if it might be able to solve what i’m trying to achieve. which is basically:
I have a 2-story house, with two dumb electric heaters on each floor (so four in total) connected to HA via smart plugs, plus several temperature sensors in various rooms around the house. I want one virtual thermostat per floor to control the heaters based on the aggregate temperature of the temp sensors located on that floor.
From the example in your repo, it seems that you have a single heating system that you integrate your temp sensors to. is it possible to have more than one heater controlled by the same thermostat? maybe by grouping them?
I never worked with groups, but I saw on google people groupping lights and using that as input, so I assume it might be possible here also to group 2 heaters into a group somehow and use that as input to the thermostat heater switch.
Somethign like:
switch:
- platform: template
switches:
mygroupswitch:
turn_on:
service: switch.turn_on
data:
entity_id:
- switch.myswitch1
- switch.myswitch2
turn_off:
service: switch.turn_off
data:
entity_id:
- switch.myswitch1
- switch.myswitch2