Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


  • 0

how to disable a quick app button


Question

Posted

             Help. I have a Quick App and i want disable a button control with LUA command. Does anyone have a suggestion? Thanks!

 

                                   Hernán

Please login or register to see this code.

Please login or register to see this image.

/monthly_2025_02/image.png.21f96a9c279ef89148f5651abff002e5.png" />

3 answers to this question

Recommended Posts

  • 0
Posted

From within the quickapp: 

 

Please login or register to see this code.


 

  • Like 1
  • 0
  • Inquirer
  • Posted
    On 2/1/2025 at 7:39 PM, SmartHomeEddy said:

    From within the quickapp: 

     

    Please login or register to see this code.


     

     

    Hi @SmartHomeEddy thank you so much! If i want only "enable" or "disable" the button but the button is visible in UI and the yubii app which command i must use??

    Is there any document or link to see all posible command to use? Because in the oficial manual (link below) only is the basic command. 

     

    Please login or register to see this link.

     

    Thank you again for help me! 

     

                  Hernán

    • 0
    Posted

    Please login or register to see this code.

    This will only hide the button (so you also can't use it)

     

    If you want to disable the (user created) button, you could change the text of the button and don't react on pushing it. 

    Please login or register to see this code.

     

    There could be some more manuals, but unfortunately there are not. So you have to study other quickapps or search the forum for nice solutions. I haven't found a way to actually disable a button, like self:updateView("button_ID", "enabled", false) 

     

     

    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.

    Guest
    Answer this question...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.

    ×
    ×
    • Create New...