From 6d6876ca39622a1cd2931d5c1771857d382f21ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20GR=C3=89A?= Date: Fri, 25 Jan 2019 17:55:29 +0100 Subject: [PATCH] Adding SI7021 sensor to config validation (#375) --- esphomeyaml/components/sensor/dht.py | 1 + 1 file changed, 1 insertion(+) diff --git a/esphomeyaml/components/sensor/dht.py b/esphomeyaml/components/sensor/dht.py index 269687be36..f8f24c736b 100644 --- a/esphomeyaml/components/sensor/dht.py +++ b/esphomeyaml/components/sensor/dht.py @@ -16,6 +16,7 @@ DHT_MODELS = { 'DHT22': DHTModel.DHT_MODEL_DHT22, 'AM2302': DHTModel.DHT_MODEL_AM2302, 'RHT03': DHTModel.DHT_MODEL_RHT03, + 'SI7021': DHTModel.DHT_MODEL_SI7021, } MakeDHTSensor = Application.struct('MakeDHTSensor')