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

Ability to rename created binary entities #50

Open
skynet01 opened this issue Aug 10, 2020 · 4 comments
Open

Ability to rename created binary entities #50

skynet01 opened this issue Aug 10, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@skynet01
Copy link
Contributor

skynet01 commented Aug 10, 2020

Would be nice to rename binary entities. Right now there is no way to do it, so if you made the mistake during initial set up you are out of luck.

Proposed solutions:

  • Maybe just updating the text next to Mac address can always be the appropriate name
  • If that's too hard maybe it can be specified as a separate line like:

known_devices:
- CC:D2:81:4B:71:F4 Vanessa
label: "Vanessa is home"
- CC:D2:81:4D:18:90 Alex
- 24:F0:94:7D:EE:83 Guest Tania
- 14:D0:0D:7D:F2:3E Guest Anna

@Odianosen25 Odianosen25 added the enhancement New feature or request label Aug 11, 2020
@Odianosen25
Copy link
Owner

Right now there is no way to do it, so if you made the mistake during initial set up you are out of luck.

Actually if you change the name used to setup the MAC address, it should reflect the changes. The issue is, I do use these names to generate the entities and not the MAC. Could add labels as you said, but will sure be more complicated unless I am missing something. Will see what I can do

@skynet01
Copy link
Contributor Author

I tried changing the name that was used to setup the MAC address but the entities didn't change. Maybe i need to delete some sensors from HA?

@Odianosen25
Copy link
Owner

Yes I thinking deleting the sensors is the right thing, and the app should actually do the clean up for you. I will add that to the list. So if the app sees a new device with MAC, it checks if there are other entities with the same MAC and cleans them out, then loads up the new one.

@skynet01
Copy link
Contributor Author

skynet01 commented Aug 15, 2020

Yeah exactly and deleting as well, so if I remove a mac address from config it should remove it from the nodes as well. That way adding, removing, and renaming can be all done from Monitor App config file (or UI in the future). Right now I don't even know how to remove the created entities from home assistant :)

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

No branches or pull requests

2 participants