Xiaomi / Mijia socket- state memory

  1. Mijia socket have function- state memory after power reset.
    This finction work without the gateway. In this case memory state - in socket.
    Have any way to control this parameter to switch on/off this func in socket?

  2. System (hasio+ mijia socet) work, in hassio socket switcing on, after i remove soket from AC, then put back. Socket after power up- switching off, and in hassio UI switch turning off. Can i any way to stay socket after power up in UI condition?