Fix adapter powerOn/Off

and merge from cloudeebus