Difference in binary sensors in version core-2021.3.4 and core-2021.1.5

I combine a number of motion sensors into motion in a certain room. That worked smoothly in version core-2021.1.5. However I am migration my system from a Raspi to Synology VMM, which is build on the latest core core-2021.3.4. The individual motion sensors work fine but the combined ones don’t.

Has something changed in the binary sensor implementation or what could cause this issue?

    motion_kitchen:  
      friendly_name: "Motion - Kitchen"
      icon_template: >-
        {% if is_state('binary_sensor.motion_kitchen','off') %}
          mdi:home-account
        {% else %}
          mdi:home-outline
        {% endif %}
      value_template: >-
        "{{ is_state('binary_sensor.motion_sensor_kitchen_1','off')
        and is_state('binary_sensor.motion_sensor_kitchen_2','off')}}"

Don’t quote multiline templates. It would not have worked like that in any version.

      value_template: >-
         {{ is_state('binary_sensor.motion_sensor_kitchen_1','off')
        and is_state('binary_sensor.motion_sensor_kitchen_2','off')}}

Thanks Tom! That works