Garage cover via USB(serial)

Im using basic template cover for my garage door:

cover:
  - platform: template
    covers:
      garage_door:
        device_class: garage
        friendly_name: "Garage Door"
        value_template: "{{ states('sensor.garage_door')|float > 0 }}"
        open_cover:
          service: script.open_garage_door
        close_cover:
          service: script.close_garage_door
        stop_cover:
          service: script.stop_garage_door

Door is controlled by sending command to serial port(USB); /dev/ttyUSB0.
Commad for opening/closing is : ā€œ10,POWER1=Pā€.
How to implement this?