Button --> Cover Template --> Script doesn't work anymore - Update Issue?

Hi Community,

I have configured a cover template for opening my gate (shelly switch) which worked without any issues for a long time.

### - - - GATE - - - ###

  - platform: template
    covers:
      gate:
        unique_id: aaa_bbb_ccc
        friendly_name: "Gate"
        value_template: "{{ states('binary_sensor.fritz_dect_1_alarm')|regex_replace('on','open')|regex_replace('off','closed') }}"
        open_cover:
          - service: script.gateopenclose
        close_cover:
          - service: script.gateopenclose
            
        icon_template: >-
          {% if states('binary_sensor.fritz_dect_1_alarm') == "on" %}
            mdi:gate-open
          {% else %}
            mdi:gate
          {% endif %}  
          

alias: GateOpenClose
sequence:
  - service: cover.open_cover
    data: {}
    target:
      entity_id: cover.shellyswitch25_10521cf977cc
  - service: automation.trigger
    data:
      skip_condition: true
    target:
      entity_id: automation.statusbar_gate_moving
mode: single
icon: mdi:gate-open

But since today I get the following error message in the Lovelace UI and it doesn’t work anymore,

Service script.gateopenclose called service cover.open_cover which was not found.

The log shows the following:

Logger: homeassistant.helpers.script.gate
Source: helpers/script.py:1805
First occurred: 18:26:52 (1 occurrences)
Last logged: 18:26:52

Gate: Error executing script. Service not found for call_service at pos 1: Service script.gateopenclose not found.

The only difference I can think of is a recent update of HA I did. My current version is:

Core
2024.2.3
Supervisor
2024.02.0
Operating System
11.5
Frontend
20240207.1

If I run the script manually, everything works fine.

For any support I would be very thankful. Thanks.

Problem solved. I renamed the script alias and was thinking that also renames the script itself…