Main issue is that for the Cooling Thermostat, the LuxMode.automatic.value needs to be mapped to HVACMode.COOL.value instead of HVACMode.HEAT.value.
Currently, when you set Mod e=Cool, you get an error because HVACMode.COOL.value is not defined as a value in HVAC_MODE_MAPPING.
Cooling thermostat needs something like this: HVAC_COOL_MODE_MAPPING: dict[str, str] = { LuxMode.off.value: HVACMode.OFF.value, LuxMode.automatic.value: HVACMode.COOL.value, }
Main issue is that for the Cooling Thermostat, the LuxMode.automatic.value needs to be mapped to HVACMode.COOL.value instead of HVACMode.HEAT.value. Currently, when you set Mod e=Cool, you get an error because HVACMode.COOL.value is not defined as a value in HVAC_MODE_MAPPING.