How to configure smart button

This is not possible at the moment. It will be possible when the following feature request is implemented: Nested multiple press and on/off conditions