There is one more piece of equipment I forgot to mention above. I already had a garage door tilt sensor mounted to the garage door. This is needed to indicate door position in my rule below. In this case it is one of the Samsung multi-sensors. Not sure how well other sensors might work to indicate movement vs open vs closed.
For a rule. I had to put some thought into this, how I wanted to change color to indicate position, and I didn't want the light on all the time wasting power or just having weird glowing lights in the garage.
This is what I came up with. It surely isn't perfect, but it does work. The idea is that the indicator light is off until you open the door. The indicator light is yellow when the door is moving either up or down. When the door is open and beam is blocked, the indicator light is red, and when the door is open and the beam is clear, the indicator light is green.