Commit Graph

73937 Commits

Author SHA1 Message Date
J. Nick Koston
982c8f8f4a Fix incorrect scope on checking files to load in translations (#112457)
discovered in https://github.com/home-assistant/core/pull/112295#discussion_r1513505710

We only checked if the last language had files to load
instead of all of them. The checks for each language
are the same because the only reason we would skip
a language is a missing/broken integration or the integration
is a single file. Both of these loop conditions are always
the same reguardless of the language so the check worked
2024-03-05 23:46:24 -05:00
G Johansson
f5700aa318 Bump holidays to 0.44 (#112442) 2024-03-05 21:43:58 -05:00
Robert Svensson
fe0ba1141d Fix handling missing parameter by bumping axis library to v50 (#112437)
Fix handling missing parameter
2024-03-05 21:41:20 -05:00
J. Nick Koston
2c13a81086 Load network storage in a task to reduce startup time (#112460)
We waited for these in series but they are not dependant on
each other
2024-03-05 21:32:23 -05:00
J. Nick Koston
9be4fb0574 Start fetching the source ip sooner in http to reduce setup time (#112461) 2024-03-05 21:32:02 -05:00
J. Nick Koston
aa216f0298 Add system_health to the hassio pre-imports to avoid a late executor job (#112466)
* Add system_health to the hassio pre-imports to avoid a late executor job

`2024-03-05 17:01:33.034 DEBUG (MainThread) [homeassistant.loader] Importing platforms for hassio executor=[system_health] loop=[] took 0.12s`

This one does not take that much time but it happens at a time where
the import executor is the most busy during startup

* key

* move patch as its too early now
2024-03-05 21:31:38 -05:00
J. Nick Koston
e568f867d2 Adjust MAX_LOAD_CONCURRENTLY constant to allow 6 storage loaders (#112468) 2024-03-05 16:31:10 -10:00
J. Nick Koston
3f9dbd3e25 Fix config modules being imported in the event loop (#112462)
* Fix config modules being imported in the event loop

There was a late import in this integration because of the circular import.

The code has been rearranged to avoid the circular imports

* fixes

* fixes

* fix patching

* make eager

* remove unrelated change from this branch
2024-03-05 21:18:57 -05:00
Joost Lekkerkerker
f03be2fd9e Remove entity description mixin in BAF (#112386) 2024-03-05 14:59:07 -10:00
Jan-Philipp Benecke
fc732ecf17 Remove list comprehension when adding entities in Vallox (#112446) 2024-03-05 23:42:47 +01:00
Matthias Alphart
862d04c035 Update xknx to 2.12.2 - Fix thread leak on unsuccessful connections (#112450)
Update xknx to 2.12.2
2024-03-05 23:35:22 +01:00
J. Nick Koston
fbabbc8f92 Limit legacy state translations to custom components (#112295)
* Limit legacy state translations to custom components

We were trying to load **thousands** of `*.light.json`, `*.switch.json` files at run time that did not exist.

There have been replaced with entity translations: https://github.com/home-assistant/developers.home-assistant/pull/1557 https://github.com/home-assistant/core/pull/82701

https://github.com/home-assistant/core/pull/112023 will completely remove them, but
for now we will only load them for custom components to reduce the number
of files having to be examined

* reduce

* reduce

* reduce

* reduce

* comment

* coverage

* try to remove empty dict in loaded_translations fallback when missing
2024-03-05 17:27:45 -05:00
J. Nick Koston
d34e2c1f12 Pre import webhook before asyncio starts (#112441)
This one ends in stage 1 and other components have to wait
for it to be imported. Its cheap to import but it ends up
at the end of the line which means other end up waiting for
it which is time we could be doing startup work

`2024-03-04 23:13:04.347 INFO (MainThread) [homeassistant.bootstrap] Setting up stage 1: {usb, websocket_api, webhook, zeroconf, bluetooth, ssdp, dhcp, cloud, network, api, http, hassio}`

It currently always has a wait time for the import executor

`2024-03-04 23:13:04.496 DEBUG (MainThread) [homeassistant.loader] Component webhook import took 0.146 seconds (loaded_executor=True)`
2024-03-05 17:23:18 -05:00
J. Nick Koston
73e1f8a7e5 Pre import image_upload to avoid loading it after asyncio has started (#112444)
image_upload will always be setup because its a dep of person
and since person is a dep of onboarding which is a dep of
frontend its already a base requirement for homeassistant.

Pillow is now listed as a requirement for homeassistant
so we can be sure it installed by the time bootstrap is
loaded

image_upload loading is currently a bottleneck to
get the frontend loaded because it has to load in the
import executor when everything is busy early in startup
2024-03-05 17:22:59 -05:00
J. Nick Koston
235771aaa2 Bump SQLAlchemy to 2.0.28 (#112314) 2024-03-05 12:14:30 -10:00
dependabot[bot]
a7f84c577d Bump dorny/paths-filter from 3.0.1 to 3.0.2 (#112158) 2024-03-05 23:05:24 +01:00
Erik Montnemery
3d3e9900c3 Add TypeVar default for FlowResult (#112345)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2024-03-05 22:52:11 +01:00
Joost Lekkerkerker
33fe6ad647 Add icon translations to Tomorrowio (#112315) 2024-03-05 16:37:53 -05:00
jan iversen
4a1681bb4b Allow duplicate modbus addresses on different devices (#112434) 2024-03-05 22:11:04 +01:00
Joost Lekkerkerker
dd3c11f179 Remove entity description mixin in Ecoforest (#112409) 2024-03-05 22:05:14 +01:00
Joost Lekkerkerker
362a10e82e Remove entity description mixin in Doorbird (#112400) 2024-03-05 21:59:48 +01:00
Joost Lekkerkerker
4cf900911b Remove entity description mixin in Daikin (#112398) 2024-03-05 21:59:11 +01:00
Joost Lekkerkerker
05628ecb2f Remove entity description mixin in Comfoconnect (#112397) 2024-03-05 21:55:45 +01:00
Joost Lekkerkerker
96e582c1b7 Remove entity description mixin in Awair (#112384) 2024-03-05 21:54:52 +01:00
Joost Lekkerkerker
066f227476 Remove entity description mixin in Aseko (#112382) 2024-03-05 21:52:06 +01:00
Joost Lekkerkerker
71be56e1fd Remove entity description mixin in Android IP Webcam (#112380) 2024-03-05 21:51:12 +01:00
Joost Lekkerkerker
d369447961 Add icon translations to Twitch (#112329) 2024-03-05 21:50:32 +01:00
Joost Lekkerkerker
cde1273399 Add icon translations to Ukraine Alarm (#112330) 2024-03-05 21:49:39 +01:00
Joost Lekkerkerker
928e95781e Add icon translations to Velbus (#112340) 2024-03-05 21:47:55 +01:00
Joost Lekkerkerker
d7d2a28f5e Remove entity description mixin in Abode (#112374) 2024-03-05 21:47:43 +01:00
Joost Lekkerkerker
75df17a8bb Add icon translations to Vallox (#112339) 2024-03-05 21:46:59 +01:00
Joost Lekkerkerker
aab2c91c87 Add icon translations to Verisure (#112342) 2024-03-05 21:45:48 +01:00
Joost Lekkerkerker
f1e564fb47 Add icon translations to Vilfo (#112347) 2024-03-05 21:45:19 +01:00
Joost Lekkerkerker
153b1947fa Remove entity description mixin in AirNow (#112376) 2024-03-05 21:43:48 +01:00
Daniel Shokouhi
7e5a59756e Remove myself as a codeowner for neato (#112410)
* Remove myself as a codeowner for neato

* Update CODEOWNERS from hassfest
2024-03-05 21:40:51 +01:00
G Johansson
4bdcab7cc2 Rename reconfigure step in apple_tv (#112438) 2024-03-05 21:36:46 +01:00
Robert Svensson
7c9891fff9 Break out UniFi config handling to own class (#111325) 2024-03-05 21:36:26 +01:00
Joost Lekkerkerker
ed23bb7c04 Small cleanup in Dexcom (#112425) 2024-03-05 21:36:11 +01:00
Joost Lekkerkerker
5dea902a9c Add icon translations to Azure DevOps (#112436) 2024-03-05 21:34:50 +01:00
Jan-Philipp Benecke
dda0f0d9aa Remove the deprecated YAML support for Aftership (#112390) 2024-03-05 21:28:50 +01:00
Robert Svensson
1bac51142d Do not use list comprehension in async_add_entities in Unifi (#112435)
Do not use list comprehension in async_add_entities
2024-03-05 21:13:14 +01:00
Jan-Philipp Benecke
968f5f1a34 Remove list comprehension when adding entities in Wallbox (#112433) 2024-03-05 22:10:30 +02:00
Jan-Philipp Benecke
b025d6c6f2 Remove list comprehension when adding entities in Smartthings (#112432) 2024-03-05 21:10:02 +01:00
Joost Lekkerkerker
9a24e97ecb Remove entity description mixin in Devolo Home Network (#112399)
* Remove entity description mixin in Devolo Home Network

* Fix
2024-03-05 21:08:57 +01:00
Joost Lekkerkerker
32bb33c55e Migrate Azure DevOps to has entity name (#112420) 2024-03-05 21:06:13 +01:00
Joost Lekkerkerker
ff21a2fcca Remove entity description mixin in Electric Kiwi (#112411) 2024-03-05 20:47:01 +01:00
Jan-Philipp Benecke
85edafa887 Remove list comprehension when adding entities in opengarage (#112430) 2024-03-05 20:46:43 +01:00
Jan-Philipp Benecke
3cfe346656 Remove list comprehension when adding entities in Nextcloud (#112429) 2024-03-05 20:44:50 +01:00
Joost Lekkerkerker
1824ff6438 Remove entity description mixin in Airzone (#112378) 2024-03-05 19:21:11 +01:00
Erik Montnemery
a515603aaf Add button to homeworks (#112269) 2024-03-05 19:10:13 +01:00