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

custom_themes not work #27

Open
pex81 opened this issue Jun 30, 2021 · 0 comments
Open

custom_themes not work #27

pex81 opened this issue Jun 30, 2021 · 0 comments

Comments

@pex81
Copy link

pex81 commented Jun 30, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant