Is the live block connection to go into the STC1000 correct?
So from your image: Black is Neutral, Red is live, Green is ground. The left part I suppose is a switch. Everything OK, but the lamp will always glow, if you need to glow only when switched on, then you should connect it to black &amp; blue wire.