Dynamic Showing/Hiding of Sensors

Hi,

have found some references to hiding device trackers, etc, but not for actual sensors.

I am trying to do:

  • In the front end, within a group
  • Group membership many sensors
  • Only show the sensors that have X value
  • Hide sensors that have Y value

Does anyone have any ideas?

Thanks,

Tad.

This can be done with custom_ui fairly easily.

try

  customize:
    group.active:
      templates:
        entity_id: "return Object.keys(entities).filter(key => entities[key].state === 'on'"
1 Like