dlarrick / hass-kumo

Home Assistant module interfacing with Mitsubishi mini-split units
MIT License
98 stars 21 forks source link

New ERROR (after unit has been restarted?): Fan mode is not valid. Valid fan modes are: quiet, low, powerful, auto #150

Open joergbattermann opened 3 months ago

joergbattermann commented 3 months ago

I was just doing something else on my HA system when I got a notification in the lower left corner saying "Fan mode is not valid. Valid fan modes are: quiet, low, powerful, auto". I had never seen that before so I checked the Settings > System > Logs and saw this:

image

I know what happened to cause the communication timeout (I restarted the AP the Kumo Cloud unit connects to) but I have never seen that particular error before (when wifi went away for a minute or two).

Maybe one related question: is there any way to configure the amount of retries / time waited etc? The restarts of the Kumo Cloud unit also temporarily stop the heatpump as far as I know and I'd probably be a bit more lenient for my particular environemnt if I could configure these values.

Thanks!

dlarrick commented 3 months ago

I'm not surprised. The integration fetches the supported fan modes from the unit itself. So if it can't talk to the unit, it can't figure out what the modes are.

joergbattermann commented 3 months ago

Yeah makes sense that it would complain about that but for some reason I assumed once fetched (initially during setup), that info would be stored/cached.. the units' modes rarely (if ever) change and that's why I was surprised by the ERROR side of things vs just WARNINGs.