Jan-Philipp Benecke
8338075d03
Use debug/warning/error instead of info log level in components [x] ( #126232 )
2024-09-18 21:34:11 +02:00
epenet
1893545705
Move xiaomi_miio base entity to separate module ( #126198 )
2024-09-18 10:59:27 +02:00
epenet
675c467e12
Add alias to DOMAIN import (part 2) ( #125561 )
2024-09-10 08:40:02 +02:00
Jan Rieger
f3e2c51774
Add translations to Xiaomi Miio ( #123822 )
...
* Add translations to Xiaomi Miio
* Deduplicate translations
2024-09-06 14:59:02 +02:00
Erik Montnemery
38ef216894
Update icons.json to new service schema part 4 ( #124771 )
2024-08-28 13:48:13 +02:00
Erik Montnemery
5836f8edb5
Pass None instead of empty dict when registering entity services ( #123879 )
...
* Pass None instead of empty dict when registering entity services
* Update rainmachine
2024-08-15 10:11:43 +02:00
epenet
a6aae4e857
Fix implicit-return in xiaomi_miio ( #122939 )
2024-07-31 20:45:48 +02:00
Paul Bottein
33f0840a26
Add translations for xiaomi miio fan preset modes ( #122367 )
2024-07-22 11:21:54 +02:00
G Johansson
ca4c617d4b
Add TURN_OFF/TURN_ON feature flags for fan ( #121447 )
2024-07-19 11:35:24 +02:00
Franck Nijhof
a9bf12f102
Rename Services to Actions in translation strings ( #121777 )
2024-07-15 21:19:25 +02:00
epenet
ba0cd595ff
Improve type hints in device tracker implementations ( #121585 )
2024-07-09 12:06:49 +02:00
Yaroslav Barov
f115efe51d
Add support for Xiaomi airpurifier and humidifier ( #117791 )
2024-07-06 19:25:05 +02:00
epenet
a8bf671663
Force alias when importing remote PLATFORM_SCHEMA ( #120533 )
2024-06-26 11:45:57 +02:00
epenet
2c48843739
Force alias when importing device tracker PLATFORM_SCHEMA ( #120523 )
2024-06-26 11:13:27 +02:00
Marc Mueller
3937cc2963
Improve SERVICE_TO_METHOD typing ( #120474 )
2024-06-26 02:20:48 +02:00
Ishima
013c117570
Add Xiaomi Air Purifier Pro H EU (zhimi.airpurifier.vb2) ( #119149 )
2024-06-11 07:06:25 +02:00
G Johansson
2a4f7439a2
Fix Alarm control panel not require code in several integrations ( #118961 )
2024-06-06 13:21:30 +02:00
Sid
c2b3bf3fb9
Enable Ruff RET502 ( #115139 )
2024-05-21 22:19:33 +02:00
Marc Mueller
7b27101f8a
Use PEP 695 for class annotations (3) ( #117777 )
2024-05-20 10:46:01 +02:00
Sid
2cc916db6d
Replace pylint broad-except with Ruff BLE001 ( #116250 )
2024-05-07 14:00:27 +02:00
Sid
b456d97e65
Replace pylint protected-access with Ruff SLF001 ( #115735 )
2024-05-06 20:33:26 +02:00
Sid
b37f7b1ff0
Enable Ruff RUF019 ( #115396 )
...
* Enable Ruff RUF019
* fix tado tests
* review comments
2024-04-24 07:23:24 +02:00
Or Evron
5702ab3059
Add zhimi.fan.za3 to xiaomi_miio workaround unable to discover device ( #108310 )
...
* add zhimi.fan.za3 to workaround fix unable to discover issue
* Update __init__.py
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-04-18 20:48:37 +02:00
Sid
0d66d298ec
Enable Ruff RET504 ( #114528 )
...
* Enable Ruff RET504
* fix test
* Use noqa instead of cast
* fix sonos RET504
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-06 11:07:37 +02:00
Joost Lekkerkerker
7f9ad140f9
Fix wrong icons ( #114567 )
...
* Fix wrong icons
* Fix wrong icons
2024-04-01 15:53:14 +02:00
Sid
6587ee20db
Enable Ruff TRY300 ( #114437 )
...
* Enable Ruff TRY300
* Update validation.py
* Address review comments
2024-03-30 10:37:59 +01:00
Marc Mueller
3929273b41
Allow float for int argument type [pylint plugin] ( #114105 )
2024-03-27 11:51:27 +01:00
Sid
82a60fe8ad
Enable Ruff RSE ( #113695 )
2024-03-18 00:40:38 +01:00
Sid
0b9c9aff62
Add ruff rules PIE790, PIE794, PIE807, PIE810 ( #113617 )
2024-03-16 11:04:58 -10:00
Joost Lekkerkerker
8c13b817ea
Add service icons to Xiaomi Miio ( #113364 )
2024-03-14 13:15:11 +01:00
Joost Lekkerkerker
4547131bbc
Improve lists in integrations [X-Z] ( #113253 )
2024-03-13 20:32:12 +01:00
Joost Lekkerkerker
85b6d70b04
Remove entity description mixin in Xiaomi Miio ( #112973 )
2024-03-11 11:52:19 +01:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] ( #112736 )
2024-03-08 19:15:59 +01:00
Marc Mueller
c773d57d39
Add empty line after module docstring [w-z] ( #112706 )
2024-03-08 10:35:45 -05:00
Erik Montnemery
9ec9ac4fd4
Migrate integrations u-z to generic flowhandler ( #111866 )
2024-02-29 20:08:16 +01:00
J. Nick Koston
54d005a3b8
Migrate xiaomi_miio to use async_update_reload_and_abort ( #110988 )
2024-02-20 07:08:21 +01:00
Stanislas
41646a6514
Xiaomi MIIO: fix typo in error log ( #106852 )
2024-01-02 12:47:16 +01:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions ( #105984 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Joost Lekkerkerker
a82410d5e9
Deduplicate constants E-Z ( #105657 )
2023-12-13 17:05:37 +01:00
Joost Lekkerkerker
ac53b78a0c
Deduplicate constants A-D ( #105638 )
2023-12-13 14:21:44 +01:00
Jan Bouwhuis
953a212dd6
Use ServiceValidationError for invalid fan preset_mode and move check to fan entity component ( #104560 )
...
* Use ServiceValidationError for fan preset_mode
* Use _valid_preset_mode_or_raise to raise
* Move preset_mode validation to entity component
* Fix bond fan and comments
* Fixes baf, fjaraskupan and template
* More integration adjustments
* Add custom components mock and test code
* Make NotValidPresetModeError subclass
* Update homeassistant/components/fan/strings.json
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Keep bond has_action validation
* Move demo test asserts outside context block
* Follow up comment
* Update homeassistant/components/fan/strings.json
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Fix demo tests
* Remove pylint disable
* Remove unreachable code
* Update homeassistant/components/fan/__init__.py
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Use NotValidPresetModeError, Final methods
* Address comments
* Correct docst
* Follow up comments
* Update homeassistant/components/fan/__init__.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-11-29 13:56:51 +01:00
Teemu R
e151358aa1
Allow model-specific lazy_discover setting for xiaomi_miio ( #100490 )
2023-10-16 14:30:05 +02:00
Teemu R
7c4f08e6b3
Fix xiaomi_miio button platform regression ( #100527 )
2023-09-19 17:15:43 +02:00
Ville Skyttä
b51c0f6ddc
Remove unnnecessary pylint configs from components [s-z]* ( #98925 )
2023-08-24 01:25:32 +02:00
Marc Mueller
8b0fdd6fd2
Use asyncio.timeout [s-z] ( #98452 )
2023-08-15 14:34:18 +02:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry ( #98149 )
...
* Move DeviceInfo from entity to device registry
* Update integrations
2023-08-10 22:04:26 -04:00
Marc Mueller
4e9ce235e8
Update construct to 2.10.68 ( #96843 )
2023-07-18 17:50:31 +02:00
c0ffeeca7
aa13082ce0
Rename 'life' to 'lifetime' in Xiaomi Miio ( #96817 )
...
String review: rename 'life' to 'lifetime'
- The term life, such as in 'filter life' can be ambiguous.
- Renamed to 'lifetime', as quite a few integrations use the term 'lifetime' to express this concept
- Improves consistency and should be easier to understand.
2023-07-18 10:13:33 +02:00
Paulus Schoutsen
7859be6481
Add deduplicate translations script ( #96384 )
...
* Add deduplicate script
* Fix forecast_solar incorrect key with space
* Fix utf-8
* Do not create references to other arbitrary other integrations
* Add commented code to only allow applying to referencing integrations
* Tweak
* Bug fix
* Add command line arg for limit reference
* never suggest to update common keys
* Output of script
* Apply suggestions from code review
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
---------
Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-13 11:52:50 -04:00
Franck Nijhof
8d360611d1
Migrate integration services (W-Z) to support translations ( #96381 )
2023-07-12 07:36:51 +02:00