Service called service-script which was not found

Hey there,
i want to integrate a Button with mushroom that calls a service.
the script is in my scripts.yaml file but when i press the button i get an error message which is:

Dienst input_datetime.buro_manual_start_time_plus hat den Dienst script.buro_manual_start_heating_set_time_script_plus aufgerufen, der nicht gefunden wurde.
i allready searched several hours but did not find my mistake that causes the error.
Does anyone of you see the problem in my code?
I am relatively new to HA and yaml code and i realy appreciate any help.
Thanks in advance

type: custom:stack-in-card
  - type: custom:mushroom-entity-card
    entity: input_boolean.buro_manual_start_enable
    fill_container: false
    secondary_info: none
    name: Büro Heizstart
  - type: custom:mushroom-chips-card
      - type: template
        icon: mdi:minus
          action: call-service
          service: script.buro_manual_start_heating_set_time_script_minus
      - type: template
        entity: input_datetime.buro_manual_start_time
        content: >-
          {{(state_attr('input_datetime.buro_manual_start_time','timestamp')) |
          timestamp_custom('%H:%M', false) }}
      - type: template
        icon: mdi:plus
          action: call-service
          service: script.buro_manual_start_heating_set_time_script_plus
    alignment: center
      style: |
        ha-card {
          margin: 0px 12px 12px;
          --chip-background: rgba(var(--rgb-disabled), 0.15);
          --chip-box-shadow: none;
          --chip-border-radius: 12px;
          --chip-height: 42px;
          --chip-padding: 24px;

    service: input_datetime.buro_manual_start_time_minus
      time: >-
        + timedelta(minutes=-15))| timestamp_custom('%H:%M', false) }}
      entity_id: input_datetimr.buro_manual_start_time
    service: input_datetime.buro_manual_start_time_plus
      time: >-
        + timedelta(minutes=+15))| timestamp_custom('%H:%M', false) }}
      entity_id: input_datetime.buro_manual_start_time

Does the script appear when you search for it in Developer Tools → Services (scripts are services).

If not, did you reload scripts after creating them (or restart home assistant)?

I do reload the config After each yaml change.
Also i can find the Scripts Displays at Automations → Scripts

And under developertools → Services it also appears.

But when i click on Execute Service it says that the Service is not found. Im a bit confused.

In your scripts:

That is not a valid service.

You probably want:

service: input_datetime.set_datetime

Oh wow, i knew it would be something small i messed up.
A big thanks for your help

1 Like