While
{{states.sensor.last_room_motion.state}}
returns
motion_bedroom_all
{{ is_state('states.sensor.last_room_motion.state', 'motion_bedroom_all')}}
returns
false
I expect true
What am I doing wrong?
While
{{states.sensor.last_room_motion.state}}
returns
motion_bedroom_all
{{ is_state('states.sensor.last_room_motion.state', 'motion_bedroom_all')}}
returns
false
I expect true
What am I doing wrong?
{{ is_state('sensor.last_room_motion', 'motion_bedroom_all') }}