yo-han / Home-Assistant-Carelink

Unofficial Home Assistant Carelink Component
MIT License
24 stars 12 forks source link

Errory whilst initializing: 'Retrying Setup: Greenwich Mean Time' #3

Closed moonbrushed closed 1 year ago

moonbrushed commented 1 year ago

Whilst setting up the integration in home assistant after entering my care partner details, I just get the following error in an endless loop whilst initializing....'Retrying Setup: Greenwich Mean Time'

yo-han commented 1 year ago

You're absolutely right. I made a fix and created a new version. The update should be available through your home assistant soon.

moonbrushed commented 1 year ago

Thanks for fixing so quickly! However, now I'm getting the message 'Retrying Setup: gstBatteryLevel' in the same place.

yo-han commented 1 year ago

Ah wow. Great test case. Do you use a pump with sensor or without? The gstBatteryLevel is the battery of the sensor. It's clear I should do a better job in adding fallback values for each sensor as are not always available as it seems.

moonbrushed commented 1 year ago

I don't use a sensor...I think I may have done in the past but all the sensor things are disabled in the pump currently.

yo-han commented 1 year ago

Allright. Makes sense then. I made a new release with fallbacks for all values this time. Hope this helps.

moonbrushed commented 1 year ago

Hi there. Thanks for the quick responses. Have updated to 12.4 but am still getting the same battery message.

yo-han commented 1 year ago

It seems to be a bit more difficult issue then expected. I'll will give a more thorough look later this weekend. First I need to find a way to reproduce the error in my dev environment so I can debug the issue better. Thanks for the feedback and I'm sorry for the inconvenience.

yo-han commented 1 year ago

A new release is live with a lot of fixes and features. Hope this helps with the issues you experienced. If not please let me know.