Add MySensors S_MOISTURE type as sensor (#54583)

This commit is contained in:
Jan Jurča 2021-08-14 11:05:23 +02:00 committed by GitHub
parent 08d8b026d0
commit 8d7a136fc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -85,6 +85,7 @@ SENSORS: dict[str, list[str | None] | dict[str, list[str | None]]] = {
DEVICE_CLASS_ILLUMINANCE,
STATE_CLASS_MEASUREMENT,
],
"S_MOISTURE": [PERCENTAGE, "mdi:water-percent", None, None],
},
"V_VOLTAGE": [
ELECTRIC_POTENTIAL_VOLT,