I’m not sure what I’m doing wrong but I’m getting the below error trying to get the new Directv media player component working.
16-08-02 12:26:29 homeassistant.components.media_player: Error while setting up platform directv
Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py”, line 98, in _setup_platform
discovery_info)
File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/directv.py”, line 44, in setup_platform
dtvs.append(DirecTvDevice(*host))
File “/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/directv.py”, line 60, in init
self.dtv = DIRECTV(host, port)
File “/var/opt/homeassistant/deps/DirectPy.py”, line 33, in init
self.get_tuned()
File “/var/opt/homeassistant/deps/DirectPy.py”, line 73, in get_tuned
self.channel = self._combine_channel(jResp[‘major’],jResp[‘minor’])
KeyError: ‘major’
I’ve had to reformat the SD card and did t he all in one installer and it seems I’m having the same error message. I’ve tried adding the IP address and port and nothing. Not sure what I’m doing wrong.
any response to this. I have 3 Directv HDR boxes, a Geni box, and 3 Geni Clients. HA is finding two of the HDR boxes, but not the third. It isn’t finding any of the Geni items. I tried specifying the missing HDR box in the configuration.yaml file as follows