homeassistant-powercalc icon indicating copy to clipboard operation
homeassistant-powercalc copied to clipboard

Feature: Config flow, manually choose a model - show model id and model name

Open CloCkWeRX opened this issue 2 years ago • 1 comments

Reproduce steps

  1. Add integration
  2. Powercalc
  3. Add virtual entity
  4. Select entity
  5. Choose LUT
  6. Unselect 'confirm model'
  7. Choose the manufacturer

When choosing the model, you are presented with the list of model IDs. For some manufacturers, this is less of an issues - ie osram

image

For others; it can be a bit tricky: image

(Especially when you've thrown away the packaging and the model number is written on a globe... you just plugged in)

Possible solutions:

  • Showing the model name + model ID here would be helpful (https://next.home-assistant.io/docs/blueprint/selectors/#select-selector allows label + value combos)
  • Adding a link to https://github.com/bramstroker/homeassistant-powercalc/blob/master/docs/supported_models.md would also help

CloCkWeRX avatar Aug 06 '22 00:08 CloCkWeRX

I have been working on refactoring of the power profile library which should make it trivial to add the model name to the dropdown, however as they are sometimes very long I don't think it will work. So I prefer to add a link to the supported model list.

bramstroker avatar Aug 06 '22 08:08 bramstroker

Link added with #991

bramstroker avatar Aug 13 '22 07:08 bramstroker