Change light strip to red when motion detected

RM can handle capture and restore--there are actions built in. However, it's a bit tricky if the bulb was off, where only the on/off state will get restored and you'll have issues turning it back on if you don't specify a new color or CT (the "off" state gets restored correctly, but with a future on() command, most bulbs would turn on to red or whatever you had it set to). Here's a lengthy thread where I tested a solution for someone to work around that, if you are interested:

This was for a different purpose and isn't exactly what you want, but it is pretty close and should be doable if you know how to do a basic motion lighting rule (if not, the docs have many examples).