home assistant dashboard improvements
This commit is contained in:
		| @@ -21,7 +21,6 @@ | ||||
|   "fiscalYearStartMonth": 0, | ||||
|   "gnetId": 13192, | ||||
|   "graphTooltip": 0, | ||||
|     "id": 1, | ||||
|   "links": [], | ||||
|   "liveNow": false, | ||||
|   "panels": [ | ||||
| @@ -180,7 +179,34 @@ | ||||
|           }, | ||||
|           "unit": "celsius" | ||||
|         }, | ||||
|           "overrides": [] | ||||
|         "overrides": [ | ||||
|           { | ||||
|             "matcher": { | ||||
|               "id": "byName", | ||||
|               "options": "avg(avg_over_time(homeassistant_sensor_temperature_celsius[5h]))" | ||||
|             }, | ||||
|             "properties": [ | ||||
|               { | ||||
|                 "id": "custom.fillOpacity", | ||||
|                 "value": 0 | ||||
|               }, | ||||
|               { | ||||
|                 "id": "custom.lineStyle", | ||||
|                 "value": { | ||||
|                   "dash": [ | ||||
|                     10, | ||||
|                     10 | ||||
|                   ], | ||||
|                   "fill": "dash" | ||||
|                 } | ||||
|               }, | ||||
|               { | ||||
|                 "id": "custom.lineWidth", | ||||
|                 "value": 4 | ||||
|               } | ||||
|             ] | ||||
|           } | ||||
|         ] | ||||
|       }, | ||||
|       "gridPos": { | ||||
|         "h": 8, | ||||
| @@ -218,6 +244,23 @@ | ||||
|           "range": true, | ||||
|           "refId": "A", | ||||
|           "useBackend": false | ||||
|         }, | ||||
|         { | ||||
|           "datasource": { | ||||
|             "type": "prometheus", | ||||
|             "uid": "PBFA97CFB590B2093" | ||||
|           }, | ||||
|           "disableTextWrap": false, | ||||
|           "editorMode": "builder", | ||||
|           "expr": "avg(avg_over_time(homeassistant_sensor_temperature_celsius[5h]))", | ||||
|           "fullMetaSearch": false, | ||||
|           "hide": false, | ||||
|           "includeNullMetadata": true, | ||||
|           "instant": false, | ||||
|           "legendFormat": "__auto", | ||||
|           "range": true, | ||||
|           "refId": "B", | ||||
|           "useBackend": false | ||||
|         } | ||||
|       ], | ||||
|       "title": "Room temperature", | ||||
| @@ -345,8 +388,8 @@ | ||||
|             "axisLabel": "", | ||||
|             "axisPlacement": "auto", | ||||
|             "barAlignment": 0, | ||||
|               "drawStyle": "line", | ||||
|               "fillOpacity": 0, | ||||
|             "drawStyle": "bars", | ||||
|             "fillOpacity": 22, | ||||
|             "gradientMode": "none", | ||||
|             "hideFrom": { | ||||
|               "legend": false, | ||||
| @@ -355,12 +398,12 @@ | ||||
|             }, | ||||
|             "insertNulls": false, | ||||
|             "lineInterpolation": "linear", | ||||
|               "lineWidth": 1, | ||||
|               "pointSize": 5, | ||||
|             "lineWidth": 10, | ||||
|             "pointSize": 8, | ||||
|             "scaleDistribution": { | ||||
|               "type": "linear" | ||||
|             }, | ||||
|               "showPoints": "auto", | ||||
|             "showPoints": "never", | ||||
|             "spanNulls": false, | ||||
|             "stacking": { | ||||
|               "group": "A", | ||||
| @@ -399,7 +442,7 @@ | ||||
|           "calcs": [], | ||||
|           "displayMode": "list", | ||||
|           "placement": "bottom", | ||||
|             "showLegend": true | ||||
|           "showLegend": false | ||||
|         }, | ||||
|         "tooltip": { | ||||
|           "maxHeight": 600, | ||||
| @@ -415,7 +458,7 @@ | ||||
|           }, | ||||
|           "disableTextWrap": false, | ||||
|           "editorMode": "builder", | ||||
|             "expr": "sum(homeassistant_automation_triggered_count_total)", | ||||
|           "expr": "sum(rate(homeassistant_automation_triggered_count_total[$__rate_interval]))", | ||||
|           "fullMetaSearch": false, | ||||
|           "includeNullMetadata": true, | ||||
|           "instant": false, | ||||
| @@ -429,7 +472,7 @@ | ||||
|       "type": "timeseries" | ||||
|     } | ||||
|   ], | ||||
|     "refresh": "1m", | ||||
|   "refresh": "", | ||||
|   "schemaVersion": 39, | ||||
|   "tags": [], | ||||
|   "templating": { | ||||
| @@ -439,7 +482,6 @@ | ||||
|     "from": "now-7d", | ||||
|     "to": "now" | ||||
|   }, | ||||
|     "timeRangeUpdatedDuringEditOrView": false, | ||||
|   "timepicker": { | ||||
|     "refresh_intervals": [ | ||||
|       "30s", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user