Fix incorrect entity category for SmartThings sensors (#92232)

This commit is contained in:
Franck Nijhof 2023-04-30 02:21:55 +02:00 committed by GitHub
parent ed3c1d9b59
commit 3363830ede
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ CAPABILITY_TO_SENSORS: dict[str, list[Map]] = {
None, None,
None, None,
None, None,
EntityCategory.CONFIG, EntityCategory.DIAGNOSTIC,
) )
], ],
Capability.air_conditioner_mode: [ Capability.air_conditioner_mode: [
@ -55,7 +55,7 @@ CAPABILITY_TO_SENSORS: dict[str, list[Map]] = {
None, None,
None, None,
None, None,
EntityCategory.CONFIG, EntityCategory.DIAGNOSTIC,
) )
], ],
Capability.air_quality_sensor: [ Capability.air_quality_sensor: [
@ -160,7 +160,7 @@ CAPABILITY_TO_SENSORS: dict[str, list[Map]] = {
None, None,
None, None,
None, None,
EntityCategory.CONFIG, EntityCategory.DIAGNOSTIC,
) )
], ],
Capability.dryer_operating_state: [ Capability.dryer_operating_state: [
@ -303,7 +303,7 @@ CAPABILITY_TO_SENSORS: dict[str, list[Map]] = {
None, None,
None, None,
None, None,
EntityCategory.CONFIG, EntityCategory.DIAGNOSTIC,
) )
], ],
Capability.oven_operating_state: [ Capability.oven_operating_state: [
@ -362,7 +362,7 @@ CAPABILITY_TO_SENSORS: dict[str, list[Map]] = {
None, None,
None, None,
None, None,
EntityCategory.CONFIG, EntityCategory.DIAGNOSTIC,
) )
], ],
Capability.robot_cleaner_movement: [ Capability.robot_cleaner_movement: [
@ -382,7 +382,7 @@ CAPABILITY_TO_SENSORS: dict[str, list[Map]] = {
None, None,
None, None,
None, None,
EntityCategory.CONFIG, EntityCategory.DIAGNOSTIC,
) )
], ],
Capability.signal_strength: [ Capability.signal_strength: [
@ -433,7 +433,7 @@ CAPABILITY_TO_SENSORS: dict[str, list[Map]] = {
None, None,
None, None,
None, None,
EntityCategory.CONFIG, EntityCategory.DIAGNOSTIC,
) )
], ],
Capability.thermostat_heating_setpoint: [ Capability.thermostat_heating_setpoint: [
@ -443,7 +443,7 @@ CAPABILITY_TO_SENSORS: dict[str, list[Map]] = {
None, None,
SensorDeviceClass.TEMPERATURE, SensorDeviceClass.TEMPERATURE,
None, None,
EntityCategory.CONFIG, EntityCategory.DIAGNOSTIC,
) )
], ],
Capability.thermostat_mode: [ Capability.thermostat_mode: [
@ -453,7 +453,7 @@ CAPABILITY_TO_SENSORS: dict[str, list[Map]] = {
None, None,
None, None,
None, None,
EntityCategory.CONFIG, EntityCategory.DIAGNOSTIC,
) )
], ],
Capability.thermostat_operating_state: [ Capability.thermostat_operating_state: [
@ -473,7 +473,7 @@ CAPABILITY_TO_SENSORS: dict[str, list[Map]] = {
None, None,
SensorDeviceClass.TEMPERATURE, SensorDeviceClass.TEMPERATURE,
None, None,
EntityCategory.CONFIG, EntityCategory.DIAGNOSTIC,
) )
], ],
Capability.three_axis: [], Capability.three_axis: [],
@ -518,7 +518,7 @@ CAPABILITY_TO_SENSORS: dict[str, list[Map]] = {
None, None,
None, None,
None, None,
EntityCategory.CONFIG, EntityCategory.DIAGNOSTIC,
) )
], ],
Capability.washer_operating_state: [ Capability.washer_operating_state: [