Thank you for the information. Ive read the help files multiple times and either im just that stupid or just not understanding it for some reason.
This is what im attempting to do:
using this:
[{"id":"6eeb52c2.cd714c","type":"server-state-changed","z":"7a5cf191.9decb","name":"Mud Room Light","server":"dc363a68.6ae0a8","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"light.mud_room","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":"10","forType":"num","forUnits":"seconds","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"x":100,"y":180,"wires":[["99080d1b.e64"],[]]},{"id":"99080d1b.e64","type":"api-call-service","z":"7a5cf191.9decb","name":"Turn Off","server":"dc363a68.6ae0a8","version":1,"debugenabled":false,"service_domain":"homeassistant","service":"turn_off","entityId":"","data":"{ \"entity_id\": $join(payload.entity_id, \",\") }","dataType":"jsonata","mergecontext":"","output_location":"","output_location_type":"none","mustacheAltTags":false,"x":400,"y":160,"wires":[["52f2b303.867c1c"]]},{"id":"dd14ac56.11fc","type":"server-state-changed","z":"7a5cf191.9decb","name":"Hall Light","server":"dc363a68.6ae0a8","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"light.hall_light","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":"10","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"x":80,"y":240,"wires":[["99080d1b.e64"],[]]},{"id":"bb5506f.1cd4df8","type":"server-state-changed","z":"7a5cf191.9decb","name":"Basement Step Lights","server":"dc363a68.6ae0a8","version":1,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"light.basement_steps","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"on","halt_if_type":"str","halt_if_compare":"is","outputs":2,"output_only_on_state_change":true,"for":"10","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"x":120,"y":300,"wires":[["99080d1b.e64"],[]]},{"id":"52f2b303.867c1c","type":"debug","z":"7a5cf191.9decb","name":"","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"true","targetType":"full","statusVal":"payload","statusType":"auto","x":520,"y":80,"wires":[]},{"id":"dc363a68.6ae0a8","type":"server","name":"Home Assistant","legacy":false,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true}]
I get no errors now but it does not actually turn the light off. ad in debug info it shows the payload as being on…