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
ccc8804906
Bump aiowithings to 2.0.0 ( #104579 )
2023-11-27 10:53:41 +01:00
Franck Nijhof
8df7291abb
Remove Withings entity descriptions required fields mixins ( #104008 )
2023-11-15 06:31:10 +01:00
Joost Lekkerkerker
7319abcab0
Show a warning when no Withings data found ( #103066 )
2023-10-30 19:40:27 +01: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
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
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
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
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
f9615999db
Add suggested display precision to Withings ( #102023 )
2023-10-14 23:00:50 -10: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
5754e8721a
Fix Withings translations ( #101397 )
2023-10-04 16:45:13 +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
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
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
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
Colin Robbins
a38b36cf34
Add long term stats support to Withings sensors ( #74829 )
2022-09-28 14:33:38 +02:00
Nenad Bogojevic
1a878b4024
Use new withings oauth2 refresh token endpoint ( #65134 )
2022-01-28 08:48:16 -08:00
Erik Montnemery
ae507aeed1
Move temperature conversions to sensor base class (8/8) ( #54483 )
...
* Move temperature conversions to entity base class (8/8)
* Fix wallbox sensor
* Fix tests
2021-08-11 21:17:16 +02:00
Ruslan Sayfutdinov
cbaeec2a4e
Use AddEntitiesCallback type, pt.2 ( #49921 )
2021-04-30 20:38:59 +02:00
Erik Montnemery
a09c8eecb7
Fix some sensor classes ( #48254 )
...
* Fix some sensor classes
* Tweak
* Tweak
2021-03-23 15:56:33 +01:00
Erik Montnemery
0c086b5067
Migrate integrations w-z to extend SensorEntity ( #48217 )
2021-03-22 19:50:29 +01:00
Marc Mueller
dcca29ef68
Update typing 14 ( #48078 )
2021-03-18 15:08:35 +01:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +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
ea709d0630
Remove withings sleep state ( #33817 )
2020-04-08 11:57:42 -07:00
springstan
fca90a8ddc
Improve string formatting v5 ( #33697 )
...
* Improve string formatting v5
* Address review comments
2020-04-05 17:48:55 +02:00
springstan
f1a0ca7cd3
Add and use percentage constant ( #32094 )
...
* Add and use percentage constant
* Fix pylint error and broken test
2020-02-28 11:46:48 -08:00
Ville Skyttä
496bd3dddf
Add and use more unit constants ( #32122 )
...
* Add and use speed constants
* Add and use meter based volume and area constants
* Add and use more mass unit constants
* Add and use concentration unit constants
* Add and use watts per square meter constant
* Use more time constants
* Use more data constants
2020-02-24 17:52:14 -08:00
springstan
a85808e325
Add and use time related constants ( #32065 )
...
* Add and use time related constants
* Sort time constants and reuse them in data rate constants
* Fix greeneyemonitor import
* Fix greeneyemonitor import V2
* Fix failing here_travel_time test
* Add TIME_MONTHS and TIME_YEARS
* Use TIME_MINUTES in opentherm_gw and isy994
* Add and use TIME_MILLISECONDS
* Change inconsistent ones
* Add TIME_MICROSECONDS and TIME_WEEKS
* Use constants in apcupsd and travisci
* Fix import error in upnp sensor.py
* Fix isy994 sensor.py using TIME_YEARS
* Fix dyson tests
* Use TIME_SECONDS in more places
* Use TIME_DAYS in google wifi
2020-02-23 22:09:24 +02: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ä
a12cf7211d
Upgrade pydocstyle to 5.0.1 ( #29830 )
...
* Upgrade pydocstyle to 5.0.1
http://www.pydocstyle.org/en/5.0.1/release_notes.html
* Pydocstyle and other docstring fixes
2019-12-10 23:25:06 +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
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
50b5dba43e
Making withings logs less noisy. ( #27311 )
2019-10-07 22:22:13 -07:00
Franck Nijhof
ef0e9431b6
Use literal string interpolation in integrations T-W (f-strings) ( #26394 )
2019-09-03 21:12:51 +02: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