thomasloven / lovelace-template-entity-row

🔹 Display whatever you want in an entities card row.
MIT License
210 stars 16 forks source link

Various fixes for HASS 2023.2+ #105

Open TheHolyRoger opened 1 year ago

thomasloven commented 1 year ago

Hi. I just released a very quick and dirty patch to make things work at all with 2023.03.

I like how you've done things much better, though, and hope to be able to add your tweaks too.

Thanks a lot!

TheHolyRoger commented 1 year ago

Don't mean to sound like a dick sir but if you revert your dirty patch and merge my PR it works perfectly ;)

thomasloven commented 1 year ago

I'm not sure it would, actually.

One of the most important changes was to add a state to the default entity https://github.com/thomasloven/lovelace-template-entity-row/commit/35a4b4a1c3e097118828e6012ab3c7b1485b5a42#diff-4fab5baaca5c14d2de62d8d2fceef376ddddcc8e9509d86cfa5643f51b89ce3dR112

Your PR doesn't do that, which results in an error and icons not displaying at all if entity: is not given.

TheHolyRoger commented 1 year ago

Ah true, I'm using entity in all mine. Can sort that out though if you like the rest of the PR