Commit graph

73643 commits

Author SHA1 Message Date
J. Nick Koston
dc3c7c95f7
Import stream in the executor to avoid blocking the event loop (#112078)
* Import stream in the executor to avoid blocking the event loop

This one has some large deps

* one more place

* avoid call if no change

* just in case
2024-03-02 22:00:28 -05:00
J. Nick Koston
aaa2d8745f
Import template in the executor to avoid blocking the event loop (#112070)
Importing template has a very long dep tree
2024-03-02 21:59:34 -05:00
J. Nick Koston
2fe12ade4c
Ensure all homekit_controller controllers are imported in advance (#112079)
* Ensure all homekit_controllers are imported in advance

We want to avoid importing them in the event loop later

* Ensure all homekit_controllers are imported in advance

We want to avoid importing them in the event loop later
2024-03-02 21:56:33 -05:00
J. Nick Koston
131068358a
Import yeelight in the executor to avoid blocking the event loop (#112080) 2024-03-02 21:55:55 -05:00
J. Nick Koston
f415746e26
Import caldav in the executor to avoid blocking the event loop (#112081)
2024-03-02 18:21:51.794 DEBUG (MainThread) [homeassistant.loader] Component caldav import took 0.676 seconds (loaded_executor=False)
2024-03-02 21:55:20 -05:00
J. Nick Koston
8d2fe73faa
Fix bootstrap being fetched three times during unifiprotect startup (#112082)
We always fetch it to check if the device is online.
Avoid fetching it again for migration by passing
it to the migrators
2024-03-02 21:55:04 -05:00
J. Nick Koston
ea9c969d15
Fix executor being overloaded in caldav (#112084)
Migrate to using a single executor job instead of creating
one per calendar. If the user had a lot of calendars the
executor would get overloaded
2024-03-02 21:53:51 -05:00
J. Nick Koston
08c96efebe
Import baf in the executor to avoid blocking the event loop (#112086) 2024-03-02 21:52:40 -05:00
J. Nick Koston
5e5da2bf3a
Import integrations using sense-energy in the executor to avoid loop blocking (#112087)
Import integrations using sense-enegy in the executor to avoid blocking the event loop
2024-03-02 21:52:11 -05:00
J. Nick Koston
a07f6d9d76
Import smtp in the executor to avoid blocking the loop (#112089)
This one has no external requirements, but the email imports
from stdlib take ~0.6s on a green
2024-03-02 21:51:45 -05:00
J. Nick Koston
6421a08ba8
Avoid expensive inspect calls in config validators (#112085)
* Avoid expensive inspect calls in config validators

inspect has a performance problem https://github.com/python/cpython/issues/92041

We now avoid calling inspect unless we are going to log

* remove unused

* reduce

* get_integration_logger
2024-03-02 21:50:35 -05:00
J. Nick Koston
9353ad0690
Import switchbot in the executor to avoid blocking the event loop (#112077) 2024-03-03 01:18:03 +01:00
J. Nick Koston
3808e8b0bc
Switch config to use async_get_component/async_get_platform (#112071) 2024-03-02 13:56:25 -10:00
J. Nick Koston
08897137ff
Pre-import more frontend deps to avoid importing when the event loop is running (#112031) 2024-03-02 13:44:06 -10:00
elmurato
9e428c6c5f
Fix setup failure due to temporary DNS issue in Minecraft Server (#112068)
Change ConfigEntryError to ConfigEntryNotReady on failed init
2024-03-02 17:28:27 -05:00
J. Nick Koston
0ff2106589
Import snmp in the executor to avoid blocking the event loop (#112065)
Do not mark for backport to 2024.3 as we are no longer backporting new ones
2024-03-02 17:19:09 -05:00
Paulus Schoutsen
dd1ad71166
Only load camera prefs once (#112064) 2024-03-02 17:18:34 -05:00
Shay Levy
ec4331fc19
Bump bthome-ble to 3.6.0 (#112060)
* Bump bthome-ble to 3.6.0

* Fix discovery info typing
2024-03-02 23:11:22 +01:00
Isak Nyberg
b734a9ffc8
Add device class for permobil record distance sensor (#112062)
fix record_distance device_class
2024-03-02 22:50:24 +01:00
J. Nick Koston
85ec48ff31
Import anonymize_data in unifiprotect init to avoid it being imported in the event loop (#112052)
Improve anonymize_data in unifiprotect init to avoid it being imported in the event loop
2024-03-02 16:08:22 -05:00
J. Nick Koston
546fc1e282
Refactor file_upload to avoid janus dep (#112032) 2024-03-02 10:58:08 -10:00
J. Nick Koston
dca6104b4b
Bump unifi-discovery to 1.1.8 (#112056) 2024-03-02 10:38:45 -10:00
J. Nick Koston
fd07d83c09
Import ambient_station in the executor to avoid blocking the event loop (#112053) 2024-03-02 15:16:57 -05:00
J. Nick Koston
ee69a3ea8a
Import co2signal in the executor to avoid blocking the event loop (#112058) 2024-03-02 15:14:04 -05:00
J. Nick Koston
567d4d5926
Simplify load_executor check in loader (#112029) 2024-03-02 09:01:11 -10:00
Jeef
14b737e9b8
Bump weatherflow4py to v0.1.12 (#112040)
Backing lib bump
2024-03-02 19:15:21 +01:00
Álvaro Fernández Rojas
61e28291be
Update aioairzone-cloud to v0.4.5 (#112034)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-03-02 19:14:00 +01:00
Joakim Sørensen
e691e45017
Use description key instead of name for Tibber RT unique ID (#112035)
* Use translation key instead of name for Tibber RT unique ID

* migration

* use decription.key instead
2024-03-02 17:48:27 +01:00
Robert Svensson
ece5587e1f
Streamline naming in the Axis integration (#112044)
* Rename device.py to hub.py

* Rename AxisNetworkDevice to AxisHub

* Move hub.py into hub package

* Rename get_axis_device to get_axis_api

* Split out get_axis_api to its own module

* Rename device object to hub

* Rename device to api in config flow

* Convenience method to get hub
2024-03-02 11:32:51 -05:00
Jan-Philipp Benecke
196089e8b7
Remove deprecated hass.components.hassio usage (#111878) 2024-03-02 15:38:31 +01:00
Joakim Sørensen
9478b7de29
Fix config schema for velux (#112037) 2024-03-02 06:52:20 -05:00
Joost Lekkerkerker
0f66292d35
Add icon translations to Netgear (#111972) 2024-03-02 12:42:00 +01:00
Joost Lekkerkerker
0f71e45fe2
Add entity and icon translations to Onvif (#111991)
* Add icon translations to Onvif

* Add icon translations to Onvif

* Update homeassistant/components/onvif/strings.json
2024-03-02 10:30:48 +01:00
Joost Lekkerkerker
9887340298
Add icon translations to Opentherm gw (#111995) 2024-03-02 10:30:21 +01:00
Joost Lekkerkerker
fbb894a0ff
Add icon translations to Nmap tracker (#111983) 2024-03-02 10:30:10 +01:00
Robert Svensson
c770c6c78f
Apply better names to a couple of dicts in Axis config flow (#111964)
Apply better names to a couple of dicts
2024-03-02 07:10:34 +01:00
J. Nick Koston
c0f7ade92b
Convert command_line to use asyncio for subprocesses (#111927)
* Convert command_line to use asyncio for subprocesses

* fixes

* fix

* fixes

* more test fixes

* more fixes

* fixes

* preen
2024-03-01 23:15:10 -05:00
J. Nick Koston
5f65315e86
Reduce samsungtv startup time (#112007)
Create the startup tasks eagerly

This one is a bit high
2024-03-01 22:43:08 -05:00
J. Nick Koston
4249d17c1b
Reduce ESPHome reconnect time (#112001)
Use eager tasks to request device_info and entities which avoids
waiting one event loop to send the requests to the device
2024-03-01 22:16:01 -05:00
Chris Helming
8ff2a39238
Fix minor language issues in strings.json (#112006)
language fix: allow -> allows
2024-03-02 02:00:03 +01:00
Joost Lekkerkerker
8077654002
Add icon translations to ovo energy (#111997) 2024-03-02 01:01:46 +01:00
Joost Lekkerkerker
ea6913d436
Add icon translations to OpenAI Conversation (#111992) 2024-03-02 00:57:25 +01:00
Joost Lekkerkerker
17191b5af2
Add icon translations to Openhome (#111993) 2024-03-02 00:56:50 +01:00
Joost Lekkerkerker
dd2d7e579d
Add icon translations to Opensky (#111994)
* Add icon translations to Opensky

* Add icon translations to Opensky
2024-03-02 00:56:34 +01:00
Joost Lekkerkerker
46a86667d3
Add icon translations to Octoprint (#111988) 2024-03-02 00:35:53 +01:00
Joost Lekkerkerker
10c06a1553
Add icon translations to Ondilo ico (#111990) 2024-03-02 00:35:40 +01:00
Joost Lekkerkerker
f3e0060128
Add icon translations to Omnilogic (#111989) 2024-03-02 00:35:27 +01:00
Joost Lekkerkerker
2e12e5cda1
Add icon translations to Netgear LTE (#111974)
* Add icon translations to Netgear LTE

* Add icon translations to Netgear LTE

* Update homeassistant/components/netgear_lte/icons.json
2024-03-02 00:35:17 +01:00
Joost Lekkerkerker
a78382a3f7
Add icon translations to NZBGet (#111985) 2024-03-02 00:31:10 +01:00
Joost Lekkerkerker
0cc1fd5e99
Add icon translations to Nextcloud (#111982) 2024-03-02 00:28:37 +01:00