Soil moisture should have a device class of moisture, not humidity.
@@ -40,6 +40,15 @@ entities:
# format: min,max
- entity: sensor
class: humidity
+ deprecated: sensor_moisture
+ dps:
+ - id: 7
+ type: integer
+ name: sensor
+ unit: "%"
+ class: measurement
+ - entity: sensor
+ class: moisture
dps:
- id: 7
type: integer
@@ -31,7 +31,7 @@ entities:
type: boolean
name: Soil moisture
- class: humidity
category: diagnostic
- id: 102
@@ -39,7 +39,7 @@ entities:
unit: C
name: Soil moisture 1
@@ -467,7 +467,7 @@ entities:
name: Soil moisture 2
- id: 151