andrey-git / home-assistant-customizer Goto Github PK
View Code? Open in Web Editor NEWCompanion component for home-assistant CustomUI
License: MIT License
Companion component for home-assistant CustomUI
License: MIT License
Error loading state-card-custom-ui from /local/custom_ui/state-card-state-card-custom-ui.html
my config is in: /config so the files should be in /config/www/custom_ui
This no longer has any effect on the icon colour.
binary_sensor.front_motion:
templates:
icon_color: if (state === 'off') return 'green';
When editing an icon and saving, the page refreshes to show "mdi:mdi:icon-name" which implies that mdi isn't needed and is being duplicated. If the extra mdi is removed, the edit will not be saved properly.
The code on this page (https://github.com/andrey-git/home-assistant-customizer/):
columns: 350, 700, 1050, 1400, 1850, 2100
Doesn't seem to work, when I check config says it needs a list. When I changed it to:
columns: [350, 700, 1050, 1400, 1850, 2100]
The config was accepted. However I don't see any changes to any of my cards, after I added this to the config:
homeassistant:
customize_glob:
"*.*":
custom_ui_state_card: state-card-custom-ui
customizer:
custom_ui: local
columns: [500, 1000, 1500, 2000, 2500, 3000, 3500]
Did I miss something?
我的配置:
`homeassistant:
name: Homebolin
latitude: 29.084455
longitude: 119.654027
elevation: 7
unit_system: metric
time_zone: Asia/Shanghai
#customize: !include customize.yaml
packages: !include_dir_named packages
customize_glob:
".":
custom_ui_state_card: state-card-custom-ui
customizer:
custom_ui: local
hide_attributes:
- node_id
- value_index
frontend:
javascript_version: auto
extra_html_url:
- /local/custom_ui/state-card-button.html
extra_html_url_es5:
- /local/custom_ui/state-card-button.html
config:
history:
logbook:
hachina:
name_tobe_displayed: 我的新名字
slogon: 阳光照耀大地
`
错误信息:
2018-10-05 16:25:38 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'attributes' of undefined
2018-10-05 16:25:38 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'state' of undefined
2018-10-05 16:25:39 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'state' of undefined
2018-10-05 16:25:39 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'state' of undefined
2018-10-05 16:26:04 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'attributes' of undefined
2018-10-05 16:26:04 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'state' of undefined
2018-10-05 16:26:05 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'attributes' of undefined
2018-10-05 16:26:05 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'state' of undefined
2018-10-05 16:26:06 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'attributes' of undefined
2018-10-05 16:26:06 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'state' of undefined
2018-10-05 16:26:07 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'attributes' of undefined
2018-10-05 16:26:07 ERROR (MainThread) [frontend.js.latest.201809160] http://jia:8123/frontend_latest/app-d4eea1e0.js:2:12857 Uncaught TypeError: Cannot read property 'state' of undefined
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.