To folks landing on this thread now that HA is supported for Raspberry Pi 5, here are the install steps:
# Ensure up-to-date.
sudo apt update && sudo apt upgrade -y && sudo apt --fix-broken install && sudo apt autoremove -y
# Install dependencies.
sudo apt install apparmor cifs-utils curl dbus jq libglib2.0-bin lsb-release network-manager nfs-common systemd-journal-remote systemd-resolved udisks2 wget -y
sudo systemctl restart systemd-resolved
# Install Docker.
curl -fsSL get.docker.com -o install-docker.sh && sh install-docker.sh
# sh install-docker.sh --dry-run
# sudo docker run hello-world
# Install OS Agent.
wget https://github.com/home-assistant/os-agent/releases/download/1.6.0/os-agent_1.6.0_linux_aarch64.deb
sudo dpkg -i os-agent_1.6.0_linux_aarch64.deb
# Verify that the OS agent has been successfully installed:
# gdbus introspect --system --dest io.hass.os --object-path /io/hass/os
# Install Home Assistant
wget https://github.com/home-assistant/supervised-installer/releases/latest/download/homeassistant-supervised.deb
sudo dpkg -i ./homeassistant-supervised.deb
# sudo BYPASS_OS_CHECK=true dpkg -i ./homeassistant-supervised.deb
# sudo dpkg --configure -a
# sudo dpkg --purge homeassistant-supervised
# To fix "Unsupported system - AppArmor issues: System is unsupported because
# AppArmor is working incorrectly and add-ons are running in an unprotected and
# insecure way. https://www.home-assistant.io/more-info/unsupported/apparmor
cp /boot/firmware/cmdline.txt cmdline.txt.bak
cp /boot/firmware/config.txt config.txt.bak
sudo sed -i '${s/$/ apparmor=1 security=apparmor/}' /boot/firmware/cmdline.txt
# If something's going wrong, use journalctl -f to get your system logs. If you
# are not familiar with Linux and how you can fix issues, we recommend to use
# our Home Assistant OS.
printf "Navigate to http://%s:8123 after rebooting ('sudo reboot')\n" $(hostname -I | awk '{print $1}')
If your audio stops working (e.g., Device or resource busy
) install the Alsa & PulseAudio Fix add-on.