GithubHelp home page GithubHelp logo

home-assistant-customizer's People

Contributors

andrey-git avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

home-assistant-customizer's Issues

broken with HA 0.88 release

This no longer has any effect on the icon colour.

binary_sensor.front_motion:
  templates:
    icon_color: if (state === 'off') return 'green';

Editing icon

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.

Square brackets in columns parameters, should be list?

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?

错误信息 Uncaught TypeError: Cannot read property 'state' of undefined

我的配置:
`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可以不存在

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.