Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bnavigator committed Jan 9, 2025
1 parent fbcb68e commit 66ec7ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions weconnect/elements/trip.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __init__(
self.averageSpeed_kmph = AddressableAttribute(localAddress='averageSpeed_kmph', parent=self, value=None, valueType=int)
self.averageAuxConsumption = AddressableAttribute(localAddress='averageAuxConsumption', parent=self, value=None, valueType=float)
self.averageRecuperation = AddressableAttribute(localAddress='averageRecuperation', parent=self, value=None, valueType=float)
self.totalAuxConsumption_Kwh = AddressableAttribute(localAddress='totalAuxConsumption_Kwh', parent=self, value=None, valueType=float)
self.totalAuxConsumption_Kwh = AddressableAttribute(localAddress='totalAuxConsumption_Kwh', parent=self, value=None, valueType=float)
self.totalElectricConsumption_kwh = AddressableAttribute(localAddress='totalElectricConsumption_kwh', parent=self, value=None, valueType=float)

self.fixAPI = fixAPI
Expand Down Expand Up @@ -114,7 +114,7 @@ def __str__(self): # noqa: C901
if self.averageAuxConsumption.enabled:
returnString += f'Average Aux Consumption: {self.averageAuxConsumption.value}\n'
if self.averageRecuperation.enabled:
returnString += f'Average Recuperation: {self.averageRecuperation.value}\n'
returnString += f'Average Recuperation: {self.averageRecuperation.value}\n'
if self.totalAuxConsumption_Kwh.enabled:
returnString += f'Total Aux Consumption: {self.totalAuxConsumption_Kwh}'
if self.totalElectricConsumption_kwh.enabled:
Expand Down

0 comments on commit 66ec7ce

Please sign in to comment.