1
0
mirror of https://github.com/esphome/esphome.git synced 2025-03-15 07:08:20 +00:00

Adding SI7021 sensor to config validation (#375)

This commit is contained in:
Antoine GRÉA 2019-01-25 17:55:29 +01:00 committed by Otto Winter
parent ca9e39ffed
commit c8a028c5ec

View File

@ -16,6 +16,7 @@ DHT_MODELS = {
'DHT22': DHTModel.DHT_MODEL_DHT22, 'DHT22': DHTModel.DHT_MODEL_DHT22,
'AM2302': DHTModel.DHT_MODEL_AM2302, 'AM2302': DHTModel.DHT_MODEL_AM2302,
'RHT03': DHTModel.DHT_MODEL_RHT03, 'RHT03': DHTModel.DHT_MODEL_RHT03,
'SI7021': DHTModel.DHT_MODEL_SI7021,
} }
MakeDHTSensor = Application.struct('MakeDHTSensor') MakeDHTSensor = Application.struct('MakeDHTSensor')