Homey Community Forum

Reload capability/app after setCapabilityOptions()

After calling setCapabilityOptions(‘volume_set’, { min, max, step }), the backend code is changed however the gui is not directly changed. Only after leaving the device and reentering. This results in unknown error behavior when sliding the volume slider below or above the new limits as long the device is not reentered again.

Is there an option to reload the app/gui programmatically after a setCapabilityOptions() or at least close the device GUI after a onSettings() or catch the onCapabilityVolume(value) error ?