Commit Graph

63 Commits (2de4b193e3de269bffdb1d65f84859f552195659)

Author SHA1 Message Date
GitHub Action dcf6c2d3a4 [ci skip] Translation update 2022-06-19 00:23:14 +00:00
GitHub Action d43178db06 [ci skip] Translation update 2022-06-17 00:20:34 +00:00
GitHub Action b4359c7721 [ci skip] Translation update 2022-06-16 00:22:45 +00:00
GitHub Action 188b1670a3 [ci skip] Translation update 2022-06-15 00:25:37 +00:00
GitHub Action 4005af99aa [ci skip] Translation update 2022-06-14 00:26:59 +00:00
GitHub Action 42d39d2c7e [ci skip] Translation update 2022-06-13 00:25:34 +00:00
GitHub Action a1637e4fce [ci skip] Translation update 2022-06-12 00:25:33 +00:00
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 bfd84ba89c
Prettify yaml (services.yaml) (#68878) 2022-03-30 09:48:06 +02:00
Raman Gupta 174f0a5695
Remove deprecated config option for eight_sleep (#68495) 2022-03-22 13:37:26 +01:00
Marc Mueller 354fc4c1ae
Update coordinator typing (2) [e-f] (#68462) 2022-03-21 14:13:16 +01:00
J. Nick Koston 5b755b74fb
Add loggers to integration manifest.json (#65083) 2022-01-28 13:37:53 -08: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
epenet eafece3651
Add setup type hints (part 1) (#63955)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-12 08:49:46 +01:00
epenet c7cb26cbab
Use Platform enum in load_platform [a-l] (#63750) 2022-01-10 10:30:47 +01:00
mezz64 5c44c27088
Fix Heat Service, bump pyEight to 0.2.0 (#63405) 2022-01-04 16:17:27 -10:00
epenet 704be10561
Use new BinarySensorDeviceClass in eight_sleep (#61610)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-12 20:15:58 -05: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
Daniel Hjelseth Høyer fbad453c89
Pylint 2.9.3 (#52972)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-07-14 21:44:57 -07: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
Raman Gupta a70e8a65fa
Bump pyeight version to 0.1.9 (#52568) 2021-07-06 02:41:23 -04:00
Raman Gupta 9d04ba2804
Bump eight sleep dependency to fix bug (#52408) 2021-07-02 07:36:48 +02:00
tkdrob 028a07d86f
Wrap up selectors (#50794)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-25 14:45:17 +02:00
tkdrob 0eca26607d
Add targets and selectors for services (D-E) (#50190) 2021-05-15 09:25:19 +02:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +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
mezz64 dc37368440
Bump pyeight to 0.1.5 (#42323) 2020-10-25 12:37:49 +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
Franck Nijhof 53545c984b
Log lines do not end with a full stop (#37527) 2020-07-05 23:04:19 +02:00
Erik Montnemery b022e08db9
Rename BinarySensorDevice to BinarySensorEntity (#34462)
* Rename BinarySensorDevice to BinarySensorEntity

* Tweak

* Move deprecation warning to __new__, add test

* Move deprecation warning back to __init__

* Move deprecation warning to __init_subclass
2020-04-23 21:57:07 +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
Franck Nijhof 39336d3ea3
Add prettier (in pre-commit and CI) (#33693)
* Add prettier (in pre-commit and CI)

* Make all file prettier

* Change order

* Add to Azure Pipelines

* Fix a YAML file prettier caught as invalid

* Remove flow mapping using curly braces from all YAML service files
2020-04-05 17:27:16 +02:00
Paulus Schoutsen f1d3c0d19b
Remove unused manifest fields (#33595) 2020-04-03 12:58:19 -07:00
Paulus Schoutsen 4ebbabcdd1
Unsub dispatcher when removing entity from hass (#33510)
* Unsub dispatcher when removing entity from hass

* Update homeassistant/components/plaato/sensor.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/volvooncall/__init__.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-02 09:25:33 -07: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
mezz64 e9206b26ad
Bump pyeight to 0.1.4 (#32363) 2020-03-01 15:05:37 +01: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 345cc244ed
Correct names in manifests (C-L) (#30532) 2020-01-07 08:19:17 +01:00