Custom capability in routines and scenes part THEN" Actions" the command displays Unknown Action when the routine or scene is saved
A user reported this problem to me for the capability “legendabsolute60149.circadian”
I’ve been reviewing the capability and its presentation and I don’t see anything different from other similar capabilities.
CAPABILITY:
{
"id": "legendabsolute60149.circadian",
"version": 1,
"name": "Circadian",
"ephemeral": false,
"attributes": {
"circadian": {
"schema": {
"type": "object",
"properties": {
"value": {
"type": "string",
"maxLength": 25
}
},
"additionalProperties": false,
"required": [
"value"
]
},
"setter": "setCircadian",
"enumCommands": []
}
},
"commands": {
"setCircadian": {
"name": "setCircadian",
"arguments": [
{
"name": "value",
"optional": false,
"schema": {
"type": "string",
"maxLength": 25
}
}
]
}
}
}
CAPABILITY PRESENTATION:
{
"dashboard": {
"states": [
{
"label": "{{circadian.value}}"
}
],
"actions": []
},
"detailView": [
{
"label": "Circadian Lighting",
"displayType": "switch",
"switch": {
"command": {
"name": "setCircadian",
"on": "Active",
"off": "Inactive",
"argumentType": "string"
},
"state": {
"value": "circadian.value",
"valueType": "string",
"on": "Active",
"off": "Inactive",
"label": "{{circadian.value}}",
"alternatives": [
{
"key": "Active",
"value": "Active",
"type": "active"
},
{
"key": "Inactive",
"value": "Inactive",
"type": "inactive"
}
]
}
}
}
],
"automation": {
"conditions": [
{
"label": "Circadian Lighting",
"displayType": "list",
"list": {
"alternatives": [
{
"key": "Active",
"value": "Active",
"type": "active"
},
{
"key": "Inactive",
"value": "Inactive",
"type": "inactive"
}
],
"value": "circadian.value",
"valueType": "string",
"multiSelectable": false
}
}
],
"actions": [
{
"label": "Circadian Lighting",
"displayType": "list",
"list": {
"alternatives": [
{
"key": "Active",
"value": "Active",
"type": "active"
},
{
"key": "Inactive",
"value": "Inactive",
"type": "inactive"
}
],
"command": "setCircadian",
"argumentType": "string"
}
}
]
},
"id": "legendabsolute60149.circadian",
"version": 1
}
I have updated the presentation of the capability and its translation and it remains the same
I have already cleared the cache of the app, rebooted the hub, created a VID to force the update of the presentation capability and waited 24 hours since the modification of the presentation and everything remains the same
-
I have created a new capability from scratch “legendabsolute60149.circadian1” and its presentation
-
I have added it to a new version of the driver and the exact same thing continues to happen.
-
I have already cleared the cache of the app, rebooted the hub, waited 24 hours from the modification of the presentation and everything remains the same
I don’t know since when this happens
Any suggestions?
Thank you