Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

Commit

Permalink
Fix ENV desired_temp
Browse files Browse the repository at this point in the history
  • Loading branch information
pilotak committed Nov 8, 2020
1 parent 519cb2f commit 35ff88a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fan.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import RPi.GPIO as GPIO


DESIRED_TEMP = os.getenv('DESIRED_TEMP', 40)
DESIRED_TEMP = float(os.getenv('DESIRED_TEMP', 40))

FAN_PIN = int(os.getenv('FAN_PIN', 13))
FAN_PWM_MIN = int(os.getenv('FAN_PWM_MIN', 20))
Expand Down

0 comments on commit 35ff88a

Please sign in to comment.