Help with adding binary_sensor.updater entity back to HA

Hello!

I have a small problem that I don’t know how to deal with. Need your help.
It seems that I have deleted binary_sensor.updater entity days ago and right now realised that it could be useful. I cannot find it anywhere and cannot add it back.

I don’t use default_config: so I have updater: in my configuration.yaml. I tried to: remove it –> restart HA –> add again –> restart HA, but binary_sensor.updater entity still won’t appear…
Any ideas?

Reference links:
https://www.home-assistant.io/docs/backend/updater/
https://www.home-assistant.io/integrations/updater/

Wait.

It can take an hour after restarting HA for the sensor to reappear.

From what I understand, sensor can be ‘unavailable’ (its status) for up to an hour. But it should be visible in HA anyways.

Anyways, I have HA running for over an hour now without a single restart. Sensor is still not visible.

Ah yeah, that’s true.

You haven’t done something like include it under homeassistant: have you?

e.g.

do this:

homeassistant:
  name: !secret name
  latitude: !secret home_lat
  longitude: !secret home_long
  elevation: 115
  unit_system: metric
  time_zone: !secret home_time_zone
  customize: !include customize.yaml

updater:

not this:

homeassistant:
  name: !secret name
  latitude: !secret home_lat
  longitude: !secret home_long
  elevation: 115
  unit_system: metric
  time_zone: !secret home_time_zone
  customize: !include customize.yam

  updater:

Heres top of my configuration.yaml. All good :confused:

config:
cloud:
history:
logbook:
mobile_app:
ssdp:
sun:
system_health:
updater:
zeroconf:

homeassistant:
  customize: !include customize.yaml

:man_shrugging: I’m out of ideas.

No prob. Thanks for trying anyway :wink:

Ok, maybe two more things,

Did you check the developer tools states menu?

Any relevant errors in the dev tools log?

Sure I did :slight_smile:

Nope :frowning:

How did you delete it?

I am not sure. I probably did that via entity registry while I was cleaning it from unused entities. I don’t even remember when.

Or are you implying that it is not possible to delete that entity?

If you manually deleted it from a file in the .storage folder from outside the UI then my guess is that it should be recreated after a restart.

Another thing to check could be that it is hidden from HA. You can hide sensors that are created by integrations. Perhaps you have ‘hidden’ it and should you revert that.

1 Like

Indeed I have just hidden this entity… I did not notice that because an option to display hidden entities was moved and I thought it was removed or something.
BTW, it’s a bad change to hide that switch/checkbox in such a place. So intuitive. My example is a good one.

Anyways many thanks for helping me out!

When you said:

I nearly asked, “even in the developer tools states menu?”

I should have.

It wasn’t there because it was hidden :slight_smile: I tripple checked it :wink:

You can’t hide entities from the developer tools states menu. Can you?

Just checked. If you hide entity from entity registry menu, it’s being hidden in dev tools states menu also.

PS That’s what also what I thought (and I’m surprised right now). And that was the reason I believed that I have permanently deleted this entity.

Oh. You are disabling the entity. Hiding is a different thing. Left over from the old states UI,

1 Like

Oops. You I right… I disabled that one.