I am currently testing Gladys, I really like it, however, I am facing a small difficulty with the scenes.
Regarding the triggers on state change, it seems that only numerical values are allowed, for example, I have Xiaomi vibration sensors, but also the Magic Cube which allows performing actions based on the orientation of the Cube, but it does not seem to have a function planned in the scenes to interact with.
I have a large number of modules and equipment, if tests need to be done, I am willing to do so.
So, the cube is not managed in the scenes per se, but there must be a mapping between cube action and integer in the code, so you could use the integer code in the scenes
@AlexTrovato@cicoub13 I’ve looked a bit in the Zigbee2mqtt code without much success, is there a mapping somewhere for the Zigbee cube?
(The ideal would of course be that the UI displays the actions, but well in the meantime the integers can be good)
Normally for the cube, the zigbee library sends an enum, so a string. The mapping is therefore not done, as it is not possible to link the string to the number, without claiming to keep the list of possible values in Gladys. These values are not fixed and can vary depending on the devices.