rgruebel / ha_zigbee2mqtt_networkmap

Custom Component for Homeassistant to show zigbee2mqtt Networkmap
169 stars 43 forks source link

issue is:open label:"integration: websocket_api #46

Open philou669 opened 2 years ago

philou669 commented 2 years ago

Logger: homeassistant.components.websocket_api.http.connection Source: custom_components/zigbee2mqtt_networkmap/init.py:91 Integration: Home Assistant WebSocket API (documentation, issues) First occurred: 14:23:57 (4 occurrences) Last logged: 14:24:59

[547890224768] Error handling message: Unknown error [547538102784] Error handling message: Unknown error Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 27, in _handle_async_response await func(hass, connection, msg) File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 534, in handle_execute_script await script_obj.async_run(msg.get("variables"), context=context) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1253, in async_run await asyncio.shield(run.async_run()) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 354, in async_run await self._async_step(log_exceptions=False) File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 372, in _async_step await getattr(self, handler)() File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 575, in _async_call_service_step await service_task File "/usr/src/homeassistant/homeassistant/core.py", line 1630, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1667, in _execute_service await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)( File "/config/custom_components/zigbee2mqtt_networkmap/init.py", line 91, in update_service mqtt.async_publish(topic+'/bridge/networkmap/routes', 'graphviz') TypeError: async_publish() missing 1 required positional argument: 'payload'