Help with platform: template

Hi
trying to create link speed sensor with platform: template

need some help with this…
started:

  • platform: template
    sensors:
    eth1_speed:
    friendly_name: eth1 speed
    value_template: ‘{{states.binary_sensor.edgeos_interface_eth0.Link Speed (Mbps) | round}}’
value_template: "{{ state_attr('binary_sensor.edgeos_interface_eth1', 'Link Speed (Mbps)')|round(0) }}"

Also, please have a read of point 11 here: How to help us help you - or How to ask a good question