If this is the wrong section please advise. I couldn’t find a custom capability section.
Below is my capability presentation. Everything works for the capability except that I can not use the “If” portion of the automations because after choosing the condition it says “Unknown Condition”. I exported the “activityLightingMode” capability and modeled my capability from it. I also made a “pumpMode” for a wave controller that is similar and faces the same symptoms. Any advice would be helpful.
{
"dashboard": {
"states": [
{
"label": "{{lightingMode.value}}",
"alternatives": [
{
"key": "On",
"value": "On",
"type": "active"
},
{
"key": "Off",
"value": "Off",
"type": "inactive"
},
{
"key": "Auto",
"value": "Auto mode",
"type": "active"
},
{
"key": "SunSync",
"value": "SunSync mode",
"type": "active"
}
]
}
],
"actions": [ ],
"basicPlus": [ ]
},
"detailView": [
{
"label": "Light Mode",
"displayType": "list",
"list": {
"command": {
"name": "setLightingMode",
"alternatives": [
{
"key": "On",
"value": "On"
},
{
"key": "Off",
"value": "Off"
},
{
"key": "Auto",
"value": "Auto mode"
},
{
"key": "SunSync",
"value": "SunSync mode"
}
],
"supportedValues": "supportedLightingModes.value"
},
"state": {
"value": "lightingMode.value",
"alternatives": [
{
"key": "On",
"value": "On",
"type": "active"
},
{
"key": "Off",
"value": "Off",
"type": "inactive"
},
{
"key": "Auto",
"value": "Auto mode",
"type": "active"
},
{
"key": "SunSync",
"value": "SunSync mode",
"type": "active"
}
]
}
}
},
],
"automation": {
"conditions": [
{
"label": "Light Mode",
"displayType": "list",
"list": {
"alternatives": [
{
"key": "On",
"value": "On",
"type": "active",
"description": "Lights On Static"
},
{
"key": "Off",
"value": "Off",
"type": "inactive",
"description": "Lights Off"
},
{
"key": "Auto",
"value": "Auto mode",
"type": "active",
"description": "Lights Run On Schedule"
},
{
"key": "SunSync",
"value": "SunSync mode",
"type": "active",
"description": "Lights Run On Schedule Synced With Sun"
}
],
"value": "lightingMode.value"
}
}
],
"actions": [
{
"label": "Light Mode",
"displayType": "list",
"list": {
"command": "setLightingMode",
"alternatives": [
{
"key": "On",
"value": "On",
"type": "active"
},
{
"key": "Off",
"value": "Off",
"type": "inactive"
},
{
"key": "Auto",
"value": "Auto mode",
"type": "active"
},
{
"key": "SunSync",
"value": "SunSync mode",
"type": "active"
}
]
}
}
]
},
"id": "carbonscale41874.lightingMode",
"version": 1
}