From ada30d47d30a177ce69403df27240af512be0e25 Mon Sep 17 00:00:00 2001 From: Claus Dethlefsen Date: Sun, 15 Mar 2026 17:42:41 +0100 Subject: [PATCH] New way to make templates --- include/templates/claus_distance_home.yaml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 include/templates/claus_distance_home.yaml diff --git a/include/templates/claus_distance_home.yaml b/include/templates/claus_distance_home.yaml new file mode 100644 index 0000000..195090e --- /dev/null +++ b/include/templates/claus_distance_home.yaml @@ -0,0 +1,5 @@ +sensor: + - name: "claus_distance_home" + unit_of_measurement: m + state: > + {{ distance('device_tracker.clausiphone', 'zone.home') | round(0) }}