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

Changing desired/set temp when unit is off causes error #36

Open
ptruman opened this issue Jun 26, 2024 · 3 comments
Open

Changing desired/set temp when unit is off causes error #36

ptruman opened this issue Jun 26, 2024 · 3 comments

Comments

@ptruman
Copy link

ptruman commented Jun 26, 2024

I've noticed some use cases where family are wanting to set the temp before selecting the mode (i.e. heat/cool).
This is because the climate UI has the dial/buttons above the mode - so "not the integrations" fault.

If a unit is off, and someone tries to set temp, you get this:

Failed to call service climate/set_temperature. cannot access local variable 'min_temp' where it is not associated with a value_

Is it possible to store the last known set temp, and allow it to amended and "sent" to the unit when a mode is selected?
(using V1.1.8 of the integration via HACS)

@GastonHP
Copy link

GastonHP commented Jul 9, 2024

I have the same issue!

@donkawechico
Copy link

Same here!

@ohshazbot
Copy link
Collaborator

So this is not the workflow I have, but I understand where y'all are coming from. One question I have is around handling for minimum temp, as some temperatures can only be achieved in certain modes. Do you think it's better to fail the operation entirely (so you get the notification about it) or for it to just round up the closest viable temperature.

Specific example of this (possibly the only one) is you cannot set temp below 18C unless you're heating, so if you plug it to 17C and then turn on cooling, would you rather get notified or have it just set the temp to 18C without any fanfare?

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

4 participants