From 3671a83dca73b9084e07e7ecd7297d26731b1961 Mon Sep 17 00:00:00 2001 From: Paul-Vincent Roll Date: Sun, 27 Nov 2022 23:59:47 +0100 Subject: [PATCH] Improved display sensors --- weatherman.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/weatherman.yaml b/weatherman.yaml index 6416caa..9d04915 100644 --- a/weatherman.yaml +++ b/weatherman.yaml @@ -193,10 +193,15 @@ sensor: - platform: template name: "weatherman: Display Last Update" device_class: timestamp + entity_category: "diagnostic" id: display_last_update - platform: template name: "weatherman: Recorded Display Refresh" + accuracy_decimals: 0 + unit_of_measurement: "Refreshs" + state_class: "total_increasing" + entity_category: "diagnostic" lambda: 'return id(recorded_display_refresh);' # Call Subway and Weather sensors from HA.