This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.
Closed

get all settings

MatjaLipuMatjaLipu Member
edited March 2016 in Archive
How can we load all app settings?
In app settings page I want to load all settings and update fields accordingly.

Currently we need to make multiple .get('param1/param2') calls. Alternative is to save all settings in one field .set('all', {param1:1, param2:2})...

I suggest to add Homey.get(function(all){}) to get all settings.

Thanks for help..

Comments

  • I stored all settings in 1 collection. Its a cheat, but it works very good. 
  • EmileEmile Administrator, Athom
    Good suggestion, I'll put it on my to-do list :)
  • also Homey.get(['val1', 'val2'], function(all){}) would be great :)
This discussion has been closed.