Use an input in scenes instead of an integer selector

Currently, when using multi-button connected buttons (Xiaomi or others) we cannot integrate them directly into scenes, because when you press them, what is reported is things like:

single_left, single_right, single_both, double_left, double_right, double_both, triple_left, triple_right, triple_both, hold_left, hold_right, hold_both

But in scenes, we can only use this:

Which only allows numeric integers.

It would therefore be necessary to be able to integrate these « textual » values into scenes, without going through Node-RED.

The pull request is already in progress

2 Likes

Damn… I should visit GitHub more often! (provided that I understand anything there!)

@guim31,
we agree that this is the same request you created in November 2022 :
Affichage des boutons textuels dans les scènes et tableau de bord (au lieu d'entier) ?

Since you marked it as « resolved » I’ll go ahead and close it. Don’t hesitate to tell me if it needs to be reopened, the PR (which seems to be shared with your other request) hasn’t been released yet.

1 Like