According to this documentation, it should be possible to change device setting using the Cloud Control API. It looks like the documentation covers how to control devices (e.g. turn on/off a relay) but I wasn't able to find anything related to device settings. In particular, I'm looking for a way to change the btn_type parameter. Any ideas?