"Entity not found" in default Overview dashboard

I have a couple items on the default Overview dashboard that are showing as “Entity not found”. Typically, these are removed automatically as this Overview dashboard is not user managed. Is there a way to remove these?

I have never seen the default dashboard, but it should work like other dashboards. Click on the pencil icon (top right), edit the card and delete the missing entity.

In the long run, you should venture into making your own personal dashboard.

Does it clear up if you either:

  • Reload the dashboard (F5)
  • Restart home assistant?

I think you can dump the whole autogenerated config by this command in the browser console, maybe you can try that and look at what it returns (or paste it here), may give a clue to what entity it thinks should be there:

document.querySelector("body > home-assistant").shadowRoot.querySelector("home-assistant-main").shadowRoot.querySelector("ha-drawer > partial-panel-resolver > ha-panel-lovelace").shadowRoot.querySelector("hui-root").config

No it doesn’t. You first need to 'take control ’ before you can edit the autogenerated dashboard.

The default dashboard doesn’t work like other dashboards. You can’t edit or delete entities since it’s all automatically managed.

I do have my own dashboards but this is just an issue I’ve ignored for a while but wanted to see if maybe there’s a solution out there for it.

Thanks for the suggestion. When I use that command, I’m not seeing anything pointing to which entity it might be. This has been an issue for 6+ months so I’ve reloaded and restarted home assistant many times but they persist.

Can you post the views object that it returns?

Or you can just look through it for the card titled Lights and see what entities are in the card.

There’s nothing in views object that points to the Lights card. This is using the Safari web inspector console:

document.querySelector("body > home-assistant").shadowRoot.querySelector("home-assistant-main").shadowRoot.querySelector("ha-drawer > partial-panel-resolver > ha-panel-lovelace").shadowRoot.querySelector("hui-root").config

< Object = $1

views: Array (1)
0
Object

strategy: {type: "original-states"}

Object Prototype

Array Prototype

at()

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "at"

Function Prototype

concat(value, ...)

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "concat"

Function Prototype

constructor: function()

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

from(arrayLike, [mapFunction], [thisArg])

fromAsync()

isArray(object)

length: 1

name: "Array"

of([...values])

prototype: [] (0)

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

from(arrayLike, [mapFunction], [thisArg])

fromAsync()

isArray(object)

length: 1

name: "Array"

of([...values])

prototype: [] (0)

Function Prototype

Function Prototype

copyWithin(targetIndex, startIndex, [endIndex=length])

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 2

name: "copyWithin"

Function Prototype

entries()

Symbol(src)_1.m844edln5x: "function entries() {↵    [native code]↵}"

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 0

name: "entries"

Function Prototype

every(callback, [thisArg])

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "every"

Function Prototype

fill(value, [startIndex=0], [endIndex=length])

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "fill"

Function Prototype

filter(callback, [thisArg])

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "filter"

Function Prototype

find(callback, [thisArg])

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "find"

Function Prototype

findIndex(callback, [thisArg])

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "findIndex"

Function Prototype

findLast(callback, [thisArg])

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "findLast"

Function Prototype

findLastIndex(callback, [thisArg])

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "findLastIndex"

Function Prototype

flat()

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 0

name: "flat"

Function Prototype

flatMap()

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "flatMap"

Function Prototype

forEach(callback, [thisArg])

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "forEach"

Function Prototype

group()

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "group"

prototype: undefined

Function Prototype

includes(searchValue, [startIndex=0])

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "includes"

Function Prototype

indexOf(searchValue, [startIndex=0])

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "indexOf"

Function Prototype

join([separator=","])

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "join"

Function Prototype

keys()

Symbol(src)_1.m844edln5x: "function keys() {↵    [native code]↵}"

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 0

name: "keys"

Function Prototype

lastIndexOf(searchValue, [startIndex=length])

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "lastIndexOf"

Function Prototype

length: 0
No Properties

map(callback, [thisArg])

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "map"

Function Prototype

pop()

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 0

name: "pop"

Function Prototype

push(value, ...)

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "push"

Function Prototype

reduce(callback, [initialValue])

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "reduce"

Function Prototype

reduceRight(callback, [initialValue])

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "reduceRight"

Function Prototype

reverse()

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 0

name: "reverse"

Function Prototype

shift()

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 0

name: "shift"

Function Prototype

slice([startIndex=0], [endIndex=length])

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 2

name: "slice"

Function Prototype

some(callback, [thisArg])

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "some"

Function Prototype

sort([compareFunction])

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "sort"

Function Prototype

splice(startIndex, [deleteCount=0], ...itemsToAdd)

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 2

name: "splice"

Function Prototype

toLocaleString()

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 0

name: "toLocaleString"

Function Prototype

toReversed()

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 0

name: "toReversed"

Function Prototype

toSorted()

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "toSorted"

Function Prototype

