Get my door-sensors in to hass

So, I’ve got Telldus door-switches - and I’ve integrated them to HASS but they appear as switches and I can’t really see if they’re closed or open.

As I understand I can get them to appear as binary switches and I’ve put in following in config.yaml and I’ve made groups. Whats next step?
The switches I’d like to see are named as:
switch.huvudentre__door
switch.teknikrummet_door
switch.tvattstuga_door

binary_sensor:

  • platform: template
    sensors:
    movement:
    device_class: motion
    value_template: “{{ is_state(‘switch.movement’, ‘on’) }}”
    door:
    device_class: opening
    value_template: “{{ is_state(‘switch.door’, ‘on’) }}”