power abstract method

Future<double> power({
  1. Map<String, dynamic>? extra,
})

Get the power (watts)

var power = await myPowerSensor.power();

For more information, see Power Sensor component.

Implementation

Future<double> power({Map<String, dynamic>? extra});