ljmerza / light-entity-card

Control any light or switch entity
MIT License
233 stars 41 forks source link

Very sad to hear that you've stopped the development, it was a key part for the setup #48

Closed fribse closed 3 years ago

fribse commented 3 years ago

Hi there

Thankyou for all the hard work on this over the years, it saddens me that you've given up on the development of the card, it was my go-to light card :-) I hope the HA developers will either pick up your card, or make it feasable for you to continue at some point.

ljmerza commented 3 years ago

I've looked into this more today and there's no way to load the custom elements I need from the custom card itself. To further explain, as of HA 0.115, you can't use the built in elements such as dropdown, checkbox, and color-picker from a custom card - you have to create your own now. To get this card working again I would need to:

This would introduce a ton of bloat to the card and I'd have to keep up with changes in HA UI to match UI of custom elements in the future. This is also a ton of extra work. You can't simply import paper elements into the card because these are already imported so importing them again throws errors. You have to build from scratch.

I've asked some devs about this and it's low priority to get these element working again for custom card developers. You can track the issue here https://github.com/home-assistant/frontend/issues/7098

edit: I've said "low priority" because at the time of asking about this breaking change and from previous conversations, catering to custom cards was low priority. This breaking change wasn't something that just happened out of nowhere and was known at least to me and a few others during beta but released anyways. I want to be hopeful about this being fixed from the referenced issue above but this would be a large change that could takes months of planning to get everyone to actually to agree to something concrete. That is of course, if no one comes in and axes it. The issue above is in it's infancy but I will keep track of it.

iantrich commented 3 years ago

@ljmerza I'm actually pushing for custom card support to be a top priority for Hacktoberfest. Would appreciate your involvement in the discussions and proposals

ljmerza commented 3 years ago

I hope something does come out of it this time. Custom cards has been pushed to the side for too long. The work around suggested doesn't work for me.

iantrich commented 3 years ago

Yeah, I think the frontend should rollback the lazy more-info loading until a reliable working solution is in place to not break custom cards that relied on these elements.

cc @ludeeus @bramkragten

fribse commented 3 years ago

HA in it's core is not prettified enough, it's an engine, and does the basics, a lot of my lovelace interface relies on custom cards, as they make something look familiar for the family, a lot of my interface is going down the drain without custom cards, which is also why I regularly send 'coffee' or 'beer' to developers of these (with my limited budget I select one/month :-) ). I'm 'only' a user, but point me in the right direction, and I'll get into it with Frenck :-D

fribse commented 3 years ago

I updated my post in the forums: https://community.home-assistant.io/t/custom-light-card-gone-with-0-115x-what-are-you-using-now/228793/2

ljmerza commented 3 years ago

devs have reverted code that broken this card in 0.115.3