I’m the one who assumed.
I guess you assume a multi color led? I see it as two separate led’s.
One flow that polls a sensor and anytime it returns >200 it turns the green led on, <200 it turns off the green led.
Another flow to turn on the red led if that sensor returns >200 for 5 min with a manual shut off/reset.
Without the op’s flow, there is no way to tell the actual set up.
Edit, yup rereading it says addressable
I believe he is referring to a current state node to block the green commands.
[{"id":"0b8f5d054fc3be02","type":"poll-state","z":"f80b6c338afd5483","name":"","server":"","version":2,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"updateinterval":"60","updateIntervalType":"num","updateIntervalUnits":"seconds","outputinitially":false,"outputonchanged":false,"entity_id":"","state_type":"str","halt_if":"2000","halt_if_type":"num","halt_if_compare":"is","outputs":2,"x":240,"y":340,"wires":[["7129ccbe48edd3a2"],["2df9574c4c2d89c4"]]},{"id":"cbd6dcc1690cd583","type":"api-call-service","z":"f80b6c338afd5483","name":"turn on green","server":"","version":3,"debugenabled":false,"service_domain":"","service":"","entityId":"","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":730,"y":340,"wires":[[]]},{"id":"0baa8cd72b5404bd","type":"api-call-service","z":"f80b6c338afd5483","name":"turn off green","server":"","version":3,"debugenabled":false,"service_domain":"","service":"","entityId":"","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":730,"y":400,"wires":[[]]},{"id":"7129ccbe48edd3a2","type":"api-current-state","z":"f80b6c338afd5483","name":"red led boolean","server":"","version":2,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is","entity_id":"","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":540,"y":340,"wires":[["cbd6dcc1690cd583"],[]]},{"id":"2df9574c4c2d89c4","type":"api-current-state","z":"f80b6c338afd5483","name":"red led boolean","server":"","version":2,"outputs":2,"halt_if":"off","halt_if_type":"str","halt_if_compare":"is","entity_id":"","state_type":"str","blockInputOverrides":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"entity"}],"override_topic":false,"state_location":"payload","override_payload":"msg","entity_location":"data","override_data":"msg","x":540,"y":400,"wires":[["0baa8cd72b5404bd"],[]]},{"id":"d902bbb3e265b662","type":"server-state-changed","z":"f80b6c338afd5483","name":"polled sensor","server":"","version":3,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"200","halt_if_type":"num","halt_if_compare":"gte","outputs":2,"output_only_on_state_change":true,"for":"5","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":250,"y":480,"wires":[["5c60f6618eb0846c"],[]]},{"id":"0e33a6d269f72dce","type":"server-state-changed","z":"f80b6c338afd5483","name":"red led boolean","server":"","version":3,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":0,"forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":260,"y":580,"wires":[["a9603147977839e1","9cddc3e2e7ec3230"]]},{"id":"a9603147977839e1","type":"api-call-service","z":"f80b6c338afd5483","name":"turn on red led","server":"","version":3,"debugenabled":false,"service_domain":"","service":"","entityId":"","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":700,"y":580,"wires":[[]]},{"id":"9cddc3e2e7ec3230","type":"api-call-service","z":"f80b6c338afd5483","name":"turn off red led","server":"","version":3,"debugenabled":false,"service_domain":"","service":"","entityId":"","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":700,"y":640,"wires":[[]]},{"id":"5c60f6618eb0846c","type":"api-call-service","z":"f80b6c338afd5483","name":"red led boolean turn on","server":"","version":3,"debugenabled":false,"service_domain":"","service":"","entityId":"","data":"","dataType":"jsonata","mergecontext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":550,"y":480,"wires":[[]]}]