maykar / custom-header

Custom Header adds enhancements and customization options to Home Assistant's Lovelace header.
https://maykar.github.io/custom-header
MIT License
256 stars 107 forks source link

0.112.0 - Console errors, no UI menu, and sidebar stays #231

Closed iderdik closed 4 years ago

iderdik commented 4 years ago

Home Assistant 0.112.0.dev20200617

custom-header 1.5.8 installed via HACS

Config in raw editor:

custom_header:
  exceptions:
    - conditions:
        query_string: embed
      config:
        disable_sidebar: true
        kiosk_mode: true

Error (using chrome on mac):

Logger: frontend.js.latest.202006130
Source: components/system_log/__init__.py:209
First occurred: June 22, 2020, 3:32:36 PM (32 occurrences)
Last logged: 11:56:25 AM

http://raspberrypi2.lan:8123/frontend_latest/chunk.402d6d994eeade1f37bb.js:2:61210 Uncaught YAMLException: unacceptable kind of an object to dump [object Undefined]
http://raspberrypi2.lan:8123/hacsfiles/custom-header/custom-header.js:1:17373 Uncaught TypeError: Cannot read property 'cloneNode' of null
https://ha.derdik.com/hacsfiles/custom-header/custom-header.js:1:17373 Uncaught TypeError: Cannot read property 'cloneNode' of null
http://raspberrypi2.lan:8123/config/lovelace/resources:0:0 Uncaught
https://ha.derdik.com/hacsfiles/custom-header/custom-header.js?cb=1:1:17373 Uncaught TypeError: Cannot read property 'cloneNode' of null
github-actions[bot] commented 4 years ago

Important:

Issues that don't provide the necessary information listed below may not get a reply and will be closed until the info is provided.

Release is the current version of Custom Header. Be sure that you are using the latest version by checking your browser's dev tools console (usually found by pressing F12). If this doesn't display the current version either clear your cache or reinstall.

If you haven't yet done so, please read the "Before Posting an Issue" section of the docs site.

Include as much of the following info as you can to help me replicate and investigate your issue:

When pasting in your config always place 3 backticks ``` above the first line of your config and after the last line. Doing this will format it correctly so that I may find any formatting errors in your config.

maykar commented 4 years ago

Looks like some elements may have changed in the next round of HA updates. Will check this out when the 0.112 beta is actually released.

iderdik commented 4 years ago

Ok, I've reverted to 0.111 for now and all is well. Thanks!

maykar commented 4 years ago

Latest release (1.6.1) adds support for 0.112 if you wanted to give it a test run.

sysoppl commented 4 years ago

I'm using Home Assistant 0.112.0.dev20200624 with custom-header 1.6.1 installed via HASS and I've got no text: obraz

maykar commented 4 years ago

Need to update the editors elements, thanks. Will have that in next release.

maykar commented 4 years ago

Fixed editor text in 1.6.2. Going to close this one. If any other issues in HA 0.112 are found, please create a new issue.