So here is the formula/scene/automation I need to construct:
If Temp A>Temp B then Device A On and Device B Off or If Temp A<Temp B then Device A Off and Device B On
How do I achieve this in HA?
The use case is an HVAC system that has two inputs, one outdoors and one from the loft space. Most of the year I always want the unit to pull in the warmest air. I have a Shelly 2PM plus to activate the valve actuators and an addon with two DS18B20’s to measure the temperatures. I can switch them manually but whats the point when I have HA. I probably will also want to add a temperature ceiling for when summer arrives i.e. if loft temperature >25 Deg C then take outdoor air.
Any suggestions to take my HA automations to the next level would be greatly appreciated