turn off lamp at midnight