Open sm-Fifteen opened 1 month ago
Hey there @inytar, mind taking a look at this issue as it has been labeled with an integration (hdmi_cec
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
hdmi_cec documentation hdmi_cec source (message by IssueLinks)
The problem
I seem to be the latest of 60 or so people using the HDMI-CEC integration in their Home Assistant installation, and it has not been working very well so far. Having just enabled it 2 days ago, I notice that it only created a handful of entities with no parent device, no parent integration and no unique ID (meaning no stats can be tracked). I understand that HDMI-CEC provides no unique, immutable way of identifying other devices on the CEC network (most logical addresses are not stable, physical addresses may change over time, and no standard command exposes any sort of product ID/serial number), but that still makes the overall experience very unsatisfying compared to other integrations I've used.
At the very least, the CEC adapter should be registered as a device to regroup the related entities, and the entities themselves should try to have some unique IDs. The TV is easy, since it has both physical address
0.0.0.0
and logical address0
, and the AV reciever/soundbar can only be at logical address5
, so it too should be stable. The other devices would prove trickier, but having at least those two be stable would be a big improvement.The doc mentions something about using the YAML config to map names for each device, but that doesn't seem to do anything with either IDs or entity names. I guess setting device IDs manually in the config can always be ok as a last resort.
What version of Home Assistant Core has the issue?
core-2024.7.4
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
hdmi_cec
Link to integration documentation on our website
https://www.home-assistant.io/integrations/hdmi_cec/
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