@Colin just our of curiosity, did you mean something like this:
- join (manual,payload,key/value,topic)
- switch (ignore topic of the on/off buttons)
- check if gate open
-- or there's an easier/more elegant solution?
[{"id":"d297ad2a.f0cc3","type":"join","z":"cf8f0132.408f8","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":true,"timeout":"","count":"1","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"num","reduceFixup":"","x":390,"y":280,"wires":[["a6ece895.a32c88"]]},{"id":"e3a9c651.4a8ad8","type":"inject","z":"cf8f0132.408f8","name":"","topic":"gate","payload":"false","payloadType":"bool","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":160,"y":280,"wires":[["d297ad2a.f0cc3"]]},{"id":"a081bf2.0be0b4","type":"debug","z":"cf8f0132.408f8","name":"open","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":870,"y":260,"wires":[]},{"id":"35ccc47e.fc964c","type":"inject","z":"cf8f0132.408f8","name":"","topic":"value","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":180,"y":240,"wires":[["d297ad2a.f0cc3"]]},{"id":"8598d735.02d028","type":"inject","z":"cf8f0132.408f8","name":"","topic":"gate","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":160,"y":320,"wires":[["d297ad2a.f0cc3"]]},{"id":"a6ece895.a32c88","type":"switch","z":"cf8f0132.408f8","name":"topic=value","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"value","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":530,"y":280,"wires":[["4e2b1ccf.dbc6e4"]]},{"id":"4e2b1ccf.dbc6e4","type":"switch","z":"cf8f0132.408f8","name":"gate","property":"payload.gate","propertyType":"msg","rules":[{"t":"true"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":670,"y":280,"wires":[["a081bf2.0be0b4"],["4c54cf9c.75277"]]},{"id":"4c54cf9c.75277","type":"debug","z":"cf8f0132.408f8","name":"closed","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":870,"y":300,"wires":[]}]