Cube mode

Unfortunately as it stands today it wouldn't actually work at all. I didn't do anything but port the ST app over that assumes the device supports three axis aka MultiSensor aka this:

https://docs.hubitat.com/index.php?title=Driver_Capability_List#ThreeAxis

So if the events the cube provides are just button clicks you won't even be able to select it as a device in the app. Does the driver also provide ThreeAxis? I could rework the app but there is probably something already better we could start from. In fact, if you are creating button pushed events we should probably just rock the OOB Button Controller for that. It would be king because it can already toggle scenes and other neat things.

By the way, I saw your update even before you posted in this thread and ordered a Xiaomi Cube to play with because of it. You are doing good work over there. Thanks!

*Edit: Actually, now that I'm thinking about it and reading your driver post maybe a large quantity of button press events would have performance issues with Button Controller and Scenes. I dunno. I'll try it out when mine gets here [in probably forever... ordered from aliexpress].