fix: the driver names itself Home Assistant OS
driver / lint (pull_request) Successful in 13s
driver / standard (pull_request) Successful in 16s
driver / lowest (pull_request) Successful in 22s
driver / test (3.13) (pull_request) Successful in 49s
driver / types (pull_request) Successful in 1m3s
driver / test (3.12) (pull_request) Successful in 1m1s
driver / build (pull_request) Successful in 33s
driver / security (pull_request) Successful in 1m4s
CI / driver (pull_request) Successful in 1m42s
driver / publish (pull_request) Skipped

A driver picker shows TYPE_LABEL. OSDriver's "OS" left Home Assistant
the only host driver there without a name of its own (Linux, Windows,
FreeBSD say theirs).
This commit is contained in:
Christian Manivong committed 2026-12-03 08:31:36 +01:00
1 parent 8a7ac3ff0a
commit fa3a386cc4
3 files changed
+4 -1

No files matched your search

+1
View File
@@ -16,3 +16,4 @@ All notable changes to this driver. The format follows
add-on or switch its start at boot, refresh the update information, reboot and
shut down the host.
- Discovery: Home Assistant's web page on port 8123.
- Type label `Home Assistant OS`, so a driver picker names it.
+2
View File
@@ -101,6 +101,8 @@ class HomeAssistantDriver(RunningBackupsMixin, OSDriver):
VENDOR = VENDOR
DRIVER_NAME = "homeassistant"
#: Its own name in a driver picker: "OS" alone does not say which.
TYPE_LABEL = "Home Assistant OS"
USES_SSH = False
#: Home Assistant OS boots and starts Core before the API answers again.
REBOOT_SETTLE_SECONDS = 180
+1 -1
View File
@@ -28,7 +28,7 @@ def test_metadata() -> None:
assert HomeAssistantDriver.DRIVER_NAME == "homeassistant"
assert HomeAssistantDriver.VENDOR == "Home Assistant"
assert HomeAssistantDriver.ROLE == "linux"
assert HomeAssistantDriver.TYPE_LABEL == "OS"
assert HomeAssistantDriver.TYPE_LABEL == "Home Assistant OS"
assert HomeAssistantDriver.USES_SSH is False
assert HomeAssistantDriver.default_port == 8123
assert any(rule.mandatory for rule in HomeAssistantDriver.HTTP_FINGERPRINT)