Update temperature_sensor.py
This commit is contained in:
parent
b5066df915
commit
ec8c2c19a7
1 changed files with 1 additions and 4 deletions
|
|
@ -19,7 +19,4 @@ class TemperatureSensor(simple_device.SimpleDevice):
|
|||
|
||||
self._temp = TemperatureMeasurement()
|
||||
self.servers.append(self._temp)
|
||||
|
||||
self._temp.MeasuredValue = random.randint(
|
||||
1500, 2500
|
||||
) # Random temp between 15°C and 25°C
|
||||
self._temp.MeasuredValue = random.randint(1500, 2500) # Random temp between 15°C and 25°C
|
||||
|
|
|
|||
Loading…
Reference in a new issue