Shelly 1 (mqtt) always unavailable after HA restart

i had the same isue you have to uncomment "availability_topic: “shellies/shelly1/online”