Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 283f8f4

Browse files
agnersfrenck
authored andcommitted
Add Raspberry Pi 5 to version and hardware integration (home-assistant#105992)
1 parent 03009a2 commit 283f8f4

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

‎homeassistant/components/hassio/__init__.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ class APIEndpointSettings(NamedTuple):
270270
"rpi3-64": "raspberry_pi",
271271
"rpi4": "raspberry_pi",
272272
"rpi4-64": "raspberry_pi",
273+
"rpi5-64": "raspberry_pi",
273274
"yellow": "homeassistant_yellow",
274275
}
275276

‎homeassistant/components/raspberry_pi/hardware.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"rpi3-64": "Raspberry Pi 3",
1818
"rpi4": "Raspberry Pi 4 (32-bit)",
1919
"rpi4-64": "Raspberry Pi 4",
20+
"rpi5-64": "Raspberry Pi 5",
2021
}
2122

2223
MODELS = {
@@ -28,6 +29,7 @@
2829
"rpi3-64": "3",
2930
"rpi4": "4",
3031
"rpi4-64": "4",
32+
"rpi5-64": "5",
3133
}
3234

3335

‎homeassistant/components/version/const.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
"RaspberryPi 3 64bit": "rpi3-64",
6767
"RaspberryPi 4": "rpi4",
6868
"RaspberryPi 4 64bit": "rpi4-64",
69+
"RaspberryPi 5": "rpi5-64",
6970
"ASUS Tinkerboard": "tinker",
7071
"ODROID C2": "odroid-c2",
7172
"ODROID C4": "odroid-c4",
@@ -112,6 +113,7 @@
112113
"raspberrypi3",
113114
"raspberrypi4-64",
114115
"raspberrypi4",
116+
"raspberrypi5-64",
115117
"tinker",
116118
]
117119

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /