Parents needs to be an "or" condition, not "and" #69

This commit is contained in:
2023-01-30 16:23:11 -05:00
parent c0a9159775
commit b3334d531a

View File

@ -182,7 +182,7 @@ template:
- name: "Parents Home" - name: "Parents Home"
state: >- state: >-
{% if is_state('group.family','home') %} {% if is_state('group.family','home') %}
{% if is_state('binary_sensor.tony_home','on') and is_state('binary_sensor.tina_home','on') %} {% if is_state('binary_sensor.tony_home','on') or is_state('binary_sensor.tina_home','on') %}
true true
{% else %} {% else %}
false false