Update temperature_sensor.py

This commit is contained in:
Ludovic BOUÉ 2024-10-27 13:10:10 +01:00 committed by GitHub
parent b5066df915
commit ec8c2c19a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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