Skip to content

custom_themes not work #27

@pex81

Description

@pex81

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions