The connection between the app and the devices may be interrupted. Instead of the button in the app, press the physical controls (e.g. light switch) to re-establish the connection between the app and the device.
Another reason for the malfunction may be a problem with your phone's cache. Exit the app and restart it. If this does not resolve the issue, restart your phone.