Semi complicated if this then that rule

I mentioned in the other thread that I think the reason the "restore" is failing isn't because it isn't capturing all the correct settings but rather because Hue doesn't accept color/level commands when off, so if it was white and off when captured, it can't restore the state to white and off in one step and will probably just do the "off" part.

I proposed a workaround in my latest post in that thread.

As I mentioned in the other thread, the capture isn't likely to be the problem but rather the restore if the original state was off. The Hue Bridge will not accept color or level commands for "prestaging" when a bulb is off, or nor will it obey color and level commands sent in conjunction with a command to turn a bulb off. This isn't really a Hubitat thing, but you can work around it by capturing and restoring an "on" bulb, then manually adjusting the "on" state yourself if needed. Take a look at the rule I just posted in the other thread. It's not the only way you could do this, but it looks a lot simpler than the above. :slight_smile: