From b1b107e49f659d47244f3249a3cbd2065c239dd1 Mon Sep 17 00:00:00 2001 From: RoboMagus <68224306+RoboMagus@users.noreply.github.com> Date: Thu, 25 Jan 2024 11:12:56 +0100 Subject: [PATCH] Add last_reset to template sensor (#29082) --- source/_integrations/template.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/_integrations/template.markdown b/source/_integrations/template.markdown index 7915acbdaba..28d844f0d9e 100644 --- a/source/_integrations/template.markdown +++ b/source/_integrations/template.markdown @@ -147,6 +147,11 @@ sensor: required: false type: string default: None + last_reset: + description: "Defines a template that describes when the state of the sensor was last reset. Must render to a valid `datetime`. Only available when `state_class` is set to `total`" + required: false + type: template + default: None binary_sensor: description: List of binary sensors required: true