|
发表于 2018-5-25 18:52:47
|
显示全部楼层
现在被我搞的报错了:
[homeassistant.components.sensor.command_line] Command failed: /usr/games/fortune tang300
2018-05-25 18:41:47 ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform dlna
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 129, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/lib/python3.6/asyncio/tasks.py", line 352, in wait_for
return fut.result()
File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
raise self._exception
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/media_player/dlna.py", line 35, in setup_platform
device = DLNADevice(discovery_info.get('location'))
AttributeError: 'NoneType' object has no attribute 'get'
2018-05-25 18:41:48 ERROR (SyncWorker_12) [homeassistant.components.sensor.command_line] Command failed: /usr/games/fortune song100
2018-05-25 18:41:48 ERROR (SyncWorker_1) [homeassistant.components.sensor.command_line] Command failed: /usr/games/fortune chinese
2018-05-25 18:41:48 ERROR (SyncWorker_7) [homeassistant.components.sensor.command_line] Command failed: /usr/games/fortune fortunes
2018-05-25 18:41:56 WARNING (MainThread) |
|