class MeterNotAvailableError(PowerwallError):
def __init__(self, meter: MeterType, available_meters: List[MeterType]):
self.mete: MeterType = meter
self.available_meters: List[MeterType] = available_meters
super().__init__(
"Meter {} is not available at your powerwall. Following meters are available: {} ".format(
meter.value, available_meters
)
)
Should "self.mete: MeterType = meter" instead be "self.meter: MeterType = meter" ?
In error.py (v0.3.19):
Should "self.mete: MeterType = meter" instead be "self.meter: MeterType = meter" ?