Skip to content

Commit 2bf1e0e

Browse files
authored
Fix product key assignment in mower state manager
1 parent 402f5df commit 2bf1e0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymammotion/data/mower_state_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def _update_net_data(self, message) -> None:
307307
match net_msg[0]:
308308
case "toapp_wifi_iot_status":
309309
wifi_iot_status: WifiIotStatusReport = net_msg[1]
310-
self._device.mower_state.product_key = wifi_iot_status.product_key
310+
self._device.mower_state.product_key = wifi_iot_status.productkey
311311
case "toapp_devinfo_resp":
312312
toapp_devinfo_resp: DrvDevInfoResp = net_msg[1]
313313
for resp in toapp_devinfo_resp.resp_ids:

0 commit comments

Comments
 (0)