It should work. QML has automagical data bindings for most things.
Btw, there's a Settings LED plugin in OpenRepos, why not add the support in it instead?