Commit Graph

334 Commits (3de81855068099b2cdd9461d092b5aa87d273b7a)

Author SHA1 Message Date
Joakim Sørensen a82a1bfd64
Allow more addon image paths (#73322) 2022-06-10 15:41:42 +02:00
Erik Montnemery 542eae1cf3
Add additional board types to hassio (#73267)
* Add additional board types to hassio

* Remove unsupported boards

* Add rpi2 back
2022-06-09 16:09:00 +02:00
Marc Mueller 983a76a91c
Update pylint to 2.14.0 (#73119) 2022-06-06 21:43:47 +02:00
GitHub Action 7f0091280f [ci skip] Translation update 2022-06-06 00:21:14 +00:00
GitHub Action 0df9cc907a [ci skip] Translation update 2022-06-01 00:27:00 +00:00
Joakim Sørensen 3a0111e65d
Use supervisor envs instead of hassio (#72601) 2022-05-30 12:00:13 +02:00
GitHub Action 3c5b778ee3 [ci skip] Translation update 2022-05-30 00:27:06 +00:00
Erik Montnemery 2bc093a04d
Hardware integration MVP (#71677) 2022-05-25 20:39:15 +02:00
GitHub Action 301341a49f [ci skip] Translation update 2022-05-25 00:26:18 +00:00
GitHub Action abbfed24a4 [ci skip] Translation update 2022-05-24 00:25:27 +00:00
Joakim Sørensen f90effc299
Add agent version to Supervisor system health (#72360)
Co-authored-by: Stefan Agner <stefan@agner.ch>
2022-05-23 09:22:49 -07:00
epenet 50ca14538a
Cleanup deprecated async_get_registry in core (#72087) 2022-05-18 17:58:28 +02:00
Franck Nijhof 8f4caf4141
Clean up accessing event helpers via hass (#72011) 2022-05-17 19:36:29 +02:00
Franck Nijhof 5f44d0f8f9
Clean up accessing storage.Store helper via hass (#72009) 2022-05-17 18:45:57 +02:00
GitHub Action 2d1a612976 [ci skip] Translation update 2022-05-17 00:23:03 +00:00
GitHub Action 07706fa62a [ci skip] Translation update 2022-05-06 00:22:16 +00:00
Joakim Sørensen 03ab9d07a8
Remove more info links for hassio system health (#71286) 2022-05-04 15:47:24 +02:00
GitHub Action 348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
Marco Trevisan 71529f4476
hassio: Add support for creating (un)compressed archives (#70819)
* hassio: Add support for creating (un)compressed archives

This is supported by hassio since version 2022.02.0, but not exposed by the
core component.

See: https://github.com/home-assistant/supervisor/pull/3378

* Update homeassistant/components/hassio/services.yaml

* Update homeassistant/components/hassio/__init__.py

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>

* Apply suggestions from code review

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2022-04-27 11:41:16 +02:00
Joakim Sørensen 4c38d25e49
Remove manage URL for hassio system health info (#70776) 2022-04-26 14:39:56 +02:00
Joakim Sørensen 9525077574
Add diagnostics platform to the Supervisor integration (#70265)
* Add diagnostics platform to the Supervisor integration

* Apply suggestions from code review

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-19 12:16:36 +02:00
Joakim Sørensen ae9315aa29
Limit Supervisor refresh updates (#70075) 2022-04-15 09:31:02 -07:00
Joakim Sørensen dc53a39b0f
Fix available property in the base supervisor entity (#69966) 2022-04-13 12:17:35 +02:00
Joakim Sørensen 2ebbdf45f8
Handle add-on issues (#69897) 2022-04-12 11:00:55 +02:00
Joakim Sørensen a5dc95e715
Fix adding OS entities for supervised installations (#69539) 2022-04-07 13:34:20 +02:00
Joakim Sørensen cfdfa3eab2
Make hassio coordinator refresh data (#69272) 2022-04-04 17:34:06 +02:00
Franck Nijhof c31e788439
Rename current_version to installed_version in Update platform (#69093) 2022-04-01 20:11:17 +02:00
Joakim Sørensen 78e4d7e1ca
Add auto_update property to supervisor and addon update entities (#69055) 2022-04-01 08:31:39 -07:00
epenet ecd43f391f
Prettify json (manifest.json) (#68886) 2022-03-30 10:56:37 +02:00
Joakim Sørensen 618b16a32b
Add full release notes to add-on update entities (#68876) 2022-03-30 09:52:29 +02:00
Franck Nijhof 44d3a7e459
Adjust backup type of Update entity (#68553) 2022-03-23 11:20:04 +01:00
Joakim Sørensen d17f8e9ed6
Add update platform to the Supervisor integration (#68475) 2022-03-22 12:21:12 +01:00
Marc Mueller 830cc278d3
Improve `CoordinatorEntity` typing (#68441) 2022-03-21 10:22:30 +01:00
GitHub Action e963ad96d4 [ci skip] Translation update 2022-03-01 00:23:47 +00:00
Joakim Sørensen 49aabcb2ac
Add homeassistant to partial backup service (#67117) 2022-02-23 08:38:52 -08:00
Franck Nijhof 3afadf8adb
Revert "Block peer certs on supervisor" (#67104) 2022-02-23 12:32:07 +01:00
Paulus Schoutsen 938b64081b
Block peer certs on supervisor (#66837)
Co-authored-by: Pascal Vizeli <pvizeli@syshack.ch>
Co-authored-by: Mike Degatano <michael.degatano@gmail.com>
2022-02-22 13:59:40 -08:00
GitHub Action ca7d4234e1 [ci skip] Translation update 2022-01-31 00:14:28 +00:00
GitHub Action e591393f01 [ci skip] Translation update 2022-01-28 00:14:53 +00:00
Paulus Schoutsen 3daaed1056
Catch connection reset error (#65027) 2022-01-27 11:02:27 +01:00
epenet 6f631c542c
Import hassio (#64561)
* Import hassio

* Fix HassioAPIError

* Use relative import

* Adjust import

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-20 19:03:26 +01:00
epenet dbc6e41264
Import panel_custom (#64541)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-20 13:06:44 +01:00
GitHub Action 8e14f2037c [ci skip] Translation update 2022-01-18 00:15:38 +00:00
GitHub Action c6d481ca01 [ci skip] Translation update 2022-01-17 00:14:48 +00:00
epenet 946238fb02
Import frontend (#64104)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-14 10:01:12 +01:00
Erik Montnemery 2eab3c8de1
Import persistent notification (part 3) (#63900) 2022-01-11 09:51:16 -08:00
Franck Nijhof 20bdcc7fff
Replace hass.helpers: async_get_clientsession() (#63910) 2022-01-11 17:33:50 +01:00
GitHub Action d3cd813c5e [ci skip] Translation update 2022-01-11 00:14:57 +00:00
Christopher Masto 32933b2c6b
Work around ingress glitch with 304 responses (#63355)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-01-04 14:04:43 -08:00
epenet fb272f58fb
Ensure service calls are typed [h-i] (#62914)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 14:19:14 +01:00
GitHub Action 4745e2fb3b [ci skip] Translation update 2021-12-28 00:14:11 +00:00
GitHub Action cc92aa557a [ci skip] Translation update 2021-12-26 00:15:41 +00:00
GitHub Action cceedf766a [ci skip] Translation update 2021-12-22 00:14:51 +00:00
epenet 7adffe6927
Use SensorStateClass in hassio (#61720)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-13 21:14:50 +01:00
Stefan Agner a13ae85982
Introduce only_supervisor for @websocket_api.ws_require_user() (#61298) 2021-12-08 16:49:35 -08:00
Marc Mueller 40b99135e5
Use platform enum (3) [H-L] (#60937)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2021-12-05 17:10:07 -10:00
david reid 95f0098593
Catch ConnectionResetError (#60987) 2021-12-05 09:50:15 -08:00
epenet 358922db56
Use dataclass for HassioServiceInfo (#60824)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 14:05:56 +01:00
Joakim Sørensen d784c8dd1a
Remove Supervisor panel title and icon (#60894) 2021-12-03 10:35:57 +01:00
epenet 0723b1c539
Introduce HassioServiceInfo (#60844)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-02 11:17:54 -08:00
Joakim Sørensen 49f3a7ce46
Use device class enum in Supervisor (#60687) 2021-12-01 10:55:30 +01:00
Joakim Sørensen 153f15c93b
Remove running binary_sensor for HAOS (#60597) 2021-11-30 10:18:14 -08:00
Joakim Sørensen 8a5df5f7eb
Fix ingress for non admin (#60120) 2021-11-29 23:03:16 +01:00
Paulus Schoutsen 914f7f85ec
Add local only users (#57598) 2021-11-29 14:01:03 -08:00
GitHub Action d3c020325b [ci skip] Translation update 2021-11-25 00:13:33 +00:00
Ville Skyttä 39691faccc
Use DeviceEntryType in non-typechecked code too (#58646) 2021-11-23 10:04:33 +01:00
GitHub Action 9e606abb0c [ci skip] Translation update 2021-11-23 00:13:54 +00:00
GitHub Action 29dc9de08f [ci skip] Translation update 2021-11-19 00:14:01 +00:00
GitHub Action fc539da42b [ci skip] Translation update 2021-11-14 00:12:48 +00:00
Erik Montnemery 470b01e4ce
Move async_migration_in_progress (#59087) 2021-11-05 10:40:56 +01:00
Joakim Sørensen f0bd6acd48
Set internal quality_scale for the hassio integration (#58881) 2021-11-01 12:33:41 +01:00
Marc Mueller 72801867d6
Use assignment expressions 38 (#58828) 2021-10-31 18:49:18 +01:00
Marc Mueller 887d04be60
Use assignment expressions 32 (#58716) 2021-10-30 16:30:13 +02:00
Joakim Sørensen f15840e7ff
Limit add-on stats to add-ons that are running (#58479) 2021-10-26 19:58:17 +02:00
Joakim Sørensen d16304a201
Allow homeassistant prefix for device info configuration url (#58414)
* Allow panel prefix for device info configuration url

* Add to add-ons

* Use homeassistant as the prefix

* Update homeassistant/components/hassio/__init__.py

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-10-26 10:34:02 +02:00
Joakim Sørensen 8b223be073
Add binary sensor to add-ons to show if they are running (#58120) 2021-10-26 00:21:44 +02:00
epenet 4d7c55ff0e
Use DeviceInfo on hassio (#58397)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-10-25 13:15:00 +02:00
Ville Skyttä b52c5c82b1
Use http.HTTPStatus in components/[gh]* (#58246) 2021-10-23 20:34:53 +02:00
Robert Hillis 4a8e9df026
Use DeviceInfo Class H (#58276) 2021-10-23 15:35:33 +02:00
avee87 a0bb2c8b33
Add memory/cpu percentage to Supervisor addons entities (#57468)
* Add memory/cpu percentage to Supervisor addons entities

* fixed lint

* Use a single update function. Fixed tests

* use constant

* review comments

* oops
2021-10-22 12:23:21 +02:00
GitHub Action 7a7f5ccc31 [ci skip] Translation update 2021-10-20 00:12:17 +00:00
Marc Mueller ff853b2d53
Use assignment expressions 19 (#57968) 2021-10-18 15:54:38 +02:00
avee87 8b422a7bd5
Add documentation link for Supervisor integration (#57733) 2021-10-15 09:26:54 +02:00
avee87 727d8c7a37
Fix signature for hassio.restore_partial service (#57735) 2021-10-15 09:04:55 +02:00
Joakim Sørensen 24509503bb
Remove snapshot from hassio integration (#57652) 2021-10-14 10:00:44 +02:00
GitHub Action f42c2f5170 [ci skip] Translation update 2021-10-02 12:59:05 +00:00
Ville Skyttä cc97502a0c
Use HTTPStatus instead of HTTP_* consts in aiohttp web response statuses (#56541) 2021-10-01 09:27:44 -07:00
Joakim Sørensen 6a9b484f2d
Remove timeout for backup services (#56763) 2021-09-29 09:46:05 +02:00
Philip Allgaier 364edbfd8a
Add service descriptions for supervisor backup restore services (#52766)
* Add service descriptions for supervisor backup restore

* Add fields to restore services

* Update homeassistant/components/hassio/services.yaml

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>

Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2021-09-06 10:27:11 +02:00
Marc Mueller edddeaf5ab
Use NamedTuple for api endpoint settings (#55694) 2021-09-04 00:44:01 +02:00
Joakim Sørensen 3e38dc0fd9
Add cache-control headers to supervisor entrypoint (#55493) 2021-08-31 14:45:28 +02:00
Ville Skyttä 59809503d1
Various type hint related improvements (#54971)
* Avoid some implicit generic Anys

* Fix hassio discovery view type hints

* Fix http view result type in assert message
2021-08-21 13:58:49 +02:00
Joakim Sørensen a2c9cfbf41
Use entity descriptions for hassio entities (#54749) 2021-08-17 12:14:14 +02:00
Joakim Sørensen 789e6555cc
Add device class update to hassio update entities (#54733) 2021-08-17 08:30:55 +02:00
Erik Montnemery 6de6a5dc14
Move temperature conversions to sensor base class (3/8) (#54469)
* Move temperature conversions to entity base class (3/8)

* Fix FritzBox sensor

* Fix tests
2021-08-12 14:23:56 +02:00
Joakim Sørensen 56360feb9a
Stream API requests to the supervisor (#53909) 2021-08-03 16:48:22 +02:00
Joakim Sørensen da3419945c
Rename snapshot -> backup (#53851) 2021-08-02 11:07:21 +02:00
Joakim Sørensen a9722c90e9
Revert "Rename snapshot -> backup" (#53751)
This reverts commit 9806bda272.
2021-07-30 12:44:10 -07:00
Paulus Schoutsen 6b7a4d2d3c
Revert "Allow uploading large snapshots (#53528)" (#53729)
This reverts commit cdce14d63d.
2021-07-29 14:26:05 -07:00
Stephen Beechen cdce14d63d
Allow uploading large snapshots (#53528)
Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch>
2021-07-28 22:12:59 -07:00