Merge pull request #71 from carlallen/patch-1

Add back in sensor_name and improve description for offset
This commit is contained in:
Manuel83
2017-07-10 21:57:36 +02:00
committed by GitHub
+2 -2
View File
@@ -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):