Skip to content

Commit

Permalink
correct where limits is
Browse files Browse the repository at this point in the history
  • Loading branch information
mikey0000 committed Aug 12, 2024
1 parent 93550a2 commit c9ce98a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/mammotion/number.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ async def async_setup_entry(
# Example limits, replace this with actual coordinator data
coordinator = entry.runtime_data

limits = coordinator.device.limits
limits = coordinator.device.luba_msg.limits

entities: list[MammotionNumberEntity] = [
MammotionWorkingNumberEntity(coordinator, entity_description, limits)
Expand Down

0 comments on commit c9ce98a

Please sign in to comment.