Commit graph

25 commits

Author SHA1 Message Date
epenet
1893545705
Move xiaomi_miio base entity to separate module (#126198) 2024-09-18 10:59:27 +02:00
Marc Mueller
3929273b41
Allow float for int argument type [pylint plugin] (#114105) 2024-03-27 11:51:27 +01:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] (#112736) 2024-03-08 19:15:59 +01:00
Joost Lekkerkerker
ac53b78a0c
Deduplicate constants A-D (#105638) 2023-12-13 14:21:44 +01:00
Jan-Philipp Benecke
be01eb5aad
Explicitly use device name as entity name for Xiaomi fan and humidifier (#95986) 2023-07-06 13:25:34 +02:00
Jan Bouwhuis
c4d7695173
Add current_humidity attribute to xiaomi_miio humidifiers (#94934) 2023-06-20 20:15:42 +02:00
epenet
04872f72ea
Improve humidifier type hints in integrations (#90030)
Fix humidifier type hints in integrations
2023-03-21 10:32:13 +01:00
Franck Nijhof
f67ebcade1
Enable Ruff SIM201 (#88171) 2023-02-15 14:43:02 +01:00
epenet
2453f95b24
Adjust HumidifierEntity type hints (#82248) 2022-11-17 10:58:46 +01:00
Teemu R
e4f6f738e8
Bump python-miio to 0.5.12 (#75415)
* Bump python-miio to 0.5.12

* Fix imports
2022-07-19 18:56:41 +02:00
Maciej Bieniek
503b31fb15
Migrate Xiaomi Miio to new entity naming style - part 1 (#75350) 2022-07-17 15:15:24 +02:00
epenet
5360e56d09
Remove xiaomi_miio from mypy ignore list (#74669) 2022-07-09 19:59:11 +02:00
epenet
1ec08d2fe0
Use EntityFeature enum in components (x**) (#69469) 2022-04-07 14:39:09 +02:00
epenet
014aadb299
Use new CONF_MODEL core constant (2/3) (#68831)
* Use CONF_MODEL in xiaomi_miio

* Use CONF_MODEL in xiaomi

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-29 11:12:43 +02:00
epenet
cb135bc889
Add basic type hints to xiaomi_miio (#62889)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 00:15:40 +01:00
Robert Hillis
83cb2d11d5
Use enums in xiaomi_miio (#61979) 2021-12-16 22:31:51 +01:00
Maciej Bieniek
43ccf1d967
Handle None values in Xiaomi Miio integration (#58880)
* Initial commit

* Improve _handle_coordinator_update()

* Fix entity_description define

* Improve sensor & binary_sensor platforms

* Log None value

* Use coordinator variable

* Improve log strings

* Filter attributes with None values

* Add hasattr condition

* Update homeassistant/components/xiaomi_miio/sensor.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-11-01 17:40:15 +01:00
Maciej Bieniek
ea189f930a
Use attrs in Xiaomi Miio humidifier platform (#56371)
* Use attrs in humidifier platform

* Cleanup min/max humidity attrs
2021-09-19 17:04:33 +02:00
Maciej Bieniek
9093819671
Fix target humidity step for Xiaomi MJJSQ humidifiers (#55858) 2021-09-06 13:36:18 -07:00
Maciej Bieniek
938ec27a86
Add support for MJJSQ humidifiers for Xiaomi MIIO integration (#53807) 2021-08-02 22:08:37 +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
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