* 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
* 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
* 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
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
* Add pylint plugin to check if coordinator is placed in its own module
* Remove unintended changes
* Remove pylint disable and let CI only fail on W,E,F
* Make check conventional
* Apply review suggestion
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Use option instead
* Remove pylint arguments from pre-commit
* Partially revert "Remove pylint disable and let CI only fail on W,E,F"
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Add LED control support to Home Assistant Green
* Add strings.json
* Sort alphabetically
* Reorder LED schema
* Improve test coverage
* Apply suggestions from code review
Co-authored-by: Stefan Agner <stefan@agner.ch>
* Sort + fix test
* Remove reboot menu
---------
Co-authored-by: Stefan Agner <stefan@agner.ch>
* Validate slug in addon services
* Move validator into hassio component
* Fixes from mypy
* Fix test for changes
* Adjust fixtures to current supervisor
* Fix call counts after fixture adjustment
* Increase coverage
* Add LED control support to Home Assistant Yellow
* Fix the handlers
* Remove switch platform
* Allow configuring LED settings from the options flow
* Add missing translations
* Add tests
* Add tests
* Add Hardkernel ODROID-M1
Add Hardkernel ODROID-M1 machine. ODROID-M1 is a Rockchip RK3568B2 SoC
based single board computer with 4xCortex-A55, NVMe support and up to
8GB of RAM.
* Update homeassistant/components/hardkernel/hardware.py
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Fix tests
Co-authored-by: Franck Nijhof <frenck@frenck.nl>