blakeblackshear/frigate-hass-integration

Hide some entities by default

开放

#256 创建于 2022年5月14日

 (18 条评论) (1 个反应) (0 位负责人)Python (190 个派生)github user discovery
good first issuepending

仓库指标

星标
 (1,241 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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.

贡献者指南