Skip to content

Commit

Permalink
Add Raspberry Pi 5 to version and hardware integration (home-assistan…
Browse files Browse the repository at this point in the history
  • Loading branch information
agners authored and frenck committed Dec 27, 2023
1 parent 03009a2 commit 283f8f4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions homeassistant/components/hassio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ class APIEndpointSettings(NamedTuple):
"rpi3-64": "raspberry_pi",
"rpi4": "raspberry_pi",
"rpi4-64": "raspberry_pi",
"rpi5-64": "raspberry_pi",
"yellow": "homeassistant_yellow",
}

Expand Down
2 changes: 2 additions & 0 deletions homeassistant/components/raspberry_pi/hardware.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"rpi3-64": "Raspberry Pi 3",
"rpi4": "Raspberry Pi 4 (32-bit)",
"rpi4-64": "Raspberry Pi 4",
"rpi5-64": "Raspberry Pi 5",
}

MODELS = {
Expand All @@ -28,6 +29,7 @@
"rpi3-64": "3",
"rpi4": "4",
"rpi4-64": "4",
"rpi5-64": "5",
}


Expand Down
2 changes: 2 additions & 0 deletions homeassistant/components/version/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"RaspberryPi 3 64bit": "rpi3-64",
"RaspberryPi 4": "rpi4",
"RaspberryPi 4 64bit": "rpi4-64",
"RaspberryPi 5": "rpi5-64",
"ASUS Tinkerboard": "tinker",
"ODROID C2": "odroid-c2",
"ODROID C4": "odroid-c4",
Expand Down Expand Up @@ -112,6 +113,7 @@
"raspberrypi3",
"raspberrypi4-64",
"raspberrypi4",
"raspberrypi5-64",
"tinker",
]

Expand Down

0 comments on commit 283f8f4

Please sign in to comment.