Bug SmartApp Smart Lighting with Buttons

I am trying to use a button to control light with SmartApp Smart Lighting, however I am having this error “Error - bad state Unable to complete page configuration”
The error appears in the old and new app.
If I use it with other sensors, like motion, the error does not appear.
Any solution?