Ambient sensors are not diagnostic/internal (#73928)

This commit is contained in:
beren12 2022-06-29 07:10:48 -04:00 committed by GitHub
parent e32694c146
commit 4bdec1589d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -555,8 +555,6 @@ SENSOR_TYPES: Final[dict[str, SensorEntityDescription]] = {
native_unit_of_measurement=PERCENTAGE, native_unit_of_measurement=PERCENTAGE,
device_class=SensorDeviceClass.HUMIDITY, device_class=SensorDeviceClass.HUMIDITY,
state_class=SensorStateClass.MEASUREMENT, state_class=SensorStateClass.MEASUREMENT,
entity_category=EntityCategory.DIAGNOSTIC,
entity_registry_enabled_default=False,
), ),
"ambient.temperature": SensorEntityDescription( "ambient.temperature": SensorEntityDescription(
key="ambient.temperature", key="ambient.temperature",
@ -564,8 +562,6 @@ SENSOR_TYPES: Final[dict[str, SensorEntityDescription]] = {
native_unit_of_measurement=TEMP_CELSIUS, native_unit_of_measurement=TEMP_CELSIUS,
device_class=SensorDeviceClass.TEMPERATURE, device_class=SensorDeviceClass.TEMPERATURE,
state_class=SensorStateClass.MEASUREMENT, state_class=SensorStateClass.MEASUREMENT,
entity_category=EntityCategory.DIAGNOSTIC,
entity_registry_enabled_default=False,
), ),
"watts": SensorEntityDescription( "watts": SensorEntityDescription(
key="watts", key="watts",