esphome / feature-requests

ESPHome Feature Request Tracker
https://esphome.io/
422 stars 27 forks source link

tag and filter esphome devices #1378

Open lein1013 opened 3 years ago

lein1013 commented 3 years ago

Describe the problem you have/What new integration you would like

Since I use esphome already quite a long time, I already have a lot of devices, some are productive, some only quick tryouts or still in development. esphome shows is a device is connected green, which is very helpful to check if everything is alright. But since my old esphome-projects are also shown I have to look more detailed.

Please describe your use case for this integration and alternatives you've tried:

The only way to clean up the mess, but keep the esphome config is to move the related yaml files into a different folder.

I'd love to be able to tag my devices with tags like: productive, development, archived,

esphome:
  name: esp_bad
  platform: ESP32
  board: esp-wrover-kit
  tags:
  - prod
  - 2021

Additional context

These tags could be shown on the card and filtered by the esphome dashboard

image

SergioBPereira commented 3 years ago

Some type of device management on the dashboard would be great for those of us that like to have several experiments going and also who have a lot of devices. Might be "easier" to place/remove tags directly on the dashboard instead, no need to recompile etc just for managing stuff.

lein1013 commented 3 years ago

Managing the tags in the yaml file does not force you to recompile.

By putting the tags into the yaml file you don't need an additional storage for the tags. Further if you just copy an existing yaml file you already have your template tags (e.g. including your tag guidelines as a comment) - but if you manage it via a dashboard function you loose this information (which might not be a big deal)