Hi,
I’m testing snapcast media server component with snapcast server version 0.6.0 using the following configuration:
media_player:
- platform: snapcast
host: 192.168.1.244
But when deploying home assistant, the snapcast component doesn’t appear and I have the following errors in the home-assistant.log file.
Thanks.
16-04-21 17:08:57 homeassistant.components.media_player: Error while setting up platform snapcast
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 94, in _setup_platform
discovery_info)
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/snapcast.py", line 36, in setup_platform
add_devices([SnapcastDevice(client) for client in server.clients])
File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 144, in add_entities
if self.component.add_entity(entity):
File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/entity_component.py", line 111, in add_entity
self.entity_id_format, entity.name,
File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/media_player/snapcast.py", line 50, in name
return self._client.identifier
File "/home/gpratas/.homeassistant/deps/snapcast/control.py", line 51, in identifier
if len(self._client.get('name')):
TypeError: object of type 'NoneType' has no len()