Our device only supports the push button. It would be good if users only had one option (pushed) in automation.
I tried to add this to the deviceConfigST_fbba6-xxxx.json file.
"automation": {
"conditions": [
{
"component": "main",
"capability": "button",
"version": 1,
"values": [{
"key": "button.value",
"enabledValues": [
"pushed"
]
}],
"patch": [],
"exclusion": []
},
What is wrong with that change?