I can’t seem to get a conditional card to recognise the name of a zone. Where am I going wrong?
I have a zone called ‘Work (SomePlace)’. Whether I put ‘Work (SomePlace)’ or ‘work_someplace’ or ‘work__someplace_’ in the below, I can’t get the condition to pass when I am in that zone.
Help!
type: conditional
conditions:
- condition: or
conditions:
- condition: state
entity: person.geoff
state: 'work_someplace'
- condition: state
entity: person.geoff
state: not_home
card:
type: vertical-stack
cards:
- type: custom:html-template-card
title: Oxford Parkway Station
ignore_line_breaks: false
content: >-
{% from 'macros.jinja' import train_departure_board %} {{
train_departure_board('sensor.train_schedule_oxp_bit') }}