custom-cards / custom-card-helpers

Custom Card Helper Functions/Types for Developers
https://custom-cards.github.io/custom-card-helpers/
MIT License
48 stars 29 forks source link

Error in more-info card with dimmable white LED: Uncaught (in promise) TypeError: t.attributes.rgb_color is not iterable (cannot read property undefined) #67

Closed ndbroadbent closed 2 years ago

ndbroadbent commented 2 years ago

I'm using https://github.com/adizanni/floor3d-card, and getting this error with a white dimmable LED that has no color options:

Uncaught (in promise) TypeError: t.attributes.rgb_color is not iterable (cannot read property undefined)

Code:

fireEvent(this, 'hass-more-info', { entityId: entity.entity });
ndbroadbent commented 2 years ago

Sorry it actually looks like this is coming from Home Assistant:

Screen Shot 2022-09-12 at 6 55 56 PM