home-card icon indicating copy to clipboard operation
home-card copied to clipboard

custom_themes not work

Open pex81 opened this issue 4 years ago • 0 comments

i'm trying the custom_themes but the style doesn't seem to work correctly.

          - type: custom:home-card
            weather: weather.dark_sky
            theme: my_home
            background: transparent
            entities:
              - type: car
                entity: person.giuseppe
                state_map:
                  off: not_home
                  on: home
              - type: sprinkler
                entity: input_boolean.prova                      
            custom_themes:
              my_home:
                house: house.png
                overlay_actions:
                  '*':
                    tap_action:
                      action: toggle
                  car:
                    tap_action:
                      action: more-info
                overlays:
                  car:
                    home:
                      - image: car.png
                        style:
                          width: 8%
                          left: 60%
                          top: 50%
                    not_home:
                      - image: car.png
                        style:
                          left: 40%
                          top: 40%                
                  sprinkler:
                    on:
                      - image: sprinkler-on.png
                        style:
                          left: 10%
                          top: 10%
                    off:
                      - image: sprinkler-off.png
                        style:
                          left: 40%
                          top: 40%

if I remove the "," the style work. Schermata 2021-06-30 alle 18 02 32

pex81 avatar Jun 30 '21 16:06 pex81