Joost Lekkerkerker
10805805fe
Add devices to Withings ( #126853 )
2024-09-30 21:06:51 +02:00
epenet
2e3c3789d3
Use relative imports in tests [s-z] ( #119283 )
2024-06-10 13:33:15 +02:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Marc Mueller
87165c0d6e
Add empty line after module docstring [tests t-z] ( #112712 )
2024-03-08 14:44:56 +01:00
Joost Lekkerkerker
b42c47e800
Add last workout sensors to Withings ( #102541 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Robert Resch <robert@resch.dev>
2023-10-24 11:07:47 +02:00
Joost Lekkerkerker
42c062de68
Only add Withings sleep sensors when we have data ( #102578 )
...
Co-authored-by: Robert Resch <robert@resch.dev>
2023-10-23 12:59:13 +02:00
Joost Lekkerkerker
04b883a8e9
Add activity sensors to Withings ( #102501 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-10-22 23:47:18 +02:00
Joost Lekkerkerker
e3b238861d
Clean up withings tests ( #102548 )
2023-10-22 21:58:30 +02:00
Joost Lekkerkerker
235a3486ee
Add sensors for Withings Goals ( #102468 )
2023-10-21 21:51:37 +02:00
Joost Lekkerkerker
76083a0b4c
Update Withings measurements incrementally after the first update ( #102002 )
...
* Update incrementally after the first update
* Update incrementally after the first update
2023-10-14 16:19:04 +02:00
Joost Lekkerkerker
8a4fe5add1
Use aiowithings ( #101819 )
...
* Subscribe to Withings webhooks outside of coordinator
* Subscribe to Withings webhooks outside of coordinator
* Split Withings coordinator
* Split Withings coordinator
* Use aiowithings
* Use aiowithings
* Use aiowithings
* Update homeassistant/components/withings/sensor.py
* Merge
* Remove startdate
* Minor fixes
* Bump to 0.4.1
* Fix snapshot
* Fix datapoint
* Bump to 0.4.2
* Bump to 0.4.3
* Bump to 0.4.4
2023-10-14 11:52:35 +02:00
Joost Lekkerkerker
ffb752c804
Subscribe to Withings webhooks outside of coordinator ( #101759 )
...
* Subscribe to Withings webhooks outside of coordinator
* Subscribe to Withings webhooks outside of coordinator
* Update homeassistant/components/withings/__init__.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/withings/__init__.py
Co-authored-by: J. Nick Koston <nick@koston.org>
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-10-11 00:06:42 +02:00
Joost Lekkerkerker
0f95de997f
Support cloudhooks in Withings ( #100916 )
...
* Support cloudhooks in Withings
* Support cloudhooks in Withings
* Support cloudhooks in Withings
* Remove strings
2023-09-26 21:52:18 +02:00
Joost Lekkerkerker
b0a7e68984
Rename Withings coordinator file ( #100899 )
...
Rename common.py to coordinator.py
2023-09-26 10:59:45 +02:00
Joost Lekkerkerker
4f63c7934b
Add coordinator to Withings ( #100378 )
...
* Add coordinator to Withings
* Add coordinator to Withings
* Fix tests
* Remove common files
* Fix tests
* Fix tests
* Rename to Entity
* Fix
* Rename webhook handler
* Fix
* Fix external url
* Update homeassistant/components/withings/entity.py
Co-authored-by: Luke Lashley <conway220@gmail.com>
* Update homeassistant/components/withings/entity.py
Co-authored-by: Luke Lashley <conway220@gmail.com>
* Update homeassistant/components/withings/entity.py
Co-authored-by: Luke Lashley <conway220@gmail.com>
* Update homeassistant/components/withings/entity.py
Co-authored-by: Luke Lashley <conway220@gmail.com>
* fix imports
* Simplify
* Simplify
* Fix feedback
* Test if this makes changes clearer
* Test if this makes changes clearer
* Fix tests
* Remove name
* Fix feedback
---------
Co-authored-by: Luke Lashley <conway220@gmail.com>
2023-09-26 09:17:11 +02:00
Joost Lekkerkerker
6fc1407613
Extract Withings API specifics in own class ( #100363 )
...
* Extract Withings API specifics in own class
* Extract Withings API specifics in own class
* Ignore api test coverage
* fix feedback
2023-09-14 13:31:54 +02:00
Joost Lekkerkerker
8498cdfb3c
Remove profile from Withings config flow ( #100202 )
...
* Remove profile from Withings config flow
* Add config flow migration
* Add config flow migration
* Remove datamanager profile
* Remove datamanager profile
* Add manufacturer
* Remove migration
* Remove migration
* Fix feedback
2023-09-13 15:49:36 +02:00
Joost Lekkerkerker
5c206de906
Decouple Withings webhook tests from YAML ( #100143 )
2023-09-11 14:06:20 -05:00
Joost Lekkerkerker
5781e5e03e
Use json to store Withings test data fixtures ( #99998 )
...
* Decouple Withings sensor tests from yaml
* Improve Withings config flow tests
* Improve Withings config flow tests
* Fix feedback
* Use fixtures to store Withings testdata structures
* Use fixtures to store Withings testdata structures
* Use JSON
* Fix
* Use load_json_object_fixture
2023-09-11 12:36:37 +02:00
Joost Lekkerkerker
a62ffeaa99
Decouple Withings sensor tests from yaml ( #99691 )
...
* Decouple Withings sensor tests from yaml
* Fix feedback
* Add pytest fixture
* Update tests/components/withings/test_sensor.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Update snapshots
* Update snapshots
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-09-09 19:11:28 +02:00
Franck Nijhof
62dcbe5258
Enable Ruff PT001 ( #86730 )
2023-01-26 18:05:05 +01:00
Franck Nijhof
d8a15f3dda
Fix Withings authentication to leverage default redirect URI ( #79158 )
2022-09-27 13:22:52 -04:00
Erik Montnemery
43b5dcff76
Use hass_client_no_auth test fixture in withings tests ( #56337 )
2021-09-18 23:12:02 +02:00
Robert Van Gorkom
a6a6a7b69c
Add Withings webhooks ( #34447 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-06-16 20:16:18 +02:00
Robert Van Gorkom
15bedd8f27
Use latest withings_api module ( #27817 )
...
* Using latest winthings_api module.
Drastically reduced complexity of tests.
* Removing import source.
* Fixing test requirements.
* Using requests_mock instead of responses module.
* Updating file formatting.
* Removing unused method.
* Adding support for new OAuth2 config flow.
* Addressing PR feedback.
Removing unecessary base_url from config, this is a potential breaking change.
* Addressing PR feedback.
2019-10-24 09:41:04 -07:00
Robert Van Gorkom
77490a3246
Vangorra withings fix ( #27404 )
...
* Fixing connection issues with withings API by switching to a maintained client codebase.
* Updating requirements files.
* Adding withings api to requirements script.
* Using version of withings api with static version in setup.py.
* Updating requirements files.
2019-10-10 11:22:36 -07:00
Martin Hjelmare
c188ecf79b
Revert "Fix connection issues with withings API by switching to a maintained codebase ( #27310 )" ( #27385 )
...
This reverts commit 071476343c
.
2019-10-10 14:21:42 +02:00
Robert Van Gorkom
071476343c
Fix connection issues with withings API by switching to a maintained codebase ( #27310 )
...
* Fixing connection issues with withings API by switching to a maintained client codebase.
* Updating requirements files.
* Adding withings api to requirements script.
2019-10-08 20:14:52 +02:00
Robert Van Gorkom
614cf74225
Add Withings support ( #25154 )
...
* Rebasing with a clean branch.
Addressing PR feedback.
Cleaning up some static code checks.
Fixing bug with saving credentials.
* Removing unecessary change.
* Caching data manager.
* Removing configurable measures.
* Using import step in config flow.
* Updating config flows.
* Addressing PR feedback.
* Formatting source.
* Addressing PR feedback and rebasing.
2019-08-31 14:30:59 +02:00