Hey guys i am new to home assistant but i am trying to learn quickly… in the last week i spent my time to get things properly in the groups and pages so now that it is done i am trying to play a bit with node red.
I am not trying to do anything fancy just to set an alexa command to turn on/off my pc i have verified that the switch works with the web ui and i cant seem to get it to work .
The debug message shows no errors at all but nothing happens when the command is triggered
Here is the code if anyone is interested
[{"id":"75cb830.b77fd7c","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"b0225800.03d3c8","type":"alexa-local","z":"75cb830.b77fd7c","devicename":"PC","inputtrigger":false,"x":130,"y":320,"wires":[["a6943937.cbbe38","558d3a1d.c46644"]]},{"id":"a6943937.cbbe38","type":"debug","z":"75cb830.b77fd7c","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":170,"y":500,"wires":[]},{"id":"558d3a1d.c46644","type":"switch","z":"75cb830.b77fd7c","name":"On off","property":"payload","propertyType":"msg","rules":[{"t":"regex","v":"on","vt":"str","case":false},{"t":"regex","v":"off","vt":"str","case":false}],"checkall":"true","repair":false,"outputs":2,"x":300,"y":320,"wires":[["4c1db09d.186db"],["e6b1f05d.d18ce"]]},{"id":"4c1db09d.186db","type":"api-call-service","z":"75cb830.b77fd7c","name":"Pc on","server":"ec9b32e7.6f96c","service_domain":"homeassistant","service":"turn_on","data":"{\"entity_id\":\"switch.windowsmarcos\"}","mergecontext":"","x":510,"y":260,"wires":[[]]},{"id":"e6b1f05d.d18ce","type":"api-call-service","z":"75cb830.b77fd7c","name":"Pc off","server":"ec9b32e7.6f96c","service_domain":"homeassistant","service":"turn_off","data":"{\"entity_id\":\"switch.windowsmarcos\"}","mergecontext":"","x":510,"y":340,"wires":[[]]},{"id":"ec9b32e7.6f96c","type":"server","z":"","name":"Home Assistant","url":"http://hassio/homeassistant","pass":"XXXXXXXX"}]