Prerequisite
Installing Home Assistant App in TrueNAS.
Install HACS
TrueNAS –> Apps –> Home Assistant, open home-assistant Shell on Workloads.
Run the HACS Container download script:
wget -O - https://get.hacs.xyz | bash -
Restart Home Assistant in TrueNAS.