Skip to content

Commit

Permalink
fix wrong data for camera
Browse files Browse the repository at this point in the history
  • Loading branch information
mikey0000 committed Nov 8, 2024
1 parent caa81d8 commit b74ee4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/mammotion/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class MammotionSensorEntityDescription(SensorEntityDescription):
device_class=None,
native_unit_of_measurement=None,
value_fn=lambda mower_data: camera_brightness(
mower_data.report_data.work.vision_info.brightness
mower_data.report_data.vision_info.brightness
),
),
)
Expand Down

0 comments on commit b74ee4c

Please sign in to comment.