scheric
f5248b5562
Use common strings in withings config flow ( #41770 )
2020-10-14 21:54:23 +02:00
SNoof85
04b04027c3
Use reference strings in Withings ( #41345 )
2020-10-07 11:22:11 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
Robert Van Gorkom
c913d17913
Add bed sensor availability for withings ( #37906 )
2020-08-02 09:36:14 -05:00
Paulus Schoutsen
0c771f1c42
Replace asynctest with tests.async_mock ( #37428 )
2020-07-03 11:29:35 -07: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
Erik Montnemery
4e77969f5e
Drop use of mock_mqtt_component ( #37013 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2020-06-23 10:17:22 -07:00
Robert Van Gorkom
5446641f09
User defined profile name for Withings ( #36864 )
2020-06-22 17:55:41 +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
fcef259021
Prefer use cloud url for oauth2 for Withings ( #36348 )
2020-06-03 12:40:46 +02:00
Quentame
1855c91988
Use CONF_CLIENT_ID & CONF_CLIENT_SECRET from homeassistant.const ( #36233 )
...
* Use CONF_CLIENT_ID & CONF_CLIENT_SECRET from homeassistant.const
* Fix pylint
* Use in tests
* Search for "client_id"
* Fix tests
* Fix test
* Fix test
2020-05-30 17:27:20 +02:00
Franck Nijhof
2223592486
Add get_url helper, deprecate base_url ( #35224 )
2020-05-08 02:29:47 +02:00
Paulus Schoutsen
2af984917e
Use asynctest-mock in most places ( #35109 )
...
* Use asynctest-mock in most places
* Fix broken patch in pilight
2020-05-03 11:27:19 -07:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
Robert Van Gorkom
ea709d0630
Remove withings sleep state ( #33817 )
2020-04-08 11:57:42 -07:00
springstan
67c3a4c970
Improve string formatting v7 ( #33705 )
2020-04-05 17:34:24 -05:00
springstan
ed71683488
Improve string formatting ( #33643 )
2020-04-04 20:17:11 +02:00
Franck Nijhof
c0c5c33b20
Fix Withings timezone test ( #32602 )
2020-03-09 13:45:39 +01:00
Robert Van Gorkom
672db9cfe9
Fixing unit of measure for withings hydration. Fixes #30570 ( #30685 )
2020-01-11 20:58:06 -05:00
Ville Skyttä
5216477353
Be consistent with Home Assistant and Hass.io spelling ( #30500 )
...
* Be consistent with Home Assistant spelling
* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
Ville Skyttä
fa4fa30461
Various string cleanups ( #30435 )
...
* Remove some unnecessary string concatenations
* Replace some simple str.formats with f-strings
* Replace some string concatenations with f-strings
2020-01-03 14:47:06 +01:00
Franck Nijhof
2620a95944
Improve Withings tests in different time zone ( #30326 )
...
* Improve Withings tests in different time zone
* Address code review comment
* Spelling error in code doc
2019-12-31 11:10:39 -05:00
Franck Nijhof
5414e9d155
Fix Withings leaking time zone change into other tests ( #30320 )
...
* Fix Withings leaking time zone change in other tests
* Fix spelling error in code doc
2019-12-31 14:30:09 +01:00
Robert Van Gorkom
08af989658
Fixing timezone issue which caused wrong selection of data to be used. ( #30011 )
2019-12-28 21:25:37 +01:00
Robert Van Gorkom
66d2f5f61d
Fix withings wrong sleep state entry ( #29651 )
...
* Fixing issue where wrong sleep state entry was being used. closes #28370,#29397
* Fixing formatting.
* Sorting imports to get black checks to pass.
* Using lambda for getting latest sleep serie.
2019-12-10 21:54:50 +01:00
Franck Nijhof
04ab20846a
Bump black to 19.10b0 ( #28310 )
2019-10-28 23:32:34 -07: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
Paulus Schoutsen
c6fc677f5b
Verify withings config ( #26698 )
2019-09-17 13:45:48 -07: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