Needing help with two issues with device-config

Hi everyone,

Im needing help with two issues im facing when applying a device config to my device profile.

  1. I can’t seem to set the supported values for the thermostatMode capability. I want to limit the default list to auto, cool, heat, dry air, and fan only.

  2. I have changed fanSpeed to 0 - 3 steps and renamed ‘Off’ to ‘Auto’. However i’m now trying to change the ‘Auto’ posiition to be an active state (like low, medium, and high, where the slider turns blue) instead of an inactive state where it is grey.

Can anyone see whats wrong with my device config below?

{
    "version": "0.0.1",
    "type": "profile",
    "dashboard": {
        "states": [
            {
                "component": "main",
                "capability": "switch",
                "version": 1,
                "idx": 0,
                "group": "main",
                "values": [],
                "composite": false
            }
        ],
        "actions": [
            {
                "component": "main",
                "capability": "switch",
                "version": 1,
                "idx": 0,
                "group": "main",
                "inline": null
            }
        ],
        "basicPlus": []
    },
    "detailView": [
        {
            "component": "main",
            "capability": "switch",
            "version": 1,
            "values": [],
            "patch": []
        },
        {
            "component": "main",
            "capability": "temperatureMeasurement",
            "version": 1,
            "values": [
                {
                    "key": "temperature.value",
                    "enabledValues": [],
                    "label": "Ambient Temperature"
                }
            ],
            "patch": []
        },
        {
            "component": "main",
            "capability": "thermostatCoolingSetpoint",
            "version": 1,
            "visibleCondition": {
                "component": "main",
                "capability": "switch",
                "version": 1,
                "value": "switch.value",
                "operator": "EQUALS",
                "operand": "on"
            },
            "values": [
                {
                    "key": "coolingSetpoint.value",
                    "enabledValues": [],
                    "label": "Set Temperature",
                    "range": [
                        18,
                        30
                    ]
                }
            ],
            "patch": []
        },
        {
            "component": "main",
            "capability": "fanSpeed",
            "version": 1,
            "visibleCondition": {
                "component": "main",
                "capability": "switch",
                "version": 1,
                "value": "switch.value",
                "operator": "EQUALS",
                "operand": "on"
            },
            "values": [
                {
                    "key": "setFanSpeed",
                    "enabledValues": [],
                    "label": "Fan",
                    "alternatives": [
                        {
                            "key": "0",
                            "value": "Auto",
                            "type": "active"
                        },
                        {
                            "key": "1",
                            "value": "Low",
                            "type": "active"
                        },
                        {
                            "key": "2",
                            "value": "Medium",
                            "type": "active"
                        },
                        {
                            "key": "3",
                            "value": "High",
                            "type": "active"
                        }
                    ],
                    "range": [
                        0,
                        3
                    ]
                }
            ],
            "patch": []
        },
        {
            "component": "main",
            "capability": "thermostatMode",
            "version": 1,
            "values": [
                {
                    "key": "thermostatMode.value",
                    "enabledValues": [
                        "auto",
                        "cool",
                        "heat",
                        "dry air",
                        "fan only"
                    ],
                    "label": "Mode"
                }
            ],
            "patch": []
        },
        {
            "component": "main",
            "capability": "refresh",
            "version": 1,
            "values": [],
            "patch": []
        }
    ],
    "automation": {
        "conditions": [
            {
                "component": "main",
                "capability": "switch",
                "version": 1,
                "values": [],
                "patch": [],
                "exclusion": []
            },
            {
                "component": "main",
                "capability": "temperatureMeasurement",
                "version": 1,
                "values": [
                    {
                        "key": "temperature.value",
                        "enabledValues": [],
                        "label": "Ambient Temperature"
                    }
                ],
                "patch": [],
                "exclusion": []
            },
            {
                "component": "main",
                "capability": "thermostatCoolingSetpoint",
                "version": 1,
                "values": [
                    {
                        "key": "coolingSetpoint.value",
                        "enabledValues": [],
                        "label": "Set Temperature",
                        "range": [
                            18,
                            30
                        ]
                    }
                ],
                "patch": [],
                "exclusion": []
            },
            {
                "component": "main",
                "capability": "fanSpeed",
                "version": 1,
                "values": [
                    {
                        "key": "setFanSpeed",
                        "enabledValues": [],
                        "label": "Fan",
                        "alternatives": [
                            {
                                "key": "0",
                                "value": "Auto",
                                "type": "active"
                            },
                            {
                                "key": "1",
                                "value": "Low",
                                "type": "active"
                            },
                            {
                                "key": "2",
                                "value": "Medium",
                                "type": "active"
                            },
                            {
                                "key": "3",
                                "value": "High",
                                "type": "active"
                            }
                        ],
                        "range": [
                            0,
                            3
                        ]
                    }
                ],
                "patch": [],
                "exclusion": []
            },
            {
                "component": "main",
                "capability": "thermostatMode",
                "version": 1,
                "values": [
                    {
                        "key": "thermostatMode.value",
                        "enabledValues": [
                            "auto",
                            "cool",
                            "heat",
                            "dry air",
                            "fan only"
                        ],
                        "label": "Mode"
                    }
                ],
                "patch": [],
                "exclusion": []
            }
        ],
        "actions": [
            {
                "component": "main",
                "capability": "switch",
                "version": 1,
                "values": [],
                "patch": [],
                "exclusion": []
            },
            {
                "component": "main",
                "capability": "thermostatCoolingSetpoint",
                "version": 1,
                "values": [
                    {
                        "key": "coolingSetpoint.value",
                        "enabledValues": [],
                        "label": "Set Temperature",
                        "range": [
                            18,
                            30
                        ]
                    }
                ],
                "patch": [],
                "exclusion": []
            },
            {
                "component": "main",
                "capability": "fanSpeed",
                "version": 1,
                "values": [
                    {
                        "key": "setFanSpeed",
                        "enabledValues": [],
                        "label": "Fan",
                        "alternatives": [
                            {
                                "key": "0",
                                "value": "Auto",
                                "type": "active"
                            },
                            {
                                "key": "1",
                                "value": "Low",
                                "type": "active"
                            },
                            {
                                "key": "2",
                                "value": "Medium",
                                "type": "active"
                            },
                            {
                                "key": "3",
                                "value": "High",
                                "type": "active"
                            }
                        ],
                        "range": [
                            0,
                            3
                        ]
                    }
                ],
                "patch": [],
                "exclusion": []
            },
            {
                "component": "main",
                "capability": "thermostatMode",
                "version": 1,
                "values": [
                    {
                        "key": "thermostatMode.value",
                        "enabledValues": [
                            "auto",
                            "cool",
                            "heat",
                            "dry air",
                            "fan only"
                        ],
                        "label": "Mode"
                    }
                ],
                "patch": [],
                "exclusion": []
            },
            {
                "component": "main",
                "capability": "refresh",
                "version": 1,
                "values": [],
                "patch": [],
                "exclusion": []
            }
        ]
    }
}

Does anyone know how to get a social for me