Fix to save the correct object (bulb) state.
Merge pull request #1262 from 3yc/Change_PhilipsHue

Fix to save the correct object (bulb) state.