Suggestion for Improving HDMI-CEC Integration

Controlling a TV locally can be challenging, especially without knowing which HDMI port is active. Most TVs have multiple devices like TV tuners or game consoles connected via HDMI, but few support sending out the active HDMI port status to local devices. This lack of feedback makes automation complex.

HDMI-CEC, while not perfect, is a useful feature for controlling media players locally. I believe enhancing the HDMI-CEC integration in Home Assistant would greatly benefit users.

Proposed Enhancements

  1. Active Source Feedback
    Can we include the “active source: yes/no” status in the HDMI-CEC integration? Currently, this information is available in the CEC Scanner:

HDMI-CEC 1

but not in the integration itself:

HDMI-CEC 2

  1. Custom Device Naming
    Adding the ability to name each device would improve usability. Right now, devices are listed as media_player.hdmi_XX, which is not very descriptive.

Is it possible to implement these enhancements? Thank you for considering this request!

If you think it’s a good idea, you should vote for it. I did :ballot_box_with_check:
Suggested Reading:
More about Feature Requests.

Have you tried the Philips TV integration? Philips TV - Home Assistant

I am using this integration. And I’m happy with the performance of it.
Unfortunately this doesn’t support “Source Detect”

I’m currently testing out Android Debug Bridge, as this often reports source. But not always.
It will for instance show source “null” if it is set using the Philips TV integration.