- 积分
- 685
- 金钱
- 647
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 685
- 金钱
- 647
- HASS币
- 0
|
楼主 |
发表于 2021-8-9 15:30:52
|
显示全部楼层
2021-08-09 15:30:15 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [139903754037136] [52@0] {setvol} problems setting volume
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 135, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1445, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1480, in _execute_service
await handler.job.target(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
await self.hass.helpers.service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 593, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 664, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 630, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/mpd/media_player.py", line 403, in async_mute_volume
await self.async_set_volume_level(0)
File "/usr/src/homeassistant/homeassistant/components/mpd/media_player.py", line 357, in async_set_volume_level
await self._client.setvol(int(volume * 100))
File "/usr/local/lib/python3.8/site-packages/mpd/asyncio.py", line 245, in __run
await result._feed_from(self)
File "/usr/local/lib/python3.8/site-packages/mpd/asyncio.py", line 43, in _feed_from
line = await mpdclient._read_line()
File "/usr/local/lib/python3.8/site-packages/mpd/asyncio.py", line 312, in _read_line
raise CommandError(error)
mpd.base.CommandError: [52@0] {setvol} problems setting volume |
|