Skip to content

Commit fd2f683

Browse files
committed
Sensors: remove diagnostics category
1 parent 287493b commit fd2f683

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

custom_components/plugwise/sensor.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ class PlugwiseSensorEntityDescription(SensorEntityDescription):
123123
key=ATTR_TEMPERATURE,
124124
native_unit_of_measurement=UnitOfTemperature.CELSIUS,
125125
device_class=SensorDeviceClass.TEMPERATURE,
126-
entity_category=EntityCategory.DIAGNOSTIC,
127126
state_class=SensorStateClass.MEASUREMENT,
128127
),
129128
PlugwiseSensorEntityDescription(
@@ -399,15 +398,13 @@ class PlugwiseSensorEntityDescription(SensorEntityDescription):
399398
key="battery",
400399
native_unit_of_measurement=PERCENTAGE,
401400
device_class=SensorDeviceClass.BATTERY,
402-
entity_category=EntityCategory.DIAGNOSTIC,
403401
state_class=SensorStateClass.MEASUREMENT,
404402
),
405403
PlugwiseSensorEntityDescription(
406404
key="illuminance",
407405
native_unit_of_measurement=LIGHT_LUX,
408406
device_class=SensorDeviceClass.ILLUMINANCE,
409407
state_class=SensorStateClass.MEASUREMENT,
410-
entity_category=EntityCategory.DIAGNOSTIC,
411408
),
412409
PlugwiseSensorEntityDescription(
413410
key=MOD_LEVEL,

0 commit comments

Comments
 (0)