button-card: TypeError: Cannot read property 'replaceChild' of null

Since upgraded to HA 86.x the following errors appear in the log when visiting views with the custom button-card component in Chrome and Safari:

https:/URL:8123/frontend_latest/8ee9235853b66c6b78f9.chunk.js:3254:365 Uncaught TypeError: Cannot read property 'replaceChild' of null

When I out-comment the custom buttond-card config there is no error.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 17 (6 by maintainers)

Most upvoted comments

@RomRider card-loader fixed it up without needing the state-switch-card. Thanks.