#Error: must contain at least one of entity_id, device_id, area_id, floor_id, label_id.

1 messages · Page 1 of 1 (latest)

lofty summit
#

Okay this worked before. Why does it say that?
must contain at least one of entity_id, device_id, area_id, floor_id, label_id.
But there is a device?

atomic stone
#

Are you sure it's that one, not one of the other parts of the automation? Put it in YAML mode and copy and paste it here between 2 sets of ```

Like this
lofty summit
#

Hi 🙂 Not totally sure :)```alias: Test vand
description: ""
triggers:

  • type: moist
    device_id: aada74b15891636ecd27c7cb0d1d8674
    entity_id: dff7d5ed298a9cece61a670521c7405c
    domain: binary_sensor
    trigger: device
    conditions: []
    actions:
  • action: notify.send_message
    metadata: {}
    data:
    message: Test vand
    mode: single````
atomic stone
#

Yeah your notify needs a target

#

What do you want to send the notification to?

lofty summit
#

Okay ? Dont remember i ever had that. But just to the HA app? 🙂

atomic stone
#

Ah, well the easiest is probably to change it to a persistent notification

#

That makes it show up in the side bar

lofty summit
#

Ah sorry man! It made the trick 😄

atomic stone
#

Easy mistake to make