home-assistant-garmin_connect
home-assistant-garmin_connect copied to clipboard
add_body_composition service ignores entity_id parameter
We habe two garmin accounts for me and my wife. I can add both accounts and HA is fetching the data for both, but updating the weight using the service will always end up in the first account linked. I played around and found out that the entity_id is not relevant at all. I can just enter random characters and the first account is updated with the values. Any idea how to improve this behavior to allow multiple accounts linked?
service: garmin_connect.add_body_composition
data:
weight: 57.1
timestamp: 2024-03-07T11:47:00
entity_id: abc
#133 <- just saw this is just a more detailled duplicate of issue 133
Just a reply on myself: I have added the integration twice - in different folders and adjusted some files so HASS sees now two integrations. This way I have two separate services I can call (one for each user). This is not nice but at all it is working. Maybe this is helpful for someone ...
HI, issue 133 was mine. If this works I will give it a try, but not sure how to add twice. Any steps would be very helpful.
Hi Joss, just duplicate the folder. Then go through the files and adjust the name/domain like in my picture. It is only a couple of references. Restart hass and add another (now Garminconnect2) device with the secondary credentials