I think you might have multiple objects called “IndicatorLightR” in your scene. GameObject.Find() only returns the first one it finds. If by the time it gets called there are multiple objects with the same name, it may return one that doesn’t have the component you’re looking for.
GameObject.Find() isn’t usually a method that you want to use outside of a quick prototyping context. Instead, I’d recommend using Tags, or a direct reference to the GameObject. Also, make sure your GameObject is enabled when you try to find it.
Another debug process would be to break up your line into several:
This gives you the ID of the component, that you can then compare to its id in the Inspector (in Debug mode. Right click the inspector and set it to “Debug” instead of “Normal”). That way you can make sure it’s the object you want.