Commit Graph
77883 Commits
Author SHA1 Message Date
Erik MontnemeryandGitHub b0d1b6555d Address late review comments on homeworks PRs (#114867) 2024-04-04 22:48:31 +02:00
Pete SageandGitHub 95ef087fa8 Fix Sonos Tests failing intermittently on CI (#114873) 2024-04-04 10:34:23 -10:00
2cfc60b5b6 Bump opower to 0.4.3 (#114826)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-04-04 22:06:15 +02:00
7c95ecff20 Validate unique_id in entity registry (#114648)
Co-authored-by: Shay Levy <levyshay1@gmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-04-04 09:51:44 -10:00
Michael HansenandGitHub 1c2499b03a Add "conversation" key to translations (#114887)
* Use translated trigger response

* Use conversation key instead
2024-04-04 14:45:27 -05:00
cceea6dac2 Refactor ConfigStore to avoid needing to pass config_dir (#114827)
Co-authored-by: Erik <erik@montnemery.com>
2024-04-04 09:30:10 -10:00
Marc MuellerandGitHub 56ef9500f7 Use EventStateChangedData type when firing state changed event (#114740) 2024-04-04 09:27:44 -10:00
J. Nick KostonandGitHub 9189cd5ec2 Avoid linear search in gpslogger to find devices (#114811) 2024-04-04 09:27:24 -10:00
J. Nick KostonandGitHub a83d5e4071 Avoid linear search in geofency to find devices (#114810) 2024-04-04 09:27:14 -10:00
J. Nick KostonandGitHub c7d1319acf Avoid linear search in owntracks to find devices (#114812) 2024-04-04 09:26:58 -10:00
Bram KragtenandGitHub c798128ef1 Update frontend to 20240404.0 (#114859) 2024-04-04 15:01:15 -04:00
J. Nick KostonandGitHub a9d43db315 Avoid linear search to clear a config entry in the device registry (#114802) 2024-04-04 08:35:07 -10:00
Aidan TimsonandGitHub e845d12733 Pin systembridgemodels to 4.0.4 (#114842) 2024-04-04 14:25:35 +02:00
Joost LekkerkerkerandGitHub 28dc77a72d Avoid blocking IO in downloader initialization (#114841)
* Avoid blocking IO in downloader initialization

* Avoid blocking IO in downloader initialization
2024-04-04 13:45:44 +02:00
Marc MuellerandGitHub efde8400e2 Improve generic event typing [rfxtrx] (#114733) 2024-04-04 12:08:37 +02:00
J. Nick KostonandGitHub 342e47dcc8 Ensure async_test_home_assistant is passed a str in storage tests (#114813) 2024-04-04 12:05:16 +02:00
J. Nick KostonandGitHub cc96bc44a0 Avoid linear search in ps4 to find devices (#114814) 2024-04-04 11:53:04 +02:00
J. Nick KostonandGitHub 0710f4c661 Avoid linear search in purpleair to find devices (#114816) 2024-04-04 11:51:57 +02:00
J. Nick KostonandGitHub d7153d525f Avoid linear search in ibeacon to find devices (#114809) 2024-04-04 11:50:30 +02:00
e909242bc5 Fix missing if statement in homematic (#114832)
* homematic fix issue #114807

Update climate.py

* Update homeassistant/components/homematic/climate.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2024-04-04 11:45:01 +02:00
J. Nick KostonandGitHub 5be5c37326 Avoid linear search in homekit to find devices (#114808) 2024-04-04 11:39:16 +02:00
J. Nick KostonandGitHub 86feae421c Avoid linear search in hassio to find devices (#114806) 2024-04-04 11:38:37 +02:00
Marc MuellerandGitHub 816ce116bf Remove unnecessary functools.cached_property backport (#114239) 2024-04-04 11:24:26 +02:00
cdheiserandGitHub 7228f63c4a Fix Lutron light brightness values (#114794)
Fix brightness values in light.py

Bugfix to set the brightness to 0-100 which is what Lutron expects.
2024-04-04 11:24:02 +02:00
J. Nick KostonandGitHub 7b64097399 Load mobile_app notify platform with eager_start (#114700) 2024-04-04 09:34:13 +02:00
J. Nick KostonandGitHub 1462c99bc0 Load template platforms with eager_start (#114701)
* Load template platforms with eager_start

These can all be loaded synchronously

* missed some
2024-04-04 09:33:10 +02:00
J. Nick KostonandGitHub 2b06168573 Avoid linear search in traccar to find devices (#114817)
* Avoid linear search in traccar to find devices

* remove useless check
2024-04-04 09:09:47 +02:00
Álvaro Fernández RojasandGitHub 15a821f6ac Update aioairzone-cloud to v0.4.7 (#114761) 2024-04-03 21:05:08 -10:00
J. Nick KostonandGitHub aedfd6c983 Add index for floor/label to the area registry (#114777) 2024-04-03 21:04:26 -10:00
J. Nick KostonandGitHub aa52688d4b Avoid linear search of the device registry in deconz (#114803) 2024-04-03 21:02:18 -10:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
c18ff39540 Bump Wandalen/wretry.action from 2.1.0 to 3.0.1 (#114805)
Bumps [Wandalen/wretry.action](https://github.com/wandalen/wretry.action) from 2.1.0 to 3.0.1.
- [Release notes](https://github.com/wandalen/wretry.action/releases)
- [Commits](https://github.com/wandalen/wretry.action/compare/v2.1.0...v3.0.1)

---
updated-dependencies:
- dependency-name: Wandalen/wretry.action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-04 08:38:15 +02:00
0c3ccabfb1 Speed up logger setup (#114610)
* Speed up logger setup

Preload core.logger and avoid saving it
until after startup

* add comment about 180s

* Adjust grammar

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-04 08:35:44 +02:00
J. Nick KostonandGitHub 7a2e529bb7 Avoid executor job to start http if server_host is unspecified (#114609)
* Avoid executor job to start http if server_host is unspecified

Same as #112522 for http

* adjust test

* CONF_SERVER_HOST is always set now
2024-04-04 07:51:18 +02:00
J. Nick KostonandGitHub 56d0ad27f0 Adjust async_load_platform comment to remove dead lock reference (#114771)
* Adjust async_load_platform comment

Its likely the deadlock here has been fixed for a long time, however
we should still do these in a task because it has to wait for base
components if they are not loaded yet.

* Adjust async_load_platform comment

Its likely the deadlock here has been fixed for a long time, however
we should still do these in a task because it has to wait for base
components if they are not loaded yet.
2024-04-03 22:53:31 -04:00
J. Nick KostonandGitHub 3f76d1f056 Add index for area/config_entry/label to the device registry (#114776)
* Add index for area/config_entry/label to the device registry

* use it for services

* naming

* naming

* tweak
2024-04-03 22:52:17 -04:00
Aaron BachandGitHub 841d3940d1 Fix unhandled KeyError during Notion setup (#114787) 2024-04-03 18:20:20 -06:00
Manuel DipoltandGitHub c1c664dc09 Update romy to 0.0.10 (#114785) 2024-04-04 00:48:35 +02:00
J. Nick KostonandGitHub 5394a2a34a Load mailbox integration platforms in tracked tasks (#114774) 2024-04-03 11:12:38 -10:00
J. Nick KostonandGitHub e86fec310b Improve performance of extracting entities by label (#114720) 2024-04-03 10:24:44 -10:00
J. Nick KostonandGitHub 3d8a110908 Dispatch the same ReceiveMessage object if the subscription topic is the same (#114769) 2024-04-03 09:36:57 -10:00
535da483b6 Rework update_data starlink coordinator (#114642)
* Update coordinator.py

fixes https://github.com/home-assistant/core/issues/114353

* Rework update_data starlink coordinator

* modify return handlung according to ruff

* add type annotation for _get_srtarlink_data

* add channel_context type annotation

* Add docstring

* ruff ruff here you go - modfied docstring

* Clean up

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-03 20:51:55 +02:00
Franck NijhofandGitHub b61397656c 2024.4.0 (#114764) 2024.4.0 2024-04-03 20:38:11 +02:00
J. Nick KostonandGitHub 69a6e9f5d7 Use eager_start to forward wemo config entry platforms (#114702)
* Use eager_start to forward wemo config entry platforms

These can all be setup synchronously

* do not create another task
2024-04-03 20:29:48 +02:00
Jan-Philipp BeneckeandFranck Nijhof 590546a9a5 Use setup_test_component_platform helper for sensor entity component tests instead of hass.components (#114316)
* Use `setup_test_component_platform` helper for sensor entity component tests instead of `hass.components`

* Missing file

* Fix import

* Remove invalid device class
2024-04-03 20:00:56 +02:00
9ba4d26abd Fix for Sonos URL encoding problem #102557 (#109518)
* Fix for URL encoding problem #102557

Fixes the problem "Cannot play media with spaces in folder names to Sonos #102557" removing the encoding of the strings in the music library.

* Fix type casting problem

* Update media_browser.py to fix pr check findings

Added required casting for all unquote statements to avoid further casting findings in the pr checks

* Update media_browser.py

Checked on linting, lets give it another try

* Update media_browser.py

Updated ruff run

* Update media_browser.py - added version run through ruff

* Update media_browser.py - ruff changes

* Apply ruff formatting

* Update homeassistant/components/sonos/media_browser.py

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>

* Update homeassistant/components/sonos/media_browser.py

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>

* Update homeassistant/components/sonos/media_browser.py

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>

* Update homeassistant/components/sonos/media_browser.py

Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>

---------

Co-authored-by: computeq-admin <51021172+computeq-admin@users.noreply.github.com>
Co-authored-by: Jason Lawrence <jjlawren@users.noreply.github.com>
2024-04-03 19:31:02 +02:00
Franck Nijhof aa33da546d Bump version to 2024.4.0 2024-04-03 19:09:39 +02:00
Jan BouwhuisandGitHub d66145358a Correct imap services setup (#114760)
* Correct imap services setup

* Add config schema
2024-04-03 18:40:59 +02:00
Chris BräuckerandGitHub 51a3e79048 Add wake on LAN via Fritz!Box for tracked devices (#106778) 2024-04-03 18:37:20 +02:00
Franck Nijhof 3845523a27 Bump version to 2024.4.0b9 2024.4.0b9 2024-04-03 17:55:24 +02:00
MichaelandFranck Nijhof 6a7fad0228 Fix Synology DSM setup in case no Surveillance Station permission (#114757) 2024-04-03 17:55:12 +02:00