mirror of
https://github.com/Manuel83/craftbeerpi3
synced 2026-08-10 02:55:27 +02:00
Add back in sensor_name and improve description for offset
This commit is contained in:
@@ -66,8 +66,8 @@ class myThread (threading.Thread):
|
|||||||
@cbpi.sensor
|
@cbpi.sensor
|
||||||
class ONE_WIRE_SENSOR(SensorPassive):
|
class ONE_WIRE_SENSOR(SensorPassive):
|
||||||
|
|
||||||
|
sensor_name = Property.Select("Sensor", getSensors(), description="The OneWire sensor address.")
|
||||||
offset = Property.Number("Offset", True, 0,description="Offset which is added to the received sensor data. positie and negatie values are possible" )
|
offset = Property.Number("Offset", True, 0, description="Offset which is added to the received sensor data. Positive and negative values are both allowed.")
|
||||||
|
|
||||||
def init(self):
|
def init(self):
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user