diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml index 531efe5674f..cc87e4708c7 100644 --- a/.github/workflows/builder.yml +++ b/.github/workflows/builder.yml @@ -232,6 +232,7 @@ jobs: - khadas-vim3 - odroid-c2 - odroid-c4 + - odroid-m1 - odroid-n2 - odroid-xu - qemuarm diff --git a/homeassistant/components/hardkernel/hardware.py b/homeassistant/components/hardkernel/hardware.py index cd83f684eac..3d4a87b0407 100644 --- a/homeassistant/components/hardkernel/hardware.py +++ b/homeassistant/components/hardkernel/hardware.py @@ -9,10 +9,11 @@ from homeassistant.exceptions import HomeAssistantError from .const import DOMAIN BOARD_NAMES = { - "odroid-c2": "Hardkernel Odroid-C2", - "odroid-c4": "Hardkernel Odroid-C4", - "odroid-n2": "Home Assistant Blue / Hardkernel Odroid-N2", - "odroid-xu4": "Hardkernel Odroid-XU4", + "odroid-c2": "Hardkernel ODROID-C2", + "odroid-c4": "Hardkernel ODROID-C4", + "odroid-m1": "Hardkernel ODROID-M1", + "odroid-n2": "Home Assistant Blue / Hardkernel ODROID-N2/N2+", + "odroid-xu4": "Hardkernel ODROID-XU4", } diff --git a/homeassistant/components/hassio/__init__.py b/homeassistant/components/hassio/__init__.py index 4f5d8e9d31a..23936f65767 100644 --- a/homeassistant/components/hassio/__init__.py +++ b/homeassistant/components/hassio/__init__.py @@ -229,6 +229,7 @@ MAP_SERVICE_API = { HARDWARE_INTEGRATIONS = { "odroid-c2": "hardkernel", "odroid-c4": "hardkernel", + "odroid-m1": "hardkernel", "odroid-n2": "hardkernel", "odroid-xu4": "hardkernel", "rpi2": "raspberry_pi", diff --git a/homeassistant/components/version/const.py b/homeassistant/components/version/const.py index 1693f79ec64..bdebf9f0255 100644 --- a/homeassistant/components/version/const.py +++ b/homeassistant/components/version/const.py @@ -69,6 +69,7 @@ BOARD_MAP: Final[dict[str, str]] = { "ASUS Tinkerboard": "tinker", "ODROID C2": "odroid-c2", "ODROID C4": "odroid-c4", + "ODROID M1": "odroid-m1", "ODROID N2": "odroid-n2", "ODROID XU4": "odroid-xu4", "Generic AArch64": "generic-aarch64", @@ -97,6 +98,7 @@ VALID_IMAGES: Final = [ "generic-x86-64", "intel-nuc", "odroid-c2", + "odroid-m1", "odroid-n2", "odroid-xu", "qemuarm-64", diff --git a/machine/odroid-m1 b/machine/odroid-m1 new file mode 100644 index 00000000000..be07d6c8aba --- /dev/null +++ b/machine/odroid-m1 @@ -0,0 +1,5 @@ +ARG BUILD_VERSION +FROM homeassistant/aarch64-homeassistant:$BUILD_VERSION + +RUN apk --no-cache add \ + usbutils diff --git a/tests/components/hardkernel/test_hardware.py b/tests/components/hardkernel/test_hardware.py index 7b5a531cbfb..7e063a9f07a 100644 --- a/tests/components/hardkernel/test_hardware.py +++ b/tests/components/hardkernel/test_hardware.py @@ -53,7 +53,7 @@ async def test_hardware_info( }, "config_entries": [config_entry.entry_id], "dongle": None, - "name": "Home Assistant Blue / Hardkernel Odroid-N2", + "name": "Home Assistant Blue / Hardkernel ODROID-N2/N2+", "url": None, } ]