#Getting error while saving new automation

1 messages · Page 1 of 1 (latest)

pine finch
#

Any idea why I am getting this error when I copy and paste the yaml from my NP++ to HA. Never happened before.
When I go to developer tool and check configuration says nothing wrong. Then I restart and the automation is visible in the list.

Thanks in advance.

teal forum
#

You might have to explain that a bit better.
What is a NP++?
Where is "to HA"?
What happens if you undo whatever that was?

#

Example: When I tell my Partner "this stuff" she gets very angry....

pine finch
#

Notepad ++ were I am editing the yaml
Then in HA I go to settings, Automations, create new automation, edit in yaml and paste there. as soon as i press save i get that error

#

I am trying to add a new automation via yaml instead of the UI

teal forum
#

Then there is a syntax error somewhere.

#

Paste it here formatted correctly, not a picture.

whole barnBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

pine finch
#

I think the issue is this line. entity_id: conversation.google_generative_ai
Since I have added it I got this problem.