Commit Graph
79200 Commits
Author SHA1 Message Date
J. Nick KostonandGitHub fd1f712d67 Bump esphome dependencies (#110892) 2024-02-19 10:38:28 +01:00
J. Nick KostonandGitHub 136a31e4bc Avoid creating tasks to run homekit accessories (#110895) 2024-02-19 10:36:54 +01:00
J. Nick KostonandGitHub 4bc28489c5 Improve performance of waiting for after dependencies and device config entries (#110902)
To wait for after dependencies we created a task to wait an asyncio.Event object,
instead of using an Event we can use an asyncio.Future instead and avoid the need
for a task wrapper
2024-02-19 10:28:50 +01:00
Marc MuellerandGitHub a21d65d025 Fix cloud test RuntimeWarning (#110909) 2024-02-19 10:09:59 +01:00
J. Nick KostonandGitHub 764e628394 Add missing async_block_till_done to github config flow tests (#110913) 2024-02-19 09:58:57 +01:00
J. Nick KostonandGitHub 6fc764330f Fix steamist not setting unique id when discovered in user flow (#110915) 2024-02-19 09:58:32 +01:00
J. Nick KostonandGitHub a2bd59ab3b Fix switcher_kis tests not holding patch while calling async_block_till_done (#110916) 2024-02-19 09:58:09 +01:00
J. Nick KostonandGitHub c74958dd36 Reduce one iteration of pending flows in the discovery flow helper (#110918) 2024-02-19 09:57:39 +01:00
J. Nick KostonandGitHub 19cf80d5c5 Fix homekit_controller test race (#110917) 2024-02-19 08:42:17 +00:00
wilburCforceandGitHub 88f72009c6 Fix uuid issue in Lutron (#110524) 2024-02-19 09:30:58 +01:00
Chris CaronandGitHub 31ce43212a Allow loading of more then 1 defined Apprise URL (#110868) 2024-02-19 09:29:26 +01:00
J. Nick KostonandGitHub 88b92ff2a8 Narrow bosch_shc patch target in config flow tests (#110922) 2024-02-19 09:24:44 +01:00
Marc MuellerandGitHub 02eca17002 Update wheels artifact actions to v4 [ci] (#110894) 2024-02-19 09:23:51 +01:00
J. Nick KostonandGitHub b35d7a348b Fix mqtt discovery subscribe unsubscribe test with one less task (#110914)
This test currently relies on event loop overhead and since #110899
will remove another task in the config entry init flow, it needs
another async_block_till_done. In the future it should be refactored
to have better synchronization without having to rely on iterations
of the event loop.
2024-02-19 07:36:32 +01:00
Marc MuellerandGitHub 795d90eb1b Update pre-commit to 3.6.2 (#110908) 2024-02-18 19:37:05 -06:00
J. Nick KostonandGitHub aab21105da Convert config entry subscriptions to callback (#110900) 2024-02-18 19:36:53 -06:00
Marc MuellerandGitHub af6b24d9bd Update pytest to 8.0.1 (#110907) 2024-02-19 01:52:40 +01:00
Marc MuellerandGitHub 85864e77ac Partially revert setup typing update (#110901) 2024-02-19 00:36:47 +01:00
LennandGitHub 3275b28e2a Fix Motionblinds brand name consistency (#110222) 2024-02-19 00:04:57 +01:00
Jan-Philipp BeneckeandGitHub 22e62f42e6 Use entity & device registry fixtures in unifi tests (#110889) 2024-02-18 23:47:10 +01:00
Marc MuellerandGitHub 72ccc40c43 Add better HassJob typing for IntegrationPlatform process_job (#110896) 2024-02-18 16:46:48 -06:00
Álvaro Fernández RojasandGitHub 49e9c9dd48 Update AEMET-OpenData to v0.4.8 (#110890)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-02-18 23:33:06 +02:00
spycleandGitHub 503af70985 Bump pyMicrobot to 0.0.16 (#110876)
* Update manifest.json

Up-version pyMicrobot

* Update requirements_all.txt

Up-version pyMicrobot

* Update requirements_test_all.txt

Up-version pyMicrobot
2024-02-18 23:32:01 +02:00
J. Nick KostonandGitHub 314123e0ab Avoid creating two tasks to setup components at startup (#110828) 2024-02-18 14:17:41 -06:00
Jan-Philipp BeneckeandGitHub 85587f995b Use entity registry fixture in octoprint tests (#110887) 2024-02-18 20:55:12 +01:00
Paul DaumlechnerandGitHub b358a03379 Fix Velux setup (#110886)
fix async_setup without configuration.yaml entry
2024-02-18 20:39:02 +01:00
J. Nick KostonandGitHub fdd45189ca Fix trigger attachment race in conversation tests (#110869) 2024-02-18 20:13:41 +01:00
Marc MuellerandGitHub f785bdf571 Update coverage artifact actions to v4 [ci] (#110344) 2024-02-18 20:13:20 +01:00
J. Nick KostonandGitHub 93d56cc105 Enable compression on error log api (#110865) 2024-02-18 20:12:30 +01:00
J. Nick KostonandGitHub 3633700d97 Fix sending multiple empty integration timing in bootstrap (#110872) 2024-02-18 19:53:05 +01:00
On FreundandGitHub e879ab0eef Show WebRTC cameras that also support HLS in the media browser (#108796)
* Show WebRTC cameras in the media browser

* Only show webrtc cameras with source in the browser

* Address code review

* Refactor BrowseMediaSource creation

* Refactor

* Address code review
2024-02-18 10:12:08 -08:00
Jc2kandGitHub 8fa347fb4c Add Identify device class to homekit_controller (#110878) 2024-02-18 12:05:19 -06:00
GalorhallenandGitHub 7d3755715f Update govee-local-api library to 1.4.4 (#110854) 2024-02-18 18:04:37 +01:00
J. Nick KostonandGitHub bd4f8e0cc0 Fix races in ESPHome manager tests (#110867) 2024-02-18 17:06:57 +01:00
Jan BouwhuisandGitHub addc02fa86 Revert "Set up smtp integration via the UI" (#110862)
Revert "Set up smtp integration via the UI (#110817)"

This reverts commit 66a31407f9.
2024-02-18 16:21:27 +01:00
Franck NijhofandGitHub 67ac60d042 Add hex color validator (#110846) 2024-02-18 16:03:21 +01:00
Franck NijhofandGitHub 70d1bbb20d Improve floor registry event typing (#110844) 2024-02-18 14:57:15 +01:00
Franck NijhofandGitHub 1c55ba0cb2 Use covariant for fire event data type (#110843) 2024-02-18 13:21:55 +01:00
66a31407f9 Set up smtp integration via the UI (#110817)
* Set up smtp integration via the UI

* Update homeassistant/components/smtp/config_flow.py

Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>

* Update homeassistant/components/smtp/notify.py

Co-authored-by: Jan-Philipp Benecke <jan-philipp@bnck.me>

* Update homeassistant/components/smtp/notify.py

Co-authored-by: Jan-Philipp Benecke <jan-philipp@bnck.me>

* Update homeassistant/components/smtp/notify.py

Co-authored-by: Jan-Philipp Benecke <jan-philipp@bnck.me>

* Update homeassistant/components/smtp/notify.py

Co-authored-by: Jan-Philipp Benecke <jan-philipp@bnck.me>

* ruff

---------

Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Jan-Philipp Benecke <jan-philipp@bnck.me>
2024-02-18 13:20:45 +01:00
Joost LekkerkerkerandGitHub e2ab44903c Clean up twitch setup (#110849)
* Clean up twitch setup

* Clean up twitch setup
2024-02-18 13:16:22 +01:00
babb436512 Fix local todo list persistence for due dates (#110830)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-02-18 12:59:50 +01:00
Jan-Philipp BeneckeandGitHub 9ac199a8f2 Bump aiotankerkoenig to 0.4.1 (#110840) 2024-02-18 11:58:33 +01:00
J. Nick KostonandGitHub 16653ff5d0 Group loading of translations for integrations to reduce executor jobs at startup (#110674) 2024-02-17 21:08:55 -06:00
J. Nick KostonandGitHub def6c5c21c Refactor integration startup time tracking to reduce overhead (#110136)
* Refactor integration startup time tracking to reduce overhead

- Use monotonic time for watching integration startup time as it avoids incorrect values if time moves backwards because of ntp during startup and reduces many time conversions since we want durations in seconds and not local time

- Use loop scheduling instead of a task

- Moves all the dispatcher logic into the new _WatchPendingSetups

* websocket as well

* tweaks

* simplify logic

* preserve logic

* preserve logic

* lint

* adjust
2024-02-17 21:47:55 -05:00
J. Nick KostonandGitHub 9bc130c131 Ensure translations for other integrations can be loaded if one integration fails (#110748)
* load failure

* merge
2024-02-17 21:01:36 -05:00
J. Nick KostonandGitHub 0a01161cdd Cache JSON representation of ConfigEntry objects (#110823)
* Cache JSON representation of ConfigEntry objects

* fix recursive set

* tweak

* adjust

* order
2024-02-17 20:52:39 -05:00
J. Nick KostonandGitHub 0d4c82b54d Convert Integration platforms processors where nothing is awaited to callbacks (#110825)
Convert Integration platforms processors where nothing is awaited callbacks
2024-02-17 20:49:47 -05:00
J. Nick KostonandGitHub 165d79b553 Add typing of EVENT_COMPONENT_LOADED to integration_platform helper (#110826) 2024-02-17 20:48:46 -05:00
Aarni KoskelaandGitHub 5d23a1f84f Enable augmented-assignment operations in scripts (#108081) 2024-02-17 20:32:23 -05:00
J. Nick KostonandGitHub 33ff6b5b6e Avoid creating tasks for checking integrations platforms (#110795)
* Avoid creating tasks for checking integrations platforms

This is a followup to #110743 to avoid creating a task to check
if the integration platform exists. We created tasks because
we needed to await async_get_integrations but since its always
called from EVENT_COMPONENT_LOADED firing, we can use the
async_get_loaded_integration version which does not need
to be awaited. This eliminates one task for every loaded
component

* there is no more race risk

* reduce

* coro or callback

* reduce

* tweak

* race safe

* fix type

* fixes

* use built-in helper to make it smaller

* use built-in helper to make it smaller

* use built-in helper to make it smaller

* add coverage to ensure exceptions are logged

* improve readability a bit

* platforms
2024-02-18 01:07:18 +01:00