Template binary sensor question

I’m reigniting this thread if possible…
I’m also having a template binary_sensor that seems to be not doing what I thought it would.
I’m using the legacy template binary_sensor and here is my code

binary_sensor:
  makita_batteries_charging:
    friendly_name: "Makita Batteries are Charging"
    device_class: power
    value_template: >-
      "{{ states('sensor.makita_left_consumption')|float > 25 
          or states('sensor.makita_middle_consumption')|float > 25
          or states('sensor.makita_right_consumption')|float > 25  }}"

If I paste that template into the editor, it shows true when any single charger has a battery charging and false when they are complete or no battery is charging. This is the behavior that I want, but the template binary_sensor never changes state.

This is possibly due to the change in template sensors, but I hadn’t made the switch because all my other sensors seemed to still be functioning and it would be a fair amount of work to change them all up.

Am I missing something, or do I just need to update all my template entities?

Thanks in advance.

There’s no need to update. The old way of creating template sensors is not going anywhere as the new way does not work with packages.

There’s nothing wrong with your binary_sensor definition. EDIT: Yes there is. See post below.

Where are you checking its state?

In a Lovelace card or the Developer Tools States page?

It’s not changing state in Lovelace or the states page on developer tools.

Don’t put quotes around multi-line templates (only single line templates):

    value_template: >-
      {{ states('sensor.makita_left_consumption')|float > 25 
          or states('sensor.makita_middle_consumption')|float > 25
          or states('sensor.makita_right_consumption')|float > 25  }}

Son of a gun!
That worked…Thanks a bunch.