Hide person on map or the map intergration

I have been searching for days but cannot find a solution.

I want to hide (specific) people on the map at all times but I want to use the state change home / not_home. I don’t want everyone to see where someone else is hanging out. Is this possible? I use 3 device trackers per person combined in a person.name entity. In the known_devices.yaml I have the option to change specific device trackers to hide but not a person.name entity

Another solution would be to remove the entire card integration. as far as I can see you have to remove the default.config from the configuration.yaml but then the all the integrations like (automation,
cloud, config, frontend, history, logbook, folder, mobile_app, person, script, ssdp, sun, system_health, updater, zeroconf) also lost and I don’t want that

Why is it so hard to hide a person or the map completely
someone who has a solution for this?

Make a map card in a view with only the entities you want to see.

Then remove map from the sidebar by removing map: from your configuration.

example config

views:
  - id: map
    icon: mdi:map
    title: Map
    panel: true
    cards:
      - type: map
        entities:
          - entity: zone.home
          - entity: zone.work
          - entity: device_tracker.foo
          - entity: device_tracker.bar

Thank you Petro. What I mean is hiding the map in the left menu, the intergration. I don’t have to see the map as a card on the overview page. sorry for the confusion

Unfortunately I cannot delete the map : in the config because I dont have that i use the default_config and I want to keep that except the map. Or another solution (what I ask in my first post) the possibility of not showing people on the map.

No confusion. You can’t do much with the integration map, which is why i’m pointing you in this direction.

Unfortunately this still does not lead me to a solution. I switched from Domoticz to Hass so it’s still new to me. How does making a map card in de overview (Lovelace) hide a person location from the map in the left menu map intergration?

It doesn’t.

What Petro is saying is that you have two choices…

  1. Keep using the standard left hand menu map and see all of your people on the map.

  2. stop using the “default_config:” (and enter each item normally included in it individually into the configuration.yaml) which will allow you to remove the “map:” section from your config. Then set up another map card in a view in lovelace. Then you can set only the entities you want to see on the map in the config for the card.

Yes, what @finity said. This being the take away

I’m guessing you didn’t see my configuration example which literally shows only using specific entities. Also, the link to the map card explains all this. You just need to read the documentation.

This is the first line of the map card documentation:

A card that allows you to display entities on a map.

I don’t want a map Card! I just want to get rid of the ‘map’ intergration in the left menu. I think I just have to accept that it cannot be removed just like that, when you using default_config: When removing the default_config: I miss all of the other intergrations that I really need, manually put back the intergrations in the configuration.yaml is not gonna work for all intergrations i think.

https://www.home-assistant.io/components/default_config/

1 Like

It absolutely will work. That’s the way everything worked before the “default_config:” was invented. And it still works that way right now.

I have the majority of the stuff in that list working fine and I don’t use “default_config:”. The stuff I don’t have from that list is only because I don’t need/want to use it.

It’s easy to switch back & forth so try it & find out.

1 Like

thank you very much!! adding the integrations manually was indeed easy :slight_smile: now I have everything working and left out the map: integration Thanks again!

I’m guessing you think the ‘map card’ is super tiny and just a card on the page. It is not, when combined with a panel: true view it takes up the whole page. It’s identical to the left hand side map and does exactly what you want in your original post. But instead of listening to both @finity and I, you decide to argue and make false claims about functionality. Word of advice, when you come to a forum and ask for help, read everything that people reply with instead of arguing. You literally didn’t try a single thing offered in the thread and argued instead.

Side map

replacement card map

2 Likes

wait, how can i add something to the map: integration?

By default it only adds zones and devices with GPS locations. When your items with GPS locations are at home, they will not be displayed on the map.

As stated above, to get around all this ‘not on map because I’m at home’ bs, you can configure and make your own map as a tab on the top bar (like in my example images). The map card in lovelace will allow you to add anything you want, but they need to have gps locations.

So i’ve to pull out this old topic

The only chance to hide the map of the left sidebar is to remove the default_config ?!

This is too bad because i really enjoy the benefit of the defaults and as well having some light configs.
One example:
I’ve a HA Instanz in a company with about 8 persons in totally different roles and some of them have only really really light functions in HA
But all of them see the map menu on the left side.
In this special case no one should see anything map likely at least maybe the adminstrator (me) for fast debugging or something like that.

@coen17st
May you help me out what do i’ve to put in my config instead of the default_config
Is it like a empty platform:

sun:
history:
frontend:
...

I’m just wondering why it isn’t possible to config the left sidebar out of the box.

@upwind_anderl i got these in my configuration.yaml

###### INTERGRATIONS ######
#default_config:
config:
system_health:
logbook:
mobile_app:
person:
sun:
updater:
zeroconf:
ssdp:
shopping_list:
discovery:
1 Like

nothing more?! :slight_smile:

looks pretty easy and promising
with this info i guess i take all the stuff of:

copy and paste it in yaml style and than it should work

Nope nothing more, i am only adding intergrations that i want to use. Like it clean

ah kk
But this also means it doesn’t matter how often a platform type is mentioned??! Good to know :slight_smile:
For example: I’ve alreay the platform “input_datetime” in my config but this is as well part of the default_config

But this means it makes much more sense than to add the option
“Hide from sidebar” in the map integration itself https://www.home-assistant.io/integrations/map/

sorry for bother you long time ago, but im new on this and i wonder, how you did the map card so big, i want to do that

it’s in that post

1 Like