Skip to content

Commit

Permalink
linter fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tillsteinbach committed Nov 28, 2023
1 parent 9058ae4 commit ad46643
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vwsfriend/vwsfriend/homekit/battery_temperature.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ def onChargingState(self, element, flags):
def onBatteryTemperatureChange(self, element, flags):
if flags & AddressableLeaf.ObserverEvent.VALUE_CHANGED and self.batteryTemperatureStatus is not None \
and self.batteryTemperatureStatus.temperatureHvBatteryMin_K.enabled and self.batteryTemperatureStatus.temperatureHvBatteryMax_K.enabled:
self.setBatteryTemperature(self.batteryTemperatureStatus.temperatureHvBatteryMin_K.value, self.batteryTemperatureStatus.temperatureHvBatteryMax_K.value)
self.setBatteryTemperature(self.batteryTemperatureStatus.temperatureHvBatteryMin_K.value,
self.batteryTemperatureStatus.temperatureHvBatteryMax_K.value)
LOG.debug('Battery temperature Changed: %f to %f °C', self.batteryTemperatureStatus.temperatureHvBatteryMin_K.value,
self.batteryTemperatureStatus.temperatureHvBatteryMax_K.value)
else:
Expand Down

0 comments on commit ad46643

Please sign in to comment.