Allen Porter and GitHub
a1de03d63e
Update Fitbit sensor test snapshots to use EntityRegistryEntry and StateSnapshot structures ( #169213 )
2026-05-14 16:37:51 +02:00
Allen Porter and GitHub
616a0f204c
Migrate Fitbit user profile fetching to use fitbit-web-api ( #167480 )
2026-04-06 12:10:29 +02:00
cdaaa2bd8f
Update fitbit to use new asyncio client library for device list ( #157308 )
...
Co-authored-by: Copilot <[email protected] >
2025-11-27 00:23:49 -05:00
1941850685
Modernize Fitbit entity names ( #130828 )
...
* Modernize fitbit entity names
* Use placeholder with tracker device name
* Make names sentence case
* Apply name simplifications from PR feedback
* Remove translations that are duplicate of device class
* Update homeassistant/components/fitbit/sensor.py
Co-authored-by: Joost Lekkerkerker <[email protected] >
* Add a test for tracker distance and update snapshots
---------
Co-authored-by: Joost Lekkerkerker <[email protected] >
2024-11-19 07:47:15 +01:00
Allen Porter and GitHub
96299b16e2
Remove code for old fitbit config import ( #130783 )
...
* Remove code for old fitbit config import
* Remove translations related to issues
2024-11-16 23:09:59 -05:00
Marc Mueller and GitHub
aa16a9d707
Add empty line after module docstring (3) ( #112750 )
2024-03-08 20:38:34 +01:00
Martin Hjelmare and GitHub
9d5f714e29
Decrease fitbit logging verbosity on connection error ( #108228 )
...
* Add test for connection error
* Decrease fitbit connection error log verbosity
2024-01-17 07:07:02 -08:00
Allen Porter and GitHub
2e4c4729c4
Improve fitbit authentication error handling ( #106885 )
2024-01-02 17:51:15 +01:00
Allen Porter and GitHub
64c9aa0cff
Update Fitbit to avoid a KeyError when restingHeartRate is not present ( #103872 )
...
* Update Fitbit to avoid a KeyError when `restingHeartRate` is not present
* Explicitly handle none response values
2023-11-12 12:49:49 -08:00
Jan-Philipp Benecke and GitHub
04a497343d
Update f-g* tests to use entity & device registry fixtures ( #103841 )
2023-11-12 13:07:38 +01:00
fe482af561
Add modernized fitbit battery level sensor ( #102500 )
...
* Add modernized fitbit battery level sensor
* Use entity names for existing battery sensors
* Use icon from device class
* Update homeassistant/components/fitbit/strings.json
Co-authored-by: Joost Lekkerkerker <[email protected] >
* Update tests with lower case naming
* Swap the names of the device battery sensors
* Revert "Swap the names of the device battery sensors"
This reverts commit c9516f6d06 .
* Update homeassistant/components/fitbit/sensor.py
Co-authored-by: Jan Vaníček <[email protected] >
* Improve typing
---------
Co-authored-by: Joost Lekkerkerker <[email protected] >
Co-authored-by: Jan Vaníček <[email protected] >
Co-authored-by: Martin Hjelmare <[email protected] >
2023-11-02 10:22:27 +01:00
Allen Porter and GitHub
8703621c64
Improve fitbit oauth import robustness ( #102833 )
...
* Improve fitbit oauth import robustness
* Improve sensor tests and remove unnecessary client check
* Fix oauth client id/secret config key checks
* Add executor for sync call
2023-10-28 17:20:44 +02:00
Allen Porter and GitHub
c4f562ff6a
Reduce unnecessary fitbit RPCs on startup ( #102504 )
...
* Reduce unnecessary fitbit RPCs on startup
* Update comment about racing user profile rpcs
2023-10-21 22:00:40 -07:00
Allen Porter and GitHub
d78ee96e2a
Update fitbit device fetch to use a data update coordinator ( #101619 )
...
* Add a fitbit device update coordinator
* Remove unnecessary debug output
* Update comments
* Update fitbit coordinator exception handling and test coverage
* Handle reauth failures in other sensors
* Fix scope changes after rebase.
2023-10-09 08:12:59 +02:00
Allen Porter and GitHub
7d202f78f5
Add fitbit nutrition sensors ( #101626 )
...
* Add fitbit nutrition sensors
* Add test coverage for unit systems
2023-10-08 10:09:26 +02:00
Allen Porter and GitHub
c7d533d427
Update fitbit error handling ( #101304 )
...
* Update fitbit error handling
* Update exceptions to inherit HomeAssistantError and add reason code
* Revert config flow exception mapping hack
2023-10-05 22:38:15 -07:00
bd2fee289d
Update Fitbit integration to allow UI based configuration ( #100897 )
...
* Cleanup fitbit sensor API parsing
* Remove API code that is not used yet
* Configuration flow for fitbit
* Code cleanup after manual review
* Streamline code for review
* Use scopes to determine which entities to enable
* Use set for entity comparisons
* Apply fitbit string pr feedback
* Improve fitbit configuration flow error handling
* Apply suggestions from code review
Co-authored-by: Joost Lekkerkerker <[email protected] >
* Fix typo in more places
* Revert typing import
* Revert custom domain back to default
* Add additional config flow tests
* Add breaks_in_ha_version to repair issues
* Update homeassistant/components/fitbit/api.py
Co-authored-by: Martin Hjelmare <[email protected] >
* Increase test coverage for token refresh success case
* Add breaks_in_ha_version for sensor issue
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <[email protected] >
* Simplify translations, issue keys, and token refresh
* Config flow test improvements
* Simplify repair issue creation on fitbit import
* Remove unused strings
---------
Co-authored-by: Joost Lekkerkerker <[email protected] >
Co-authored-by: Martin Hjelmare <[email protected] >
2023-09-30 16:56:39 -07:00
Allen Porter and GitHub
18f29993c5
Simplify fitbit unit system and conversions ( #100825 )
...
* Simplify fitbit unit conversions
* Use enum values in unit system schema
* Use fitbit unit system enums
2023-09-25 20:08:59 -04:00
Allen Porter and GitHub
ae29ddee74
Add more test coverage for fitbit sensors ( #100776 )
2023-09-23 15:38:53 -07:00
Allen Porter and GitHub
781bc5b3bc
Add tests for fitbit integration ( #100765 )
...
* Add tests for fitbit integration
* Update coveragerc
* Update test requirements
2023-09-23 12:04:44 -07:00