|
报错
2019-03-17 21:39:12 ERROR (MainThread) [frontend.js.latest.201903051] http://192.168.16.107:8123/local/custom_ui/card-tools.js:7:1 Uncaught SyntaxError: Unexpected token <
2019-03-17 21:39:12 ERROR (MainThread) [frontend.js.latest.201903051] http://192.168.16.107:8123/local/custom_ui/card-modder.js:7:1 Uncaught SyntaxError: Unexpected token <
2019-03-17 21:39:12 ERROR (MainThread) [frontend.js.latest.201903051] http://192.168.16.107:8123/local/custom_ui/button-card.js:7:1 Uncaught SyntaxError: Unexpected token <
配置
resources:
- type: js
url: /local/custom_ui/card-tools.js
- type: js
url: /local/custom_ui/card-modder.js
- type: module
url: /local/custom_ui/button-card.js
title: lixmHome
path: yidong
title: 移动桌面
- background: center / cover no-repeat url("/local/custom_ui/bg2.jpg") fixed
badges: []
cards:
- card:
entities:
- sensor.m1_hcho
- sensor.m1_humidity
- sensor.m1_pm25
- sensor.m1_temperature
title: 环境
type: entities
style:
'--paper-card-background-color': 'rgba(67, 73, 84, 0.5)'
'--paper-item-icon-color': white
'--primary-text-color': white
'-webkit-backdrop-filter': blur(5px)
backdrop-filter: blur(5px)
color: white
type: 'custom:card-modder'
- entity: switch.device1
show_state: true
type: 'custom:button-card'
路径 /home/homeassistant/.homeassistant/www/custom_ui |
|