Jump to content
Guides for the Forum Read more... ×
Poradniki na Forum Read more... ×
Sign in to follow this  
Patrick

Pop-up for basic functions

Recommended Posts

I have a related question abut Pop-ups, 

 

Are there any plans to extend/ enrich the Pop_up function instead of calling to a different scene you can start a function in the same scene as the pop-up is running in.

 

Example

buttons = {

    { caption = 'Yes', sceneId = 1 },

    { caption = 'No', sceneId = 0 }

}

 

Why not something like a function:

 

function LightOn()
  fibaro:call(539, “turnOn");

end

 

function LightOff()
  fibaro:call(539, “turnOff");

end

 

buttons = {

    { caption = ‘Yes’, LightsOn() },

    { caption = ‘No’, LightsOff () }

}

 

Share this post


Link to post
Share on other sites

I moved your post here, as it is a suggestion ;)

I will submit it to the team!

Thanks!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×