Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistency between device names and entityID's #200

Open
keithfree opened this issue Jan 5, 2023 · 0 comments
Open

Inconsistency between device names and entityID's #200

keithfree opened this issue Jan 5, 2023 · 0 comments

Comments

@keithfree
Copy link

This is a pretty minor issue, but since I've been looking at entityID's lately I thought I'd share. When renaming a device in HA, there is a prompt asking whether or not entityID's should also be renamed. This behavior does not work as expected if you rename a device added by this addon immediately after installing it. I believe this is due to inconsistencies between how the addon names devices and entities.

  • Devices are initially named " ()"
  • Device camera entities initially have entityID of "camera._"

Renaming a device and choosing yes to the entityID rename would work if the bolded texts above matched. For example, if you initially rename the device to " " so they match, and then rename to something else the entityID's would get updated automatically.

There are a number of ways to solution this but my preference would be to just have the addon pull the full camera name and ignore the (). If folks feel that's too restricting, then I'd suggest updating the configuration option and letting the end user choose which name is used (full or short) and then use that for the device name and entityID names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant