@riddix/hamh 2.1.0-alpha.564 → 2.1.0-alpha.565
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/backend/cli.js
CHANGED
|
@@ -175691,7 +175691,7 @@ function SensorDevice(homeAssistantEntity) {
|
|
|
175691
175691
|
}
|
|
175692
175692
|
return TemperatureSensorType.set({ homeAssistantEntity });
|
|
175693
175693
|
}
|
|
175694
|
-
if (deviceClass === SensorDeviceClass.humidity) {
|
|
175694
|
+
if (deviceClass === SensorDeviceClass.humidity || deviceClass === SensorDeviceClass.moisture) {
|
|
175695
175695
|
return HumiditySensorType.set({ homeAssistantEntity });
|
|
175696
175696
|
}
|
|
175697
175697
|
if (deviceClass === SensorDeviceClass.illuminance) {
|