1) Give a description of the problem
Design of piston for
If time between 8pm and 11am
AND
Kids Door opens
Then
IF hallway lamp switch on
Set level at 60%
Wait 5 minutes
Set level at 20%
OR
If hallway lamp switch off
Set level at 60%
Wait 5 minutes
Turn off
**4)
This is hit or miss, of the door closes the timer exits and the light does not turn off or dim depending on the state.