Below is a screenshot of 2 stock fanSpeed capabilities with a device-config applied. You can see that the label, range, and even alternatives have been modified. Everything worked as expected. This is what encouraged me to try the same thing with list. According to the presentation, fanSpeed is a list under the hood.
Here’s the device-config:
type: profile
detailView:
- component: Fan
capability: fanSpeed
version: 1
values:
- key: fanSpeed
label: Speed
range:
- 0
- 3
alternatives:
- key: 0
value: Off
type: inactive
- key: 1
value: Slow
- key: 2
value: Medium
- key: 3
value: Fast
- component: Light
capability: fanSpeed
version: 1
values:
- key: fanSpeed
label: Level
range:
- 0
- 3
alternatives:
- key: 0
value: Off
type: inactive
- key: 1
value: Dim
- key: 2
value: On
- key: 3
value: Bright
