Skip to content

Commit

Permalink
fix again
Browse files Browse the repository at this point in the history
  • Loading branch information
mikey0000 committed Nov 8, 2024
1 parent 28b351f commit f0be433
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions custom_components/mammotion/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,8 @@ class MammotionSensorEntityDescription(SensorEntityDescription):
LUBA_2_YUKA_ONLY_TYPES: tuple[MammotionSensorEntityDescription, ...] = (
MammotionSensorEntityDescription(
key="camera_brightness",
state_class=SensorStateClass.MEASUREMENT,
device_class=None,
native_unit_of_measurement=None,
state_class=None,
device_class=SensorDeviceClass.ENUM,
value_fn=lambda mower_data: camera_brightness(
mower_data.report_data.vision_info.brightness
),
Expand Down

0 comments on commit f0be433

Please sign in to comment.