Nerds should also be an "or" condition #69

This commit is contained in:
2023-01-30 17:42:16 -05:00
parent 2f5687da78
commit 634723b8cd

View File

@ -171,7 +171,7 @@ template:
- name: "Nerds Home" - name: "Nerds 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('device_tracker.kallen_iphone','home') %} {% if is_state('binary_sensor.tony_home','on') or is_state('device_tracker.kallen_iphone','home') %}
true true
{% else %} {% else %}
false false