pushButton + state at the same time?

state pushButton + state
Works as expected Works only the push button
State is always -
dashboard:
states: []
actions: []
detailView:
- label: Info
displayType: state
state:
label: “{{value.value}}”
id: valleyboard16460.info
version: 1
dashboard:
states: []
actions: []
detailView:
- label: Info
displayType: pushButton
pushButton:
command: clear
state:
label: “{{value.value}}”
id: valleyboard16460.info
version: 1

How can I update the state when there is a pushButton ?
It always keep -

I expected the command would be the same for both, but it only update when there isn’t pushButton (first case).

device:emit_event(capabilities["valleyboard16460.info"].value("..."))

Hi, @w35l3y

Someone made the request to add a state for the pushButton display because it didn’t show any text.
In the documentation, only the property of “command” is included for that display type, so, I’ll check with the team if this was implemented and if so, how to configure it.

This is the original post just as a reference:

1 Like