Commit Graph

276 Commits (10058ea3f01540cb446fcd067022460ad35dfdac)

Author SHA1 Message Date
GitHub Action 0100ffcb8c [ci skip] Translation update 2021-08-18 00:13:44 +00:00
GitHub Action 1661de5c19 [ci skip] Translation update 2021-08-17 00:12:45 +00:00
Maciej Bieniek 8c4a2dc6d2
Add `water level` and `water tank detached` sensors for Xiaomi Miio humidifiers (#54625)
* Add water level and water tank detached sensors

* Use elif

* Use DEVICE_CLASS_CONNECTIVITY for water tank sensor

* Improve docstring

* Change the water tank sensor icon

* Fix typo
2021-08-16 09:13:45 +02:00
GitHub Action d091068092 [ci skip] Translation update 2021-08-16 00:11:52 +00:00
Nikolaos Stamatopoulos 61412db119
Fix typo in xiaomi_miio cloud_login_error string (#54661)
* fix(xiaomi_miio): Fix typo in cloud_login_error string

* fixup! fix(xiaomi_miio): Fix typo in cloud_login_error string

Restore translation files
2021-08-15 22:56:30 +02:00
Maciej Bieniek ebaae8d2bf
Add sensor platform for Xiaomi Miio fans (#54564) 2021-08-15 13:49:29 +02:00
Erik Montnemery 87e7a8fb5f
Move temperature conversions to sensor base class - new integrations (#54623)
* Move temperature conversions to sensor base class

* Tweaks

* Update pvpc_hourly_pricing

* Fix flipr sensor

* Fix ezviz and youless sensor
2021-08-15 08:51:43 +02:00
Teemu R 102789672a
Bump python-miio to 0.5.7 (#54601) 2021-08-14 08:38:42 +02:00
GitHub Action b71a0c5d4b [ci skip] Translation update 2021-08-13 00:17:12 +00:00
GitHub Action 0626542a14 [ci skip] Translation update 2021-08-12 00:14:10 +00:00
Erik Montnemery ae507aeed1
Move temperature conversions to sensor base class (8/8) (#54483)
* Move temperature conversions to entity base class (8/8)

* Fix wallbox sensor

* Fix tests
2021-08-11 21:17:16 +02:00
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