[SOLVED] How to use input_boolean.prev_light_state

I saw it in these two posts: