Maciej Bieniek
938ec27a86
Add support for MJJSQ humidifiers for Xiaomi MIIO integration ( #53807 )
2021-08-02 22:08:37 +02:00
Maciej Bieniek
7d1324d66d
Remove `led` from Xiaomi Miio humidifier features ( #53796 )
2021-08-01 14:58:31 -07:00
Maciej Bieniek
f1f293de02
Clean Xiaomi Miio humidifier services ( #53806 )
2021-07-31 21:19:00 +02:00
Jan Bouwhuis
1e33017db8
Fix Xiaomi humidifier name migration ( #53738 )
2021-07-29 22:10:16 -07:00
Jan Bouwhuis
781015fb19
Xiaomi_Miio Humidifier rework ( #52366 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
Co-authored-by: Teemu R. <tpr@iki.fi>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-28 10:52:43 +02: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
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
billsq
55db855f91
Add support for Xiaomi Air Purifier Pro H ( #47601 )
2021-03-16 20:54:13 +01:00
starkillerOG
1aa4fd4cc9
Make Xiaomi Miio unavailable device independent ( #47795 )
...
* make unavailable independent
* fix data is None
* process review comments
2021-03-15 12:25:11 +01:00
starkillerOG
cf4954fead
Add Xiaomi Miio light config flow ( #47161 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-11 14:09:21 +01:00
starkillerOG
724574d336
Add Xiaomi Miio sensor config flow ( #46964 )
...
* add config flow
* fix styling
* Add air_quality platform
* fix imports
* fix black
* Update homeassistant/components/xiaomi_miio/sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/xiaomi_miio/air_quality.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* process revieuw feedback
* remove unused import
* fix formatting
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-11 11:48:48 +01:00
Franck Nijhof
6f7179dce9
Fix older Roborock models ( #47412 )
2021-03-04 13:27:59 -08:00
starkillerOG
b58f9ce33a
Fix Xiaomi Miio setup of switch entity for lumi.acpartner.v3 ( #47345 )
2021-03-04 21:53:09 +01:00
starkillerOG
7dc9071776
Add Xiaomi Miio fan config flow ( #46866 )
...
* Miio fan config flow
* fix styling and imports
* Update homeassistant/components/xiaomi_miio/fan.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/xiaomi_miio/fan.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/xiaomi_miio/fan.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/xiaomi_miio/fan.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/xiaomi_miio/fan.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* rename device -> entity
* fix indent
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-25 04:25:06 +01:00
starkillerOG
338c07a56b
Add Xiaomi Miio vacuum config flow ( #46669 )
2021-02-22 13:01:02 +01:00
starkillerOG
9d8ba6af96
Use update coordinator for Xioami Miio subdevices ( #46251 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-02-16 15:28:25 +01:00
starkillerOG
2f9fda73f4
Add config flow to Xiaomi Miio switch ( #46179 )
2021-02-15 20:11:27 +01:00
Anton Palgunov
d3f952f831
Add new air-humidifier device CA4 with miot protocol ( #39398 )
...
* Add new air-humidifier device CA4 with miot protocol
* Update homeassistant/components/xiaomi_miio/fan.py
Co-authored-by: Teemu R. <tpr@iki.fi>
* xiomi_miio fan Standard speed for fan, removed static attributes
* xiomi_miio fan Standard speed for fan, removed static attributes
* xiomi_miio fan unnessary elif
* added mode_mapping
* Changed mode_mapping to constant also move reverse to constant
* Removerd water_level
* Return to exclude breaking changes
Co-authored-by: Teemu R. <tpr@iki.fi>
2020-11-19 21:56:53 +01:00
Alexander Hardwicke
368116d242
Give fan and remote components unique LED strings ( #37605 )
2020-07-08 15:29:51 -04:00
Jonas Thuresson
247df5874b
Xiaomii miio vaccum clean segment service ( #36801 )
2020-06-22 16:37:05 -07:00
Jonas Thuresson
f522c6c8c7
Add Xiaomi miio vaccum goto service ( #35737 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-06-08 14:57:47 +02:00
Boris Kaplounovsky
37f9b24a85
Add xiaomi miio services remote_set_led_on/off ( #35805 )
...
* Add services remote_set_led_on/remote_set_led_off to control changmi_ir led
* pylint: elif => if
* Fix services.async_register => platform.async_register_entity_service
* Update homeassistant/components/xiaomi_miio/remote.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* more fixes
* async
* more fixes
* fix
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-05-20 00:23:18 +02:00
Andrey Kupreychik
912eb321d9
Add support for Mi AirPurifier 3 ( #31729 )
...
* Adding support for Mi AirPurifier 3
* Adding support for Mi AirPurifier 3H
* Enabled setting fan level for AirPurifier 3/3H
* Get rid of isinstance for MIOT AirPurifier
* Bumping xiaomi-miio dependency
* Fixed lint error
* Update manifest.json
* Fixed requirements files for 0.5.0.1
Co-authored-by: Piotr Król <Piotr@gorszyportal.pl>
2020-04-03 16:32:18 +02:00
zhumuht
27c25b6f44
Add xiaomi miio sensors cgllc.airmonitor.s1 & cgllc.airmonitor.b1 ( #30345 )
...
* support xiaomi miio sensor: cgllc.airmonitor.s1 & cgllc.airmonitor.b1
* support xiaomi miio sensor: cgllc.airmonitor.s1 & cgllc.airmonitor.b1
* rollback sensor, modify air_quality
* only set air_quality props
* remove set state from "zhimi.airmonitor.v1"
* unit_of_measurement return None when the pm25 isn't reported
* import libs by isort
2020-01-21 17:06:17 +01:00
Raman Gupta
040fd9c258
Update service domains for xiaomi_miio from base domains to xiaomi_miio domain ( #29134 )
...
* move service constants to const.py, move all custom xiaomi_miio services to xiaomi_miio domain
* update service names
* try to fix black error
* try black formatting again
* final black formatting attempt
* update service names to reflect platform
* fix typo
2019-12-02 11:49:39 -08:00