Template binary sensor always off

I’m trying to create a template binary sensor that’s “on” when an Aqara Cube is on a certain face. The template I’m trying to use evaluates correctly in the template tab in developer tools, but when used as shown below, never actually changes the resulting sensor state. What am I doing wrong?

You just need to put this on the template options:

{{ is_state ( 'sensor.new_cube_side' , '1' ) }}
1 Like

Thank you!