Grafana dashboard: SmartThings - Thermostats
Description: A SmartThings dashboard for thermostats utilizing the SmartThings Metrics Prometheus exporter: https://github.com/moikot/smartthings-metrics

A SmartThings dashboard for thermostats utilizing the SmartThings Metrics Prometheus exporter: https://github.com/moikot/smartthings-metrics

(You may need to adjust your PromQL to filter out just the thermostats and/or humidity sensors that you want... I happen to have a dual-zone setup - certainly adjust your panels as needed!)

My particular thermostat is using RBOYs "Enhanced Z-Wave Plus Thermostat with Temperature, Humidity and Auto Time setting" device handler to manage my 2gig CT100 Z-Wave Programmable Thermostat.

{
  "__inputs": [
    {
      "name": "DS_PROMETHEUS",
      "label": "Prometheus",
      "description": "",
      "type": "datasource",
      "pluginId": "prometheus",
      "pluginName": "Prometheus"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "7.3.6"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "panel",
      "id": "natel-discrete-panel",
      "name": "Discrete",
      "version": "0.1.0"
    },
    {
      "type": "datasource",
      "id": "prometheus",
      "name": "Prometheus",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 13554,
  "graphTooltip": 1,
  "id": null,
  "links": [
    {
      "asDropdown": true,
      "icon": "external link",
      "tags": [
        "smartthings"
      ],
      "title": "SmartThings",
      "type": "dashboards"
    }
  ],
  "panels": [
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "decimals": 1,
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "unit": "fahrenheit"
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 3,
      "gridPos": {
        "h": 15,
        "w": 12,
        "x": 0,
        "y": 0
      },
      "hiddenSeries": false,
      "id": 2,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": true,
        "max": true,
        "min": true,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 2,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": false
      },
      "percentage": false,
      "pluginVersion": "7.3.6",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "$$hashKey": "object:187",
          "alias": "Setpoint: Tyle 1st Floor",
          "fill": 0,
          "fillGradient": 0,
          "lines": true
        },
        {
          "$$hashKey": "object:194",
          "alias": "Setpoint: Tyle 2nd Floor",
          "fill": 0,
          "fillGradient": 0,
          "lines": true
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "sum by (label) (smartthings_thermostat_thermostat_setpoint_degree_fahrenheit)",
          "interval": "",
          "legendFormat": "Setpoint: {{label}}",
          "refId": "A"
        },
        {
          "expr": "sum by (label) (avg_over_time(smartthings_thermostat_temperature_degree_fahrenheit[1h]))",
          "interval": "",
          "legendFormat": "Actual: {{label}}",
          "refId": "B"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Temperatures",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transformations": [],
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:7702",
          "decimals": 0,
          "format": "fahrenheit",
          "label": "",
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "$$hashKey": "object:7703",
          "format": "percent",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "backgroundColor": "rgba(128,128,128,0.1)",
      "colorMaps": [
        {
          "$$hashKey": "object:8866",
          "color": "#CCC",
          "text": "N/A"
        },
        {
          "$$hashKey": "object:8885",
          "color": "#F2495C",
          "text": "Heat"
        },
        {
          "$$hashKey": "object:592",
          "color": "#B877D9",
          "text": "Emergency"
        },
        {
          "$$hashKey": "object:3002",
          "color": "#FADE2A",
          "text": "Auto"
        },
        {
          "$$hashKey": "object:210",
          "color": "#1F60C4",
          "text": "Cool"
        },
        {
          "$$hashKey": "object:214",
          "color": "rgb(94, 94, 94)",
          "text": "Off"
        }
      ],
      "crosshairColor": "#8F070C",
      "datasource": "${DS_PROMETHEUS}",
      "display": "timeline",
      "expandFromQueryS": 0,
      "extendLastValue": true,
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [
            {
              "from": "",
              "id": 1,
              "text": "Heating",
              "to": "",
              "type": 1,
              "value": "24"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 12,
        "x": 12,
        "y": 0
      },
      "highlightOnMouseover": true,
      "id": 3,
      "legendSortBy": "-ms",
      "lineColor": "rgba(0,0,0,0.1)",
      "metricNameColor": "#000000",
      "pluginVersion": "7.3.3",
      "rangeMaps": [
        {
          "$$hashKey": "object:8871",
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "rowHeight": 50,
      "showLegend": false,
      "showLegendNames": true,
      "showLegendPercent": true,
      "showLegendValues": true,
      "showTimeAxis": true,
      "targets": [
        {
          "expr": "sum by (label) (smartthings_thermostat_thermostat_mode)",
          "interval": "",
          "legendFormat": "{{label}}",
          "refId": "A"
        }
      ],
      "textSize": 24,
      "textSizeTime": 12,
      "timeFrom": null,
      "timeOptions": [
        {
          "name": "Years",
          "value": "years"
        },
        {
          "name": "Months",
          "value": "months"
        },
        {
          "name": "Weeks",
          "value": "weeks"
        },
        {
          "name": "Days",
          "value": "days"
        },
        {
          "name": "Hours",
          "value": "hours"
        },
        {
          "name": "Minutes",
          "value": "minutes"
        },
        {
          "name": "Seconds",
          "value": "seconds"
        },
        {
          "name": "Milliseconds",
          "value": "milliseconds"
        }
      ],
      "timePrecision": {
        "name": "Minutes",
        "value": "minutes"
      },
      "timeShift": null,
      "timeTextColor": "#d8d9da",
      "title": "Thermostate Mode",
      "transformations": [],
      "type": "natel-discrete-panel",
      "units": "short",
      "useTimePrecision": false,
      "valueMaps": [
        {
          "$$hashKey": "object:8869",
          "op": "=",
          "text": "Heat",
          "value": "24"
        },
        {
          "$$hashKey": "object:595",
          "op": "=",
          "text": "Emergency",
          "value": "16"
        },
        {
          "$$hashKey": "object:3000",
          "op": "=",
          "text": "Auto",
          "value": "1"
        },
        {
          "$$hashKey": "object:222",
          "op": "=",
          "text": "Cool",
          "value": "11"
        },
        {
          "$$hashKey": "object:217",
          "op": "=",
          "text": "Off",
          "value": "30"
        }
      ],
      "valueTextColor": "#000000",
      "writeAllValues": false,
      "writeLastValue": true,
      "writeMetricNames": true
    },
    {
      "backgroundColor": "rgba(128,128,128,0.1)",
      "colorMaps": [
        {
          "$$hashKey": "object:8777",
          "color": "#CCC",
          "text": "N/A"
        },
        {
          "$$hashKey": "object:8780",
          "color": "#7EB26D",
          "text": "Idle"
        },
        {
          "$$hashKey": "object:8781",
          "color": "#F2495C",
          "text": "Heating"
        }
      ],
      "crosshairColor": "#8F070C",
      "datasource": "${DS_PROMETHEUS}",
      "description": "",
      "display": "timeline",
      "expandFromQueryS": 0,
      "extendLastValue": true,
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [
            {
              "from": "",
              "id": 1,
              "text": "Idle",
              "to": "",
              "type": 1,
              "value": "3"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 12,
        "x": 12,
        "y": 5
      },
      "highlightOnMouseover": true,
      "id": 4,
      "legendSortBy": "-ms",
      "lineColor": "rgba(0,0,0,0.1)",
      "metricNameColor": "#000000",
      "pluginVersion": "7.3.3",
      "rangeMaps": [
        {
          "$$hashKey": "object:8734",
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "rowHeight": 50,
      "showLegend": false,
      "showLegendNames": true,
      "showLegendPercent": true,
      "showLegendValues": true,
      "showTimeAxis": true,
      "targets": [
        {
          "expr": "sum by (label) (smartthings_thermostat_thermostat_operating_state)",
          "interval": "",
          "legendFormat": "{{label}}",
          "refId": "A"
        }
      ],
      "textSize": 24,
      "textSizeTime": 12,
      "timeFrom": null,
      "timeOptions": [
        {
          "name": "Years",
          "value": "years"
        },
        {
          "name": "Months",
          "value": "months"
        },
        {
          "name": "Weeks",
          "value": "weeks"
        },
        {
          "name": "Days",
          "value": "days"
        },
        {
          "name": "Hours",
          "value": "hours"
        },
        {
          "name": "Minutes",
          "value": "minutes"
        },
        {
          "name": "Seconds",
          "value": "seconds"
        },
        {
          "name": "Milliseconds",
          "value": "milliseconds"
        }
      ],
      "timePrecision": {
        "name": "Minutes",
        "value": "minutes"
      },
      "timeShift": null,
      "timeTextColor": "#d8d9da",
      "title": "Operating State",
      "transformations": [],
      "type": "natel-discrete-panel",
      "units": "short",
      "useTimePrecision": false,
      "valueMaps": [
        {
          "$$hashKey": "object:8732",
          "op": "=",
          "text": "Idle",
          "value": "3"
        },
        {
          "$$hashKey": "object:8786",
          "op": "=",
          "text": "Heating",
          "value": "2"
        }
      ],
      "valueTextColor": "#000000",
      "writeAllValues": false,
      "writeLastValue": true,
      "writeMetricNames": true
    },
    {
      "backgroundColor": "rgba(128,128,128,0.1)",
      "colorMaps": [
        {
          "$$hashKey": "object:8780",
          "color": "#7EB26D",
          "text": "Auto"
        },
        {
          "$$hashKey": "object:10081",
          "color": "#FA6400",
          "text": "On"
        }
      ],
      "crosshairColor": "#8F070C",
      "datasource": "${DS_PROMETHEUS}",
      "description": "",
      "display": "timeline",
      "expandFromQueryS": 0,
      "extendLastValue": true,
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [
            {
              "from": "",
              "id": 1,
              "text": "Idle",
              "to": "",
              "type": 1,
              "value": "3"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 12,
        "x": 12,
        "y": 10
      },
      "highlightOnMouseover": true,
      "id": 5,
      "legendSortBy": "-ms",
      "lineColor": "rgba(0,0,0,0.1)",
      "metricNameColor": "#000000",
      "pluginVersion": "7.3.3",
      "rangeMaps": [
        {
          "$$hashKey": "object:8734",
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "rowHeight": 50,
      "showLegend": false,
      "showLegendNames": true,
      "showLegendPercent": true,
      "showLegendValues": true,
      "showTimeAxis": true,
      "targets": [
        {
          "expr": "sum by (label) (smartthings_thermostat_thermostat_fan_mode)",
          "interval": "",
          "legendFormat": "{{label}}",
          "refId": "A"
        }
      ],
      "textSize": 24,
      "textSizeTime": 12,
      "timeFrom": null,
      "timeOptions": [
        {
          "name": "Years",
          "value": "years"
        },
        {
          "name": "Months",
          "value": "months"
        },
        {
          "name": "Weeks",
          "value": "weeks"
        },
        {
          "name": "Days",
          "value": "days"
        },
        {
          "name": "Hours",
          "value": "hours"
        },
        {
          "name": "Minutes",
          "value": "minutes"
        },
        {
          "name": "Seconds",
          "value": "seconds"
        },
        {
          "name": "Milliseconds",
          "value": "milliseconds"
        }
      ],
      "timePrecision": {
        "name": "Minutes",
        "value": "minutes"
      },
      "timeShift": null,
      "timeTextColor": "#d8d9da",
      "title": "Fan Mode",
      "transformations": [],
      "type": "natel-discrete-panel",
      "units": "short",
      "useTimePrecision": false,
      "valueMaps": [
        {
          "$$hashKey": "object:8732",
          "op": "=",
          "text": "Auto",
          "value": "0"
        },
        {
          "$$hashKey": "object:112",
          "op": "=",
          "text": "On",
          "value": "3"
        }
      ],
      "valueTextColor": "#000000",
      "writeAllValues": false,
      "writeLastValue": true,
      "writeMetricNames": true
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_PROMETHEUS}",
      "decimals": 1,
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "unit": "percent"
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 3,
      "gridPos": {
        "h": 14,
        "w": 12,
        "x": 0,
        "y": 15
      },
      "hiddenSeries": false,
      "id": 6,
      "legend": {
        "alignAsTable": true,
        "avg": false,
        "current": true,
        "max": true,
        "min": true,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 2,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": false
      },
      "percentage": false,
      "pluginVersion": "7.3.6",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "$$hashKey": "object:292",
          "alias": "Humidity: Tyle 2nd Floor",
          "yaxis": 1
        },
        {
          "$$hashKey": "object:293",
          "alias": "Humidity: Tyle 1st Floor",
          "yaxis": 1
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "sum by (label) (avg_over_time(smartthings_relative_humidity_measurement_humidity_percent[3h]))",
          "interval": "",
          "legendFormat": "Humidity: {{label}}",
          "refId": "C"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "Humidity",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transformations": [
        {
          "id": "filterFieldsByName",
          "options": {
            "include": {
              "names": [
                "Time",
                "Setpoint: Tyle 2nd Floor",
                "Setpoint: Tyle 1st Floor",
                "Actual: Tyle 2nd Floor",
                "Actual: Tyle 1st Floor",
                "Humidity: Tyle 2nd Floor",
                "Humidity: Tyle 1st Floor"
              ]
            }
          }
        }
      ],
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:7702",
          "decimals": 0,
          "format": "percent",
          "label": "",
          "logBase": 1,
          "max": "45",
          "min": "25",
          "show": true
        },
        {
          "$$hashKey": "object:7703",
          "format": "percent",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": false
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "backgroundColor": "rgba(128,128,128,0.1)",
      "colorMaps": [
        {
          "$$hashKey": "object:3853",
          "color": "#FADE2A",
          "text": "72"
        },
        {
          "$$hashKey": "object:3854",
          "color": "#8AB8FF",
          "text": "66"
        },
        {
          "$$hashKey": "object:3855",
          "color": "#FADE2A",
          "text": "73"
        }
      ],
      "crosshairColor": "#8F070C",
      "datasource": "${DS_PROMETHEUS}",
      "description": "",
      "display": "timeline",
      "expandFromQueryS": 0,
      "extendLastValue": true,
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [
            {
              "from": "",
              "id": 1,
              "text": "Idle",
              "to": "",
              "type": 1,
              "value": "3"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 12,
        "x": 12,
        "y": 15
      },
      "highlightOnMouseover": true,
      "id": 7,
      "legendSortBy": "-ms",
      "lineColor": "rgba(0,0,0,0.1)",
      "metricNameColor": "#000000",
      "pluginVersion": "7.3.3",
      "rangeMaps": [
        {
          "$$hashKey": "object:8734",
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "rowHeight": 50,
      "showLegend": false,
      "showLegendNames": true,
      "showLegendPercent": true,
      "showLegendValues": true,
      "showTimeAxis": true,
      "targets": [
        {
          "expr": "sum by (label) (smartthings_thermostat_heating_setpoint_degree_fahrenheit)",
          "interval": "",
          "legendFormat": "{{label}}",
          "refId": "A"
        }
      ],
      "textSize": 24,
      "textSizeTime": 12,
      "timeFrom": null,
      "timeOptions": [
        {
          "name": "Years",
          "value": "years"
        },
        {
          "name": "Months",
          "value": "months"
        },
        {
          "name": "Weeks",
          "value": "weeks"
        },
        {
          "name": "Days",
          "value": "days"
        },
        {
          "name": "Hours",
          "value": "hours"
        },
        {
          "name": "Minutes",
          "value": "minutes"
        },
        {
          "name": "Seconds",
          "value": "seconds"
        },
        {
          "name": "Milliseconds",
          "value": "milliseconds"
        }
      ],
      "timePrecision": {
        "name": "Minutes",
        "value": "minutes"
      },
      "timeShift": null,
      "timeTextColor": "#d8d9da",
      "title": "Heating Set Point",
      "transformations": [],
      "type": "natel-discrete-panel",
      "units": "short",
      "useTimePrecision": false,
      "valueMaps": [
        {
          "$$hashKey": "object:8732",
          "op": "=",
          "text": "Auto",
          "value": "0"
        },
        {
          "$$hashKey": "object:112",
          "op": "=",
          "text": "On",
          "value": "3"
        }
      ],
      "valueTextColor": "#000000",
      "writeAllValues": false,
      "writeLastValue": true,
      "writeMetricNames": true
    },
    {
      "backgroundColor": "rgba(128,128,128,0.1)",
      "colorMaps": [
        {
          "$$hashKey": "object:162",
          "color": "#FFB357",
          "text": "74"
        },
        {
          "$$hashKey": "object:163",
          "color": "#FF780A",
          "text": "75"
        },
        {
          "$$hashKey": "object:164",
          "color": "#FA6400",
          "text": "78"
        }
      ],
      "crosshairColor": "#8F070C",
      "datasource": "${DS_PROMETHEUS}",
      "description": "",
      "display": "timeline",
      "expandFromQueryS": 0,
      "extendLastValue": true,
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [
            {
              "from": "",
              "id": 1,
              "text": "Idle",
              "to": "",
              "type": 1,
              "value": "3"
            }
          ],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 80
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 5,
        "w": 12,
        "x": 12,
        "y": 20
      },
      "highlightOnMouseover": true,
      "id": 8,
      "legendSortBy": "-ms",
      "lineColor": "rgba(0,0,0,0.1)",
      "metricNameColor": "#000000",
      "pluginVersion": "7.3.3",
      "rangeMaps": [
        {
          "$$hashKey": "object:8734",
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "rowHeight": 50,
      "showLegend": false,
      "showLegendNames": true,
      "showLegendPercent": true,
      "showLegendValues": true,
      "showTimeAxis": true,
      "targets": [
        {
          "expr": "sum by (label) (smartthings_thermostat_cooling_setpoint_degree_fahrenheit)",
          "interval": "",
          "legendFormat": "{{label}}",
          "refId": "A"
        }
      ],
      "textSize": 24,
      "textSizeTime": 12,
      "timeFrom": null,
      "timeOptions": [
        {
          "name": "Years",
          "value": "years"
        },
        {
          "name": "Months",
          "value": "months"
        },
        {
          "name": "Weeks",
          "value": "weeks"
        },
        {
          "name": "Days",
          "value": "days"
        },
        {
          "name": "Hours",
          "value": "hours"
        },
        {
          "name": "Minutes",
          "value": "minutes"
        },
        {
          "name": "Seconds",
          "value": "seconds"
        },
        {
          "name": "Milliseconds",
          "value": "milliseconds"
        }
      ],
      "timePrecision": {
        "name": "Minutes",
        "value": "minutes"
      },
      "timeShift": null,
      "timeTextColor": "#d8d9da",
      "title": "Cooling Set Point",
      "transformations": [],
      "type": "natel-discrete-panel",
      "units": "short",
      "useTimePrecision": false,
      "valueMaps": [
        {
          "$$hashKey": "object:8732",
          "op": "=",
          "text": "Auto",
          "value": "0"
        },
        {
          "$$hashKey": "object:112",
          "op": "=",
          "text": "On",
          "value": "3"
        }
      ],
      "valueTextColor": "#000000",
      "writeAllValues": false,
      "writeLastValue": true,
      "writeMetricNames": true
    },
    {
      "backgroundColor": "rgba(128,128,128,0.1)",
      "colorMaps": [
        {
          "$$hashKey": "object:152",
          "color": "#CCC",
          "text": "N/A"
        },
        {
          "$$hashKey": "object:183",
          "color": "#B877D9",
          "text": "Battery"
        }
      ],
      "crosshairColor": "#8F070C",
      "datasource": "${DS_PROMETHEUS}",
      "description": "",
      "display": "timeline",
      "expandFromQueryS": 0,
      "extendLastValue": true,
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "red",
                "value": null
              },
              {
                "color": "yellow",
                "value": 50
              },
              {
                "color": "green",
                "value": 75
              }
            ]
          },
          "unit": "percent"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 6,
        "x": 12,
        "y": 25
      },
      "highlightOnMouseover": true,
      "id": 11,
      "legendSortBy": "-ms",
      "lineColor": "rgba(0,0,0,0.1)",
      "metricNameColor": "#000000",
      "pluginVersion": "7.3.3",
      "rangeMaps": [
        {
          "$$hashKey": "object:157",
          "from": "null",
          "text": "N/A",
          "to": "null"
        }
      ],
      "rowHeight": 34,
      "showLegend": false,
      "showLegendNames": true,
      "showLegendPercent": true,
      "showLegendValues": true,
      "showTimeAxis": true,
      "targets": [
        {
          "expr": "sum by (label) (smartthings_power_source_power_source{device_type_name=\"Enhanced Z-Wave Plus Thermostat with Temperature, Humidity and Auto Time setting\"})",
          "interval": "",
          "legendFormat": "{{label}}",
          "refId": "A"
        }
      ],
      "textSize": 18,
      "textSizeTime": 12,
      "timeFrom": null,
      "timeOptions": [
        {
          "name": "Years",
          "value": "years"
        },
        {
          "name": "Months",
          "value": "months"
        },
        {
          "name": "Weeks",
          "value": "weeks"
        },
        {
          "name": "Days",
          "value": "days"
        },
        {
          "name": "Hours",
          "value": "hours"
        },
        {
          "name": "Minutes",
          "value": "minutes"
        },
        {
          "name": "Seconds",
          "value": "seconds"
        },
        {
          "name": "Milliseconds",
          "value": "milliseconds"
        }
      ],
      "timePrecision": {
        "name": "Minutes",
        "value": "minutes"
      },
      "timeShift": null,
      "timeTextColor": "#d8d9da",
      "title": "Power Source",
      "type": "natel-discrete-panel",
      "units": "short",
      "useTimePrecision": false,
      "valueMaps": [
        {
          "$$hashKey": "object:155",
          "op": "=",
          "text": "N/A",
          "value": "null"
        },
        {
          "$$hashKey": "object:186",
          "op": "=",
          "text": "Battery",
          "value": "0"
        }
      ],
      "valueTextColor": "#000000",
      "writeAllValues": false,
      "writeLastValue": true,
      "writeMetricNames": true
    },
    {
      "datasource": "${DS_PROMETHEUS}",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "red",
                "value": null
              },
              {
                "color": "yellow",
                "value": 50
              },
              {
                "color": "green",
                "value": 55
              }
            ]
          },
          "unit": "percent"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 6,
        "x": 18,
        "y": 25
      },
      "id": 10,
      "options": {
        "colorMode": "value",
        "graphMode": "area",
        "justifyMode": "center",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.6",
      "targets": [
        {
          "expr": "sum by (label) (avg_over_time(smartthings_battery_battery_percent{device_type_name=\"Enhanced Z-Wave Plus Thermostat with Temperature, Humidity and Auto Time setting\"}[30m]))",
          "interval": "",
          "legendFormat": "{{label}}",
          "refId": "A"
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "Battery",
      "type": "stat"
    }
  ],
  "refresh": "",
  "schemaVersion": 26,
  "style": "dark",
  "tags": [
    "smartthings",
    "prometheus"
  ],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-24h",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "SmartThings - Thermostats",
  "uid": "lux4rd0labs_st_05",
  "version": 39,
  "description": "A SmartThings dashboard for thermostats utilizing the SmartThings Metrics Prometheus exporter: https://github.com/moikot/smartthings-metrics"
}