PURPOSE / GOAL:
To detect when either adult/parent is in the basement, which contains the family room and the office. Each room has a bluetooth proxy sensor (ESPresence). The basement is where the liquor cabinets are. I want to arm surveillance cameras directed at the bar cabinets only when there is not an adult in the basement (i.e. count = 0).
PROBLEM / ISSUE:
As the template is currently written (see below), it only counts / senses the “Office”, not the “Family Room”.
CURRENT TEMPLATE:
{{ ['input_select.alex_bt_presence',
'input_select.bluetooth_presence_courtney']
|map('states')
|select('eq', 'Office' or 'Family Room')
|list|count }}