The Xiaomi Home Assistant is a smart home system that integrates various devices, including the 米家吸顶灯D20. However, some users have reported radar errors in the system logs. This article aims to describe the issue, reproduce the steps, and provide a solution to the problem. The error occurs when the 米家吸顶灯D20 is bound to the Home Assistant and the system logs show a KeyError exception. The error is caused by an undefined 'piid' in the event, which leads to a KeyError exception. To resolve this issue, we need to ignore the undefined 'piid' and not generate an error log. This can be achieved by modifying the miot_device.py file in the xiaomi_home integration. The solution involves adding a check for the 'piid' value before trying to access it in the self._arguments_map dictionary. If the 'piid' value is not defined, the code should ignore it and continue with the next 'piid' value. By making this modification, we can prevent the KeyError exception and ensure that the Home Assistant continues to function correctly.