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
RadioRA2 Unnamed entities #110038
Comments
Hey there @cdheiser, @wilburCforce, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) lutron documentation |
I believe the previous naming was entityType.[area]_[name] |
I can also confirm that I'm not seeing this happen in my instance.
…On Thu, Feb 8, 2024 at 10:05 AM wilburCforce ***@***.***> wrote:
I believe the previous naming was entityType.[area]_[name]
I don't think this was intentional and I have not seen that happen in my
instance. My entities all remained the same. @joostlek
<https://github.com/joostlek> did the work to create devices which I
think might have introduced this. There is some tie in to the device naming
in the current architecture. @joostlek <https://github.com/joostlek> can
you comment on expected behavior? It appears that the entity no longer
specifies a name. The doc seems to indicate that when an entity is the sole
purpose of the device that it wouldn't specify a name. Thoughts?
—
Reply to this email directly, view it on GitHub
<#110038 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACQARWVP3ZP425YI7RWHHO3YSUHU7AVCNFSM6AAAAABDAEXUJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZUGY3TGMBSHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
It should not break automations iirc, since the unique id didn't change. If it did, I don't know what exactly happened. I think it's strange that the device has no name. Since Wilber can't reproduce it, can @cdheiser send me a message on discord? (You should already have a PM request) and we can try to figure stuff out |
@MarkzP it might also be helpful to have some examples from your entity registry which is located in config/.storage/core.entity_registry |
Turns out my RA2 firmware is fairly old, so no device UUID = no entity unique ids = no entities created in the registry Looks like this suggestion would be very helpful in my case Thanks for your help! |
On Thu, Feb 8, 2024 at 2:26 PM Marc Paquette ***@***.***> wrote:
Turns out my RA2 firmware is fairly old, so no device UUID = no entity
unique ids = no entities created in the registry
Looks like this suggestion
<thecynic/pylutron#70 (comment)>
would be very helpful in my case
I no longer have access to the original integration files, so to update
the firmware I would have to reprogram the system from scratch, which is
something I'm trying to avoid as much as I can
You don't need the original integration files. The RadioRA programming
software can extract the current programing from the main repeater.
… Thanks for your help!
—
Reply to this email directly, view it on GitHub
<#110038 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACQARWUN55XAWK6M65KEEVLYSVGLFAVCNFSM6AAAAABDAEXUJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZVGAZTEMJYGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
This only happens when you re-initialize the integration. Mine were fine, but I made major updates with phantom keypads and needed to clear out the registry to fix some hanging issues. Upon doing so, it picked up the new naming convention and stopped prefixing with _area/zone_name |
Reverted back to 24.1.5 confirming works without issue with previous naming convention |
I had the same issue. Entity names were previously "[area] [device name]" (generally auto-created by the integration) and after upgrading to 2024.2.0 and removing the lutron section from configuration.py, my devices lost the area name. I just finished renaming 100+ entitites, and after doing so, many of them still had the word "none" appended to the name in various dashboards. For example, Lutron area "Zach's room," device "closet light" appeared as "closet light" in the entity configuration post-2024.2.0. In the dashboard, this appeared as "closet light None." After manually renaming to "Zach's room closet light," it appeared in the dashboard as "Zach's room closet light None." My RadioRa2 main repeater firmware is current/latest. |
Please take note that with the new naming (which is used in 400+ other integrations) you can rename devices and automatically rename all entities. The fact that the word None is appended is strange, can you maybe open a separate issue? |
How did you rename these entities? They appear as read only and can’t be renamed. |
Restored back to 2024.1.6 and all the names show up. Hope this bug will be fixed soon. |
Same problem here. My firmware is probably also quite old, but I can't upgrade because from what I understand, newer firmwares requires a Lutron installer account to program 🙄 There is no mention of the shades in config/.storage/core.entity_registry Each of my 4 shades does have a uniq id in the attribute though: Renaming is also not possible because: Please let me know if there is anything I can help with (all though I'm not at programmer). On an unrelated note. I have long gotten a lot of these in the log:
Apparently not causing any problems, but upon investigating it I stumbled upon the obsoletion of telnetlib.py:
|
I am also seeing the "unnamed_device" issue with the lights on my QS . Prior to 2024.2 my Lutron entities were named using the area and name that is stored with Lutron QS controller, and the integration_id was available as an attribute. I can make debug logs available for startups of 2024.1 and 2024.2, if that helps. |
Just confirming seeing the exact same issues as the OP, and rolling back to 2024.1.5 restored it for me. I unfortunately don't have access to the RadioRA2 Inclusive software, which is required as a I have two repeaters in my setup, so hoping this can be fixed with needing to do any trickery using that software. |
If someone can post a dhinfoxml from their system that's experiencing this
problem it would help in debugging
…On Sat, Feb 10, 2024, 11:56 AM kbed72 ***@***.***> wrote:
Just confirming seeing the exact same issues as the OP, and rolling back
to 2024.1.5 restored it for me. I unfortunately don't have access to the
RadioRA2 Inclusive software, which is required as a I have two repeaters in
my setup, so hoping this can be fixed with needing to do any trickery using
that software.
—
Reply to this email directly, view it on GitHub
<#110038 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACQARWWPZDV2SFMKBR632GLYS7GGHAVCNFSM6AAAAABDAEXUJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZXGEYDOMJUHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Adding my config. |
Here is mine |
Still works, scroll down to bottom of curl response. Literally just upgraded |
Note I have created thecynic/pylutron#90 to add
support for UUIDs when they're missing in the XML.
I don't know if this will fix the issues mentioned here as it's a bit more
difficult to reproduce without a system with old firmware as we haven't
exactly broken this up well for good unit tests.
…On Sat, Feb 10, 2024 at 7:57 PM BWilky ***@***.***> wrote:
Just confirming seeing the exact same issues as the OP, and rolling back
to 2024.1.5 restored it for me. I unfortunately don't have access to the
RadioRA2 Inclusive software, which is required as a I have two repeaters in
my setup, so hoping this can be fixed with needing to do any trickery using
that software.
https://www.reddit.com/r/Lutron/comments/12ctcgv/psa_lutron_now_allows_homeowners_to_do_radiora2/?share_id=T7Y3kN1mYq-H-vNoNH47E&utm_content=1&utm_medium=ios_app&utm_name=ioscss&utm_source=share&utm_term=1
Still works, scroll down to bottom of curl response. Literally just
upgraded
—
Reply to this email directly, view it on GitHub
<#110038 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACQARWQPHCQM5JLGEJWBLDLYTA6RPAVCNFSM6AAAAABDAEXUJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZXGQYTINJRGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Wanted to provide an update on my end. Following the post that @BWilky provided, I was able to install and register RadioRa2 Inclusive and upgrade my Main Repeater firmware to the latest version. I rolled forward to the latest version of HA to see if the firmware upgrade solved the issue with entities being named wrong... and tadaaa, it did! I can confirm the issue is resolve with the firmware upgrade. |
In the interim, for people that don't want to or cannot upgrade their
firmware, there's been work on a fix. The underlying pylutron library now
provides legacy_uuids in addition to the uuids from the XML (if present).
This will allow the lutron component to use a legacy uuid if the firmware
is old, as well as migrate entities if you upgrade later.
…On Mon, Feb 12, 2024 at 5:52 PM kbed72 ***@***.***> wrote:
Wanted to provide an update on my end. Following the post that @BWilky
<https://github.com/BWilky> provided, I was able to install and register
RadioRa2 Inclusive and upgrade my Main Repeater firmware to the latest
version. I rolled forward to the latest version of HA to see if the
firmware upgrade solved the issue with entities being named wrong... and
tadaaa, it did! I can confirm the issue is resolve with the firmware
upgrade.
—
Reply to this email directly, view it on GitHub
<#110038 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACQARWVVJSKIFAN3BEULJEDYTLBM7AVCNFSM6AAAAABDAEXUJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBQGE4DEOBYGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I've put together a fix for the UUID issue. Unfortunately, returning to the old naming of entities does not look like it is possible with the introduction of the devices. Entity naming follows the device name and if you add the area_device to the entity name the resultant friendly name also incorporates the device name. So you end up with device_area_device which is a mess. If we change the device name to area_device then you have a lot of garbage data since the area is a separate attribute on a device. So I think we just need to move into the future for this part of it. The PR noted above will address the uuid with the legacy uuid cdheiser added in pylutron 2.12. If you update your firmware to a later version it will update the identifiers as well to make the transition seamless. For users that already have naming in place, this change won't result in any changes. It comes into play when you add the integration fresh. For users that rolled back to 2024.1, you will still end up with new entities once this is implemented but the naming will be correct and that should be the last time you have this happen. There's just no clean way to update and identify these otherwise at this point. |
I have tried to implement the fix by creating a custom integration and placing all files from https://github.com/home-assistant/core/tree/dev/homeassistant/components/lutron in lutron folder. After restart I get the following error in the logs:
any ideas much appreciated. |
The update to pylutron 2.12 to support this issue was delivered in 2024.2.2. |
you need to add a version to the manifest.json like this: "version":
"1.0.0"
…On Tue, Feb 20, 2024 at 1:01 PM wilburCforce ***@***.***> wrote:
I have tried to implement the fix by creating a custom integration and
placing all files from
https://github.com/home-assistant/core/tree/dev/homeassistant/components/lutron
in lutron folder.
After restart I get the following error in the logs:
The custom integration 'lutron' does not have a version key in the
manifest file and was blocked from loading. See
https://developers.home-assistant.io/blog/2021/01/29/custom-integration-changes#versions
for more details
any ideas much appreciated.
The update to pylutron 2.12 to support this issue was delivered in
2024.2.2.
The corresponding fix in Home Assistant noted above ( #110524
<#110524> ) has been accepted
and merged into the dev branch and is currently tagged for release with
2024.2.3 which I would anticipate in the next week or so. Watch the release
notes to see if it was included before you update.
—
Reply to this email directly, view it on GitHub
<#110038 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACQARWX76EJMXGH6SAJVBR3YUUFJDAVCNFSM6AAAAABDAEXUJSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJVGA4TAMZYGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
The versions are handled by automation. That's a placeholder. |
I updated to 2024.2.2 from 2024.1.x and have this same issue with "None" being added to the end of the name in Home Assistant. If the Lutron entity is a light entity, "None" is not added. If a switch entity, "None" is added. Not sure where "None" is coming from, any suggestions? Thanks |
This will be my final response to folks that don't read this issue for the answers. The fix for pylutron is in 2024.2 and the fix for the home assistant Lutron component is scheduled for 2024.3 which is not yet released. Please read the comments above for more information. |
The last comment I read concerning "None" being added was concerning it being strange and later how to edit. I didn't realize 2024.3 would address "None" issue. Read [area] [device name] being addressed with future update, but thought I had an error causing "None" to be added. |
@jschafermo sorry I bit your head off. |
No worries! I installed 2024.2.3 earlier today, but still have the "None" issue if the entity is a switch entity, but not with a light entity. I have mainly Lutron dimmers, but a few on/off switches. When I added Lutron to HA, dimmers were created as light entities and switches were created as switch entities. I'm using Lutron Essentials 12.10.0, Don't know if this helps, but I can eliminate "None" from being added to switch devices, Back Yard Floodlight in this example, by naming the entity created under Controls when the device is selected. When the switch is opened, "None" is added to the device name. This doesn't happen for light devices, in this example Bar Lights. I've attached a few screen captures hoping it may help. Appreciate all the help! |
In my case, the fix for older firmware without UUIDs fixed the root cause - I did have to rename a few switches (not sure where this |
For someone still seeing the "None" issue on switches, could you post your db xml file from your lutron repeater? I don't see any reason why the switch entity would do that and not the light entity so I'd like to mock it up and recreate the issue. |
I was able to recreate the none issue and I think I've narrowed it down to an attr issue. My best guess is that this is a bug in the core switch component of home assistant itself. This is going to take some more digging. |
I found the bug for the None. It is in the Lutron integration and is a one line fix. I'll get a PR whipped up this weekend for it. |
Thanks! |
The "none" bug should be resolved with #111293 |
I have run into the same problem with devices appended with 'none'? What's the path to step back from this? |
I’m finding the new naming convention increasing difficult in yaml files and trying to determine what’s what. We have approximately 100 lights and for instance, many “scones” Now it’s creating light.scone_1,2,3,4. Having it prefixed with the area was so much easier prior.If this is the path foward, I won’t complain, however if there’s anyway to retain the area in the naming of the entity Id, I find great value in that.Sent from my iPhoneSent from my iPhoneOn Feb 25, 2024, at 8:33 AM, Bill Kearney ***@***.***> wrote:
I had the same issue. Entity names were previously "[area] [device name]" (generally auto-created by the integration) and after upgrading to 2024.2.0 and removing the lutron section from configuration.py, my devices lost the area name.
I just finished renaming 100+ entitites, and after doing so, many of them still had the word "none" appended to the name in various dashboards. For example, Lutron area "Zach's room," device "closet light" appeared as "closet light" in the entity configuration post-2024.2.0. In the dashboard, this appeared as "closet light None." After manually renaming to "Zach's room closet light," it appeared in the dashboard as "Zach's room closet light None."
My RadioRa2 main repeater firmware is current/latest.
I have run into the same problem with devices appended with 'none'?
What's the path to step back from this?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
@wkearney99 see #111293 |
Updated to 2024.2.4, I no longer have the 'None" issue. Thanks |
@home-assistant close |
The problem
Entity ids for lights, occupancy & some switches are no longer matching Lutron integration names: previously these were formatted as
light.[area].[name]
. Since 2024.2.0 the entity ids of the same lights are nowlight.unnamed_device_xx
, breaking automations.Entity names are similarly affected;
Not sure if this is intended or not
What version of Home Assistant Core has the issue?
2024.2.0
What was the last working version of Home Assistant Core?
2024.1.0
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Lutron
Link to integration documentation on our website
https://www.home-assistant.io/integrations/lutron
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: