From 29087ddb6fd09c57f57ea296d7fa4c795d6a7520 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Mon, 30 Jan 2023 14:03:36 -0500 Subject: [PATCH] Fix states #69 --- packages/presence.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/presence.yaml b/packages/presence.yaml index 5379f13..2f9b729 100644 --- a/packages/presence.yaml +++ b/packages/presence.yaml @@ -169,11 +169,11 @@ template: device_class: presence - binary_sensor: - name: "Nerds Home" - state: "{{ is_state('binary_sensor.tony_home','true') and is_state('device_tracker.kallen_iphone','home') }}" + state: "{{ is_state('binary_sensor.tony_home','on') and is_state('device_tracker.kallen_iphone','home') }}" device_class: presence - binary_sensor: - name: "Parents Home" - state: "{{ is_state('binary_sensor.tony_home','true') and is_state('binary_sensor.tina_home','true') }}" + state: "{{ is_state('binary_sensor.tony_home','on') and is_state('binary_sensor.tina_home','on') }}" device_class: presence mqtt: