Stefan Agner
cae22e5109
Adjust add-on installation error message ( #118309 )
2024-05-29 09:41:09 +02:00
Mike Degatano
dbcef2e3c3
Add more supervisor info to system info panel ( #115715 )
...
* Add virtualization field fo system info
* Add ntp sync and host connectivity
* Prevent nonetype errors
* Add supervisor_connectivity and fix tests
* Add mock of network info to other fixtures
* Update more fixtures with network/info mock
2024-05-28 16:14:42 +02:00
J. Nick Koston
c368ffffd5
Add async_get_hass_or_none ( #118164 )
2024-05-26 13:38:46 +02:00
Mike Degatano
05c24e92d1
Add repair for detached addon issues ( #118064 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-05-26 13:37:50 +02:00
epenet
bbe8e69795
Cleanup pylint ignore ( #117964 )
2024-05-23 11:09:33 +02:00
Marc Mueller
34ea781031
Use PEP 695 for decorator typing with type aliases (1) ( #117662 )
2024-05-18 11:42:39 +02:00
Marc Mueller
34bd291615
Use PEP 695 for decorator typing (1) ( #117638 )
2024-05-17 16:27:02 +02:00
epenet
addc4a84ff
Rename hassio coordinator module ( #117611 )
2024-05-17 12:10:21 +02:00
Sid
b456d97e65
Replace pylint protected-access with Ruff SLF001 ( #115735 )
2024-05-06 20:33:26 +02:00
J. Nick Koston
6be2b334d8
Avoid netloc ipaddress re-encoding to construct ingress urls ( #116431 )
2024-04-30 11:44:25 -05:00
J. Nick Koston
ff104f54b5
Small performance improvements to ingress forwarding ( #116457 )
2024-04-30 11:43:58 -05:00
Mike Degatano
f1ebe9d20a
Add repairs to hassio manifest ( #115486 )
...
* Add repairs to hassio manifest
* Remove unnecessary fixture
2024-04-17 15:51:29 +02:00
c0ffeeca7
20ff101015
Multiple data disks detected: tweak strings ( #115713 )
...
* Multiple data disks: tweak strings
* Fix typos
* Update homeassistant/components/hassio/strings.json
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-17 09:06:47 +02:00
Mike Degatano
249a92d321
Unsupported if wrong image used on virtualization ( #113882 )
...
* Unsupported if wrong image used on virtualization
* Language tweaks
Co-authored-by: Stefan Agner <stefan@agner.ch>
---------
Co-authored-by: Stefan Agner <stefan@agner.ch>
2024-04-16 17:54:49 +02:00
Sid
3799d20d43
Enable Ruff B905 ( #114197 )
2024-04-14 00:14:26 -05:00
J. Nick Koston
ee535ee611
Ensure test async_create_task eager start behavior matches production ( #115517 )
2024-04-13 15:58:52 -05:00
Robert Resch
348e1df949
Add strict connection ( #112387 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-04-12 14:47:46 +02:00
Stefan Agner
35d3f2b29b
Support backup of add-ons with hyphens ( #115274 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-04-12 09:02:22 +02:00
Mike Degatano
5308e02c99
Add support for adopt data disk repair ( #114891 )
2024-04-11 11:23:10 +02:00
J. Nick Koston
ca5ed274cb
Deprecate calling async_listen and async_listen_once with run_immediately ( #115169 )
2024-04-08 10:07:54 -10:00
J. Nick Koston
86feae421c
Avoid linear search in hassio to find devices ( #114806 )
2024-04-04 11:38:37 +02:00
J. Nick Koston
0732952b32
Reduce hassio startup time ( #114588 )
2024-04-01 09:58:06 -10:00
Sid
6587ee20db
Enable Ruff TRY300 ( #114437 )
...
* Enable Ruff TRY300
* Update validation.py
* Address review comments
2024-03-30 10:37:59 +01:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Sid
82a60fe8ad
Enable Ruff RSE ( #113695 )
2024-03-18 00:40:38 +01:00
Sid
6ee273a548
Clean up unneeded ruff noqa directives ( #113616 )
2024-03-16 09:48:37 -10:00
Mike Degatano
6ede1c543f
Protect SupervisorIssues.update method ( #113425 )
2024-03-15 18:06:14 +01:00
Mike Degatano
5a25349cf7
Supervisor issues update retries on failure ( #113373 )
2024-03-14 10:55:04 +01:00
Mike Degatano
6d903300be
Apply suggestion failures fail supervisor repair ( #113372 )
2024-03-14 10:53:55 +01:00
Joost Lekkerkerker
761933acfe
Improve lists in integrations [G-H] ( #113168 )
2024-03-13 17:25:27 +01:00
Stefan Agner
99eaa07f6f
Add message from Bad Request errors to HassioAPIError ( #113144 )
...
Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
2024-03-13 11:29:39 +01:00
J. Nick Koston
e71398d1e0
Update timezone in supervisor in an eager task ( #113113 )
2024-03-11 14:45:58 -10:00
Marc Mueller
2c06d4fcb9
Add empty line after module docstring (2) [components] ( #112736 )
2024-03-08 19:15:59 +01:00
Marc Mueller
8809d3aa88
Add empty line after module docstring [g-i] ( #112699 )
2024-03-08 08:52:48 -05:00
Marc Mueller
8ca127df2a
Use KEY_HASS [h-z] ( #112610 )
2024-03-07 18:03:44 +01: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
a277d0c4b5
Migrate system flows to use the discovery helper ( #112291 )
...
Ensures we are not creating new flows or loading
their platforms until the started event
once the import executor has clamed down
2024-03-05 10:01:31 -05:00
J. Nick Koston
e26c5f5d29
Ensure hassio diagnostics get imported with the integration ( #112286 )
2024-03-04 16:07:07 -10:00
J. Nick Koston
d7507fd8a3
Run more of hassio setup in in tasks ( #112151 )
...
* Run more of hassio setup in in tasks
There were a few more places were we waited in sequence
where we have to make remote api calls that could be
moved to tasks
* tweak
* tweak
2024-03-03 23:57:01 -05:00
J. Nick Koston
d50b4ccd62
Split up hassio coordinator and data into new file to allow preload ( #112147 )
...
* Split up hassio coordinator and data into new file to allow preload
Since we cannot mark hassio as having a config_flow, it will
not get preloaded and since cloud will almost always load right
after it and block the import executor, we want to preload
the hassio config_flow and platform modules so the other
dependants can continue on while cloud is being imported
to not delay startup
* tweak
* tweak
2024-03-03 21:16:02 -05:00
Erik Montnemery
e06446d0fa
Migrate integrations e-h to generic flowhandler ( #111862 )
2024-02-29 20:07:36 +01:00
Joost Lekkerkerker
0ff55a2d24
Add icon translations to Hassio ( #111715 )
2024-02-28 16:33:46 +01:00
Jan-Philipp Benecke
ebfba7258e
Revert "Drop `@bind_hass` use from hassio component ( #111522 )" ( #111705 )
...
This reverts commit 4e4345f04e
.
2024-02-28 10:51:37 +01:00
J. Nick Koston
e74e1e3008
Reduce hassio setup time ( #111686 )
...
Reduce supervisor setup time
The two calls that take the most time are calling
push_config ~0.4s and updating the api ~0.35s and
can be run concurrently
2024-02-27 21:30:48 -05:00
Jan-Philipp Benecke
4e4345f04e
Drop `@bind_hass` use from hassio component ( #111522 )
...
* Drop `@bind_hass` use from hassio component
* Add comment why we import locally
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-02-28 00:25:46 +01:00
Jan Čermák
d4a7e4a6ac
Add ODROID-M1S as a supported OS hardware board ( #111022 )
2024-02-27 21:51:55 +01:00
Mike Degatano
68200de4d2
Bad Request from supervisor should be error ( #111162 )
2024-02-27 21:49:52 +01:00
J. Nick Koston
321295a872
Reduce latency to set up websocket forwarding in hassio ( #111558 )
...
Reduce latancy to set up websocket forwarding in hassio
Create the tasks eagerly to avoid one iteration of the event loop
to connect the proxy
2024-02-26 20:52:37 -05:00
J. Nick Koston
dad1184e18
Make hardware setup in hassio a normal function ( #111328 )
...
nothing awaited hassio
2024-02-25 14:37:09 +01:00
J. Nick Koston
3ecbd05ac0
Avoid creating tasks to register hassio panels ( #111206 )
...
panel_custom never suspends so we can avoid the overhead of
creating and scheduling tasks
e398accc3e/homeassistant/components/panel_custom/__init__.py (L74)
panel_custom.async_register_panel could be converted to a normal function but it
would be a breaking change
2024-02-23 16:50:39 +01:00