Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Scene buttons #7

Open
acesyde opened this issue Mar 16, 2023 · 0 comments
Open

Scene buttons #7

acesyde opened this issue Mar 16, 2023 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@acesyde
Copy link
Contributor

acesyde commented Mar 16, 2023

Preview

Image

Description

Create a generic button card with entity / action holder / icon_color / background_color
This button can be hosted in vertical / horizontal card or grid card

Todo

  • translations
  • editor
  • card
  • documentation

Button card code

columns: 4
type: grid
cards:
  - type: custom:button-card
    icon: mdi:sofa-single
    aspect_ratio: 1/1
    tap_action:
      action: call-service
      service: scene.turn_on
      haptic: medium
      service_data:
        entity_id: scene.gezellig
    styles:
      card:
        - border-radius: 24px
        - background-color: var(--blue)
      icon:
        - color: var(--black)
  - type: etc.. (copy the custom button-card above to add more)
@acesyde acesyde converted this from a draft issue Mar 16, 2023
@acesyde acesyde added enhancement New feature or request help wanted Extra attention is needed labels Mar 16, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant