Problems with a value template in a binary_sensor for future events

The error explains how to fix it. You can read this thread for details about using default.