Unable to find referenced entities

Hi, I see a couple of warnings in my log after “Starting Z-Wave network…”

WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities switch.master_bathroom_lights
WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities switch.living_room_plant_plugin_outlet

I see both of these entities listed under configuration entities, and they working properly in Lovelace.

Any ideas why these two are generating a warning, and all of my others are fine?

Thanks,

Bill

I am getting the same warnings after updating to 0.106.2 as well. For both WIFI switches and IKEA Trådfri entities.

I should have mentioned that too. I was previously on 0.105.5 and didn’t see these warnings. Only when I went to 0.106.1 did they appear.

I see the same issue but with some of my Lutron light switches. My switches work through lovelace but not through automations.

Can confirm same warning for one of my Zwave Climate entities. no warning in 0.105. So started from 0.106. have anyone created a bug report?
Only get this warning once when starting Home Assistant.

warnings aren’t errors :wink:

Yes you are correct :slight_smile: Edited to warning now :smiley:

I didn’t create a bug report because I assume that there is just something in my configuration that’s not quite right. I just want someone to tell me what to look for.

It’s most likely change based on the reorganization that’s going on with unknown entities. If they only appear at startup and don’t litter your logs, there’s nothing to worry about.

Do you have any automations that invoke service calls using those entities? On startup automations may be triggered, and if the z-wave entities are not yet available, I would guess it’s printing the warning.

I don’t have any Home Assistant automations. I use Node-Red for all of my automation.

Doesn’t have to be HA automations. Anything that makes a service call before the Z-Wave network is ready, I am presuming. It sounds like the log messages were added for service calls, which is why I mentioned it.

That makes sense. I did a test. I shutdown Node-Red and then restarted HA. I didn’t get the warning messages. Thank you.

1 Like

I experience the same problem with insteon-mqtt light.
This is happening in automation script, when the trigger check a light status

  trigger:
  - entity_id: switch.l1_portique_banquette
    platform: state
    to: 'off'

I received the following message every time I switch off

2020-03-09 19:42:59 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities switch.l1_portique_banquette
2020-03-09 19:43:04 WARNING (MainThread) [homeassistant.helpers.service] Unable to find referenced entities switch.l1_portique_banquette

Nevermind, found my mistake and a good reason to go in bed

I was getting this error as well. Turning off SSL/TLS proxy stop it.

Can you elaborate?