Always nice to have real life examples, Justin. The Tuya “trick” is posted earlier. Not to nag, but just fyi.
And way before my example, it is explained here also as I discovered later on