Add hum_raw_i2c & temp_raw_i2c as humidity capable

This commit is contained in:
Mitch Gallman
2021-05-03 23:17:22 -04:00
committed by GitHub
parent 607fc1d2fb
commit 65c0152437

View File

@@ -56,7 +56,7 @@ $(function () {
self.notifications = ko.observableArray([]);
self.humidityCapableSensor = function(sensor){
if (['11', '22', '2302', 'bme280', 'am2320', 'si7021'].indexOf(sensor) >= 0){
if (['11', '22', '2302', 'bme280', 'am2320', 'si7021', 'hum_raw_i2c', 'temp_raw_i2c'].indexOf(sensor) >= 0){
return true;
}
return false;