diff --git a/midealocal/cloud.py b/midealocal/cloud.py index 18f85063..833411f6 100644 --- a/midealocal/cloud.py +++ b/midealocal/cloud.py @@ -271,7 +271,7 @@ async def list_appliances(self, home_id) -> dict | None: for appliance in room.get("applianceList"): try: model_number = int(appliance.get("modelNumber", 0)) - except ValueError: + except (ValueError, TypeError): model_number = 0 device_info = { "name": appliance.get("name"),