Did this circuit implementation is correct?

Hi,i would like to implement a smart plug which uses a relay module annd a current sensor ina219 to calculate the energy consumption of a device.Can you please help me with this circuit ?

You would need to upload the sketch (the .fzz file, upload is 7th icon from the left in the reply menu) before anything useful can be done (images are basically useless.) As well we would need an explanation of what the circuit is intended to do. Of the top the LEDis likely wrong as it needs a current limiting resistor and a power supply but it is impossible to tell from an image.