I am trying to utilize the new embedded configs to adjust the options available for an enumerated attribute. I am following this from the docs:
Example Capability:
id: myCap
version: 1
status: proposed
name: My Cap
ephemeral: false
attributes:
mode:
schema:
type: object
properties:
value:
type: string
enum:
- one
- two
- three
- four
additionalProperties: false
required:
- value
enumCommands: []
commands:
myCommand:
name: myCommand
arguments:
- name: mode
optional: false
schema:
type: string
enum:
- one
- two
- three
- four
Example Profile:
name: myProfile
components:
- id: main
capabilities:
- id: switch
version: 1
- id: refresh
version: 1
- id: myCap
version: 1
config:
values:
- key: mode.value
enabledValues:
- one
- key: myCommand
enabledValues:
- one
categories:
- name: Light
@nayelyz Do you know if this is actually supported yet? I end up seeing all of the enumerated values. No filtering is taking place when I add the embedded config.