Does anybody know if it is possible to set the level of a dimmer without switching the device on?
It seems properties of the dimmer (or switch) object in DzVents are readonly. So the only possible way to mutate them is by using the corresponding methods. So this does not work:
Code: Select all
dimmer.level = 20
Code: Select all
dimmer.setLevel(20)
dimmer.dimTo(20)
What I tried so far is:
Code: Select all
dimmer.level = 20
--
dimmer.setLevel(20).silent()
--
dimmer.dimTo(30).afterSec(4)
dimmer.cancelQueuedCommands()