Mike Degatano
673f0224c9
Continue migration of methods from handler to aiohasupervisor ( #129183 )
2024-10-29 14:33:21 +01:00
Mike Degatano
1649368cee
Bump aiohasupervisor to 0.2.0 ( #129348 )
2024-10-29 13:07:59 +01:00
Mike Degatano
ad55c9cc19
Remaining addon management to aiohasupervisor ( #128484 )
...
* Move set addon options to aiohasupervisor
* addon stats to aiohasupervisor and test fixes
* addon changelogs to aiohasupervisor
* Raise correct error for library in tests
* Cache client in instance property
* Use singleton method rather then HassIO instance method
* Mock supervisor client in more tests
2024-10-21 16:41:00 +02:00
Mike Degatano
a9aa5ad229
Use aiohasupervisor for store APIs ( #126780 )
...
* Use aiohasupervosor for store addon info
* Use aiohasupervisor install addon
* Use aiohasupervisor for store info API
* Fix onboarding test
* Changes from feedback
* Move get_supervisor_client out of constructor
* Mock supervisor_client in tests
* Make property private
2024-10-10 10:27:20 +02:00
Mike Degatano
7517948900
Replace more addon management with aiohasupervisor ( #126236 )
...
* Replace start_addon with library call
* restart_addon to library and error issues in tests
* stop_addon to library
* uninstall_addon to library
* Add output typing
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-09-24 15:47:29 +02:00
Mike Degatano
97d0d91d2c
Use aiohasupervisor for addon info calls ( #125926 )
...
* Use aiohasupervisor for addon info calls
* Fix issue/repair tests in supervisor
* Fixes from feedback
2024-09-17 23:22:35 +02:00
Stefan Agner
cae22e5109
Adjust add-on installation error message ( #118309 )
2024-05-29 09:41:09 +02:00
Marc Mueller
34ea781031
Use PEP 695 for decorator typing with type aliases (1) ( #117662 )
2024-05-18 11:42:39 +02:00
J. Nick Koston
ee535ee611
Ensure test async_create_task eager start behavior matches production ( #115517 )
2024-04-13 15:58:52 -05:00
Marc Mueller
8809d3aa88
Add empty line after module docstring [g-i] ( #112699 )
2024-03-08 08:52:48 -05:00
Ville Skyttä
24b1e01d71
Update Ruff to 0.1.8, avoid linter/formatter conflicts ( #106080 )
...
* Disable Ruff rules that may conflict with the formatter
* Upgrade Ruff to 0.1.8
- https://github.com/astral-sh/ruff/releases/tag/v0.1.7
- https://github.com/astral-sh/ruff/releases/tag/v0.1.8
* Format with Ruff 0.1.8
2023-12-20 23:55:09 +01:00
Marc Mueller
b478b4fa16
Add ParamSpec TypeAliases [mypy 1.0] ( #87597 )
2023-02-07 15:56:26 +01:00
Marc Mueller
45b4b0e990
Import ParamSpec
from typing [Py310] ( #86413 )
...
* Import ParamSpec from typing [Py310]
* Update additional imports
2023-01-23 07:28:43 +01:00
Martin Hjelmare
94b80db968
Handle not available add-on in hassio add-on manager ( #84943 )
...
* Handle not available add-on in hassio add-on manager
* Fix zwave_js tests
* Fix sky connect tests
* Fix matter tests
* Fix yellow tests
* Update hardware tests
2023-01-02 20:28:21 -05:00
Erik Montnemery
aaec464627
Add support for managing the silabs multiprotocol add-on ( #82170 )
...
* Add support for managing the silabs multiprotocol add-on
* Fix passing context when starting option flow
* Allow unloading a ha yellow config entry
* Fix tests
* Log data passed to ZHA option flow
* Improve ZHA migration logic
* Move tests
* Improve test coverage
* Remove dead code
* Drop automatic ZHA migration
2022-11-16 17:38:07 +01:00
Martin Hjelmare
9ded232522
Move zwave_js addon manager to hassio integration ( #81354 )
2022-11-10 10:09:52 +01:00