Adjusted sensor type

This commit is contained in:
Maximilian Giller 2023-10-17 00:19:51 +02:00
parent 670bcda19e
commit d20f9bc0ad

View file

@ -2,7 +2,7 @@ import Adafruit_DHT
class Dht22Sensor:
def __init__(self, pin):
self.sensor = Adafruit_DHT.DHT22
self.sensor = Adafruit_DHT.AM2302
self.pin = pin
def read(self):