Commit Graph

235 Commits (ea6e32576259728760c20ca91a5ac90ce9081193)

Author SHA1 Message Date
GitHub Action 531733da7b [ci skip] Translation update 2021-07-19 00:09:50 +00:00
GitHub Action 8f3166a955 [ci skip] Translation update 2021-07-18 00:10:14 +00: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
GitHub Action 2ddaf746e6 [ci skip] Translation update 2021-07-12 00:09:46 +00:00
GitHub Action b347226820 [ci skip] Translation update 2021-07-10 00:09:24 +00:00
ondras12345 07bda0973e
Fix update of Xiaomi Miio vacuum taking too long (#52539)
Home assistant log would get spammed with messages like
Update of vacuum.vacuum_name is taking over 10 seconds
every 20 seconds if the vacuum was not reachable through the network.

See #52353
2021-07-06 16:03:54 +02:00
GitHub Action abc9b01ede [ci skip] Translation update 2021-07-05 00:09:10 +00:00
GitHub Action ad20b5ced0 [ci skip] Translation update 2021-07-02 00:11:25 +00:00
GitHub Action 5c5e43afc1 [ci skip] Translation update 2021-06-28 00:10:15 +00:00
starkillerOG 6bbe477d66
Improve Xiaomi Miio error handling (#52009)
* Xiaomi Miio inprove error logging

* improve error handeling

* fix styling

* fix styling

* Update homeassistant/components/xiaomi_miio/device.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/xiaomi_miio/gateway.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/xiaomi_miio/gateway.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* break long line

* Clean up

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-25 21:25:51 +02:00
GitHub Action febc276db9 [ci skip] Translation update 2021-06-25 00:12:31 +00:00
starkillerOG 69a04cf748
Fix Xiaomi Miio missing gateway info (#52146)
During my last PR: https://github.com/home-assistant/core/pull/47955, I accedently created a bug that will block the setup of the gateway integration.
This fixes that bug.
2021-06-24 17:03:19 +02:00
Jan Bouwhuis 29bfb4b046
Xiaomi_miio fan percentage based speeds and preset_modes (#51791) 2021-06-23 11:30:42 +02:00
GitHub Action d805e971b4 [ci skip] Translation update 2021-06-22 00:14:17 +00:00
GitHub Action 067b5258c6 [ci skip] Translation update 2021-06-21 00:09:58 +00:00
GitHub Action 8901e1f157 [ci skip] Translation update 2021-06-19 00:10:05 +00:00
GitHub Action 17414439df [ci skip] Translation update 2021-06-17 00:10:03 +00:00
GitHub Action a072fb059d [ci skip] Translation update 2021-06-16 00:09:27 +00:00
GitHub Action 5469cc8fb2 [ci skip] Translation update 2021-06-15 00:11:31 +00:00
starkillerOG 3a2d50fe23
Add Xiaomi Miio EU gateway support (#47955)
* Add EU gateway support

* add options flow translations

* fix options flow

* fix missing import

* try to fix async_add_executor_job

* try to fix async_add_executor_job

* fix unload

* check for login succes

* fix not reloading

* use cloud option

* fix styling

* Return after if

Co-authored-by: Nathan Tilley <nathan@tilley.xyz>

* cleanup

* add options flow tests

* fix new tests

* fix typo in docstring

* add missing blank line

* Use async_on_unload

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Use async_on_unload

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Use async_setup_platforms

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Use async_unload_platforms

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/xiaomi_miio/__init__.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/xiaomi_miio/const.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* default use_cloud False

* add options flow checks

* fix styling

* fix issort

* add MiCloud check tests

* fix indent

* fix styling

* fix tests

* fix tests

* fix black

* re-write config flow

* add explicit return type

* update strings.json

* black formatting

* fix config flow

Tested the config flow and it is now fully working

* fix styling

* Fix current tests

* Add missing tests

* fix styling

* add re-auth flow

* fix styling

* fix reauth flow

* Add reauth flow test

* use ConfigEntryAuthFailed

* also trigger reauth @ login error

* fix styling

* remove unused import

* fix spelling

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Fix spelling

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* fix spelling

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* remove unessesary .keys()

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* combine async_add_executor_job calls

* remove async_step_model

* fix wrong indent

* fix gatway.py

* fix tests

Co-authored-by: Nathan Tilley <nathan@tilley.xyz>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-15 00:05:40 +02:00
GitHub Action 6ed671dfda [ci skip] Translation update 2021-06-09 00:10:10 +00:00
GitHub Action 330f713e43 [ci skip] Translation update 2021-06-08 00:21:17 +00:00
GitHub Action 7615af35d8 [ci skip] Translation update 2021-06-07 00:18:16 +00:00
GitHub Action c81df50191 [ci skip] Translation update 2021-06-06 00:19:43 +00:00
Franck Nijhof 258b388f41
Collection of changing entity properties to class attributes (#51248)
* Collection of changing entity properties to class attributes

* Apply suggestions from code review

Co-authored-by: Erik Montnemery <erik@montnemery.com>

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-05-31 10:50:11 +02:00
Erik Montnemery b169a8dbda
Mark battery, humidity and pressure sensors as STATE_CLASS_MEASUREMENT (#50924)
* Mark battery, humidity and pressure sensors as STATE_CLASS_MEASUREMENT

* Fix deconz battery sensor
2021-05-24 11:36:42 +02:00
Erik Montnemery 73d7a754e8
Mark temperature sensors as STATE_CLASS_MEASUREMENT (#50889)
* Mark temperature sensors as STATE_CLASS_MEASUREMENT

* Fix broadlink tests

* Tweak Hue changes
2021-05-21 11:44:34 +02:00
GitHub Action 1f80defe3a [ci skip] Translation update 2021-05-18 00:12:13 +00:00
Maciej Bieniek 97559087b5
Allow some failures before setting Xiaomi Miio MIOT air purifiers unavailable (#50755) 2021-05-17 14:13:01 +02:00
GitHub Action 877cb43c06 [ci skip] Translation update 2021-05-17 05:17:18 +00:00
tkdrob 7b5fff357e
Add targets and selectors for services (X-Z) (#50639)
* Add targets and selectors for services (X-Z)

* Adjustments
2021-05-15 12:24:52 -04:00
HomeAssistant Azure 7df47664e8 [ci skip] Translation update 2021-05-12 00:04:03 +00:00
J. Nick Koston d5e39e8748
Remove redundant names from config flow titles (#50380) 2021-05-10 22:14:33 -07:00
Teemu R 0ed31b0ba7
Bump python-miio dependency (#50129) 2021-05-05 17:19:52 -07:00
Franck Nijhof 2ed386f9e6
Migrate to async_get_current_platform everywhere (#50034) 2021-05-03 09:34:28 -07:00
Franck Nijhof 64c7d84108
Clean up connection classes in integrations T-Z (#49894) 2021-04-30 21:04:05 -10:00
HomeAssistant Azure 69c1721c2a [ci skip] Translation update 2021-04-22 00:02:50 +00:00
Franck Nijhof 7264c95217
Clean up superfluous integration setup - part 6 (#49298) 2021-04-16 09:23:27 -07:00
Franck Nijhof 055cdc64c0
Add support for IoT class in manifest (#46935) 2021-04-15 10:21:38 +02:00
HomeAssistant Azure 93c68f8be6 [ci skip] Translation update 2021-04-13 00:04:04 +00:00
starkillerOG 78dabc83ec
Add Xiaomi Miio zhimi.airpurifier.mc2 (#48840)
* add zhimi.airpurifier.mc2

* fix issort
2021-04-08 13:40:29 +02:00
arturdobo 68801ae5f7
Add Qingping Air Monitor Lite support support (#48181)
* Add cgllc.airm.cgdn1 support

* review remarks

* removed unnecessary lambdas
2021-03-31 19:47:42 +02:00
Marc Mueller 2956eb0902
Update pylint to 2.7.3 (#48488)
* Update pylint to 2.7.3

* Add class-const-naming-style

* Remove unused-import message

* Additional cleanup
2021-03-29 18:02:56 -10:00
HomeAssistant Azure ce3e00d018 [ci skip] Translation update 2021-03-28 00:05:04 +00:00
Franck Nijhof f4cc4a0896
Merge of nested IF-IF cases - X-Z (#48373) 2021-03-26 17:08:05 +01:00
Erik Montnemery 0c086b5067
Migrate integrations w-z to extend SensorEntity (#48217) 2021-03-22 19:50:29 +01:00
starkillerOG a583f56bd8
Add identification for YAML imports (#48162) 2021-03-22 14:35:24 +01:00
J. Nick Koston c820dd4cb5
Have pylint warn when user visible log messages do not start with capital letter or end with a period (#48064)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-19 09:26:36 -05:00
billsq 55db855f91
Add support for Xiaomi Air Purifier Pro H (#47601) 2021-03-16 20:54:13 +01:00
HomeAssistant Azure c11b85af2f [ci skip] Translation update 2021-03-16 00:04:36 +00:00