update opacity only if bulb is 'on'