Commit Graph

73592 Commits (fbb982f8cea01d72d5a1e7066ac5a0afb9e4c602)

Author SHA1 Message Date
J. Nick Koston 943bd179f8
Import analytics_insights in the executor to avoid blocking the event loop (#111786)
fixes #111780
2024-02-29 02:09:12 +01:00
J. Nick Koston 3fbeb7e400
Fix time trigger tests with leap year (#111785) 2024-02-28 14:51:27 -10:00
J. Nick Koston 675ddaf742
Bump securetar to 2024.2.1 (#111782) 2024-02-28 14:31:41 -10:00
Jan-Philipp Benecke f31244bac4
Add normalized name registry items base class (#111666)
* Add normalized name base registry items class

* Add tests
2024-02-29 01:31:33 +01:00
J. Nick Koston f1398dd127
Import backup in the executor to avoid blocking the event loop (#111781) 2024-02-28 14:20:10 -10:00
J. Nick Koston 5bf7a00989
Move DATA_LOGGING constant to homeassistant.const (#111763) 2024-02-28 14:09:51 -10:00
J. Nick Koston 3c8fcaf912
Import androidtv_remote in the executor to avoid blocking the event loop (#111776)
fixes #111775
2024-02-28 19:01:39 -05:00
Marcel van der Veldt c861bd6c56
Bump Python Matter Server to 5.7.0 (#111765) 2024-02-28 19:01:11 -05:00
Marc Mueller 42a28f4e67
Improve zha coordinator typing (#111767) 2024-02-28 19:00:31 -05:00
J. Nick Koston 61f6df527e
Import cryptography early since importing openssl is not thread-safe (#111768) 2024-02-28 19:00:17 -05:00
Marcel van der Veldt 220e66faad
Bump aiohue to 4.7.1 (#111770)
bump aiohue to 4.7.1
2024-02-28 18:59:44 -05:00
J. Nick Koston 73f283435d
Import blink in the executor to avoid blocking the event loop (#111772)
fixes #111771
2024-02-28 18:59:26 -05:00
J. Nick Koston bd07b654d5
Import coinbase in the executor to avoid blocking the event loop (#111774)
fixes #111773
2024-02-28 18:59:13 -05:00
J. Nick Koston ab74c11d33
Import opower in the executor to avoid blocking the event loop (#111778)
fixes #111777
2024-02-28 18:58:23 -05:00
Bram Kragten 09c16ffb3d
Bump version to 2024.4.0.dev0 (#111755) 2024-02-29 00:46:32 +01:00
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