this post was submitted on 14 Jan 2024
12 points (100.0% liked)

homeassistant

12055 readers
45 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

Sometimes some of my automations don't trigger, so when I look at the trace to find out why, I'll see something like unknown entity. Does anyone know what's happening and how to fix it?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 10 months ago (7 children)

See that's the weird thing. I haven't removed or renamed any devices and most of the time everything works, but once in awhile I get these errors.

[–] [email protected] 3 points 10 months ago* (last edited 10 months ago) (6 children)

Once I had devices that replaced entities with new ones with a different ID after a firmware update. It happened to some ESPHome devices I had after upgrading the firmware. Have you checked the device the entity belongs to?

[–] [email protected] 2 points 10 months ago (5 children)

Yup, once I manually trigger the automations, everything starts working again

[–] [email protected] 2 points 9 months ago (1 children)

Very strange. Are you yaml based or automatic builder based? Can you post your code/screen shots?

[–] [email protected] 1 points 9 months ago* (last edited 9 months ago) (1 children)

Automatic builder. Just had it happen again

alias: Illuminate Bathroom
description: ""
trigger:
  - type: occupied
    platform: device
    device_id: 59772f660e8f058102f9e94a02403969
    entity_id: d4e7dc31bf50b3a2302c611bbf16bc94
    domain: binary_sensor
condition:
  - type: is_illuminance
    condition: device
    device_id: 59772f660e8f058102f9e94a02403969
    entity_id: c192872a4d9f435658f8e84c4ad110b5
    domain: sensor
    below: 1200
  - type: is_motion
    condition: device
    device_id: 0ae8165edc6622b670e24f99a7911c07
    entity_id: 2314ba20932943fdb166814cfa6156b0
    domain: binary_sensor
action:
  - service: switch.turn_on
    metadata: {}
    data: {}
    target:
      device_id: bd72cd3e24be2facbf8e6bf459e93b09
mode: single

[–] [email protected] 1 points 9 months ago (1 children)
[–] [email protected] 2 points 9 months ago (1 children)

Have you looked at your logs to see if anything looks fishy? Check your main logs but also the logs in your zigbee integration

Also it may be time to submit it as a bug.

[–] [email protected] 1 points 9 months ago

So I've been going through whatever the search engines would throw at me and it seems some people have become so accustomed that they have automations to send alerts. I'm gonna try and track down more info so I can file a decent bug. Hopefully they squash it for once and for all.

load more comments (3 replies)
load more comments (3 replies)
load more comments (3 replies)