Rhasspy in home assistant

Hi all, I’m new in home assistant. I’ve made in home assistant this automation to use the rhasspy tts
’ ’ ’

  • id: Rhasspy GetTime
    alias: Rhasspy GetTime
    mode: single
    trigger:
    • platform: event
      event_data: {}
      event_type: rhasspy_GetTime
      action:
    • service: mqtt.publish
      data:
      topic: hermes/dialogueManager/endSession
      payload_template: ‘{“sessionId”: “{{ trigger.event.data._intent.sessionId }}”, “text”: “It’s {{ states(‘entity.current_time’) }}”}’
      mode: single
      ’ ’ ’
      But I got this error
      ’ ’ ’
      bad indentation of a mapping entry (583:114)

580 | …
581 | …
582 | …
583 | … , "t

xt": “It’s {{ states(‘entity.current_time’) }}”}’
------------------------------------------^
584 | …
’ ’ ’
How can I fix this?

https://community.home-assistant.io/t/how-to-help-us-help-you-or-how-to-ask-a-good-question/114371#oneone-format-it-properly-16