[FEATURE REQUEST] Add Restore to Color Animations App
Would love to see a native capture/restore added to the Color Animations app so it can manage the full animation lifecycle without needing external Rule Machine rules.
The ask:
When an animation starts, capture the current bulb state.
When it stops, restore it.
Suggested toggles (especially important for Hue built-in integration users):
Restore state when stopped
Preserve colorMode on restore
Restore color/CT state even if bulb was off (but return to off after) - prevents the bulb from coming back on manually to the last animation color
Restore brightness level
Fade to restored state (with transition time field)
Rule Machine does track the color mode, contrary to what the AI model told you. Are you sure that the bulb is reporting its states correctly in the first place? Hue Bridge bulbs are notorious for not doing this, as Hue has started using xy-only color on their API recently, as opposed to traditional hue/saturation (or both) values. There really isn't a good workaround for this at the moment, as Hubitat supports only hue/saturation color, and conversion between the two models is difficult.
Looking at "Current States" on the device detail page for the device (bulb, group, etc.) itself is the best way to tell.
This is not a comment on the value of the feature request itself, just a note that it might not do/help with what you're thinking.
Thanks for the correction on RM, good to know it handles colorMode properly.
The xy vs hue/saturation context is really helpful and i was not fully aware of this change. I'll check Current States on my bulbs to see what they're reporting. If they've shifted to xy-only that could explain a lot, though the issue has been sporadic with no real pattern, which makes it harder to pin down. For reference I'm running 26 Hue bulbs and strips, so there's a decent mix in play.
Either way, I'd still love to see restore added natively to the app. Even if color accuracy on Hue isn't perfect.
Right now it's just a few more moving parts than it should be to get back to where you started.
That's not quite what Robert means. The issue is more based on how are you controlling the Hue bulbs. If you are controlling them via the Hue app or Hue scenes brought in by the integration, the API will report things in XY. Hubitat will list the devices in their last known state (CT or RGB) when controlling bulbs this way, but it might not be correct.
If you are sending commands from Hubitat (i.e. setCT or setColor), then Hubitat will be able to track the last known state and use the capture/restore properly.
On/Off is generally universal and should work fine.
@aaiyar - This has already been established by @bertabcd1234 ...OP has been corrected.
@JB10 - I do not send commands via the Hue app at all. Only with HE.
Let's step back for a second. The original ask was simply to have restore built into the Color Animations app. Yes, I have had issues with capture and restore on Hue devices, but I know I am not alone in that and I don't think HE is fully to blame either. That is a separate conversation worth having, but I don't want it to derail what I think is a straightforward and useful feature request.