errore script

script:  !include configuration.yaml

  stairs:
    sequence:
      - service: ifttt.trigger
        data: {“event”:”vetrine_on”}

Salve qualcuno mi può dire se c’è un errore di sintassi nell’inserire la voce script nel file configuration.yaml ?
mi serve per richiamare un trigger tramite il servizio webhook

Non riesco a venirne a capo, mi si blocca tutto il sistema se abilito queste righe

Grazie

No clue what you are saying. Sorry. But, these are bad:

  stairs:
    sequence:
      - service: ifttt.trigger
        data: {“event”:”vetrine_on”}
               ^     ^ ^          ^
               |     | |          |

change to

  stairs:
    sequence:
      - service: ifttt.trigger
        data: {"event":"vetrine_on"}
1 Like

As this community is mainly english speaking you might have a better chance to get help if you write your post in english.

Google Translate from Italian:

Hi, can anyone tell me if there is a syntax error in inserting the script entry in the configuration.yaml file?
I need to call a trigger via the webhook service

I can not get through, I crashed the whole system if I enable these lines

Thank you

@petro nailed it. the pretty unicode quotation marks are the cause.

Additionally though ,if this is in your configuration.yaml, you can’t !include configuration.yaml inside. For all I know (I’m new), you CAN, but it doesn’t make sense.

thank you, this was precisely the mistake that eluded me.

1 Like