diff --git a/custom_components/mammotion/sensor.py b/custom_components/mammotion/sensor.py index 3141c41..5c6ccf7 100644 --- a/custom_components/mammotion/sensor.py +++ b/custom_components/mammotion/sensor.py @@ -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 ), ), )