Don't consider K's computer as occupying the basement if I am upstairs
This commit is contained in:
@ -124,10 +124,7 @@ template:
|
|||||||
state: >
|
state: >
|
||||||
{% if is_state('binary_sensor.basement_studio_motion','on') %}
|
{% if is_state('binary_sensor.basement_studio_motion','on') %}
|
||||||
true
|
true
|
||||||
{% elif is_state('sensor.xia_desktop_current_username','tm24f') and
|
{% elif is_state('sensor.xia_desktop_current_username','tm24f') %}
|
||||||
(is_state('binary_sensor.kallen_desktop_idle','on') or
|
|
||||||
states('sensor.kallen_desktop_current_username') in ['unavailable','unknown','NotPresent','SYSTEM'] or
|
|
||||||
is_state('binary_sensor.kallen_desktop_on','off')) %}
|
|
||||||
false
|
false
|
||||||
{% elif is_state('binary_sensor.tony_desktop_on','off') and
|
{% elif is_state('binary_sensor.tony_desktop_on','off') and
|
||||||
is_state('binary_sensor.kallen_desktop_on','off') %}
|
is_state('binary_sensor.kallen_desktop_on','off') %}
|
||||||
|
Reference in New Issue
Block a user