Skip to content

Commit

Permalink
Update temperature_sensor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lboue authored Oct 27, 2024
1 parent b5066df commit ec8c2c1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions circuitmatter/device_types/sensor/temperature_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,4 @@ def __init__(self, name):

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

0 comments on commit ec8c2c1

Please sign in to comment.