button-card: HA 2021.12 -> hui-error-card TypeError: n.setConfig is not a function

Checklist

  • I updated the card to the latest version available
  • I cleared the cache of my browser

Describe the bug Since I updated to HA 2021.12.0 (core-2021.12.0) the user interface, which contains lots of button cards, no longer loads or takes hours to load. Browser console throws hundrets of error messages related to button card. That is why I assume this is related to button card. With HA 2021.11.5 everything works fine. The standard cards are working fine and load immediately.

Version of the card Version: 3.4.2

To Reproduce This is the configuration I used:


Screenshots image

Expected behavior UI loads

Desktop (please complete the following information):

  • Browser Chrome, iOS Companion App, Chrome on iOS
  • Version 96.0.4664.45

Smartphone (please complete the following information):

  • Device: iPhone 13 Pro
  • OS: iOS 15…1.1
  • Browser Chrome
  • Version 96.0.4664.53

Additional context Add any other context about the problem here.

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Reactions: 1
  • Comments: 15

Most upvoted comments

I too have this problem. I am seeing thousands of errors in my browser console. Enough that I’ve even seeing the error “Maximum call stack size exceeded”.

Home Assistant 2023.7.2 Supervisor 2023.07.1 Operating System 10.3 Frontend 20230705.1 - latest button-card v3.5.0 installed via HACS I am using UI Lovelace Minimalist “theme” installed via HACS Brave Browser: Version 1.52.130 Chromium: 114.0.5735.198 (Official Build) (64-bit)

image

Anyone find a fix for this? It lags the interface a lot.

Do we have any updates on this? I’m having the same error.