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

Deep press doesn't render button_card_templates #8

Open
smitt04 opened this issue Nov 21, 2021 · 0 comments
Open

Deep press doesn't render button_card_templates #8

smitt04 opened this issue Nov 21, 2021 · 0 comments

Comments

@smitt04
Copy link

smitt04 commented Nov 21, 2021

When using a button_card template with javascript the [[[ <javascript> ]]] doesn't render properly.

An example config:

light_popup:
  deep_press: false
  hold_action:
    action: fire-dom-event
    browser_mod:
      command: popup
      hide_header: false
      title: |
        [[[ return entity.attributes.friendly_name ]]]
      card:
        type: entities
        entities:
          - type: "custom:light-popup-card"
            entity: |
              [[[ return entity.entity_id ]]]
            icon: none
            fullscreen: false
            brightnessWidth: 130px
            brightnessHeight: 360px
            borderRadius: 1.7em
            sliderColoredByLight: true
            sliderTrackColor: "rgba(25, 25, 25, 0.9)"
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