You mentioned you’re on TrueNAS 13.1 but can you say version the jail is trying to use?
Your Home Assistant plugin should be using the 13.1-RELEASE. If not, you may need to refresh the community plugin index.
I’m going to fire up a VM with TrueNAS 13 to have a look.