Open chiahsing opened 1 month ago
It looks like mode for 'Heat/Cool' is 0, but there is no dt0 in current_val, so it fails to set stemp.
https://github.com/fredrike/pydaikin/blob/master/pydaikin/daikin_brp069.py#L177-L182
Or, '--' is actually a value, so it doesn't even bother to look for dt0?
Yes, you are right if val == "--"
we should skip updating.
I am not familir with this, but if there's a guide or instructions on showing how to set up the development env, maybe I can contribute a patch to fix this. Thanks!
Follow up on https://github.com/home-assistant/core/issues/126089
Issue:
Temperature setting is missing when switching mode directly from "Fan Only" to "Heat/Cool". Switching from "Fan Only" to "Cool" to "Heat/Cool" is fine as the temperature setting is restored when switching to "Cool".
Log:
Switch from Off to Cool
Switching from Cool to Fan Only
Switching from Fan Only to Heat/Cool
The last one set both stemp and shum with '--' and the request failed.