소스 검색

Add back in sensor_name and improve description for offset

tags/3.1_alpha
Carl Allen GitHub 8 년 전
부모
커밋
a978f43649
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      modules/base_plugins/one_wire/__init__.py

+ 2
- 2
modules/base_plugins/one_wire/__init__.py 파일 보기

@@ -66,8 +66,8 @@ class myThread (threading.Thread):
@cbpi.sensor
class ONE_WIRE_SENSOR(SensorPassive):

offset = Property.Number("Offset", True, 0,description="Offset which is added to the received sensor data. positie and negatie values are possible" )
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. Positive and negative values are both allowed.")

def init(self):



불러오는 중...
취소
저장