This sensor device is built to measure the amount of current being used, especially in power supplies as the design is based on Arduino. The main component used is the ACS712 sensor from Allegro ...
ESPHome is the sole reason I was able to build several ESP32 smart sensors without losing my patience ...