I am using Button Controller 5.1 I need an easy way to read and store a dimmer (Fibaro Dimmer 2) dimmer level and on/off state. |This is so I can reinstate the original dimmer level and on/off state after I have done some actions. At the moment I use
Set SWITCH_STATE to false
IF (Study Downlights(on) is on TRUE) Set SWITCH_STATE to true
Set DIMMER_VAL to Study Downlights Dimmer(1)
It seems quite a clunky way to do it. IS there a more elegant way to save the state then reinstate it? Thanks for any info.