home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.71k stars 30.83k forks source link

Lutron Event id doesn't include device name #130758

Open natem345 opened 2 hours ago

natem345 commented 2 hours ago

The problem

I use the Lutron (telnet) integration for my RadioRA 2 Main Repeater. In an update this year I noticed the lutron_event id and full_id no longer include the device name, which breaks integrations and has no elegant workarounds.

Before lutron_event fullid was: `{area name}{device name}_{button}` Now full_id is: {areaname}{button}

Similarly, previously id was: {device name}_{button} Now it is: {button}

The device name is critical because each room often has multiple devices with the same buttons (especially for Picos; you can set a Button Alias for Ra2 but I have not). There is no convenient way to find UUID other than pressing every button in the house or reading XML.

What version of Home Assistant Core has the issue?

core-2024.11.2

What was the last working version of Home Assistant Core?

Early 2024

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

lutron_event yaml excerpts:
Before:
  id: entry_high
  action: single
  full_id: theater_entry_high

After:
  id: high
  action: single
  full_id: theater_high
  uuid: "4244"

Anything in the logs that might be useful for us?

No response

Additional information

I found a couple forum posts but no solutions:

https://community.home-assistant.io/t/2024-5-just-a-little-bit-smaller/724135/277 https://github.com/home-assistant/core/issues/101017#issuecomment-2092355528

The documentation indicates the id should include the device name: id: office_pico_on

home-assistant[bot] commented 2 hours ago

Hey there @cdheiser, @wilburcforce, mind taking a look at this issue as it has been labeled with an integration (lutron) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `lutron` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign lutron` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


lutron documentation lutron source (message by IssueLinks)