blakeblackshear/frigate-hass-integration

Hide some entities by default

Open

#256 opened on May 14, 2022

 (18 comments) (1 reaction) (0 assignees)Python (188 forks)github user discovery
good first issuepending

Repository metrics

Stars
 (1,235 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Is your feature request related to a problem? Please describe.

The Frigate integration provides lots of entities, so that we can automate everything we want. But, I noticed that some entities aren't exactly "user friendly" (not sure if it's the right way to call it or not), but instead only "automation friendly".

Some examples are:

  • Object specific camera entities (not the main cameras)
  • Switch entities (to turn off snapshots, recordings, etc)
  • The binary sensors for motion detection (maybe)
  • The number sensors for object counts
  • The sensors related to diagnostics

And the problem that arises because of it is:

  • Auto-generated dashboards include them all
  • My Google Assistant integration recognizes them all, but this was never meant to be, I don't want to be able to voice-control all these little entities (neither I want my Google Home dashboard cluttered by them).

Describe the solution you'd like

This is exactly what HA 2022.4 tried to solve by bringing the Hidden entities feature:

they are no longer shown on auto-generated Dashboards; they are automatically hidden from HomeKit, Alexa & Google Assistant and aren’t called when a service call targets their area.

I believe everything but the main cameras (this is debatable of course) could be hidden by default.

Describe alternatives you've considered

To hide them all myself. It's very hard though (in my installation, Frigate integration provides 339 entities).

Additional context

I would be happy to hear opinions about it.

Contributor guide