ui icon indicating copy to clipboard operation
ui copied to clipboard

Scene buttons

Open acesyde opened this issue 1 year ago • 0 comments

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 avatar Mar 16 '23 08:03 acesyde