Move more Oral-B entities to be diagnostic (#99297)
This commit is contained in:
parent
d7d989b9fb
commit
9e4bcd298e
1 changed files with 5 additions and 0 deletions
|
@ -38,12 +38,15 @@ SENSOR_DESCRIPTIONS: dict[str, SensorEntityDescription] = {
|
||||||
),
|
),
|
||||||
OralBSensor.SECTOR: SensorEntityDescription(
|
OralBSensor.SECTOR: SensorEntityDescription(
|
||||||
key=OralBSensor.SECTOR,
|
key=OralBSensor.SECTOR,
|
||||||
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
),
|
),
|
||||||
OralBSensor.NUMBER_OF_SECTORS: SensorEntityDescription(
|
OralBSensor.NUMBER_OF_SECTORS: SensorEntityDescription(
|
||||||
key=OralBSensor.NUMBER_OF_SECTORS,
|
key=OralBSensor.NUMBER_OF_SECTORS,
|
||||||
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
),
|
),
|
||||||
OralBSensor.SECTOR_TIMER: SensorEntityDescription(
|
OralBSensor.SECTOR_TIMER: SensorEntityDescription(
|
||||||
key=OralBSensor.SECTOR_TIMER,
|
key=OralBSensor.SECTOR_TIMER,
|
||||||
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
entity_registry_enabled_default=False,
|
entity_registry_enabled_default=False,
|
||||||
),
|
),
|
||||||
OralBSensor.TOOTHBRUSH_STATE: SensorEntityDescription(
|
OralBSensor.TOOTHBRUSH_STATE: SensorEntityDescription(
|
||||||
|
@ -52,6 +55,7 @@ SENSOR_DESCRIPTIONS: dict[str, SensorEntityDescription] = {
|
||||||
OralBSensor.PRESSURE: SensorEntityDescription(key=OralBSensor.PRESSURE),
|
OralBSensor.PRESSURE: SensorEntityDescription(key=OralBSensor.PRESSURE),
|
||||||
OralBSensor.MODE: SensorEntityDescription(
|
OralBSensor.MODE: SensorEntityDescription(
|
||||||
key=OralBSensor.MODE,
|
key=OralBSensor.MODE,
|
||||||
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
),
|
),
|
||||||
OralBSensor.SIGNAL_STRENGTH: SensorEntityDescription(
|
OralBSensor.SIGNAL_STRENGTH: SensorEntityDescription(
|
||||||
key=OralBSensor.SIGNAL_STRENGTH,
|
key=OralBSensor.SIGNAL_STRENGTH,
|
||||||
|
@ -66,6 +70,7 @@ SENSOR_DESCRIPTIONS: dict[str, SensorEntityDescription] = {
|
||||||
device_class=SensorDeviceClass.BATTERY,
|
device_class=SensorDeviceClass.BATTERY,
|
||||||
native_unit_of_measurement=PERCENTAGE,
|
native_unit_of_measurement=PERCENTAGE,
|
||||||
state_class=SensorStateClass.MEASUREMENT,
|
state_class=SensorStateClass.MEASUREMENT,
|
||||||
|
entity_category=EntityCategory.DIAGNOSTIC,
|
||||||
),
|
),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue