ha-inkwavemap
ha-inkwavemap copied to clipboard
Unable to register panel 墨澜地图: Either js_url, module_url or html_url is required.
Logger: homeassistant.components.panel_custom Source: components/panel_custom/init.py:155 Integration: Custom Panel First occurred: 上午10:51:03 (1 occurrences) Last logged: 上午10:51:03 Unable to register panel 墨澜地图: Either js_url, module_url or html_url is required.
高德的token 还有home assistant的token 外加添加目录 ,修改配置 都已经做了 但是一直报无法注册异常。
版本号: docker_version | 18.09.8 hassio | true host_os | installation_type | Home Assistant Supervised os_name | Linux os_version | 4.4.59+ python_version | 3.8.5 supervisor | 247 timezone | Asia/Shanghai version | 0.115.6
实在是找不到原因 配置校验都ok
参考配置:https://www.home-assistant.io/integrations/panel_custom
缺少js_url, module_url or html_url 往这个方向 我配置一下试试
提供另外两种使用高德地图的方式:https://www.dazhuanlan.com/2019/09/28/5d8f05bcac935/ 仅供参考
参考配置:https://www.home-assistant.io/integrations/panel_custom 缺少js_url, module_url or html_url 往这个方向 我配置一下试试
解决了没
参考配置:https://www.home-assistant.io/integrations/panel_custom 缺少js_url, module_url or html_url 往这个方向 我配置一下试试
解决了没
没解决 ,需要使用lit-element 语法,找个几个前端都没写过 ,自己尝试写都失败了,暂时放弃了
暂时 放弃使用hass.io 直接去找了老版本的home assistant ,然后部署 配置configurator 和 墨澜地图 暂时都顺利 ,墨澜地图可以用了 然后一些配置要看一下 怎么配置 算解决问题了
panel_iframe:
inkwavemap:
title: '墨澜地图'
icon: mdi:map
url: /local/custom_ui/inkwavemap/index.html
参考:https://bbs.hassbian.com/thread-10899-1-1.html