Warning about 'unknown entity' but can't find its origin

Today I asked for help about converting to ‘int’. And with your help, we solved it!

I did some cleanup and small modifications and suddenly I get warning about unknown entity:

Logger: homeassistant.components.homeassistant.triggers.numeric_state
Source: components/homeassistant/triggers/numeric_state.py:149
integration: Home Assistant Core Integration (documentation, issues)
First occurred: 18:07:18 (1 occurrence)
Last logged: 18:07:18

Error initializing 'websocket_api' trigger: In 'numeric_state' condition: unknown entity sensor.scraper_toca_lj

To isolate the problem I disabled and deleted some automations and interations. I even deleted the integration and sensor which is mentioned in the warning: sensor.scraper_toca_lj

Warning is… still present, despite restarting whole HA system!

My question: how can I find the place where this entity is still used?
According to warning message, I’d say it’s in one of automations (is it?). Why warning doesn’t include some more information?

I have just enabled the debug logging, but still can’t find any useful trace:

logger:
    default: info
    logs:
        homeassistant.components.notify: debug
        homeassistant.components.automation: debug

Please help me better understand a Home Assistant.

EDIT: did some further investigation. If I check ‘entities’ tab in ‘Devices and services’ I see several entities which used to exist in the past. Obviously at some point I deleted those, but not correctly…
See the photo below:

Anyway, entity who is causing the problem (entity sensor.scraper_toca_lj) is not in this list.

It’s coming from a websocket, are you using node-red?

Not to be aware of. Unless it is used natively by HA (e.g. Traces in Automations).