#Message malformed: extra keys not allowed @ data['0']

1 messages · Page 1 of 1 (latest)

neat salmon
#

hey, i created an automation usingn the gui, but it didnt save at all, i was able tor ecover the yaml and i got the erroir

Message malformed: extra keys not allowed @ data['0']

the code i got ia attached as a txt

minor flare
#

Remove the line breaks in your description.

#

description: '7am alles auf 10pm alles zu'

neat salmon
#

i cant infact create an automation at all without getting

New automation setup failed
Your new automation has saved, but waiting for it to setup has timed out. This could be due to errors parsing your configuration.yaml, please check the configuration in developer tools. Your automation will not be visible until this is corrected, and automations are reloaded. Changes to area, category, or labels were not saved and must be reapplied.

minor flare
#

Go to Developer Tools -> YAML and run a configuration check. Then go to Settings -> System -> Logs and check for errors related to your configuration.

neat salmon
minor flare
#

Try reloading automations and then check the log again.

neat salmon
minor flare
#

Then there is no issue.

#

The automations reloaded.

neat salmon
#

well

#

and i stil cant see it

#

and i still cant make a new one

minor flare
neat salmon
#

hmmm

#

copying issue

minor flare
#

it is impossible to read

neat salmon
#

1s

#

well this one now hot the new automation i tried to make in it

#

the one called new automation

minor flare
#

There are two automations there. They should be seperate.

neat salmon
#

thats what ha does when i create them trought the automations tab

#

i removed the new automation noow

minor flare
#

When you view the yaml of an automation it should only show the one automation. Something went very wrong there.

neat salmon
#

seems wireda anyways

#

this is the tree

#

and automations folder is empty

#

wich had working ones inside wich i got rid of since i dont need em

#

and the new one gets created in the yaml in the root folder

#

i tried a repull and redeploy the docker image wich did nothinh

#

now logs look like this

#

but no error in notifdications or anything

minor flare
#

Are you using the automation editor or VSCode?

neat salmon
#

the gui

minor flare
neat salmon
#

i was looking at the file structure

minor flare
#

Are you posting the yaml from the automation editor?

neat salmon
#

well

neat salmon
#

and i went to check

#

and it was saved in automation..yaml

minor flare
#

P)lease answer my question or I can't help you.

neat salmon
#

i cant see the automation in the editor at all

#

every time i try to save it or any other automation i get the error i sent before

#

ive done nothing to the automation stuff in VSC

minor flare
#

I suggest you should restore from a backup made before you wrote the automation.

neat salmon
#

forgot to setup backups

#

imma just save the lovelace stuff i made i guess and setup a new instance of hass form 0

minor flare
#

How many automations do you have?

neat salmon
#

now 0

#

cause i didnt need any i had anymore

minor flare
#

Well that's why you can't see anything in the automatiuon editor.

#

Did you delete all the yaml?

neat salmon
#

this is all i got

minor flare
#

Automations created with the automation editor are saved in config/automations.yaml not config/automations/

neat salmon
#

yes

#

thats whats happening

#

thats the file that is open

minor flare
#

So why are you talking about folders?

neat salmon
#

in that folder were the old automations that actually worked and showed up

minor flare
#

In configuration.yaml what does it say next to automation:

neat salmon
#

this does seem wrong then

minor flare
#

It is if you want to use the editor.

neat salmon
#

i assume it should say

automation: !include automations.yaml
minor flare
#

yep

#

Or you can do something like this: ```
automation: !include automations.yaml # GUI automations
automation yaml: !include automations_yaml.yaml # YAML automations

neat salmon
#

so that goes in config

#

then i can have a file for yaml ones

#

and gui ones

minor flare
#

Yes

#

You will need to restart after adding it.

neat salmon
#

oke, restarting now

#

still got that error

#

i restarted the whole system the container is running on

#

now this

minor flare
#

Did you create the second automations file?