Help with Template Sensor

I am trying to create a template sensor that mirrors action of another sensor.
I setup template sensor for 2nd sensor.
I see the sensor in frontend, but it does not switch ON/OFF . No errors show in log.

 platform: template
  sensors:
    binarymotion:
      value_template: >-
        {% if is_state("binary_sensor.living_room_motion", "off") %}
        off
        {% elif is_state("binary_sensor.living_room_motion", "on") %}
        on
        {% endif %}
      friendly_name: 'binarymot'
      sensor_class: motion
      entity_id:
        - binary_sensor.living_room_motion

EDIT:
Just to add more detail.
I am using Eventstrem component to link two HA instances on RasPi and Synology Docker. Eventstream entities are not persistent. When you initially bring up web interface they do not appear. Sensors only appear after being reported with Web Interface up. I planned to use template sensor to keep sensor showing in interface.
When I use the config above, I see the sensor but it will not switch ON/OFF.
I changed to below and it worked, but not as expected. Instead of two separate sensors, I have one sensor that works as desired.

 platform: template
  sensors:
    living_room_motion:
      value_template: >-
        {% if is_state("binary_sensor.living_room_motion", "off") %}
        off
        {% elif is_state("binary_sensor.living_room_motion", "on") %}
        on
        {% endif %}
      friendly_name: 'Living Room'
      sensor_class: motion
      entity_id:
        - binary_sensor.living_room_motion

I have more questions after getting it working but for now would like comments on above.