mirror of
https://github.com/michivonah/esphome-eink-dashboard.git
synced 2025-12-22 21:16:28 +01:00
Improved display sensors
This commit is contained in:
parent
e2181c2e3f
commit
3671a83dca
1 changed files with 5 additions and 0 deletions
|
|
@ -193,10 +193,15 @@ sensor:
|
||||||
- platform: template
|
- platform: template
|
||||||
name: "weatherman: Display Last Update"
|
name: "weatherman: Display Last Update"
|
||||||
device_class: timestamp
|
device_class: timestamp
|
||||||
|
entity_category: "diagnostic"
|
||||||
id: display_last_update
|
id: display_last_update
|
||||||
|
|
||||||
- platform: template
|
- platform: template
|
||||||
name: "weatherman: Recorded Display Refresh"
|
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);'
|
lambda: 'return id(recorded_display_refresh);'
|
||||||
|
|
||||||
# Call Subway and Weather sensors from HA.
|
# Call Subway and Weather sensors from HA.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue