TypeError: null is not an object (evaluating '(a?e.shadowRoot:e).appendChild')
See original GitHub issueMy Home Assistant version: 0.113.1
My lovelace configuration method (GUI or yaml):
yaml What I am doing:
not sure, seems to coincide with <strike>pages using markdown. or conditional cards, though I cant state is a 100% match</strike> Entity Cards containing other (custom) cards. Really difficult to pin it down. Has been here for a very long time though. Below is an example that, even without the styling of card-mod, causes the error to appear.
What I expected to happen:
What happened instead:
Minimal steps to reproduce:
# The least ammount of code possible to reproduce my error
type: entities
entities:
- type: custom:hui-element
card_type: markdown
title: |
Home Assistant --> Google Assistant
Voice commands
# style: |
# ha-card {background: url('/local/various/google_assistant.png');
# background-size: cover;
# box-shadow: none;
# margin: -16px -16px 0px -16px;
# }
content: |
Ok/Hey Google,
# End of code
Error messages from the browser console: in Safari (Mac)
Unhandled Promise Rejection: TypeError: null is not an object (evaluating '(a?e.shadowRoot:e).appendChild')
in Chrome (Mac)
Uncaught (in promise) TypeError: Cannot read property 'appendChild' of null
at c (card-mod.js?v=2.0:1)
By putting an X in the boxes ([ ]) below, I indicate that I:
[ ] Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
[ ] Have made sure I am using the latest version of the plugin.
[ ] Have followed the troubleshooting steps of the “Common Problems” section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.
[ ] Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top GitHub Comments
thanks!
Same Problem here: