Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cooling thermostat needs different HVAC_MODE_MAPPING #147

Closed
rhammen opened this issue Oct 11, 2023 · 2 comments
Closed

Cooling thermostat needs different HVAC_MODE_MAPPING #147

rhammen opened this issue Oct 11, 2023 · 2 comments

Comments

@rhammen
Copy link
Contributor

rhammen commented Oct 11, 2023

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.

BenPru added a commit that referenced this issue Oct 11, 2023
@BenPru
Copy link
Owner

BenPru commented Oct 11, 2023

Thanks for your input. Should be fixed with 2023.10.11-Beta.

@rhammen
Copy link
Contributor Author

rhammen commented Oct 12, 2023

Thanks, confirmed it works OK with 2023.10.12 Beta

@rhammen rhammen closed this as completed Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants