Until somebody else offers you a more beautiful solution, this will do it. It mimics your conditional section from you Yaml code.
[{"id":"936adf70.e56d9","type":"time-range-switch","z":"10e86c3d.c28d14","name":"","lat":"","lon":"","startTime":"07:00","endTime":"11:00","startOffset":0,"endOffset":0,"x":280,"y":140,"wires":[["2f08fbd7.278124"],[]]},{"id":"b07f8abc.d28c38","type":"inject","z":"10e86c3d.c28d14","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":110,"y":140,"wires":[["936adf70.e56d9"]]},{"id":"2f08fbd7.278124","type":"api-render-template","z":"10e86c3d.c28d14","name":"Template one","server":"9405c3fe.d0a6c","template":"{{ ((as_timestamp(now()) | float) -\n (as_timestamp(state_attr('automation.motion_morning','last_triggered')) |\n default(0) | float)) > 36000.0 }}","resultsLocation":"templateOne","resultsLocationType":"msg","templateLocation":"","templateLocationType":"none","x":470,"y":140,"wires":[["3a2c0b3b.df0dd4"]]},{"id":"3a2c0b3b.df0dd4","type":"switch","z":"10e86c3d.c28d14","name":"is True?","property":"templateOne","propertyType":"msg","rules":[{"t":"eq","v":"True","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":630,"y":140,"wires":[["7f074701.e4ed18"]]},{"id":"7f074701.e4ed18","type":"api-render-template","z":"10e86c3d.c28d14","name":"Template two","server":"9405c3fe.d0a6c","template":"{{as_timestamp(now()) - \n as_timestamp(states.automation.motion_morning_kitchen.attributes.last_triggered)|\n int >= 14400}}","resultsLocation":"templateTwo","resultsLocationType":"msg","templateLocation":"","templateLocationType":"none","x":790,"y":140,"wires":[["4da4a4d0.b75f8c"]]},{"id":"4da4a4d0.b75f8c","type":"switch","z":"10e86c3d.c28d14","name":"is True?","property":"templateTwo","propertyType":"msg","rules":[{"t":"eq","v":"True","vt":"str"}],"checkall":"true","repair":false,"outputs":1,"x":960,"y":140,"wires":[["29d9ac07.d94314"]]},{"id":"29d9ac07.d94314","type":"debug","z":"10e86c3d.c28d14","name":"Then do","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":1110,"y":140,"wires":[]},{"id":"9405c3fe.d0a6c","type":"server","name":"Home Assistant","addon":true}]