gjbadros / hass-vantage

Home Assistant custom_component for Vantage Infusion Whole House lighting system.
MIT License
9 stars 5 forks source link

Enhanced version of documentation #4

Closed colohan closed 4 years ago

gjbadros commented 4 years ago

It should update the entity name, but once the hidden unique id is in the entity registry it won't change the entity name. You can move .storage/entity-registry out of the way and restart to see it work.

Caps thing sounds like a bug

On Wed, Nov 20, 2019, 10:27 PM Chris Colohan notifications@github.com wrote:

@colohan commented on this pull request.

In README.md https://github.com/gjbadros/hass-vantage/pull/4#discussion_r348913318:

+================== + +Every entity in Home Assistant needs a unique name. In Vantage, objects don't +need unique names -- they all have a unique VID. + +This Vantage component attempts to generate unique names by concatenating the +names of the levels of the object hierarchy in Vantage. So a light in your +second floor master bath might get called +"light.second_floor_master_bath_vanity_light". If you have two objects with the +same name (very common with buttons, where multiple buttons may have similar +names such as "On" and "Off"), this module will just add the VID to the end. + +These names are very long. If you want shorter names, you can either go through +and rename all the Entities in Home Assistant, or you can rename your objects in +Vantage before syncing to Home Assistant (say, by renaming your "Second Floor" +to be "2F" and your "Master Bath" to be "MBath" or the like).

Oooh, I'd not noticed that feature.

Strangely the 'area' field is case sensitive -- in that if you put any capital letters in it at all it will never match anything. I think we can fix that bug. ;-)

Also, this appears to only update the Friendly name of Entities, not the annoying long symbol names you get for them if your names in Vantage are overly crazy verbose like mine are. :-)

Updated description here.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/gjbadros/hass-vantage/pull/4?email_source=notifications&email_token=AALOHTNS2T5TZL4FXYBI4SLQUYS3VA5CNFSM4JO34UT2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCMOOV7I#discussion_r348913318, or unsubscribe https://github.com/notifications/unsubscribe-auth/AALOHTMZUH3KJX6ERGAJV6DQUYS3VANCNFSM4JO34UTQ .