Home Assistant use IP to host?

Highly recommend you read through this thread and use a MACVLAN or custom-yaml if you want to discover devices on your local network, since TrueNAS by default takes mDNS so you cannot use it for Home-Assistant