Automation error - "Message malformed: Integration '' not found"

Hi All,

Is there something wrong with HA?. I’ll explain. I have a PI4 with SSD and HA .
I have four automations running, I tried to make another one. When I want to save, I get this message:

“Message malformed: Integration ‘’ not found”

Ive switched recently from SD-card to SSD-disk, so I thought that that was the reason. Switched them back, no luck, same error.

So I installed a fresh HA on a USB-stick, same error (Raspberry PI imager)
Installed a fresh DietPi with HA, same error
Downloaded the OVA, dragged in ESXI, started HA, tried to add and save a automation, same error.
Installed clean HA on USB-Stick (Balena(https://github.com/home-assistant/operating-system/releases/download/6.6/haos_rpi3-64-6.6.img.xz)), same error

At this point I have three versions running of HA (ESXI, Pi3 en Pi4), all with the same anoying error.
The ESXI and Pi3 have NO integration, still the error pops up

I did a sweep on the forum for identical problems, but didnt find any
If anyone knows a solution, I’m open for suggestions

Hi there, please share the automation yaml. Only analyzing it would help us spot the problem.

- id: "1632561608749"
  alias: Woonkamer Lampen Aan @ Dusk
  description: ""
  trigger:
    - platform: sun
      event: sunset
      offset: -00:25:00
  condition: []
  action:
    - service: switch.turn_on
      target:
        device_id: 0c760f84c33ec32a2f62be00a7774ee7
    - service: switch.turn_on
      target:
        device_id: e38e427df2ddac975a72ae8e2dd24b7f
    - service: switch.turn_on
      target:
        device_id: 84fb7e814fd479a98592fc5b23dc9d19
    - service: switch.turn_on
      target:
        device_id: dc3b418c2d30b3ff74d773b21af955f8
  mode: single
- id: "1632563333582"
  alias: Woonkamer Lampen Uit @ 1
  description: ""
  trigger:
    - platform: time
      at: 01:00:00
  condition: []
  action:
    - type: turn_off
      device_id: 0c760f84c33ec32a2f62be00a7774ee7
      entity_id: switch.m3_cloud_940816
      domain: switch
    - type: turn_off
      device_id: dc3b418c2d30b3ff74d773b21af955f8
      entity_id: switch.m3_cloud_939522
      domain: switch
    - type: turn_off
      device_id: e38e427df2ddac975a72ae8e2dd24b7f
      entity_id: switch.m3_cloud_625955
      domain: switch
    - type: turn_off
      device_id: 84fb7e814fd479a98592fc5b23dc9d19
      entity_id: switch.m3_cloud_959427
      domain: switch
  mode: single
- id: "1635521116056"
  alias: Woonkamer Lampen Aan Lux < 6
  description: ""
  trigger:
    - platform: numeric_state
      entity_id: sensor.lightlevel_8
      below: "5"
  condition:
    - condition: time
      before: "17:00:00"
      after: "11:00:00"
  action:
    - type: turn_on
      device_id: dc3b418c2d30b3ff74d773b21af955f8
      entity_id: switch.m3_cloud_939522
      domain: switch
    - type: turn_on
      device_id: e38e427df2ddac975a72ae8e2dd24b7f
      entity_id: switch.m3_cloud_625955
      domain: switch
    - type: turn_on
      device_id: dc3b418c2d30b3ff74d773b21af955f8
      entity_id: switch.m3_cloud_939522
      domain: switch
    - type: turn_on
      device_id: 0c760f84c33ec32a2f62be00a7774ee7
      entity_id: switch.m3_cloud_940816
      domain: switch
  mode: single
- id: "1635521888148"
  alias: Woonkamer Uit Lux > 15000
  description: ""
  trigger:
    - platform: numeric_state
      entity_id: sensor.lightlevel_8
      attribute: daylight
      above: "15000"
  condition: []
  action:
    - type: turn_off
      device_id: 0c760f84c33ec32a2f62be00a7774ee7
      entity_id: switch.m3_cloud_940816
      domain: switch
    - type: turn_off
      device_id: dc3b418c2d30b3ff74d773b21af955f8
      entity_id: switch.m3_cloud_939522
      domain: switch
    - type: turn_off
      device_id: e38e427df2ddac975a72ae8e2dd24b7f
      entity_id: switch.m3_cloud_625955
      domain: switch
    - type: turn_off
      device_id: 84fb7e814fd479a98592fc5b23dc9d19
      entity_id: switch.m3_cloud_959427
      domain: switch
  mode: single

please paste the code between ``` so that it will be represented as code and not text. Also among this which is the automation that you are having issue with.

The issue is that if I want to save a new automation I get the same error (on all devices)…

" Message malformed: Integration ‘’ not found "

The issue is something in the code. Just do lie this, after building the automation, on the right hand top there is 3 dots(settings) click on it and there would be an option “Edit as Yaml”, click it and copy the code and paste it between ```

1 Like

For anyone else finding this: Here is one possible cause:
When you create a new automation, it adds an empty Trigger. If you dont fill those fields, you will get that quite confusing error message on save. If you dont want to specify a trigger for your new automation, delete the trigger field before trying to save.

EDIT: That same error message is shown any time there’s a validation error with the form you’re submitting, such as trying to save a yaml code snippet with syntax errors.

4 Likes

That is some seriously obscure error message handling.
Thanks Chris for the useful info.