Marc Mueller
44049c34f9
Use PEP 695 type alias for ConfigEntry types ( #117632 )
2024-05-17 15:42:58 +02:00
Joost Lekkerkerker
6f406603a6
Store runtime data in entry in Withings ( #116439 )
...
* Add entry runtime data to Withings
* Store runtime data in entry in Withings
* Fix
* Fix
* Update homeassistant/components/withings/coordinator.py
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
---------
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2024-04-30 13:00:11 +02:00
Joost Lekkerkerker
cc2e0fd921
Make Withings recoverable after internet outage ( #115124 )
2024-04-19 18:18:32 +02:00
Joost Lekkerkerker
0b7d9d6c44
Remove YAML configuration from Withings ( #114626 )
...
* Remove YAML configuration from Withings
* Remove YAML configuration from Withings
* Remove YAML configuration from Withings
2024-04-02 13:36:44 +02:00
Joost Lekkerkerker
d398eb1f2c
Add Withings webhook manager ( #106311 )
2024-03-25 13:59:36 +01:00
Marc Mueller
c773d57d39
Add empty line after module docstring [w-z] ( #112706 )
2024-03-08 10:35:45 -05:00
Joost Lekkerkerker
816a37f9fc
Fix timing issue in Withings ( #105203 )
2023-12-13 16:48:46 +01:00
Joost Lekkerkerker
667a453a35
Lock Withings token refresh ( #103688 )
...
Lock Withings refresh
2023-11-11 09:39:41 +01: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
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
235a3486ee
Add sensors for Withings Goals ( #102468 )
2023-10-21 21:51:37 +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
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
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
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
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
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
30d604c851
Use central logger in Withings ( #100406 )
2023-09-16 13:46:11 +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
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
epenet
b38a7aabe9
Fix lingering timer in withings ( #93085 )
2023-05-15 21:20:20 +02:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 ( #87347 )
2023-02-03 23:08:48 +01:00
Franck Nijhof
8819634b61
String formatting and max line length - Part 6 ( #84525 )
2022-12-24 13:19:51 +01:00
epenet
28a34a1f89
Remove withings from mypy ignore list ( #74966 )
2022-07-11 19:14:23 +02:00
J. Nick Koston
cd03c49fc2
Wait for config entry platform forwards ( #73806 )
2022-07-09 17:27:42 +02:00
Paulus Schoutsen
61e4b56e19
Guard withings accessing hass.data without it being set ( #73454 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-14 10:55:58 -07:00
Allen Porter
39ce25f76d
Add Withings application_credentials platform ( #71990 )
...
* Add Withings application_credentials platform
* Update withings auth implementation
2022-05-22 14:30:57 -07:00
Diego Elio Pettenò
cef5d6054c
withings: don't store the webhook URL in the state. ( #69191 )
...
The webhook url should be calculated at startup, not stored in the state
as otherwise a change in network requires re-configuring the integration
from scratch.
This is particularly important as external network configuration might
change when moving HA between networks, and it's not obvious it needs
to be re-added just for this.
2022-04-30 02:21:12 +03:00
Nenad Bogojevic
1a878b4024
Use new withings oauth2 refresh token endpoint ( #65134 )
2022-01-28 08:48:16 -08:00
Marc Mueller
156435d1c2
Update integrations to use async_setup_platforms
( #60956 )
...
* Replace forward_entry_setup with setup_platforms
* Apply suggestions from code review
Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>
Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>
2021-12-04 08:57:24 +01:00
Marc Mueller
9990385926
Use assignment expressions 25 ( #58182 )
2021-10-22 11:34:45 +02:00
J. Nick Koston
a851bff95a
Create async_config_entry_first_refresh to reduce coordinator boilerplate ( #48451 )
2021-03-29 12:51:39 -10:00
Marc Mueller
dcca29ef68
Update typing 14 ( #48078 )
2021-03-18 15:08:35 +01:00
Ron Heft
bbd98e196b
Fix withings InvalidParamsException ( #47975 )
...
* Bump withings_api to 2.3.1 (fixes #47329 )
* Fix NotifyAppli calls to be compatible with withings_api 2.3.1
* Fix errors with withings_api 2.2+ using pydantic
* Bump withings_api to 2.3.2
2021-03-16 17:15:22 +01:00
Paulus Schoutsen
594e905742
Remove invalidation_version from deprecated ( #44156 )
...
* Remove invalidation_version from deprecated. We don't follow up and just hurts releases
* Revert change to ZHA
2020-12-12 22:24:16 +01:00