Fix power_state set to python object repr

Change-Id: I096bc58bc1e6349d1a0f87dbad4b8ce40dc2cc09
Closes-Bug: #1237678
Merge "Fix power_state set to python object repr"