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