It would be nice if rules engine could do partial device captures. For example I have a setup where I have hue lights in an area. In response to some input I would like to turn on, or adjust the brightness of the lights (for example when there is motion in the room) and then restore the lights to the previous state after some period of time.
Currently I have two bad-ish approaches, manually write conditionals to capture state the state I care about and then restore it afterwards. Or I can use the built in capture and restore, but it will mess up the coloring if the zone being controlled has mixed color. If instead of doing zone control I do bulbs there is still a bunch of problems restoring hue scenes as color transforms and such can be a problem.
Alternatively, could modify cocohue to allow exposing zones as dimmer switches in addition to as bulb like groups.
Does anyone have a better way to do partial device captures? Or to capture hue scenes without messing lighting animation scheme on restore?