Joost Lekkerkerker
5e30c2ab9c
Use dataclass for Withings domain data ( #102547 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-10-22 22:42:18 +02:00
Joost Lekkerkerker
f8ed051f01
Bump aiowithings to 1.0.1 ( #102532 )
2023-10-22 19:38:48 +02:00
Joost Lekkerkerker
1801a7738c
Bump aiowithings to 1.0.0 ( #102499 )
2023-10-21 16:51:21 -10:00
Joost Lekkerkerker
235a3486ee
Add sensors for Withings Goals ( #102468 )
2023-10-21 21:51:37 +02:00
Joost Lekkerkerker
e5b5858915
Bump aiowithings to 0.5.0 ( #102456 )
2023-10-21 17:39:54 +02:00
Robert Van Gorkom
422252e3a0
Remove code owner from withings ( #102081 )
...
* Remove code owner from withings
* Update CODEOWNERS
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-10-16 00:44:52 +02:00
Joost Lekkerkerker
24afbf3ae4
Address late Withings review ( #102075 )
2023-10-15 23:03:45 +02:00
Joost Lekkerkerker
471d1abe47
Add more measurement sensors to Withings ( #102074 )
2023-10-15 21:38:30 +02:00
Joost Lekkerkerker
b95060df99
Promote Withings to Platinum quality ( #102069 )
2023-10-15 09:04:01 -10:00
Joost Lekkerkerker
b4e4a98f17
Add diagnostics to Withings ( #102066 )
2023-10-15 20:29:20 +02:00
Joost Lekkerkerker
1a348babd4
Add Withings to strict-typing ( #101761 )
...
* Add Withings to strict-typing
* Rebase
2023-10-15 19:08:57 +02:00
Joost Lekkerkerker
148087a1c9
Mark Withings as cloud push ( #102040 )
2023-10-15 18:04:03 +02:00
Joost Lekkerkerker
dcb5faa305
Dynamically add sensors for new measurements in Withings ( #102022 )
...
* Dynamically add sensors for new data points in Withings
* Dynamically add sensors for new data points in Withings
* Add test
* Change docstring
* Store new measurements
* Fix feedback
* Add test back
* Add test back
* Add test back
2023-10-15 18:00:52 +02:00
Joost Lekkerkerker
05ee28cae5
Clean up Withings webhook ( #102038 )
2023-10-15 18:00:18 +02:00
Joost Lekkerkerker
0eb4567364
Check for port in Withings webhook creation ( #102026 )
...
Check if port is really 443
2023-10-15 12:12:46 +02:00
Joost Lekkerkerker
f9615999db
Add suggested display precision to Withings ( #102023 )
2023-10-14 23:00:50 -10: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
d712a29052
Split Withings coordinators ( #101766 )
...
* Subscribe to Withings webhooks outside of coordinator
* Subscribe to Withings webhooks outside of coordinator
* Split Withings coordinator
* Split Withings coordinator
* Update homeassistant/components/withings/sensor.py
* Fix merge
* Rename MEASUREMENT_COORDINATOR
* Update homeassistant/components/withings/__init__.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Fix feedback
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-10-13 07:34:31 +02:00
Joost Lekkerkerker
3e4edc8edd
Move Withings entity descriptions to platforms ( #101820 )
2023-10-12 13:42:00 +02:00
Joost Lekkerkerker
8e3c665fd3
Only reload Withings config entry on reauth ( #101638 )
...
* Only reload on reauth
* Reload if entry is loaded
* Make async_cloudhook_generate_url protected
* Fix feedback
2023-10-12 12:56:10 +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
faea3b1634
Abort config flow when invalid token is received ( #101642 )
2023-10-08 13:32:35 +02:00
Joost Lekkerkerker
b2cad2370b
Add Withings webhooks after a slight delay ( #101542 )
2023-10-06 18:21:06 +02:00
Joost Lekkerkerker
86cf2e29b2
Cancel callbacks on Withings entry unload ( #101536 )
2023-10-06 17:10:19 +02:00
Joost Lekkerkerker
425d961489
Delete existing Withings cloudhook ( #101527 )
2023-10-06 13:19:39 +02:00
Joost Lekkerkerker
5754e8721a
Fix Withings translations ( #101397 )
2023-10-04 16:45:13 +02:00
Joost Lekkerkerker
67f7c703f4
Fix withings webhook name ( #101221 )
2023-10-01 20:55:00 +02:00
Joost Lekkerkerker
8fd0a1b083
Add config entry name to Withings webhook name ( #101205 )
2023-10-01 18:29:53 +02:00
Joost Lekkerkerker
f733c43900
Don't show withings repair if it's not in YAML ( #101054 )
2023-09-28 19:08:26 +02:00
Joost Lekkerkerker
03827bda1e
Use async_at_started in Withings ( #100994 )
...
* Use async_at_started in Withings
* Make nice
2023-09-27 14:13:11 +02:00
Joost Lekkerkerker
e5567c09b9
Deprecate Withings YAML ( #100967 )
2023-09-27 08:33:43 +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
4ffac3e7ed
Cleanup Withings const import ( #100914 )
2023-09-26 13:16:37 +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
7b71d27637
Pass function correctly to Withings API ( #100391 )
...
* Pass function correctly to Withings API
* Add more typing
2023-09-16 16:20:24 +02:00
Joost Lekkerkerker
30d604c851
Use central logger in Withings ( #100406 )
2023-09-16 13:46:11 +02:00
Joost Lekkerkerker
1737b27dd4
Generate withings webhook ID in config flow ( #100395 )
2023-09-15 12:58:56 +02:00
Joost Lekkerkerker
c34c4f8f03
Reload on Withings options flow update ( #100397 )
...
* Reload on Withings options flow update
* Remove reload from reauth
2023-09-14 21:54:49 +02:00
Joost Lekkerkerker
a62f16b4cc
Remove obsolete strings from Withings ( #100396 )
2023-09-14 21:41:34 +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
f6b094dfee
Add options flow to Withings ( #100300 )
2023-09-13 18:08:15 +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
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
868fdd81da
Add entity translations to withings ( #99194 )
...
* Add entity translations to Withings
* Add entity translations to Withings
2023-09-09 18:48:09 +02:00
Joost Lekkerkerker
4f05e61072
Add codeowner for Withings ( #99681 )
2023-09-05 21:14:56 -05:00
Joost Lekkerkerker
6e157fef18
Add device info to Withings ( #99052 )
2023-08-27 16:06:08 +02:00
VidFerris
5ed3e90607
Use Local Timezone for Withings Integration ( #98137 )
2023-08-16 12:57:16 +02:00