Ron Klinkien
2f2f38839a
Handle 403/404 errors gracefully for users without gear
...
- Change 403 Forbidden errors from ERROR to DEBUG level
- Change 404 Not Found errors from ERROR to DEBUG level
- Add helpful message indicating user may not have gear configured
- Prevents error spam in logs for users without Garmin gear
- Integration continues to work normally without gear sensors
2025-11-06 16:06:02 +01:00
Ron Klinkien
53b21e92fb
Fix userprofile keyerror, remove duplicate gear fetch code
2025-11-06 14:55:29 +01:00
Ron Klinkien
441e4a0018
Reauth fix
2025-11-05 09:58:25 +00:00
Ron Klinkien
8dd4995fb2
Merged several fixes
2025-11-05 09:58:19 +00:00
Ron Klinkien
160a1b96e9
Config migration improvements
2025-11-04 20:59:04 +00:00
Ron Klinkien
355f9d7732
More edge case migration handling
2025-11-04 21:14:00 +01:00
Ron Klinkien
1776cb4037
More robust config flow when integration is reinstalled
2025-11-04 18:03:35 +00:00
Ron Klinkien
f26e78de04
Bumped version
2025-11-04 17:38:48 +00:00
Ron Klinkien
8d00693332
Fixed config migration issue
2025-11-04 17:37:43 +00:00
Ron Klinkien
cb1422c22b
Bumped python-garminconnect
2025-11-04 16:36:56 +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 Klinkien
68a9cf3e10
Fixed syntax error
2025-11-04 15:47:17 +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
Ron
0a7fb1b9fa
Merge pull request #307 from cyberjunky/coderabbitai/docstrings/u59f
...
📝 Add docstrings to `mfa`
2025-06-05 13:05:32 +02:00
Ron Klinkien
dc5bf13660
Fixed indentation in config_flow.py
2025-06-05 11:03:53 +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
d0e7a15d35
Merge branch 'main' into mfa
2025-06-05 12:53:36 +02:00
Ron
509ee86bc1
Update custom_components/garmin_connect/config_flow.py
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-06-05 12:08:43 +02:00
Ron
a5632b4650
Update custom_components/garmin_connect/config_flow.py
...
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-06-05 12:08:24 +02: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
2f19c5b1d6
MFA WIP
2025-02-08 18:30:58 +01:00
Ron Klinkien
dfc4b5c723
Added User Points, User Level and Last Activity sensors
2025-01-21 10:52:42 +00:00
Ron Klinkien
06ee9e15b7
Bumped version
2025-01-21 08:12:39 +00:00
Ron Klinkien
164fc53b6d
Documented services examples
2025-01-21 08:11:52 +00:00
Ron Klinkien
0cb06c7cc4
Fixed selection of 10 last badges
2025-01-20 18:01:57 +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
Ron
34d88ff534
Merge pull request #228 from lukas-hermans/main
...
Add total sleep duration sensor
2025-01-17 13:08:44 +01:00
Jean-François Paris
0f0d9ad8f5
Better icon for badges sensor
2025-01-13 22:31:26 +00:00
Jean-François Paris
2a16ea4727
Fixed 3 sensors with state/Sensor class mixed up
2025-01-13 22:28:27 +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
Ron
fa0e60648f
Merge pull request #204 from jfparis/hrv_status
...
Add a sensor to retreive HRV status when available
2024-12-17 08:40:48 +01:00
Ron
5a8fd38741
Merge pull request #203 from jfparis/measurement_units_v2
...
Correct states class of several entities
2024-12-17 08:37:10 +01:00
Ron Klinkien
f16f96e5de
Pin garth version to 0.4.47
2024-12-12 08:32:30 +01:00
Jean-François Paris
252f67ff7f
Add a sensor to retreive HRV status when available
2024-11-28 10:50:59 +00:00
Jean-François Paris
b366807571
Gives body indicators related data the 'measurement' class
2024-11-27 21:36:32 +00:00
Jean-François Paris
437aae6d34
Gives respitation related data the 'measurement' class
2024-11-27 21:35:06 +00:00