scale property

int get scale

Scales:

  • METER_ELECTRICAL: 0 = kWh

Implementation

int get scale => ((data[9] >> 5) & 0x04) + ((data[10] >> 3) & 0x03);