Couldn’t say. I also have a file in /etc/ called hostname and that just has hassbian in it. I’m able to resolve hassbian.local with the hosts file i posted above and that hostname file.
This was most likely caused by a mistake on my end where I forgot to change the hostname from raspberrypi to hassbian and only changed it with the avahi daemon.