I played around a bit and this is how I would do it
[{"id":"6581c4e7a136c26e","type":"ui_switch","z":"0d3a52d34b03f1bc","name":"PC 1 switch","label":"<font size=\"+2\"><font color=\"brown\">PC1","tooltip":"","group":"e473f267eadc0fbb","order":1,"width":4,"height":1,"passthru":true,"decouple":"false","topic":"topic","topicType":"msg","style":"","onvalue":"true","onvalueType":"bool","onicon":"fa-2x fa-power-off","oncolor":"lime","offvalue":"false","offvalueType":"bool","officon":"fa-2x fa-power-off","offcolor":"red","animate":false,"className":"","x":230,"y":180,"wires":[["3d93a8d8868d2016"]]},{"id":"3d93a8d8868d2016","type":"kasa","z":"0d3a52d34b03f1bc","name":"tplink40 - HS105(US)","device":"192.168.1.151","interval":60000,"eventInterval":15000,"payload":"getInfo","payloadType":"info","debug":false,"x":420,"y":180,"wires":[["2d36082ebbcce245"]]},{"id":"464c1297f1d0d93d","type":"ui_text","z":"0d3a52d34b03f1bc","group":"e473f267eadc0fbb","order":3,"width":4,"height":1,"name":"pc 1 text","label":"<font size=\"+2\"><font color=\"blue\">PC 2","format":"<font size=\"+2\"><font color= {{msg.color}} > {{msg.payload}} </font>","layout":"row-spread","className":"ON.color = 'red';","style":false,"font":"","fontSize":"","color":"#000000","x":1060,"y":200,"wires":[]},{"id":"2d36082ebbcce245","type":"switch","z":"0d3a52d34b03f1bc","name":"","property":"payload.relay_state","propertyType":"msg","rules":[{"t":"eq","v":"1","vt":"num"},{"t":"eq","v":"0","vt":"num"}],"checkall":"true","repair":false,"outputs":2,"x":590,"y":180,"wires":[["eb9e225ea5b832f9"],["5af8c8990be25261"]]},{"id":"5af8c8990be25261","type":"change","z":"0d3a52d34b03f1bc","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"false","tot":"bool"},{"t":"set","p":"color","pt":"msg","to":"red","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":780,"y":200,"wires":[["d6f46141cc96dcc5","464c1297f1d0d93d"]]},{"id":"eb9e225ea5b832f9","type":"change","z":"0d3a52d34b03f1bc","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"true","tot":"bool"},{"t":"set","p":"color","pt":"msg","to":"Lime","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":780,"y":160,"wires":[["d6f46141cc96dcc5","464c1297f1d0d93d"]]},{"id":"d6f46141cc96dcc5","type":"ui_led","z":"0d3a52d34b03f1bc","order":2,"group":"e473f267eadc0fbb","width":1,"height":1,"label":"","labelPlacement":"left","labelAlignment":"left","colorForValue":[{"color":"#00ff00","value":"true","valueType":"bool"},{"color":"#ff0000","value":"false","valueType":"bool"}],"allowColorForValueInMessage":true,"shape":"square","showGlow":true,"name":"PC 1 led","x":1060,"y":160,"wires":[]},{"id":"e473f267eadc0fbb","type":"ui_group","name":"Online Devices1","tab":"20e4869160d94f4b","order":4,"disp":true,"width":"6","collapse":false,"className":""},{"id":"20e4869160d94f4b","type":"ui_tab","name":"Home2","icon":"dashboard","order":1,"disabled":false,"hidden":false}]
Note: You will have to change the KASA node to your devices IP address