Wemos D1 Mini AC voltage meter using ZMPT101B

Hi Guys,
I’m new to HA and all things ESP etc. so please forgive me if this is an easy question!
I’m already using a four way mains power sensor board (MottramLabs) which is live and working but does not sense voltage.
I have a Wemos D1 Mini and a ZMPT101B AC voltage sensor and cannot find any readily available YAML code for the sensor.
Does anyone know where I could find this or has the code available please?

Thanks for reading the post!
Mel.

Edit: After 3 days of searching I have found my answer :slight_smile: it is usually the case that asking the question helps find an answer! :laughing:

Feel free to post or link it here in case some one stumbles upon your thread seeking for the answers :wink:

1 Like

Hi Can you pleas post the code here?
Thanks