kizniche / Mycodo

An environmental monitoring and regulation system
http://kylegabriel.com/projects/
GNU General Public License v3.0
2.94k stars 492 forks source link

Fix for Issue #1234 #1235

Closed gngenius02 closed 1 year ago

gngenius02 commented 1 year ago

Convert type of value being passed to force_calibration method from float to int as expected from the library:

https://github.com/adafruit/Adafruit_CircuitPython_SCD4X/blob/a9ae07d8c30c45e7a36d5308bdaaa2887c3c7e31/adafruit_scd4x.py#L161