Automation: Multiple conditions including state duration

0.0 vs. 0.1 did the trick but the logic still did not work for the condition of 45sec. It would never enter the trigger because the condition was never met. I ended up re-writing using the thread below.

Thanks everyone!