Joost Lekkerkerker
b2cad2370b
Add Withings webhooks after a slight delay ( #101542 )
2023-10-06 18:21:06 +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
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
c347c78b6d
Split Withings common file out to their own file ( #100150 )
...
* Split common out in logical pieces
* Split common out in logical pieces
* Split common out in logical pieces
2023-09-11 22:25:08 +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
epenet
5b80b1f55a
Add type hints to integration tests (part 25) ( #88308 )
2023-02-17 16:52:28 +01:00
epenet
1af72e3671
Add device class to withings ( #84103 )
2022-12-16 20:04:07 +01:00
epenet
f5a8ce4aca
Split platform attributes in withings ( #84099 )
2022-12-16 15:35:03 +01:00
epenet
14ee3f1ddc
Move unused function in withings ( #84089 )
...
* Remove unused function in withings
* Move to tests
* Remove reference to attribute.platform
* Move WITHINGS_MEASUREMENTS_MAP to tests
* measute_type > measure_type
* One more
2022-12-16 10:50:20 +01:00
Robert Hillis
0c82a3c7b0
Use platform enums in withings tests ( #62551 )
2021-12-21 20:37:17 -08:00
J. Nick Koston
bf2d40adfe
Migrate from pytz to python-dateutil ( #49643 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-05-07 22:46:26 -07:00
Franck Nijhof
f0e5e616a7
Fix device discovery of OAuth2 config flows ( #48326 )
2021-03-25 10:35:01 -07:00
Erik Montnemery
b3fecb1c95
Update tests t-z to use async_get() instead of async_get_registry() ( #47655 )
2021-03-09 14:25:03 +01:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Robert Van Gorkom
a7cf76491b
Fix withings bug that grabbed oldest value instead of the newest ( #37362 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-07-02 13:09:49 -07: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