toSpliced()

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 2

name: "toSpliced"

Function Prototype

toString()

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 0

name: "toString"

Function Prototype

unshift()

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 1

name: "unshift"

Function Prototype

values()

Symbol(src)_1.m844edln5x: "function values() {↵    [native code]↵}"

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 0

name: "values"

Function Prototype

with()

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 2

name: "with"

Function Prototype

Symbol(Symbol.iterator)()

Symbol(src)_1.m844edln5x: "function values() {↵    [native code]↵}"

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

length: 0

name: "values"

Function Prototype

Symbol(Symbol.unscopables): Object

at: true

copyWithin: true

entries: true

fill: true

find: true

findIndex: true

findLast: true

findLastIndex: true

flat: true

flatMap: true

group: true

includes: true

keys: true

toReversed: true

toSorted: true

toSpliced: true

values: true

at: true

copyWithin: true

entries: true

fill: true

find: true

findIndex: true

findLast: true

findLastIndex: true

flat: true

flatMap: true

group: true

includes: true

keys: true

toReversed: true

toSorted: true

toSpliced: true

values: true

Object Prototype

__defineGetter__(propertyName, getterFunction)

__defineSetter__(propertyName, setterFunction)

__lookupGetter__(propertyName)

__lookupSetter__(propertyName)

constructor: function()

hasOwnProperty(propertyName)

isPrototypeOf(property)

propertyIsEnumerable(propertyName)

toLocaleString()

toString()

valueOf()

__defineGetter__(propertyName, getterFunction)

__defineSetter__(propertyName, setterFunction)

__lookupGetter__(propertyName)

__lookupSetter__(propertyName)

constructor: function()

hasOwnProperty(propertyName)

isPrototypeOf(property)

propertyIsEnumerable(propertyName)

toLocaleString()

toString()

valueOf()

Object Prototype

__defineGetter__(propertyName, getterFunction)

__defineSetter__(propertyName, setterFunction)

__lookupGetter__(propertyName)

__lookupSetter__(propertyName)

constructor: function()

arguments: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

assign(target, ...sources)

caller: TypeError: 'arguments', 'callee', and 'caller' cannot be accessed in this context.

create(prototype, [propertiesObject])

defineProperties(object, properties)

defineProperty(object, propertyName, descriptor)

entries()

freeze(object)

fromEntries()

getOwnPropertyDescriptor(object, propertyName)

getOwnPropertyDescriptors()

getOwnPropertyNames(object)

getOwnPropertySymbols(object)

getPrototypeOf(object)

groupBy()

hasOwn()

is(value1, value2)

isExtensible(object)

isFrozen(object)

isSealed(object)

keys(object)

length: 1

name: "Object"

preventExtensions(object)

prototype: {}

seal(object)

setPrototypeOf(object, prototype)

values()

Function Prototype

hasOwnProperty(propertyName)

isPrototypeOf(property)

propertyIsEnumerable(propertyName)

toLocaleString()

toString()

valueOf()

Ah my bad you’re right, I was looking at my wrong dashboard. How about this instead:

document.querySelector("body > home-assistant").shadowRoot.querySelector("home-assistant-main").shadowRoot.querySelector("ha-drawer > partial-panel-resolver > ha-panel-lovelace").shadowRoot.querySelector("hui-root").shadowRoot.querySelector("#view > hui-view")._layoutElementConfig

I was able to find the entity using that command:

  • light.desk_ambient_lights

I have two entities that are from my Hue integration called:

  • light.desk_ambient_light
  • light.desk_lightstrip.

I think at some point I had these two grouped into a single entity called light.desk_ambient_lights (with an s), but seems to have since been removed or deleted, but it’s still trying to show up on the default Dashboard. The odd part is neither of the two entities mentioned above from the Hue integration show up under the Lights card, but do show up under the specific room card (all of my other lights show up both in the Lights card and their respective rooms).

If I create a new Overview dashboard, the same issue happens. Searching for those entities, they don’t exist so it’s almost like there’s a reference to them somewhere that Home Assistant is still pulling from but they don’t actually exist.

Sounds like it’s still in your entity registry maybe, you’re sure it’s not visible in the config/entities panel?

Is anything found by either of these commands?

document.getElementsByTagName("home-assistant")[0].hass.entities['light.desk_ambient_lights']
document.getElementsByTagName("home-assistant")[0].hass.states['light.desk_ambient_lights']

Ah I think I figured it out. A long time ago I created two groups, group.lights and group.doors_and_windows (can’t remember exactly why). Both of those groups had the entities that were causing the issue, and it seems the default Dashboard will show those groups. The weird part is when I searched for those groups and opened it up (pop up view), those entities that no longer existed didn’t show up but on the default Dashboard they do with the “Entity not found”.

Appreciate the help! Figuring out which entities were the issue allowed me to quickly figure out what the issue was.