Fix states #69

This commit is contained in:
2023-01-30 14:03:36 -05:00
parent a5113aa404
commit 29087ddb6f

View File

@ -169,11 +169,11 @@ template:
device_class: presence device_class: presence
- binary_sensor: - binary_sensor:
- name: "Nerds Home" - 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 device_class: presence
- binary_sensor: - binary_sensor:
- name: "Parents Home" - 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 device_class: presence
mqtt: mqtt: