prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  Ikea group support bind method doesn't return status as expected
  https://github.com/dmulcahey/zha-device-handlers/blob/b5b383939944ff541ee38a94c7f4d6cf3edc611f/zhaquirks/ikea/__init__.py#L25
  
  https://github.com/home-assistant/home-assistant/blob/a30c37017b7782473294d7999e85d7a369a0539a/homeassistant/components/zha/core/helpers.py#L56
  
  reported by @Adminiuga 
  
  we should return the status in [ ] so the bind helper in HA is happy.
  
  </issue>
  <code>
  [start of zhaquirks/ikea/__init__.py]
  1 """Ikea module."""
  2 import logging
  3 from zigpy.zcl.clusters.lightlink import LightLink
  4 from zigpy.quirks import CustomCluster
  5 
  6 _LOGGER = logging.getLogger(__name__)
  7 
  8 
  9 class LightLinkCluster(CustomCluster, LightLink):
  10     """Ikea LightLink cluster."""
  11 
  12     async def bind(self):
  13         """Bind LightLink cluster to coordinator."""
  14         application = self._endpoint.device.application
  15         try:
  16             coordinator = application.get_device(application.ieee)
  17         except KeyError:
  18             _LOGGER.warning(
  19                 "Aborting - unable to locate required coordinator device."
  20             )
  21             return
  22         group_list = await self.get_group_identifiers(0)
  23         group_record = group_list[2]
  24         group_id = group_record[0].group_id
  25         await coordinator.add_to_group(group_id)
  26
  [end of zhaquirks/ikea/__init__.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/zhaquirks/ikea/__init__.py b/zhaquirks/ikea/__init__.py
  --- a/zhaquirks/ikea/__init__.py
  +++ b/zhaquirks/ikea/__init__.py
  @@ -22,4 +22,5 @@
           group_list = await self.get_group_identifiers(0)
           group_record = group_list[2]
           group_id = group_record[0].group_id
  -        await coordinator.add_to_group(group_id)
  +        status = await coordinator.add_to_group(group_id)
  +        return [status]
  
verification_info: {"golden_diff": "diff --git a/zhaquirks/ikea/__init__.py b/zhaquirks/ikea/__init__.py\n--- a/zhaquirks/ikea/__init__.py\n+++ b/zhaquirks/ikea/__init__.py\n@@ -22,4 +22,5 @@\n         group_list = await self.get_group_identifiers(0)\n         group_record = group_list[2]\n         group_id = group_record[0].group_id\n-        await coordinator.add_to_group(group_id)\n+        status = await coordinator.add_to_group(group_id)\n+        return [status]\n", "issue": "Ikea group support bind method doesn't return status as expected\nhttps://github.com/dmulcahey/zha-device-handlers/blob/b5b383939944ff541ee38a94c7f4d6cf3edc611f/zhaquirks/ikea/__init__.py#L25\r\n\r\nhttps://github.com/home-assistant/home-assistant/blob/a30c37017b7782473294d7999e85d7a369a0539a/homeassistant/components/zha/core/helpers.py#L56\r\n\r\nreported by @Adminiuga \r\n\r\nwe should return the status in [ ] so the bind helper in HA is happy.\n", "before_files": [{"content": "\"\"\"Ikea module.\"\"\"\nimport logging\nfrom zigpy.zcl.clusters.lightlink import LightLink\nfrom zigpy.quirks import CustomCluster\n\n_LOGGER = logging.getLogger(__name__)\n\n\nclass LightLinkCluster(CustomCluster, LightLink):\n    \"\"\"Ikea LightLink cluster.\"\"\"\n\n    async def bind(self):\n        \"\"\"Bind LightLink cluster to coordinator.\"\"\"\n        application = self._endpoint.device.application\n        try:\n            coordinator = application.get_device(application.ieee)\n        except KeyError:\n            _LOGGER.warning(\n                \"Aborting - unable to locate required coordinator device.\"\n            )\n            return\n        group_list = await self.get_group_identifiers(0)\n        group_record = group_list[2]\n        group_id = group_record[0].group_id\n        await coordinator.add_to_group(group_id)\n", "path": "zhaquirks/ikea/__init__.py"}]}