Erreur automation

Hi,
New to HA, il tried to create an automation, and get this error

Logger: homeassistant.config
Source: config.py:508
First occurred: 10:16:14 (3 occurrences)
Last logged: 10:16:14

Invalid config for [automation]: Service script.Aspirateur_démarré does not match format <domain>.<name> for dictionary value @ data['action'][0]['service']. Got None. (See /config/configuration.yaml, line 13).
Invalid config for [automation]: Service script.Aspirateur_arrêt does not match format <domain>.<name> for dictionary value @ data['action'][0]['service']. Got None. (See /config/configuration.yaml, line 13).
Invalid config for [automation]: Service script.Aspirateur_bloqué does not match format <domain>.<name> for dictionary value @ data['action'][0]['service']. Got None. (See /config/configuration.yaml, line 13).

The automation

- id: vacuum_notifications_clean
  alias: Vacuum Clean
  trigtitle: Aspirateur démarre
    plmessage: Démarrage à {{ now().strftime('%Y-%m-%d %H:%M:%S') }}
- id: vacuum_notifications_stops5
  alias: Vacuum Stop
  trigger:
    platform: state.Aspirateur_démarré
    entity_id: roborock_vacuum_s5
    to: returningrateur démarre
  action:sage: Démarrage à {{ now().strftime('%Y-%m-%d %H:%M:%S') }}
- idservice: script.Aspirateur_arrêt
  aldata_template:op
  trigtitle: Aspirateur arrêtée
    plmessage: Stoppé à {{ now().strftime('%Y-%m-%d %H:%M:%S') }} }}
- id: vacuum_notifications_error5
  alias: Vacuum ERROR
  trigger:
    platform: state.Aspirateur_arrêt
    entity_id: roborock_vacuum_s5
    to: errorAspirateur arrêté
  action:sage: Stoppé à {{ now().strftime('%Y-%m-%d %H:%M:%S') }}
- idservice: script.Aspirateur_bloqué
  aldata_template:ROR
  trigtitle: Aspirateur bloqué
    plmessage: Bloqué à {{ now().strftime('%Y-%m-%d %H:%M:%S') }}

The script

aspirateur_arret:
  alias: Aspirateur arrêt
  sequence:
  - device_id: e73de7bf1999dd26129f38031eac0aca
    domain: mobile_app
    type: notify
    message: Aspirateur arrêt
    title: Aspirateur arrêt
  - device_id: 17c52565ea2e5212f674b6a2c4138a7d
    domain: mobile_app
    type: notify
    message: Aspirateur arrêt
    title: Aspirateur arrêt
  mode: single
  icon: mdi:account

Those are … an interesting mess. Are those what you actually have, or did you just make a mistake pasting them here?

There are so many problems with it I’m not even going to begin until I know if that’s the actual automations you wrote (if so please do read the automation docs), or if something went wrong (in which case please paste the actual automations).

I’m guessing ChatGPT generated gibberish.

1 Like

Based on what others have posted from ChatGPT you could well be right.

Im on my Phone so its possible ^^,
I will check everything tonight and report back.
But yes i did create everything in the interface, not directly in yaml

What interface? Because none of that came out of Home Assistant itself.

1 Like