mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Adjust device classes in smartthings (#79283)
This commit is contained in:
@@ -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,
|
||||
),
|
||||
|
Reference in New Issue
Block a user