You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create temperature_sensor.py extending the sensor base class. Values should simulate gradual drift rather than pure random jumps — each new reading should move slightly up or down from the previous one. Realistic range is 18 to 30 degrees Celsius. The sensor should work for any room ID passed to it so it can simulate multiple rooms. Include a short manual test at the bottom of the file that prints five consecutive readings to show the drift behaviour.
The text was updated successfully, but these errors were encountered:
Create temperature_sensor.py extending the sensor base class. Values should simulate gradual drift rather than pure random jumps — each new reading should move slightly up or down from the previous one. Realistic range is 18 to 30 degrees Celsius. The sensor should work for any room ID passed to it so it can simulate multiple rooms. Include a short manual test at the bottom of the file that prints five consecutive readings to show the drift behaviour.
The text was updated successfully, but these errors were encountered: