I’ve been using the Shelly Uni to measure a battery voltage and it works great!
There is a good thread with a driver here:
In case you’re interested, here’s a copy of a rule I have setup to do something similar: