[VisibleCondition] Please tell me what the hell is the visibleCondition.. Please

Yes, you can send other capability’s state in the Command Response because the property “states” is an Array, you just need to make sure that each state has the correct structure (component, capability, attribute, and value):

"states": [
        {
          "component": "main",
          "capability": "st.switch",
          "attribute": "switch",
          "value": "on"
        },
       ...
]

In my example, the presence sensor capability changes based on the Switch capability:

1 Like