With OpenTx 2.2 it is possible to have multiple Lipo sensors, each with a user-assigned name. The call to getValue() returns a table with the current voltage of each of the cells it is monitoring.
This example demonstrates getting Lipo cell voltage from a sensor with the default name of 'Cels'