How do I hide discovered devices/IPs/MAC

Hi all,

I have ALOT of devices being shown at the top of HA - all showing up as MAC addresses, and I have gone into the “known_devices.yaml” file and edited the entries to be a bit more friendly:

00231d314bc5:
hide_if_away: false
icon:
mac: 00:23:1D:31:4B:C5
name: MAIN PC
picture:
track: true
vendor: GIGA-BYTE TECHNOLOGY CO.,LTD.

My question is, how on earth do I hide this device without disabling discovery of new devices?

I have tried this with no result, still showing up “configuration.yaml”:

device_tracker:

  • platform: nmap_tracker
    hosts: 192.168.0.1/24
    home_interval: 30
    consider_home: 180
    track_new_devices: yes
    exclude:
    • 192.168.0.1
      device_tracker.00231d314bc5:
      hidden: true

Anyone have any ideas?

Take a look at the customize docs, specifically the hidden option. Setting a entity to hidden:true will prevent it from showing.

You and also setup static IPs for the devices you actually want to track and only track that range of IPs.

Thank you for the reply!

OK, I had a look at the link, and I am sure I am missing something - in my configuration.yaml file I did this:

homeassistant:

Name of the location where Home Assistant is running

name: SOMENAME

Location required to calculate the time the sun rises and sets

latitude: 12.123
longitude: 12.123

Impacts weather/sunrise data (altitude above sea level in meters)

elevation: 0

metric for Metric, imperial for Imperial

unit_system: metric

Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones

time_zone: Europe/London
customize:
** device_tracker.00231d314bc5:**
** hidden: true**

I am not sure I have the right entity, the above device_tracker.00231d314bc5 has been taken from the Developer Tools, Current Entities page. Is this right?

I considered the static IP route, but there are two devices that I cannot set static IPs for and would really prefer to do it the right way, any ideas?

I tried the above but no change. Any ideas?

I answered the question:

You can do it via the GUI - Configuration | Customization and then override.

The reason I could not see the changes, is because I am using a seperate costomize.yaml file and the changes you make in the GUI is written to the file!

Pretty Cool!

Thanks!

You can also set track: false for the device in your known_devices.yaml file.

I have absolutely no idea what your answer means…I want to hide device that are always home, I want to show only mobile devices. Can you elaborate on your solution please.

Thanks!

This thread is ancient but I’m going to reply because I was recently looking for a solution to hiding devices after adding the netgear integration. And i know how frustrating searching for information can be.

each device connected to my router appeared in the known_devices.yaml file. I changed track: true to false and restarted. this seems to hide them from everything in the HA UI.

pixel_1:
  name: OG Pixel
  mac: XX:XX:XX:XX:XX:XX
  icon:
  picture:
  track: false