Commit graph

377 commits

Author SHA1 Message Date
Joost Lekkerkerker
e507d1c5a5
Add more Withings measurement sensors (#105561) 2023-12-27 16:55:42 +01:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Joost Lekkerkerker
816a37f9fc
Fix timing issue in Withings (#105203) 2023-12-13 16:48:46 +01:00
Joost Lekkerkerker
b36ddaa15c
Change super class order in Withings Calendar (#104721) 2023-11-29 16:30:23 +01:00
Joost Lekkerkerker
ccc8804906
Bump aiowithings to 2.0.0 (#104579) 2023-11-27 10:53:41 +01:00
Joost Lekkerkerker
8ffad6f7a6
Bump aiowithings to 1.0.3 (#104530) 2023-11-26 03:01:45 +01:00
Franck Nijhof
8df7291abb
Remove Withings entity descriptions required fields mixins (#104008) 2023-11-15 06:31:10 +01:00
Jan Bouwhuis
f94167a4bb
Fix invalid oauth2_unauthorized translation ref (#103873)
* Fix invalids oauth2_unauthorized translation ref

* Fix oauth2_failed
2023-11-12 21:13:38 +01:00
Allen Porter
787fb3b954
Improve OAuth error handling in configuration flows (#103157)
* Improve OAuth error handling in configuration flows

* Update strings for all integrations that use oauth2 config flow

* Remove invalid_auth strings

* Revert change to release

* Revert close change in aiohttp mock
2023-11-11 11:02:51 +01:00
Joost Lekkerkerker
667a453a35
Lock Withings token refresh (#103688)
Lock Withings refresh
2023-11-11 09:39:41 +01:00
Joost Lekkerkerker
1a6c3a4944
Add name to Withings coordinator (#103692) 2023-11-09 12:44:50 +01:00
Joost Lekkerkerker
52736c6039
Sort Withings sleep data on end date (#103454)
* Sort Withings sleep data on end date

* Sort Withings sleep data on end date
2023-11-06 07:58:13 +01:00
Joost Lekkerkerker
7319abcab0
Show a warning when no Withings data found (#103066) 2023-10-30 19:40:27 +01:00
Joost Lekkerkerker
953d5e0080
Add 2 properties to Withings diagnostics (#103067) 2023-10-30 15:47:08 +01:00
Joost Lekkerkerker
c741b8cbd1
Bump aiowithings to 1.0.2 (#102852) 2023-10-26 17:31:53 +02:00
Joost Lekkerkerker
4812d62ccf
Bring Withings activity sensor creation in line with the others (#102771) 2023-10-25 12:14:03 +02:00
Joost Lekkerkerker
45e4f71d1a
Add generics to Withings (#102770) 2023-10-25 12:00:12 +02:00
Joost Lekkerkerker
9600c7fac1
Add workout calendar to Withings (#102589) 2023-10-24 16:38:11 +02: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
a6ade59133
Make Withings sleep sensor only show last night (#101993) 2023-10-23 10:39:17 +02:00
Joost Lekkerkerker
54ba376b4b
Make Withings bed presence sensor dynamic (#102058)
* Make Withings bed presence sensor dynamic

* Make Withings bed presence sensor dynamic

* Update homeassistant/components/withings/binary_sensor.py

Co-authored-by: J. Nick Koston <nick@koston.org>

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2023-10-23 09:01:58 +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
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