#New automation setup failed

1 messages · Page 1 of 1 (latest)

hoary pier
#

Hey. i'm new Home assistant and automation i fail to succeed at making an automation, it's simple i just want by the press of a button to turn on and off a light. But HA keep telling me "New automation setup failed" here the picture of it.
the button is an Shelly RC Button 4, the light is an KL-130 from tp-link. both are connected to HA and work on their own, but can't use them on a automation, actually i can't create a automation whatever device i use it always fail. i don't know i am doing wrong in the yalm as it is the one already made.

mode: single
triggers:
  - device_id: a8ae26d26bd0fc0bb2fb13997050e6e7
    domain: bthome
    type: button_4
    subtype: press
    trigger: device
conditions: []
actions:
  - action: light.toggle
    metadata: {}
    data: {}
    target:
      entity_id: light.lampe_salon``` 

if anyone can help me know what am i doing wrong i will be so grateful.

ps: i look and i don't have anything in the log and Ha is on Truenas witch is not throttled in anyway.
golden inlet
#

Can you or switch your language to English (just for the screenshot)? Or at least a copy-paste of the error so I can translate it?

I assume you just clicked together the trigger?

hoary pier
#

Hey yes or course i can do it here :


Votre nouveau automatisation a été enregistré, mais le délai d'attente pour sa configuration a expiré. Cela peut être dû à des erreurs lors de l'analyse de votre configuration.yaml, veuillez vérifier la configuration dans les outils de développement. Votre automatisation ne sera pas visible tant que cela n'aura pas été corrigé et que automatisations ne seront pas rechargés. Les modifications apportées à la pièce, à la catégorie ou aux étiquettes n'ont pas été enregistrées et doivent être réappliquées.```

This is the google translated one 

```Installation of new automation failed

Your new automation has been saved, but the timeout for its configuration has expired. This may be due to errors parsing your .yaml configuration; please review the configuration in the developer tools. Your automation will not be visible until this is corrected and automations are reloaded. Changes made to the part, category, or tags have not been saved and must be reapplied.```


Edit: i can send a small video of what i am doing.
golden inlet
#

Can you run the yaml verification (Dev tools => Yaml => Check configuration)?

hoary pier
#

I did it i did not change a thing 😦

golden inlet
#

But did it verify okay or not?

flat moss
#

I've seen this as well, but when I had it, the automation was actually created and working

hoary pier
golden inlet
#

I asked to click Check configurationm not restart 😄 Although a restart does not hurt.

But logs is always a good idea!

hoary pier
#

ill take a video

hoary pier