Raman Gupta
dc48791864
Add config flow to eight_sleep ( #71095 )
...
* Add config flow to eight_sleep
* simplify tests
* Remove extra file
* remove unused import
* fix redundant code
* Update homeassistant/components/eight_sleep/__init__.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* incorporate feedback
* Review comments
* remove typing from tests
* Fix based on changes
* Fix requirements
* Remove stale comment
* Fix tests
* Reverse the flow and force the config entry to reconnect
* Review comments
* Abort if import flow fails
* Split import and user logic
* Fix error
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-11 02:16:46 -04:00
Raman Gupta
16bf6903bd
Bump pyeight to 0.3.0 ( #73151 )
2022-06-07 00:07:49 -04:00
Raman Gupta
34d4eb7c15
Improve eight sleep code quality and fix bug ( #71622 )
2022-05-11 13:12:44 +02:00
Raman Gupta
0360613ddd
Cleanup eight_sleep ( #69171 )
...
* Cleanup eight_sleep
* Only set data after checking for users
2022-04-29 21:17:03 -04:00
epenet
78e92d1662
Adjust pylint plugin to enforce platform type hints ( #64836 )
...
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-24 18:51:06 +01:00
Raman Gupta
267896cfc0
Address late review of eight_sleep ( #60951 )
2021-12-04 10:17:17 +01:00
Raman Gupta
788a9bd9f7
Clean up eight_sleep code ( #58508 )
2021-12-03 11:17:00 -08:00
Raman Gupta
cee51ead91
Add typehints to eight_sleep ( #58442 )
2021-10-25 21:33:44 -07:00
Raman Gupta
6bc5961f8a
Switch to UpdateCoordinator for eight sleep ( #52614 )
...
* Switch to UpdateCoordinator for eight sleep
* use super call
* add self as codeowner
* Call API update method directly when creating coordinator
* Update homeassistant/components/eight_sleep/__init__.py
Co-authored-by: J. Nick Koston <nick@koston.org>
* Update homeassistant/components/eight_sleep/__init__.py
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-10-25 16:18:33 -04:00
Erik Montnemery
41f3c2766c
Move temperature conversions to entity base class (2/8) ( #54468 )
2021-08-11 18:57:12 +02:00
Erik Montnemery
9b8a776001
Set device_class on temperature sensors A-E ( #49524 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-12 22:45:29 +02:00
Erik Montnemery
9e9ba53f0e
Move SensorEntity last in the inheritance tree ( #48230 )
2021-03-22 20:05:13 +01:00
Erik Montnemery
23b562386f
Migrate integrations d-e to extend SensorEntity ( #48211 )
2021-03-22 12:52:29 +01:00
Erik Montnemery
6c084ae6ce
Update integrations a-e to override extra_state_attributes() ( #47756 )
2021-03-11 16:51:03 +01:00
springstan
513f03eb1f
Return attribute dict directly without temporary variable v2 ( #41271 )
2020-10-06 16:55:16 +02:00
springstan
d2b1918e9c
Drop UNIT_ prefix for percentage constant ( #39383 )
2020-09-05 21:09:14 +02:00
springstan
25198242c1
Use TEMP_FAHRENHEIT constant ( #33969 )
2020-04-10 21:10:10 +02:00
springstan
78d87dc40f
Use TEMP_CELSIUS constant ( #33963 )
2020-04-10 19:17:46 +02:00
mezz64
aacdc1bc2d
Catch Eight Sleep API errors, don't round None type ( #32410 )
...
* Catch API errors, don't round None type
* Specify error type
2020-03-02 18:01:39 -08: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
mezz64
164e970ba0
Add POD support, sleep fitness sensor to EightSleep ( #31874 )
...
* Add POD support, sleep fitness sensor
* Black format changes
* Change dict formatting
2020-02-17 10:15:21 +01:00
Franck Nijhof
fa79ef1220
Use literal string interpolation in integrations E-G (f-strings) ( #26379 )
2019-09-03 17:10:56 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd
.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2c
.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Paulus Schoutsen
4b1de61110
Use relative imports inside integrations ( #22235 )
...
* Use relative imports inside integrations
* Lint
* Fix automation tests
* Fix scene imports
2019-03-20 22:56:46 -07:00
Fabian Affolter
127c55e0c1
Update file header ( #21023 )
...
* Update file header
* Update file header
* Update file header
* Update file header
* Update file header
* Fix lint issues
2019-02-13 21:21:14 +01:00
Paulus Schoutsen
e2d3c27e85
Embed all platforms into components ( #20677 )
...
* Consolidate all components with platforms
* Organize tests
* Fix more tests
* Fix Verisure tests
* one final test fix
* Add change
* Fix coverage
2019-02-02 07:13:16 -08:00