mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-21 22:48:16 +01:00
test
This commit is contained in:
parent
84bb745054
commit
c5d6cb5ae5
1 changed files with 1 additions and 2 deletions
|
@ -61,7 +61,6 @@ class OneWire(CBPiSensor):
|
||||||
def __init__(self, cbpi, id, props):
|
def __init__(self, cbpi, id, props):
|
||||||
super(OneWire, self).__init__(cbpi, id, props)
|
super(OneWire, self).__init__(cbpi, id, props)
|
||||||
self.value = 200
|
self.value = 200
|
||||||
self.reducedfrequency=int(self.props.get("ReducedLogging", 60))
|
|
||||||
|
|
||||||
async def start(self):
|
async def start(self):
|
||||||
await super().start()
|
await super().start()
|
||||||
|
@ -69,7 +68,7 @@ class OneWire(CBPiSensor):
|
||||||
self.interval = int(self.props.get("Interval", 60))
|
self.interval = int(self.props.get("Interval", 60))
|
||||||
self.offset = float(self.props.get("offset",0))
|
self.offset = float(self.props.get("offset",0))
|
||||||
|
|
||||||
self.reducedfrequency=int(self.props.get("ReducedLogging", 60))
|
self.reducedfrequency=float(self.props.get("ReducedLogging", 60))
|
||||||
self.lastlog=0
|
self.lastlog=0
|
||||||
self.sensor=self.get_sensor(self.id)
|
self.sensor=self.get_sensor(self.id)
|
||||||
self.kettleid=self.props.get("Kettle", None)
|
self.kettleid=self.props.get("Kettle", None)
|
||||||
|
|
Loading…
Reference in a new issue