Jan Bouwhuis
5de1adacf7
Xiaomi miio add coordinator to fan platform ( #54366 )
...
* init coordinator for airpurifiers and airfresh
* Update fan entities with coordinator
* cache mode and fan_level at user update
* pylint define attributes in _init
* Update homeassistant/components/xiaomi_miio/fan.py
Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
* Update homeassistant/components/xiaomi_miio/fan.py
Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
* Update homeassistant/components/xiaomi_miio/fan.py
Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
* cleanup code
* Set hass.data[DATA_KEY] to enable
* rename to filtered_entities in service handler
* Update homeassistant/components/xiaomi_miio/fan.py
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
* flake
Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2021-08-10 14:55:11 +02:00
Maciej Bieniek
4459d8674a
Add `binary_sensor` platform for Xiaomi Miio integration ( #54096 )
2021-08-09 23:56:33 +02:00
Jan Bouwhuis
d55c764048
Fix Xiaomi-miio turn fan on with speed, percentage or preset ( #54353 )
2021-08-09 14:43:59 -07:00
Jan Bouwhuis
0149095824
Fix xiaomi air fresh fan preset modes ( #54342 )
2021-08-09 20:57:36 +02:00
Maciej Bieniek
aaddeb0bcd
Add missing `motor_speed` sensor for Xiaomi Miio humidifier CA1 and CB1 ( #54264 )
...
* Add motor_speed sensor for CA1 and CB1
* Remove value limits
2021-08-08 15:21:55 +02:00
GitHub Action
af565ea6bd
[ci skip] Translation update
2021-08-08 00:11:15 +00:00
GitHub Action
98bcdc2cf5
[ci skip] Translation update
2021-08-07 00:10:12 +00:00
GitHub Action
64c9f9e1cb
[ci skip] Translation update
2021-08-06 00:15:04 +00:00
GitHub Action
ba93bda3ad
[ci skip] Translation update
2021-08-05 00:34:46 +00:00
Jan Bouwhuis
1f9331f9db
Remove Xiaomi_miio select option validation ( #53936 )
2021-08-04 14:00:18 +02:00
Jan Bouwhuis
1054419498
Remove Xiaomi_miio number value validation ( #53934 )
2021-08-04 12:50:08 +02:00
Maciej Bieniek
3b212b9109
Use `NumberEntityDescription` for Xiaomi Miio ( #53911 )
2021-08-04 12:03:18 +02:00
starkillerOG
af38ff1ec1
Add xiaomi miio lumi.gateway.aqhm01 support ( #53929 )
2021-08-04 11:23:21 +02:00
Maciej Bieniek
2105419a4e
Use `SelectEntityDescription` for Xiaomi Miio integration ( #53907 )
...
* Use SelectEntityDescription
* Use SelectEntityDescription
* Remove service field from XiaomiMiioSelectDescription class
* Fix typo
* Use lowercase for options
2021-08-03 15:58:30 +02:00
Maciej Bieniek
1286734ce9
Use SensorEntityDescription class for Xiaomi Miio ( #53890 )
2021-08-03 13:56:56 +02:00
Maciej Bieniek
938ec27a86
Add support for MJJSQ humidifiers for Xiaomi MIIO integration ( #53807 )
2021-08-02 22:08:37 +02:00
GitHub Action
8c5620e74b
[ci skip] Translation update
2021-08-02 03:40:04 +00: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
Maciej Bieniek
c6a2e247fe
Fix name migration of the Xiaomi Miio humidifier ( #53790 )
2021-07-31 12:32:16 +02:00
Jan Bouwhuis
a5824c3259
Fix Xiaomi-miio humidifier write the state back when turning on or off ( #53771 )
2021-07-30 12:47:55 -07:00
Maciej Bieniek
f2e7543f54
Fix Xiaomi Miio humidifier mode change ( #53757 )
2021-07-30 12:44:52 -07:00
Jan Bouwhuis
4a95ed9b7f
Fix Xiaomi-miio switch platform setup ( #53739 )
2021-07-29 22:10:41 -07:00
Jan Bouwhuis
1e33017db8
Fix Xiaomi humidifier name migration ( #53738 )
2021-07-29 22:10:16 -07:00
Maciej Bieniek
c81371f82b
Clean device initialization log for Xiaomi Miio humidifiers ( #53612 )
2021-07-28 12:03:24 +02: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
Jan Bouwhuis
9753500f5e
Disable speeds for first gen Xiaomi_miio air purifiers ( #52772 )
...
* Disable speeds for first gen air purifiers
* Remove test code line
* remove OPERATION_MODES_AIRPURIFIER list
2021-07-22 08:57:29 +02:00
GitHub Action
ecf0d4398d
[ci skip] Translation update
2021-07-22 00:10:31 +00:00
Marc Mueller
7711ac901c
Fix issues after pylint update ( #53205 )
2021-07-19 20:22:13 -07:00
Marc Mueller
f6b162bc39
Add pylint CodeStyle extension ( #53147 )
2021-07-19 06:57:06 -07:00
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
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
b2efcb3c22
Support all Xiaomi Miio gateway switches ( #46657 )
...
* Support all gateway switches
* fix checks
* process revieuw
* Update homeassistant/components/xiaomi_miio/switch.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* generilize variable matching
* fix styling
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-03-15 12:15:34 +01:00
starkillerOG
50b5fc4860
Add Xiaomi Miio subdevice lightbulb support ( #46660 )
...
* Xiaomi Miio: add subdevice lightbulb support
* fix tests
* process revieuw comments
* bump python-miio to 0.5.5
* bump python-miio to 0.5.5
* fix imports
2021-03-14 12:32:19 +01:00
Erik Montnemery
1fc8e32d86
Update integrations t-z to override extra_state_attributes() ( #47760 )
2021-03-11 20:16:26 +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
tkdrob
3baeed3684
Clean up constants ( #47323 )
2021-03-05 19:08:04 +01:00
Franck Nijhof
6f7179dce9
Fix older Roborock models ( #47412 )
2021-03-04 13:27:59 -08:00
Sebastian Muszynski
541e166317
Fix measurement unit ( Closes : #47390 ) ( #47398 )
2021-03-04 13:12:04 -08:00
starkillerOG
b58f9ce33a
Fix Xiaomi Miio setup of switch entity for lumi.acpartner.v3 ( #47345 )
2021-03-04 21:53:09 +01:00
Quentame
198ecb0945
Uniformize platform setup ( #47101 )
...
* A platform is not a component
* Fix dynalite
* SUPPORTED_PLATFORMS --> PLATFORMS
* In tests
* In tests 2
* Fix SmartThings
* Fix ZHA test
* Fix Z-Wave
* Revert Z-Wave
* Use PLATFORMS const in ambient_station
* Fix ihc comment
2021-03-02 21:43:59 +01:00
Ville Skyttä
dc880118a4
Lint suppression cleanups ( #47248 )
...
* Unused pylint suppression cleanups
* Remove outdated pylint bug references
* Add flake8-noqa config and note to run it every now and then
* Add codes to noqa's
* Unused noqa cleanups
2021-03-02 09:02:04 +01:00
starkillerOG
084cfa4a1d
Fix Xiaomi Miio flow unique_id for non discovery flows ( #47222 )
2021-03-01 12:46:02 +01:00
HomeAssistant Azure
44ed6cda40
[ci skip] Translation update
2021-03-01 00:09:01 +00:00
starkillerOG
1c9a9be197
Fix Xiaomi Miio discovery ( #47134 )
2021-02-28 12:25:40 -08:00
HomeAssistant Azure
eb7220ff26
[ci skip] Translation update
2021-02-28 00:07:08 +00:00
HomeAssistant Azure
43621091b7
[ci skip] Translation update
2021-02-27 00:05:45 +00:00
HomeAssistant Azure
989d3e5c87
[ci skip] Translation update
2021-02-26 00:06:13 +00: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
HomeAssistant Azure
bb7f1b748f
[ci skip] Translation update
2021-02-25 00:05:20 +00:00