What’s presented in the dashboard for the device is defined in the presentation. For the Ecobee sensors, here is the definition.
"dashboard": {
"states": [
{
"label": "{{motion.value}}",
"alternatives": [
{
"key": "active",
"value": "___PO_CODE_CAPABILITY.SMARTTHINGS.MOTIONSENSOR_DEFAULT_ATTRIBUTES_MOTION_ACTIVE",
"type": "active"
},
{
"key": "inactive",
"value": "___PO_CODE_CAPABILITY.SMARTTHINGS.MOTIONSENSOR_DEFAULT_ATTRIBUTES_MOTION_INACTIVE",
"type": "inactive"
}
],
"capability": "motionSensor",
"version": 1,
"component": "main",
"composite": false,
"group": "main",
"transient": false
}
],
"actions": [],
"basicPlus": []
So you could download the driver code from the ST Github repo and create your own custom version of the driver to display temperature (temperatureMeasurement) instead of motion or both. I’m not skilled enough to know how you would make it a configurable setting, if that is possible at all.
Dawned on me a little later, that I could include the dashboard presentation for an Ecobee thermostat as an example for what it would look like for temperature.
"dashboard": {
"states": [
{
"label": "{{temperature.value}} {{temperature.unit}}",
"alternatives": [
{
"key": "C",
"value": "°C",
"type": "active"
},
{
"key": "K",
"value": "°K",
"type": "active"
},
{
"key": "F",
"value": "°F",
"type": "active"
}
],
"capability": "temperatureMeasurement",
"version": 1,
"component": "main",
"composite": false,
"group": "main",
"transient": false
}
],
"actions": [],
"basicPlus": []
}