I’ve not been able to get this working yet.
I’ve setup an app password & the plugin loads as far as I can see. (Also In about 3 days experienced with home assistant, so I’m a bit of a novice with this, but I am a software engineer though, so I’m not too scared to tinker if needs be)
I’m currently getting this issue, but I’m not too sure if its caused by a misconfiguration from my side, or this plugin not working currently etc?
Any help will be appreciated.
Traceback (most recent call last):
File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/gmusic_player/media_player.py", line 405, in _update_sources
self._update_playlists()
File "/config/custom_components/gmusic_player/media_player.py", line 430, in _update_playlists
self.hass.services.call(input_select.DOMAIN, input_select.SERVICE_SET_OPTIONS, data)
File "/usr/src/homeassistant/homeassistant/core.py", line 1193, in call
return asyncio.run_coroutine_threadsafe(
File "/usr/local/lib/python3.8/concurrent/futures/_base.py", line 439, in result
return self.__get_result()
File "/usr/local/lib/python3.8/concurrent/futures/_base.py", line 388, in __get_result
raise self._exception
File "/usr/src/homeassistant/homeassistant/core.py", line 1235, in async_call
processed_data = handler.schema(service_data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 208, in __call__
return self._exec((Schema(val) for val in self.validators), v)
File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 287, in _exec
raise e if self.msg is None else AllInvalid(self.msg, path=path)
File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 283, in _exec
v = func(v)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
return schema(data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
raise er.MultipleInvalid(errors)
voluptuous.error.MultipleInvalid: length of value must be at least 1 for dictionary value @ data['options']
I saw another comment on here to check if the script.gmusic_sync_media
has been loaded… but as far as I can see it is not (when checking inside /developer-tools/service
), how can I get this to load? (I saw there are configs for them inside the gmusic_player.yaml
file… but again… noo idea how this works)