I’m sorry but I have some doubts about the configuration of HA. Using components I’m not understanding why they are in the wrong place respect where I want them
Someone could kindly write the configuration.yaml (and groups.yaml and any other files needed) to set HA as in the picture below please? (Colors are random name for the elements). So I’ll understand the differences between the positions and how to write my configuration file to create what I have in my mind.
Nobody is going to do that for you you need to at the very least show that you are willing to try to sort something out for yourself, rather than asking everyone else to do it all for you
Please post what you have and we will try to help you