Commit Graph

73477 Commits (826009cdc530ad1fcb1282d9df804fe4a0c093e9)

Author SHA1 Message Date
J. Nick Koston 826009cdc5
Import isy994 in the executor to avoid blocking the event loop (#111766) 2024-02-28 12:39:19 -10:00
puddly 016f2c7581
Improve ZHA group color modes (#111669)
* Set the color mode based on supported color modes

* Replace `zha` with `tuya` in unit test
2024-02-28 17:20:19 -05:00
Jeremy TRUFIER eeb87247e9
Add overkiz support for Atlantic Shogun ZoneControl 2.0 (AtlanticPassAPCHeatingAndCoolingZone) (#110510)
* Add Overkiz support for AtlanticPassAPCHeatingAndCoolingZone widget

* Add support for AUTO HVAC mode for Atlantic Pass APC ZC devices that support it

* Add support for multiple IO controllers for same widget (mainly for Atlantic APC)

* Implement PR feedback

* Small PR fixes

* Fix constant inversion typo
2024-02-28 23:16:03 +01:00
Isak Nyberg fb10ef9ac0
Add permobil entity (#111761)
* add permobil entity

* small fixes

* remove sensor init
2024-02-28 22:55:47 +01:00
yanuino e886bc8939
Read min/max number of showers from state for DomesticHotWaterProduction in Overkiz integration (#111535)
* Read min/max number of showers from state

* Rewrite code for Read min/max number of showers from state

* Set _attr_ instead of inherited value
2024-02-28 22:32:46 +01:00
Andy cd5377367a
Add Ecovacs goat switch entities (#111751) 2024-02-28 20:43:53 +01:00
puddly 4ec75d6ca7
Use new zigpy OTA providers for ZHA (#111159)
* Use `None` instead of `"unknown"` when the current version is unknown

* Only use the current file version from the OTA notification

* Use `sw_version`, if available, and update `current_file_version`

* Assume the current version is the latest version

* Fix lint errors

* Use `image` instead of `firmware`

* Include a changelog if updates expose it

* Clear latest firmware only after updating the installed version

* Bump minimum zigpy version to 0.63.0

* Create a data update coordinator to consolidate updates

* Fix overridden `async_update`

* Fix most unit tests

* Simplify `test_devices` to fix current tests

* Use a dict comprehension for creating mocked entities

* Fix unit tests (thanks @dmulcahey!)

* Update the currently installed version on cluster attribute update

* Drop `PARALLEL_UPDATES` now that we use an update coordinator

* Drop `_reset_progress`, it is already handled by the update component

* Do not update the progress if we are not supposed to be updating

* Ignore latest version (e.g. if device attrs changed) if zigpy rejects it

* Clean up handling of command id in `Ota.cluster_command`

* Start progress at 1%: 0 and False are considered equal and are filtered!

Use `ceil` instead of remapping 1-100

* The installed version will be auto-updated when the upgrade succeeds

* Avoid 1 as well, it collides with `True`

* Bump zigpy to (unreleased) 0.63.2

* Fix unit tests

* Fix existing unit tests

Send both event types

Globally enable sending both event types

* Remove unnecessary branches

* Test ignoring invalid progress callbacks

* Test updating a device with a no longer compatible firmware
2024-02-28 14:38:04 -05:00
Scott K Logan 4895f92551
Bump aioraven to 0.5.1 (#111600) 2024-02-28 20:34:07 +01:00
J. Nick Koston 941df567f8
Import powerwall in the executor to avoid blocking the event loop (#111749)
`2024-02-27 22:44:17.087 DEBUG (MainThread) [homeassistant.loader] Component powerwall import took 0.459 seconds (loaded_executor=False)`
2024-02-28 14:31:23 -05:00
J. Nick Koston 327796a750
Eagerly unload config entries in tests (#111707)
This is a small latancy reduction to reduce test wall clock time
since it runs every test
2024-02-28 14:03:21 -05:00
J. Nick Koston 104884056f
Import plex in the executor to avoid blocking the event loop (#111743)
`Importing platform plex.config_flow took 0.54s (loaded_executor=False)`
2024-02-28 14:02:34 -05:00
Cyrill Raccaud c0a7aacfa8
Cleanup swiss_public_transport error logging (#111741) 2024-02-28 19:42:25 +01:00
Bram Kragten 928458160e
Update frontend to 20240228.0 (#111736) 2024-02-28 17:35:53 +01:00
J. Nick Koston f95e5c1196
Use eager tasks in ssdp (#111696)
There are a few places where we are likely to never suspend here
2024-02-28 10:56:07 -05:00
J. Nick Koston d164039bba
Remove gather for loading generated files in zeroconf (#111699)
async_get_custom_components is the only place this can suspend
and it will always be cached by the time this is called so there
is no reason to schedule these on the event loop
2024-02-28 10:55:41 -05:00
Joost Lekkerkerker c957ff49bf
Add icon translations to Huisbaasje (#111726)
* Add icon translations to Huisbaasje

* Add icon translations to Huisbaasje
2024-02-28 16:37:14 +01:00
Joost Lekkerkerker e28f551cb0
Add icon translations to Huawei LTE (#111724)
* Add icon translations to Huawei LTE

* Add icon translations to Huawei LTE
2024-02-28 16:35:47 +01:00
Andy 69bb827a20
Add ecovacs lawn mover (#111673) 2024-02-28 16:35:29 +01:00
Joost Lekkerkerker 515ca2b6f1
Add icon translations to Homekit (#111719) 2024-02-28 16:34:50 +01:00
Joost Lekkerkerker 7d1d72cc45
Add icon translations to Harmony (#111714) 2024-02-28 16:34:25 +01:00
Joost Lekkerkerker 0ff55a2d24
Add icon translations to Hassio (#111715) 2024-02-28 16:33:46 +01:00
Joost Lekkerkerker 5940dbd51d
Add icon translations to Heos (#111716) 2024-02-28 16:33:12 +01:00
Joost Lekkerkerker 818022073d
Add icon translations to Hive (#111717) 2024-02-28 16:32:52 +01:00
Joost Lekkerkerker afe3d7fb4f
Add icon translations to Home connect (#111718) 2024-02-28 16:32:26 +01:00
Joost Lekkerkerker 15cd9c011e
Add icon translations to Homekit Controller (#111720)
* Add icon translations to Homekit Controller

* Add icon translations to Homekit Controller
2024-02-28 16:31:09 +01:00
Joost Lekkerkerker b6d56d38ba
Add icon translations to Homematic IP Cloud (#111723) 2024-02-28 16:30:20 +01:00
Sebastian Noack df61d0a29d
Add entities for Balboa Spa lights (#111252) 2024-02-28 16:29:40 +01:00
Erik Montnemery b336095239
Allow translating device names (#110711)
* Allow translating device names

* Don't keep a reference to translations in config entry

* Update kitchen_sink tests

* Add tests
2024-02-28 15:59:59 +01:00
J. Nick Koston 9b9700c75f
Import nexia in the executor to avoid blocking the event loop (#111694)
2024-02-27 22:54:18.638 DEBUG (MainThread) [homeassistant.loader] Importing platform nexia.config_flow took 1.84s (loaded_executor=False)
2024-02-28 15:37:10 +01:00
J. Nick Koston f71343a3ba
Import tplink in the executor to avoid blocking the event loop (#111691)
* Import tplink in the executor to avoid blocking the event loop

2024-02-27 22:44:19.908 DEBUG (MainThread) [homeassistant.loader] Component tplink import took 1.620 seconds (loaded_executor=False)

* patch out discovery because it happens too fast now
2024-02-28 15:06:33 +01:00
dependabot[bot] ee0f177153
Bump github/codeql-action from 3.24.4 to 3.24.5 (#111448)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.24.4 to 3.24.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3.24.4...v3.24.5)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-28 14:58:37 +01:00
Robert Svensson c478b1416c
Adapt Axis integration to library refactoring (#110898)
* Adapt Axis integration to library refactoring

* Bump axis to v49
2024-02-28 14:36:32 +01:00
Joost Lekkerkerker 2b3630b054
Add icon translations to HVV departures (#111728) 2024-02-28 14:19:32 +01:00
Sebastian Noack 5a57816e50
Add entities for Balboa Spa pumps (#111245)
* Add entities for Balboa Spa pumps

* Fix fan tests and move client_update to __init__

* Ruff

---------

Co-authored-by: Jan-Philipp Benecke <github@bnck.me>
2024-02-28 14:19:02 +01:00
Simone Chemelli 5c124e5fd2
Add Comelit humidifier/dehumidifier (#111203)
* Add Comelit humidifier/dehumidifier

* optimize turn_on

* fix entity naming

* raise ServiceValidationError

* apply review comment

* apply review comments

* rename HumidifierComelitAction
2024-02-28 14:15:44 +01:00
Joost Lekkerkerker 4be0e86591
Add icon translations to Guardian (#111712)
Co-authored-by: Aaron Bach <bachya1208@gmail.com>
2024-02-28 13:08:40 +01:00
Joost Lekkerkerker a8887d59ed
Add icon translations to BMW (#111348)
* Add icon translations to BMW

* Add icon translations to BMW
2024-02-28 13:05:27 +01:00
Joost Lekkerkerker 40431a9f7e
Add icon translations to DROP connect (#111373)
* Add icon translations to DROP connect

* Add icon translations to DROP connect
2024-02-28 12:58:04 +01:00
Joost Lekkerkerker 7ad1d3e891
Add icon translations to DSMR (#111411)
* Add icon translations to DSMR

* Add icon translations to DSMR
2024-02-28 12:55:43 +01:00
J. Nick Koston 913ee90e1a
Use eager tasks when updating entity state after service calls (#111702)
In a multi-entity update case the state update may not need
to suspend and can get executed without scheduling a task
on the event loop
2024-02-28 12:46:32 +01:00
J. Nick Koston 69a1da0a1a
Make entity component platform setup tasks eager (#111698)
Many of these that setup from YAML will never suspend
because they do no I/O
2024-02-28 12:44:23 +01:00
J. Nick Koston 459f430575
Use eager tasks in a few more places in bootstrap (#111697)
I missed a few of the ones that run before we call
_async_set_up_integrations as I was too focused
on the timings of that function
2024-02-28 12:41:03 +01:00
J. Nick Koston f7ac1e4b8e
Import mobile_app in the executor to avoid blocking the event loop (#111692)
2024-02-27 22:44:23.926 DEBUG (MainThread) [homeassistant.loader] Component mobile_app import took 0.490 seconds (loaded_executor=False)
2024-02-28 12:39:51 +01:00
Michał Jaworski 12b15a9a37
Bump blebox_uniapi to 2.2.1 (#108918)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-02-28 12:39:37 +01:00
Joost Lekkerkerker e8837a4026
Add icon translations to Fronius (#111608) 2024-02-28 12:04:49 +01:00
Joost Lekkerkerker b117deff58
Add icon translations to Gree (#111662)
* Add icon translations to Gree

* Add icon translations to Gree
2024-02-28 11:38:16 +01:00
Erwin Douna c52e2038be
Tado code quality improvements (#107678)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-02-28 11:28:51 +01:00
Joost Lekkerkerker 38ba966d74
Add icon translations to Devolo home network (#111367) 2024-02-28 11:21:19 +01:00
Joost Lekkerkerker b629f5c143
Add icon translations to Denon avr (#111364)
* Add icon translations to Denon avr

* Update homeassistant/components/denonavr/icons.json
2024-02-28 11:02:37 +01:00
Jan-Philipp Benecke ebfba7258e
Revert "Drop `@bind_hass` use from hassio component (#111522)" (#111705)
This reverts commit 4e4345f04e.
2024-02-28 10:51:37 +01:00