mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-09 17:07:43 +01:00
another fix
This commit is contained in:
parent
b52e260b4a
commit
54eb769fb3
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class OneWire(CBPiSensor):
|
||||||
if self.kettleid is not None and self.fermenterid is not None:
|
if self.kettleid is not None and self.fermenterid is not None:
|
||||||
self.reducedlogging=False
|
self.reducedlogging=False
|
||||||
self.cbpi.notify("OneWire Sensor", "Sensor '" + str(self.sensor.name) + "' cant't have Fermenter and Kettle defined for reduced logging.", NotificationType.WARNING, action=[NotificationAction("OK", self.Confirm)])
|
self.cbpi.notify("OneWire Sensor", "Sensor '" + str(self.sensor.name) + "' cant't have Fermenter and Kettle defined for reduced logging.", NotificationType.WARNING, action=[NotificationAction("OK", self.Confirm)])
|
||||||
if self.interval >= self.reducedfrequency:
|
if (self.reducedfrequency != 0) and (self.interval >= self.reducedfrequency):
|
||||||
self.reducedlogging=False
|
self.reducedlogging=False
|
||||||
self.cbpi.notify("OneWire Sensor", "Sensor '" + str(self.sensor.name) + "' has shorter or equal 'reduced logging' compared to regular interval.", NotificationType.WARNING, action=[NotificationAction("OK", self.Confirm)])
|
self.cbpi.notify("OneWire Sensor", "Sensor '" + str(self.sensor.name) + "' has shorter or equal 'reduced logging' compared to regular interval.", NotificationType.WARNING, action=[NotificationAction("OK", self.Confirm)])
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue