Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HA 2021.6 Lit version upgrade #192

Closed
hmmbob opened this issue May 20, 2021 · 10 comments
Closed

HA 2021.6 Lit version upgrade #192

hmmbob opened this issue May 20, 2021 · 10 comments
Labels
bug Something isn't working

Comments

@hmmbob
Copy link

hmmbob commented May 20, 2021

This card is importing Lit in a way that might break in HA 2021.6 which ships with Lit 2.0

For more information, see https://developers.home-assistant.io/blog/2021/05/19/lit-2.0/

@pooyashahidi
Copy link

Is that why this happens?
before-after

@hmmbob
Copy link
Author

hmmbob commented Jun 3, 2021

Could be, yet mine are still fine. What's your config?

@pooyashahidi
Copy link

for example this:

type: custom:multiple-entity-row
entity: sensor.livingroom_temp_sensor_temperature
icon: svg:living-room
name: Living room
show_state: false
entities:
  - entity: sensor.livingroom_temp_sensor_temperature
    name: ' '
    unit: °C
  - entity: sensor.livingroom_temp_sensor_humidity
    name: ' '
    unit: '%'

image

@hmmbob
Copy link
Author

hmmbob commented Jun 3, 2021

Looks good. Do you have this embedded in another card? And did you update HA to 2021.6 and checked for updates for the card?

Also, try refreshing your cache.

@pooyashahidi
Copy link

Thank you for the hint! the problem went away after updating template-entity-row and hacs.

I use lots of multiple-entity-row in different cards like: entities, custom:vertical-stack-in-card. They all showed the same behavior on desktop browser and android app.

@hmmbob
Copy link
Author

hmmbob commented Jun 3, 2021

Always update :)

@KoljaWindeler
Copy link

Hmmm I have a similar looking issue, pretty much all views are broken after updating to 2021.06

E.g.

Screenshot_20210603-194933

Cache cleared, everything updated, on smartphone and laptop same issue

@KoljaWindeler
Copy link

Very strange .. works again without any change on my side .. jkw

@fxHouard
Copy link

fxHouard commented Jun 7, 2021

Same issue here, multiple-entity-rows with several columns are broken, despite everything is up to date, and I have cleaned my cache. Same issue on computer/phone/tablet, etc. Not embedded In any card.

Capture d’écran 2021-06-07 à 11 56 55

Here is the code:

entity: sensor.improved_direction_gare
type: custom:multiple-entity-row
name: hidden gare
show_state: false
state_color: true
format: relative
column: true
secondary_info:
attribute: train
style: |
:host {
--paper-item-icon-color: rgb(68,115,158)

}
entities:

  • attribute: departure
    format: relative
    name: false
  • attribute: next_departure
    format: total
  • attribute: next_on_departure
    format: total

@tobi-bo tobi-bo mentioned this issue Jun 15, 2021
@benct benct added the bug Something isn't working label Dec 14, 2021
@benct
Copy link
Owner

benct commented Dec 17, 2021

Version 4.3.0 now bundles Lit in to the card, as recommended by HA. Not sure it will fix any of the above issues, but I have no idea what else will.

@benct benct closed this as completed Dec 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants