If the network is disconnected, can the linkage of a ZigBee device be executed?

The automation is unavailable if the network is disconnected. The device must be connected to the Internet to implement the automation in the cloud.