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,
|
Attribute.body_weight_measurement,
|
||||||
"Body Weight",
|
"Body Weight",
|
||||||
MASS_KILOGRAMS,
|
MASS_KILOGRAMS,
|
||||||
None,
|
SensorDeviceClass.WEIGHT,
|
||||||
SensorStateClass.MEASUREMENT,
|
SensorStateClass.MEASUREMENT,
|
||||||
None,
|
None,
|
||||||
)
|
)
|
||||||
|
@ -209,7 +209,7 @@ CAPABILITY_TO_SENSORS: dict[str, list[Map]] = {
|
||||||
Attribute.equivalent_carbon_dioxide_measurement,
|
Attribute.equivalent_carbon_dioxide_measurement,
|
||||||
"Equivalent Carbon Dioxide Measurement",
|
"Equivalent Carbon Dioxide Measurement",
|
||||||
CONCENTRATION_PARTS_PER_MILLION,
|
CONCENTRATION_PARTS_PER_MILLION,
|
||||||
None,
|
SensorDeviceClass.CO2,
|
||||||
SensorStateClass.MEASUREMENT,
|
SensorStateClass.MEASUREMENT,
|
||||||
None,
|
None,
|
||||||
)
|
)
|
||||||
|
@ -229,7 +229,7 @@ CAPABILITY_TO_SENSORS: dict[str, list[Map]] = {
|
||||||
Attribute.gas_meter,
|
Attribute.gas_meter,
|
||||||
"Gas Meter",
|
"Gas Meter",
|
||||||
ENERGY_KILO_WATT_HOUR,
|
ENERGY_KILO_WATT_HOUR,
|
||||||
None,
|
SensorDeviceClass.ENERGY,
|
||||||
SensorStateClass.MEASUREMENT,
|
SensorStateClass.MEASUREMENT,
|
||||||
None,
|
None,
|
||||||
),
|
),
|
||||||
|
@ -248,7 +248,7 @@ CAPABILITY_TO_SENSORS: dict[str, list[Map]] = {
|
||||||
Attribute.gas_meter_volume,
|
Attribute.gas_meter_volume,
|
||||||
"Gas Meter Volume",
|
"Gas Meter Volume",
|
||||||
VOLUME_CUBIC_METERS,
|
VOLUME_CUBIC_METERS,
|
||||||
None,
|
SensorDeviceClass.VOLUME,
|
||||||
SensorStateClass.MEASUREMENT,
|
SensorStateClass.MEASUREMENT,
|
||||||
None,
|
None,
|
||||||
),
|
),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue