Skip to content

Commit

Permalink
Added sensor for scale last-reported-reading age
Browse files Browse the repository at this point in the history
  • Loading branch information
mmiller7 committed Dec 6, 2022
1 parent 629681a commit 57cf0d2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions example HomeAssistant package - propane_scale_fireplace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,12 @@ template:
{{ (remain / rate) | int(0) }}
{% endif %}
# Sensor for est days remaining
- name: "Fireplace Propane Weight Age"
unit_of_measurement: "Seconds"
state: >
{{ (now() - states.sensor.fireplace_propane_weight.last_updated).total_seconds() | round(0,default=0) }}
sensor:
Expand Down

0 comments on commit 57cf0d2

Please sign in to comment.