Script behavior

Hi
I have the following script (it is my first one)
Now I am testing it I see that covers don’t work. Everyting else is working ok.
What could be the fault?

go_to_bed:
  alias: Goodnight
  icon: mdi:bed-empty
  sequence:

  - service: light.turn_on
    data:
      entity_id: light.bedside_lamp   ###Bedside Lamp

  - service: homeassistant.turn_off
    data:
      entity_id:
      
        - cover.50758014840d8e91f036   #Window Erker
        - cover.50758014840d8e91f4fd   #Window Trapezaria
        - cover.50758014840d8e91eaa2   #Window Bedroom
        - cover.50758014840d8e918632   #Window Kid
        #- delay: '00:00:01'

        - media_player.lg_tv_webos
        #- delay: '00:00:01' 
        
        - climate.living_room_ac       #Living AirCon
        
        #- delay: '00:00:01'
        - switch.sonoff_10001bb5c7     #Floorlight
        - switch.book_2                #Book1
        - switch.book_and_door_book_2  #Book2
        - light.77626641ecfabc96e072   #Dim
        - light.77626641ecfabc976395   #Dimmer
        - switch.k1_kitchen            #Kitchen 

        #- delay: '00:00:01'
        - switch.for_ekso_main_switch  #Balcony All
        - switch.for_ekso_switch_1     #Balcony 1
        - switch.for_ekso_switch_2     #Balcony 2
        - switch.kid_balcony_2         #Balcony Kid
        - switch.bedroom_balcony_2     #Balcony Master

        #- delay: '00:00:01'
        - switch.trapezaria_2          #Trapezaria
        - switch.k1_kitchen_spot       #Kitchen Spot
        - switch.book_and_door_door    #OutDoor
       

You can’t turn off a cover, so you’ll need to use one of the cover-specific services. I’m guessing you want cover.close_cover

Thanks, I look into that