How to read the voltage output of a 12v battery into Hubitat?

FYI, I finally got the low voltage alert working today ... see this thread for more info - Vote for Shelly UNI - #70 by olliesshop.