Move ambient sensors (temperature and humidity) to diagnostic in NUT (#124180)

Move ambient sensors (temperature and humidity) to Diagnostic
This commit is contained in:
tdfountain 2024-09-06 07:53:05 -07:00 committed by GitHub
parent f86bd3dfee
commit 6b75c86a17
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -927,6 +927,7 @@ SENSOR_TYPES: Final[dict[str, SensorEntityDescription]] = {
native_unit_of_measurement=PERCENTAGE,
device_class=SensorDeviceClass.HUMIDITY,
state_class=SensorStateClass.MEASUREMENT,
entity_category=EntityCategory.DIAGNOSTIC,
),
"ambient.temperature": SensorEntityDescription(
key="ambient.temperature",
@ -934,6 +935,7 @@ SENSOR_TYPES: Final[dict[str, SensorEntityDescription]] = {
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
device_class=SensorDeviceClass.TEMPERATURE,
state_class=SensorStateClass.MEASUREMENT,
entity_category=EntityCategory.DIAGNOSTIC,
),
"watts": SensorEntityDescription(
key="watts",