neilzilla / hass-renpho

Retrieve last weight and timestamp from Renpho app for use in Home Assistant
60 stars 6 forks source link

No users set up on scale #6

Closed mabrochu-helpox closed 7 months ago

mabrochu-helpox commented 1 year ago

Hi, i have 2 users on my scale me and my wife, on the app i can see it but in HA i have this error at startup

2023-01-15 09:05:42.189 ERROR (SyncWorker_7) [custom_components.renpho.RenphoWeight] No users set up on scale 2023-01-15 09:05:42.225 ERROR (SyncWorker_7) [custom_components.renpho.RenphoWeight] Error getting scale users: list index out of range 2023-01-15 09:05:42.227 ERROR (SyncWorker_7) [custom_components.renpho.RenphoWeight] Error getting measurements: 'RenphoWeight' object has no attribute 'user_id'

hopkinsbrett12 commented 1 year ago

Same

antoinebou12 commented 7 months ago

Change the code to handle multiple user in the configuration