I have searched for it but came up empty…
Would it be possible to add a presence indicator to a buttons device button?
To be able to create radio buttons, or other ways to light up the button.
Config would be something like this:
{
"id": "buttons_id",
"name": "buttons-name",
"class": "ButtonsDevice",
"buttons": [
{
"id": "button_1",
"text": "- 1 -"
},
{
"id": "button_2",
"text": "- 2 -",
"presenceSensor": "$id-of-some-boolean-variable"
},
{
"id": "button_3",
"text": "- 3 -",
"presenceSensor": "$id-of-another-boolean"
}
]
}