ZigBeeToMQTT Availability OffLine on Devices

One battery-powered device is not going to work. Zigbee is a mesh network and the mesh is made up of large numbers of mains-powered devices (routers). Battery-powered devices (end devices) need the mesh to communicate with the coordinator.