Why can the device be controlled normally in the device panel, but show offline and fail to execute in the automation record?
Learn why devices may work in the device panel but appear offline in automation, and how to ensure proper network connectivity for cloud-based automation.
Your device may currently be in Bluetooth or local area network (LAN) control mode. Please switch your phone's network to a different WiFi or 4G/5G environment, or turn off Bluetooth on your phone. Then, check in the app to see if the device is online to confirm if it is actually connected to the external network, as only devices connected to the external network can be controlled through cloud-based automation. (Bluetooth devices need to be connected to a gateway to work in automation.)
SmartLife App Docs