Store bulb states in memory