starkillerOG
1c9a9be197
Fix Xiaomi Miio discovery ( #47134 )
2021-02-28 12:25:40 -08:00
starkillerOG
338c07a56b
Add Xiaomi Miio vacuum config flow ( #46669 )
2021-02-22 13:01:02 +01:00
starkillerOG
2f9fda73f4
Add config flow to Xiaomi Miio switch ( #46179 )
2021-02-15 20:11:27 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Teemu R
bdb71c9159
Only log xiaomi_miio update exceptions once ( #41226 )
...
* xiaomi_miio: only log update exceptions once
Replaces #37695
* add som more missed exception logger cases + do not change the control flow as pointed out by @cgtobi
* Use patch&MagickMock from tests.async_mock
* Fix linting for alarm_control_panel
* update the test to verify that the warning on update is only logged when the device was previously available
2020-10-25 01:53:36 +02:00
Brig Lamoreaux
58a432685c
Use common srings in xiaomi-miio ( #41864 )
2020-10-15 08:09:20 +02:00
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 ( #39287 )
2020-08-27 13:56:20 +02:00
starkillerOG
ffcdd85117
Xiaomi Gateway subdevice support & AqaraHT + SensorHT devices ( #36539 )
...
* Gateway subdevice support & AqaraHT + SensorHT devices
* Gateway subdevice support & AqaraHT + SensorHT devices
* Add starkillerOG to codeowners
as proposed by @rytilahti in this issue: https://github.com/home-assistant/core/issues/36516
* add starkillerOG to xiaomi_miio
* fix config flow tests
* Update CODEOWNERS
* Update manifest.json
* prosess revieuw comments
* fix missing import
* use proper pressure unit hPa
* subdevice --> sub_device
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* subdevice --> sub_device
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* use key acces instead of get
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* subdevice --> sub_device
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* subdevice --> sub_device
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* subdevice --> sub_device
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* subdevice --> sub_device
* use dataclass instead of namedtuple
* update to newest python-miio functions (not yet released)
* Move device info to entitie
* remove unused variable
* improve default names
* SensorHT does not support pressure
* bump python-miio to 0.5.2
* bump python-miio to 0.5.2
* bump python-miio to 0.5.2
* Fix missing brackets
Co-authored-by: Teemu R. <tpr@iki.fi>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Teemu R. <tpr@iki.fi>
2020-07-04 14:56:16 +02:00
Jonas Thuresson
247df5874b
Xiaomii miio vaccum clean segment service ( #36801 )
2020-06-22 16:37:05 -07:00
MarBra
44708ed8bb
Add timers to xiaomi_miio vacuum ( #35417 )
...
* Add timers to xiaomi_miio vacuum
* Add timezone
* Add cron and next_schedule
* Use next_schedule from backend library
* Use as_utc from utils
2020-06-12 06:39:19 +02: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
starkillerOG
256370afa8
Xiaomi Miio zeroconf discovery ( #35352 )
2020-05-14 15:59:40 +02:00
Paulus Schoutsen
2af984917e
Use asynctest-mock in most places ( #35109 )
...
* Use asynctest-mock in most places
* Fix broken patch in pilight
2020-05-03 11:27:19 -07:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
starkillerOG
e46f1b69ba
Add Xiaomi miio Alarm Control Panel ( #32091 )
...
Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>
2020-04-29 01:44:31 +02:00
Teemu R
e64104300f
Use backend-provided fan speed presets for Xiaomi vacuums, bum… ( #32850 )
...
* Use backend-provided fan speed presets for Xiaomi vacuums
This needs input from Xiaomi vacuum owners to verify that it does not break anything.
I have personally tested this on rockrobo v1 (old mapping).
Related issues/PRs:
home-assistant/core#32821
home-assistant/core#31268
home-assistant/core#27268
This is a WIP as it requires a new upstream release.
The PR is https://github.com/rytilahti/python-miio/pull/643
* Bump version requirement for 0.5.0
* Bump requirements_test_all.txt, too
* Fix linting; missing setup.cfg on local checkout caused wrong settings for black..
* Add tests for both fan speed types
* Remove useless else..
* bump python-miio to 0.5.0.1 due to broken 0.5.0 packaging
2020-04-02 16:55:44 -07:00
tiagofreire-pt
7052cdded1
Change nomenclature for Roborock fan speeds ( #30614 )
...
* Change nomenclature for Roborock fan speeds
* Update test_vacuum.py
* Update test_vacuum.py
2020-01-09 23:49:13 +01:00
Ville Skyttä
fa4fa30461
Various string cleanups ( #30435 )
...
* Remove some unnecessary string concatenations
* Replace some simple str.formats with f-strings
* Replace some string concatenations with f-strings
2020-01-03 14:47:06 +01:00
Franck Nijhof
194cb8dbf5
Migrate xiaomi_miio tests from coroutine to async/await ( #30329 )
2019-12-31 16:49:00 -06:00
Franck Nijhof
f5d4878992
Fix isort on a small set of misc files ( #29803 )
2019-12-10 09:25:42 +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
Abílio Costa
a08df53dbc
Add "gentle" mode for Xiaomi Roborock vacuum ( #29004 )
...
* Add "gentle" mode for Xiaomi Roborock vacuum
* fix tests
2019-11-27 13:46:13 +01:00
Martin Hjelmare
fc95a3d088
Fix xiaomi vacuum tests ( #28658 )
...
* Fix xiaomi exceptions test
* Fix xiaomi_specific_services test
* Fix remaining xiaomi miio vacuum tests
* Clean up
2019-11-09 14:07:01 +01:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Marco Gazzola
5115dfada2
Add zone and reps for Xiaomi vacuum ( #19777 )
...
* xiaomi vacuum with zone and reps
* tail whitespace
* tail whitespaces
* new version
* fix params typs
* fix param type
* line length
* rytilahti tips
* houndci-bot
* fix trevis
* rytilahti tips
* service description
* syssi fix
* MartinHjelmare tips
* MartinHjelmare
* data_template schema
* line lenght
* line lenght
* line lenght
* data_template schema
* fix
* Update homeassistant/components/vacuum/xiaomi_miio.py
Co-Authored-By: marcogazzola <dev@marcogazzola.com>
* Update homeassistant/components/vacuum/xiaomi_miio.py
Co-Authored-By: marcogazzola <dev@marcogazzola.com>
* xiaomi vacuum with zone and reps
* tail whitespace
* new version
* fix param type
* rytilahti tips
* rytilahti tips
* MartinHjelmare
* data_template schema
* line lenght
* line lenght
* data_template schema
* fix
* Merge branch 'dev' of https://github.com/marcogazzola/home-assistant into dev
* Revert "Merge branch 'dev' of https://github.com/marcogazzola/home-assistant into dev"
This reverts commit e1f370b3b45d2541c8117146b0940d7c2b5bc8b0.
* log fixed
* Revert "log fixed"
This reverts commit 1f0e7b35e8
.
* Revert "Revert "Merge branch 'dev' of https://github.com/marcogazzola/home-assistant into dev""
This reverts commit 1cf9e5ae1f
.
* Revert "Merge branch 'dev' of https://github.com/marcogazzola/home-assistant into dev"
This reverts commit 0e8d53449a
.
* log fixed
2019-02-20 15:44:04 +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