thomasloven / lovelace-state-switch

🔹Dynamically replace lovelace cards depending on occasion
MIT License
382 stars 27 forks source link

1.9.1 breaks formatting on IOS App/Browser #66

Open benjycov opened 2 years ago

benjycov commented 2 years ago

I have a nested state-switch that changes the card based on the user and secondly where that user is.

cards:      
  - type: custom:state-switch
    entity: user
    default: default
    states:
      Ben:
        type: vertical-stack 
        cards:
          - type: entities
            entities:
              - entity: input_select.location_ben
                name: Ben
                icon: mdi:home-account
          - type: custom:state-switch
            entity: input_select.location_ben
            states:
              Hallway:
                !include view_hallway.yaml
              Kitchen:
                !include view_lr.yaml
              Living Room:
                !include view_lr.yaml

It works perfectly on 1.9.0, but with 1.9.1 the sub cards seem zoomed in and clipped (see attached).

image_6487327 image_6487327 (1)

Predjee commented 2 years ago

Same here with same exanple

thomasloven commented 2 years ago

Please try release 1.9.3.