groupactivation
Posted: Thursday 17 January 2019 16:39
i activate a scene b
dz.setScene('Peter naar werk', 'On')
is there a way to activate a group?
dz.setScene('Peter naar werk', 'On')
is there a way to activate a group?
setScene is deprecated. Please use the scene object directlypvklink wrote: Thursday 17 January 2019 16:39 i activate a scene b
dz.setScene('Peter naar werk', 'On')
Code: Select all
dz.scenes('Peter naar werk').switchOn()is there a way to activate a group?
Code: Select all
dz.groups('groupName').switchOn()No not wrong but this function is deprecated. It means that it is still in use, but only for historical purposes and it could be removed in a next major release. It is recommended that you do not use deprecated functions or features.