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

Cannot read property 'shadowRoot' of null #267

Closed jo-me closed 4 years ago

jo-me commented 4 years ago

Ha 0.115.3 Custom header 1.8.3 via HACS Latest official HA Android app

Noticed a CH error in the log after opening HA using the official android app. There were some similar issues in previous versions.

Logger: frontend.js.latest.202009182 Source: components/system_log/init.py:193 First occurred: 20:53:06 (1 occurrences) Last logged: 20:53:06

https://192.168.178.45:8123/hacsfiles/custom-header/custom-header.js:146:49227 Uncaught TypeError: Cannot read property 'shadowRoot' of null

custom_header:
  button_text:
    menu: menu
    options: '{{ time }}<br>{{ date }}'
    voice: voice<br>button
  compact_mode: true
  hide_help: true
  restrict_users: true
  voice_hide: true
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

This applies to this issue and the other you just submitted #268.

Ensure that the latest version is installed using the the info from the beginning of the bot's reply above on a computer or another browser that can show you the dev tools console. If that reports version 1.8.0, make sure that the companion app is using the latest by clearing it's cache. Close the app, hold down on the app icon and select "App Info", then click "Storage and cache", then click "clear cache", and reopen the app to see if the issue persists.

If both of your issues are still a problem, please follow the bots comment above and provide as much of the necessary information as you can so I can try to replicate the issue.

My phone is an Android phone and I use the companion app, I have neither of these issues. In order for me to replicate the issues, I need info and to make sure it's not a cache/install issue.

github-actions[bot] commented 4 years ago

In order for me to recreate and troubleshoot your issue, please read the bot's previous reply. Follow the post's steps and provide the info requested. This issue will remain closed until more information is provided.

maykar commented 4 years ago

This also seems like an issue that may have been fixed by 1.8.3, please let me know if updating helps. If not I will reopen this issue and investigate further.

jo-me commented 4 years ago

Will do. Thanks!

Ryan Meek notifications@github.com schrieb am Mi., 30. Sep. 2020, 22:13:

This also seems like an issue that may have been fixed by 1.8.3, please let me know if updating helps. If not I will reopen this issue and investigate further.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/maykar/custom-header/issues/267#issuecomment-701619669, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACO7FKEALHSGCGS362ST5ILSIOGQPANCNFSM4R43YF7A .