zigbee2mqtt-adapter icon indicating copy to clipboard operation
zigbee2mqtt-adapter copied to clipboard

ledvance smart+ mini switch

Open TobiBu opened this issue 4 years ago • 3 comments

Hi,

I realized that for the Ledvance smart+ mini switch the thing on the thing page shows actions like on/off when pressing the up/down button but when using this device in the rules section there is only the actions up/down available. Thus rules are never triggered. Any clues how I can change that behaviour?

TobiBu avatar Oct 13 '21 18:10 TobiBu

Do you have a screenshot of the thing details page? I'm trying to follow the issue.

Cool device too.

flatsiedatsie avatar Dec 02 '21 15:12 flatsiedatsie

here you go. IMG_9824

TobiBu avatar Dec 02 '21 16:12 TobiBu

Have you tried installing the Square Theme?

I take it you mean the action property (south-east) shows the action as a string? And you can't select that string in rules?

Thinking out loud:

Hmm, I wonder if it would be possible to have the addon 'learn' which messages appear, and use that to generate a dropdown instead. Then it might show up in rules. Then again, it would mean that the select dropdown would slowly gain more options over time. I wonder how the (rules) system would respond to that..

Alternatively, each action could get its own push-button property. If the action message appears, then that button could be 'pushed'. And actions could respond to that.

Hmm, wait, I just opened Rules to do a test. And it's already possible to respond to a string value. So isn't that an option in your case?

candle_rules_bla

flatsiedatsie avatar Dec 02 '21 21:12 flatsiedatsie