Commit Graph

47 Commits

Author SHA1 Message Date
Ron Klinkien
8d00693332 Fixed config migration issue 2025-11-04 17:37:43 +00:00
Ron Klinkien
dc5151c641 Fixed syntax issues 2025-11-04 15:59:46 +01:00
Ron Klinkien
1edb3c91b6 Fixed another syntax error 2025-11-04 15:50:38 +01:00
Ron
014b99a3b3 Merge branch 'main' into endurance 2025-11-04 15:41:40 +01:00
Jean-François Paris
359eaea923 endurance score: fix bug when garmin api returns blank 2025-10-30 14:22:35 +00:00
Jean-François Paris
94e1416e5d Added the endurance score as an optional entity 2025-10-27 21:24:11 +00:00
coderabbitai[bot]
d6dc1198e4 📝 Add docstrings to mfa
Docstrings generation was requested by @cyberjunky.

* https://github.com/cyberjunky/home-assistant-garmin_connect/pull/306#issuecomment-2943501760

The following files were modified:

* `custom_components/garmin_connect/__init__.py`
* `custom_components/garmin_connect/config_flow.py`
* `custom_components/garmin_connect/sensor.py`
2025-06-23 11:21:32 +00:00
Ron Klinkien
799ad51305 Fixed return types 2025-06-05 11:12:59 +00:00
coderabbitai[bot]
9a83f6aca8 📝 Add docstrings to mfa
Docstrings generation was requested by @cyberjunky.

* https://github.com/cyberjunky/home-assistant-garmin_connect/pull/306#issuecomment-2943501760

The following files were modified:

* `custom_components/garmin_connect/__init__.py`
* `custom_components/garmin_connect/config_flow.py`
* `custom_components/garmin_connect/sensor.py`
2025-06-05 10:54:20 +00:00
Ron
13e00af7a0 Update custom_components/garmin_connect/__init__.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-06-05 12:08:12 +02:00
Ron Klinkien
d25506e3d2 Bumped garminconnect to 0.2.27 2025-06-05 09:43:31 +00:00
Ron Klinkien
9cf1b3a3bb Migrate from old config flow to new config flow
Catch authentication errors and show them in the UI
Limit last activity to 5 in attributes
2025-04-19 10:38:01 +00:00
Ron Klinkien
4163be285f Added hydration sensors 2025-04-18 18:30:04 +00:00
Ron Klinkien
a179131a94 Added Age sensors
Only store last 10 activities in attribute
2025-04-18 18:06:12 +00:00
Ron Klinkien
7c119b9fe5 First beta version with MFA support. 2025-04-18 15:16:59 +00:00
Ron Klinkien
83e8e52d72 Fixes 2025-02-08 18:18:15 +00:00
Ron Klinkien
dfc4b5c723 Added User Points, User Level and Last Activity sensors 2025-01-21 10:52:42 +00:00
Ron Klinkien
36d6f7720d Many bug fixes and fixes of deprecated code, update of dev environment and dependencies 2025-01-20 10:16:05 +00:00
Lukas Hermans
bd567dc0b2 Add total sleep duration 2025-01-07 19:52:13 +01:00
Ron Klinkien
585242e77c Another hrvdata missing fix. 2024-12-20 12:03:31 +01:00
Ron Klinkien
dbcb5d7103 Fixes related to hrvstatus and body composition data 2024-12-20 10:02:34 +01:00
Ron
8c16842247 Merge pull request #157 from kruemelro/main
Always fetch latest data, added blood pressure service
2024-12-17 08:46:38 +01:00
Jean-François Paris
252f67ff7f Add a sensor to retreive HRV status when available 2024-11-28 10:50:59 +00:00
kruemelro
14c6694239 changed value datatype to int 2024-04-08 08:57:53 +02:00
kruemelro
3d5200581d try and error ;-) 2024-04-05 10:17:20 +02:00
kruemelro
47096eabeb added blood_pressure function 2024-04-05 09:43:52 +02:00
kruemelro
62377b5d55 changed body return values
instead of the total average, take the first measurement
2024-04-02 12:16:16 +02:00
kruemelro
9136466115 fixed typo 2024-04-02 11:49:48 +02:00
kruemelro
003a4c57ef changed get_body_composition
changed get_body_composition to load data of past week not only today
2024-04-02 11:24:46 +02:00
luk
261f41940f Add badges 2024-02-13 13:47:51 +01:00
cyberjunky
7ab5141a6c Added development enviroment 2024-01-16 12:17:17 +00:00
Ron
1029e21e23 Merge pull request #116 from alexives/add_body_composition_service
Add service for body composition
2024-01-02 12:33:56 +01:00
Ron
bfb720ac5d Update __init__.py 2024-01-02 12:29:46 +01:00
Alex Ives
d20c9bedb2 Add service for body composition
Relates to https://github.com/cyberjunky/home-assistant-garmin_connect/issues/74
2023-12-30 15:42:19 -06:00
Jean-François Paris
e9fba7abbe Pull sleepscore from Garmin interface 2023-06-23 23:34:24 +01:00
Ron
845cce3bda Merge pull request #49 from ray0711/gear_sensor
Added gear sensors & gear service
2023-05-22 10:14:12 +02:00
Krzysztof Gorzelak
b7f2a6e653 Adding last activities sensor 2023-05-05 10:09:46 +02:00
ray0711
287a9a04c3 Merge branch 'main' of https://github.com/cyberjunky/home-assistant-garmin_connect into gear_sensor 2023-04-16 10:15:05 +02:00
Ron
36e5b7c6b8 Add support for China 2023-04-05 17:39:16 +02:00
Ron
1aa8cfb78f Use async_forward_entry_setups instead of async_setup_platforms 2023-02-02 18:10:58 +01:00
Ron
842355d273 Added debug logging 2023-01-06 12:48:23 +01:00
Raimund Huber
fa48f9f4e2 List default for actitivies on sensor, bugfixes 2022-12-08 20:10:58 +01:00
Raimund Huber
4f4d0b8425 Gear service to update default gear per activity on garmin connect 2022-12-06 22:02:51 +01:00
Raimund Huber
cc6e0af4e5 add basic gear sensors 2022-12-04 12:03:10 +01:00
Ron Klinkien
3fd9388170 Update __init__.py 2021-12-29 21:54:16 +01:00
Ron Klinkien
3c1b75e804 Implemented DataCoordinator 2021-07-08 21:20:20 +02:00
Ron Klinkien
e276835501 Code import 2021-07-07 11:03:24 +02:00