Skip to content

Feature Request: Allow for custom entity_id #34

@emarj

Description

@emarj

The issue

One major gripe I have with using KNX integration is the fact that I have no way to specify entity_id directly.

Of course for the time being there is are 2 workarounds:

  1. change the entity_id from the UI
  2. set the name to the wanted entity_id and then change the name from the UI

The second one is, for me, the best, since with the first the original entity_id will persist in the history.

The proposed solution

Would be really nice to have an id field in every YAML entity that allows to set the entity_id. This would make managing big projects easier and more streamlined, at least in my opinion.

What do you think?

Just glimpsing at the code I suspect that this change would be easy but tedious since will require a modification of almost every file.
I could work on this PR in case.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions