Open stas-demydiuk opened 5 years ago
I would definitely enjoy this feature as well, all my current buttons/switches default to selector switches, that need to be manually reset after use - which often seems to fail when processing too many presses at once.
@stas-demydiuk , personally i am not a fan of having multiple actions for the same button. I can not explain this to my family, and when people are tired, they might long press a switch
But it seems the selector switch has to be extended with a auto-off feature for each button ?
It would be great to add new switch type to Domoticz: PushOn Selector Switch. This device should behave exactly like PushOn switch: reset switch state to "Off" after some interval but additionally should support multiple states like current selector switch.
This new device type will help to properly represent a bunch of different switchers which have multiple states/actions, like single click, double click, long press and so on. And will prevent from creating custom scripts to implement such functionality.
Devices examples: Aqara wireless switch (http://aqara.com/en/wireless_mini_switch.html) IKEA TRADFRI remote control (https://www.ikea.com/us/en/catalog/products/20303317/)