Adjust device classes in smartthings (#79283)
This commit is contained in:
parent
06b1a4c2b4
commit
62b559bf36
1 changed files with 4 additions and 4 deletions
|
@ -98,7 +98,7 @@ CAPABILITY_TO_SENSORS: dict[str, list[Map]] = {
|
|||
Attribute.body_weight_measurement,
|
||||
"Body Weight",
|
||||
MASS_KILOGRAMS,
|
||||
None,
|
||||
SensorDeviceClass.WEIGHT,
|
||||
SensorStateClass.MEASUREMENT,
|
||||
None,
|
||||
)
|
||||
|
@ -209,7 +209,7 @@ CAPABILITY_TO_SENSORS: dict[str, list[Map]] = {
|
|||
Attribute.equivalent_carbon_dioxide_measurement,
|
||||
"Equivalent Carbon Dioxide Measurement",
|
||||
CONCENTRATION_PARTS_PER_MILLION,
|
||||
None,
|
||||
SensorDeviceClass.CO2,
|
||||
SensorStateClass.MEASUREMENT,
|
||||
None,
|
||||
)
|
||||
|
@ -229,7 +229,7 @@ CAPABILITY_TO_SENSORS: dict[str, list[Map]] = {
|
|||
Attribute.gas_meter,
|
||||
"Gas Meter",
|
||||
ENERGY_KILO_WATT_HOUR,
|
||||
None,
|
||||
SensorDeviceClass.ENERGY,
|
||||
SensorStateClass.MEASUREMENT,
|
||||
None,
|
||||
),
|
||||
|
@ -248,7 +248,7 @@ CAPABILITY_TO_SENSORS: dict[str, list[Map]] = {
|
|||
Attribute.gas_meter_volume,
|
||||
"Gas Meter Volume",
|
||||
VOLUME_CUBIC_METERS,
|
||||
None,
|
||||
SensorDeviceClass.VOLUME,
|
||||
SensorStateClass.MEASUREMENT,
|
||||
None,
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue