I finally decided to connect my HA to my media center, but I’m having trouble enabling the component. For a little background, I’m running 0.32.2 (AIO) on an RPi3. I got libcec running and it seems to work fine:
pi@raspberrypi:~ $ echo scan | cec-client -s -d 1
opening a connection to the CEC adapter...
requesting CEC bus information ...
CEC bus information
===================
device #0: TV
address: 0.0.0.0
active source: no
vendor: Panasonic
osd string: TV
CEC version: 1.4
power status: on
language: eng
device #4: Playback 1
address: 1.2.0.0
active source: yes
vendor: Google
osd string: Chromecast
CEC version: 1.4
power status: on
language: ???
device #5: Audio
address: 1.0.0.0
active source: no
vendor: Onkyo
osd string: HT-R590
CEC version: 1.4
power status: on
language: ???
device #8: Playback 2
address: 2.0.0.0
active source: no
vendor: Panasonic
osd string: CECTester
CEC version: 1.4
power status: on
language: eng
currently active source: Playback 1 (4)
In my configuration.yaml file I have:
hdmi_cec:
devices:
0: TV
1:
2: Chromecast
2: Raspberry Pi 3
What I’ve found is that any entries in the devices list causes home assistant to fail without any entries in the log file. If I induce an error by intentionally leaving it blank I get a graceful failure (HA runs and leaves a note in the log that the component failed). I’ve played with various arrangements of the devices list but I can’t get HA do load at all if there is anything in there. Got any ideas?