What am I missing in this script to show my two garage doors in the Window and Door Panel.
This is the name of my Garage Doors in Indigo
Lynne's Garage Door
Mark's Garage Door
{
"backgroundColor": "rgba(128,128,128,0.1)",
"colorMaps": [
{
"color": "#7EB26D",
"text": "Closed"
},
{
"color": "#890f02",
"text": "Open"
}
],
"crosshairColor": "#8F070C",
"datasource": "Indigo",
"display": "timeline",
"expandFromQueryS": 1440,
"extendLastValue": true,
"gridPos": {
"h": 6,
"w": 12,
"x": 0,
"y": 8
},
"highlightOnMouseover": true,
"id": 12,
"legendMaxValues": 2,
"legendSortBy": "-ms",
"lineColor": "rgba(0,0,0,0.1)",
"links": [],
"metricNameColor": "#584477",
"rangeMaps": [
{
"from": "1",
"text": "Open",
"to": "1"
},
{
"from": "0",
"text": "Closed",
"to": "0"
}
],
"rowHeight": 24,
"showLegend": true,
"showLegendNames": true,
"showLegendPercent": true,
"showLegendTime": true,
"showLegendValues": true,
"showTimeAxis": true,
"targets": [
{
"alias": "$tag_name",
"groupBy": [
{
"params": [
"name"
],
"type": "tag"
}
],
"measurement": "device_changes",
"orderByTime": "ASC",
"policy": "default",
"refId": "A",
"resultFormat": "time_series",
"select": [
[
{
"params": [
"onState.num"
],
"type": "field"
}
]
],
"tags": [
{
"key": "name",
"operator": "=~",
"value": "/Window$/"
},
{
"condition": "OR",
"key": "name",
"operator": "=",
"value": "/Garage$/"
},
{
"condition": "OR",
"key": "name",
"operator": "=",
"value": "/Door$/"
}
]
}
],
"textSize": 12,
"textSizeTime": 9,
"timeTextColor": "#d8d9da",
"title": "Doors & Windows",
"type": "natel-discrete-panel",
"units": "short",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueTextColor": "#3f6833",
"writeAllValues": false,
"writeLastValue": true,
"writeMetricNames": true
}