Reboot - Contact Sensors Unavailable

Hi Team. So i have a bunch of contact sensors that are fine and working. If i do a full reboot of HA they become unavailable until i take the battery out and put it back in. I have about 30 of them so this is not really an option. Is there anyway to wake them? The are reporting ok in Z2M just HA is showing unavailable