Commit graph

332 commits

Author SHA1 Message Date
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
Franck Nijhof
30058297cf
Migrate backported StrEnum to built-in StrEnum (#97101) 2023-07-23 23:19:24 +02:00
Marc Mueller
fe0fe19be9
Use datetime.UTC alias [3.11] (#97067) 2023-07-22 17:05:11 -05:00
Ville Skyttä
1ce74ba25c
Import util.dt as dt_util in components/[t-z]* (#93763) 2023-05-29 23:00:43 +02:00
epenet
b38a7aabe9
Fix lingering timer in withings (#93085) 2023-05-15 21:20:20 +02:00
Erik Montnemery
6c2702a7b8
Sort manifests 11 (#87032) 2023-02-08 20:10:18 +01:00
Franck Nijhof
939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck Nijhof
fcb612cd6f
Collection of code styling tweaks (#87344) 2023-02-03 23:51:27 +01:00
Franck Nijhof
ca1a12898c
Enable Ruff D212 (#87347) 2023-02-03 23:08:48 +01:00
Marc Mueller
ab76b3ffb3
Update Union typing (3) [Py310] (#86426) 2023-01-23 10:05:56 +01:00
GitHub Action
d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00
Michael
3d4b1fb689
Remove the usage of HA core unit constant in withings own unit definitions (#85942) 2023-01-16 20:00:58 +01:00
Franck Nijhof
8819634b61
String formatting and max line length - Part 6 (#84525) 2022-12-24 13:19:51 +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
c51c8f7e8f
Refactor withings constant (#84095)
Split withings constant
2022-12-16 12:30:56 +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
GitHub Action
f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00
GitHub Action
1f3e5fb4fc [ci skip] Translation update 2022-12-07 00:24:08 +00:00
GitHub Action
3ab9a14ce7 [ci skip] Translation update 2022-12-06 00:21:31 +00:00
GitHub Action
5f9290e572 [ci skip] Translation update 2022-12-05 00:23:07 +00:00
GitHub Action
03154e1d83 [ci skip] Translation update 2022-12-03 00:21:50 +00:00
GitHub Action
0d1f476bee [ci skip] Translation update 2022-12-01 00:33:36 +00:00