libdyson-wg / ha-dyson

Home Assistant custom integration for Wi-Fi connected Dyson devices
MIT License
228 stars 26 forks source link

Failed to connect using Cloud + Local #25

Closed style6 closed 1 year ago

style6 commented 1 year ago

tp04 device unavailable 2023524-01127 2023524-01242

dotvezz commented 1 year ago

Interesting. You're not the only one seeing this behavior, but it's hard to find a clear pattern of why that would be None instead of "off".

My first suspicion is a race. Perhaps the device adding process is trying to get values before they're available from MQTT. I know there's a thread I've worked with to make sure this doesn't happen when trying to get Formaldehyde sensor data, but I haven't looked at the field value data checks.

I'll take a look.

dotvezz commented 1 year ago

I just released v0.21.0 which may addresses this (I'm not sure, but curious)! Let me know if you have any issues.

jcboliveira commented 1 year ago

Still happens however the solution (found in another post) logout form Dyson app and add everything (cloud +local) worked