Skip to content

Feature request - highlight button when pressing #23

Description

@andypnz

Hi. Amazing - thank you for sharing this! Works super well :slight_smile:

One question:
Is it possible for a widget ‘button’ to have an ‘on_click’ action to highlight the button to show it is being pressed? Basically, an ‘on click toggle: true’ type function.

        - type: button
          position: 362, 8
          text: Set 23
          icon: 󰐸
          enabled: return true;
          on_click:
            #### something to show the button is being pressed ####
            then:
              - homeassistant.service:
                  service: script.set_heat_pump_23

Thank you again! A super nice mini display / control center for HA

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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