keithh666
(Keith Hull)
March 5, 2017, 12:28am
1
17-03-05 00:22:51 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform squeezebox
Traceback (most recent call last):
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py”, line 146, in _async_setup_platform
entity_platform.async_add_entities, discovery_info
File “/srv/homeassistant/homeassistant_venv/lib/python3.4/site-packages/homeassistant/components/media_player/squeezebox.py”, line 56, in async_setup_platform
host = discovery_info[0]
KeyError: 0
mediaplayer.yaml
- platform: squeezebox
name: SqueezeBox
host: 192.168.1.56
port: 9000
phileep
(Phil)
March 5, 2017, 4:57am
2
I think I am getting that error too (in 39.1).
But I also think the SB is able to be controlled by HASS - so it seems to be a spurious error.
Can you still control your squeezebox using HASS? (I cant confirm right now as I am not at home - although I have seen a few other squeezebox complaints occasionally about no connection which is normal, so I thik it still works for me)
nickrout
(Nick Rout)
March 6, 2017, 2:20am
3
I am getting a similar error in 0.39.3, but don’t have anything in my .yaml. I get this message during auto discover.
It used to work, but I can’t isolate where it stoppped.
This seems to be the only relevant change to netdisco
committed 07:43AM - 05 Jan 17 UTC
* Discover LMS web server port
* Make flake8 happy
* Improve return object
phileep
(Phil)
March 6, 2017, 9:23am
4
I have updated to 0.39.3 and confirm I am getting the squeezebox error but I can still control the squeezebox - performance seems unaffected.
My setup has the squeezebox defined in config, Although I am running discovery also.
keithh666
(Keith Hull)
March 6, 2017, 4:03pm
5
When I get the error HA usually hangs and needs a restart, but afterwards Squeezebox works fine.
nickrout
(Nick Rout)
March 13, 2017, 8:29am
6
discovery seems to work again in 0.40