I add sonos to the configuration file, as folling
media_player:
- platform: vlc
- platform: sonos
hosts: 192.168.77.98
i’m sure the ip address is correct, but the sonos media player can not be find,
Error Log:
INFO:homeassistant.setup:Setting up logger
/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/media_player/sonos.py:368: UserWarning: The output type of this method will probably change in the future to use SoCo data structures
self._player.get_sonos_favorites()[‘favorites’]
ERROR:homeassistant.core:Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/lib/python3.4/asyncio/tasks.py”, line 237, in _step
result = next(coro)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py”, line 361, in async_process_entity
new_entity, self, update_before_add=update_before_add
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py”, line 210, in async_add_entity
‘Invalid entity id: {}’.format(entity.entity_id))
homeassistant.exceptions.HomeAssistantError: Invalid entity id: media_player