prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Philips Remote DIM_DOWN typo?
  https://github.com/dmulcahey/zha-device-handlers/blob/833ee24710496d317a03b0f0b9f61df31291d75b/zhaquirks/philips/rwl021.py#L137
  
  It seems that it should be:
  `ARGS: [1, 30, 9],`
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `zhaquirks/philips/rwl021.py`
  Content:
  ```
  1 """Phillips RWL021 device."""
  2 from zigpy.profiles import zha, zll
  3 from zigpy.quirks import CustomCluster, CustomDevice
  4 import zigpy.types as t
  5 from zigpy.zcl.clusters.general import (
  6     Basic,
  7     BinaryInput,
  8     Groups,
  9     Identify,
  10     LevelControl,
  11     OnOff,
  12     Ota,
  13     PowerConfiguration,
  14     Scenes,
  15 )
  16 
  17 from ..const import (
  18     ARGS,
  19     CLUSTER_ID,
  20     COMMAND,
  21     COMMAND_OFF_WITH_EFFECT,
  22     COMMAND_ON,
  23     COMMAND_STEP,
  24     DEVICE_TYPE,
  25     DIM_DOWN,
  26     DIM_UP,
  27     ENDPOINT_ID,
  28     ENDPOINTS,
  29     INPUT_CLUSTERS,
  30     LONG_PRESS,
  31     OUTPUT_CLUSTERS,
  32     PROFILE_ID,
  33     SHORT_PRESS,
  34     TURN_OFF,
  35     TURN_ON,
  36 )
  37 
  38 DIAGNOSTICS_CLUSTER_ID = 0x0B05  # decimal = 2821
  39 
  40 
  41 class BasicCluster(CustomCluster, Basic):
  42     """Centralite acceleration cluster."""
  43 
  44     def __init__(self, *args, **kwargs):
  45         """Init."""
  46         super().__init__(*args, **kwargs)
  47         self.attributes = super().attributes.copy()
  48         self.attributes.update({0x0031: ("phillips", t.bitmap16)})
  49 
  50 
  51 class PhilipsRWL021(CustomDevice):
  52     """Phillips RWL021 device."""
  53 
  54     signature = {
  55         #  <SimpleDescriptor endpoint=1 profile=49246 device_type=2096
  56         #  device_version=2
  57         #  input_clusters=[0]
  58         #  output_clusters=[0, 3, 4, 6, 8, 5]>
  59         ENDPOINTS: {
  60             1: {
  61                 PROFILE_ID: zll.PROFILE_ID,
  62                 DEVICE_TYPE: zll.DeviceType.SCENE_CONTROLLER,
  63                 INPUT_CLUSTERS: [Basic.cluster_id],
  64                 OUTPUT_CLUSTERS: [
  65                     Basic.cluster_id,
  66                     Identify.cluster_id,
  67                     Groups.cluster_id,
  68                     OnOff.cluster_id,
  69                     LevelControl.cluster_id,
  70                     Scenes.cluster_id,
  71                 ],
  72             },
  73             #  <SimpleDescriptor endpoint=2 profile=260 device_type=12
  74             #  device_version=0
  75             #  input_clusters=[0, 1, 3, 15, 64512]
  76             #  output_clusters=[25]>
  77             2: {
  78                 PROFILE_ID: zha.PROFILE_ID,
  79                 DEVICE_TYPE: zha.DeviceType.SIMPLE_SENSOR,
  80                 INPUT_CLUSTERS: [
  81                     Basic.cluster_id,
  82                     PowerConfiguration.cluster_id,
  83                     Identify.cluster_id,
  84                     BinaryInput.cluster_id,
  85                     64512,
  86                 ],
  87                 OUTPUT_CLUSTERS: [Ota.cluster_id],
  88             },
  89         }
  90     }
  91 
  92     replacement = {
  93         ENDPOINTS: {
  94             1: {
  95                 INPUT_CLUSTERS: [Basic.cluster_id],
  96                 OUTPUT_CLUSTERS: [
  97                     Basic.cluster_id,
  98                     Identify.cluster_id,
  99                     Groups.cluster_id,
  100                     OnOff.cluster_id,
  101                     LevelControl.cluster_id,
  102                     Scenes.cluster_id,
  103                 ],
  104             },
  105             2: {
  106                 INPUT_CLUSTERS: [
  107                     BasicCluster,
  108                     PowerConfiguration.cluster_id,
  109                     Identify.cluster_id,
  110                     BinaryInput.cluster_id,
  111                     64512,
  112                 ],
  113                 OUTPUT_CLUSTERS: [Ota.cluster_id],
  114             },
  115         }
  116     }
  117 
  118     device_automation_triggers = {
  119         (SHORT_PRESS, TURN_ON): {COMMAND: COMMAND_ON},
  120         (LONG_PRESS, TURN_OFF): {COMMAND: COMMAND_OFF_WITH_EFFECT},
  121         (SHORT_PRESS, DIM_UP): {
  122             COMMAND: COMMAND_STEP,
  123             CLUSTER_ID: 8,
  124             ENDPOINT_ID: 1,
  125             ARGS: [0, 30, 9],
  126         },
  127         (LONG_PRESS, DIM_UP): {
  128             COMMAND: COMMAND_STEP,
  129             CLUSTER_ID: 8,
  130             ENDPOINT_ID: 1,
  131             ARGS: [0, 56, 9],
  132         },
  133         (SHORT_PRESS, DIM_DOWN): {
  134             COMMAND: COMMAND_STEP,
  135             CLUSTER_ID: 8,
  136             ENDPOINT_ID: 1,
  137             ARGS: [1, 56, 9],
  138         },
  139         (LONG_PRESS, DIM_DOWN): {
  140             COMMAND: COMMAND_STEP,
  141             CLUSTER_ID: 8,
  142             ENDPOINT_ID: 1,
  143             ARGS: [1, 56, 9],
  144         },
  145     }
  146
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/zhaquirks/philips/rwl021.py b/zhaquirks/philips/rwl021.py
  --- a/zhaquirks/philips/rwl021.py
  +++ b/zhaquirks/philips/rwl021.py
  @@ -134,7 +134,7 @@
               COMMAND: COMMAND_STEP,
               CLUSTER_ID: 8,
               ENDPOINT_ID: 1,
  -            ARGS: [1, 56, 9],
  +            ARGS: [1, 30, 9],
           },
           (LONG_PRESS, DIM_DOWN): {
               COMMAND: COMMAND_STEP,
  
verification_info: {"golden_diff": "diff --git a/zhaquirks/philips/rwl021.py b/zhaquirks/philips/rwl021.py\n--- a/zhaquirks/philips/rwl021.py\n+++ b/zhaquirks/philips/rwl021.py\n@@ -134,7 +134,7 @@\n             COMMAND: COMMAND_STEP,\n             CLUSTER_ID: 8,\n             ENDPOINT_ID: 1,\n-            ARGS: [1, 56, 9],\n+            ARGS: [1, 30, 9],\n         },\n         (LONG_PRESS, DIM_DOWN): {\n             COMMAND: COMMAND_STEP,\n", "issue": "Philips Remote DIM_DOWN typo?\nhttps://github.com/dmulcahey/zha-device-handlers/blob/833ee24710496d317a03b0f0b9f61df31291d75b/zhaquirks/philips/rwl021.py#L137\r\n\r\nIt seems that it should be:\r\n`ARGS: [1, 30, 9],`\n", "before_files": [{"content": "\"\"\"Phillips RWL021 device.\"\"\"\nfrom zigpy.profiles import zha, zll\nfrom zigpy.quirks import CustomCluster, CustomDevice\nimport zigpy.types as t\nfrom zigpy.zcl.clusters.general import (\n    Basic,\n    BinaryInput,\n    Groups,\n    Identify,\n    LevelControl,\n    OnOff,\n    Ota,\n    PowerConfiguration,\n    Scenes,\n)\n\nfrom ..const import (\n    ARGS,\n    CLUSTER_ID,\n    COMMAND,\n    COMMAND_OFF_WITH_EFFECT,\n    COMMAND_ON,\n    COMMAND_STEP,\n    DEVICE_TYPE,\n    DIM_DOWN,\n    DIM_UP,\n    ENDPOINT_ID,\n    ENDPOINTS,\n    INPUT_CLUSTERS,\n    LONG_PRESS,\n    OUTPUT_CLUSTERS,\n    PROFILE_ID,\n    SHORT_PRESS,\n    TURN_OFF,\n    TURN_ON,\n)\n\nDIAGNOSTICS_CLUSTER_ID = 0x0B05  # decimal = 2821\n\n\nclass BasicCluster(CustomCluster, Basic):\n    \"\"\"Centralite acceleration cluster.\"\"\"\n\n    def __init__(self, *args, **kwargs):\n        \"\"\"Init.\"\"\"\n        super().__init__(*args, **kwargs)\n        self.attributes = super().attributes.copy()\n        self.attributes.update({0x0031: (\"phillips\", t.bitmap16)})\n\n\nclass PhilipsRWL021(CustomDevice):\n    \"\"\"Phillips RWL021 device.\"\"\"\n\n    signature = {\n        #  <SimpleDescriptor endpoint=1 profile=49246 device_type=2096\n        #  device_version=2\n        #  input_clusters=[0]\n        #  output_clusters=[0, 3, 4, 6, 8, 5]>\n        ENDPOINTS: {\n            1: {\n                PROFILE_ID: zll.PROFILE_ID,\n                DEVICE_TYPE: zll.DeviceType.SCENE_CONTROLLER,\n                INPUT_CLUSTERS: [Basic.cluster_id],\n                OUTPUT_CLUSTERS: [\n                    Basic.cluster_id,\n                    Identify.cluster_id,\n                    Groups.cluster_id,\n                    OnOff.cluster_id,\n                    LevelControl.cluster_id,\n                    Scenes.cluster_id,\n                ],\n            },\n            #  <SimpleDescriptor endpoint=2 profile=260 device_type=12\n            #  device_version=0\n            #  input_clusters=[0, 1, 3, 15, 64512]\n            #  output_clusters=[25]>\n            2: {\n                PROFILE_ID: zha.PROFILE_ID,\n                DEVICE_TYPE: zha.DeviceType.SIMPLE_SENSOR,\n                INPUT_CLUSTERS: [\n                    Basic.cluster_id,\n                    PowerConfiguration.cluster_id,\n                    Identify.cluster_id,\n                    BinaryInput.cluster_id,\n                    64512,\n                ],\n                OUTPUT_CLUSTERS: [Ota.cluster_id],\n            },\n        }\n    }\n\n    replacement = {\n        ENDPOINTS: {\n            1: {\n                INPUT_CLUSTERS: [Basic.cluster_id],\n                OUTPUT_CLUSTERS: [\n                    Basic.cluster_id,\n                    Identify.cluster_id,\n                    Groups.cluster_id,\n                    OnOff.cluster_id,\n                    LevelControl.cluster_id,\n                    Scenes.cluster_id,\n                ],\n            },\n            2: {\n                INPUT_CLUSTERS: [\n                    BasicCluster,\n                    PowerConfiguration.cluster_id,\n                    Identify.cluster_id,\n                    BinaryInput.cluster_id,\n                    64512,\n                ],\n                OUTPUT_CLUSTERS: [Ota.cluster_id],\n            },\n        }\n    }\n\n    device_automation_triggers = {\n        (SHORT_PRESS, TURN_ON): {COMMAND: COMMAND_ON},\n        (LONG_PRESS, TURN_OFF): {COMMAND: COMMAND_OFF_WITH_EFFECT},\n        (SHORT_PRESS, DIM_UP): {\n            COMMAND: COMMAND_STEP,\n            CLUSTER_ID: 8,\n            ENDPOINT_ID: 1,\n            ARGS: [0, 30, 9],\n        },\n        (LONG_PRESS, DIM_UP): {\n            COMMAND: COMMAND_STEP,\n            CLUSTER_ID: 8,\n            ENDPOINT_ID: 1,\n            ARGS: [0, 56, 9],\n        },\n        (SHORT_PRESS, DIM_DOWN): {\n            COMMAND: COMMAND_STEP,\n            CLUSTER_ID: 8,\n            ENDPOINT_ID: 1,\n            ARGS: [1, 56, 9],\n        },\n        (LONG_PRESS, DIM_DOWN): {\n            COMMAND: COMMAND_STEP,\n            CLUSTER_ID: 8,\n            ENDPOINT_ID: 1,\n            ARGS: [1, 56, 9],\n        },\n    }\n", "path": "zhaquirks/philips/rwl021.py"}], "after_files": [{"content": "\"\"\"Phillips RWL021 device.\"\"\"\nfrom zigpy.profiles import zha, zll\nfrom zigpy.quirks import CustomCluster, CustomDevice\nimport zigpy.types as t\nfrom zigpy.zcl.clusters.general import (\n    Basic,\n    BinaryInput,\n    Groups,\n    Identify,\n    LevelControl,\n    OnOff,\n    Ota,\n    PowerConfiguration,\n    Scenes,\n)\n\nfrom ..const import (\n    ARGS,\n    CLUSTER_ID,\n    COMMAND,\n    COMMAND_OFF_WITH_EFFECT,\n    COMMAND_ON,\n    COMMAND_STEP,\n    DEVICE_TYPE,\n    DIM_DOWN,\n    DIM_UP,\n    ENDPOINT_ID,\n    ENDPOINTS,\n    INPUT_CLUSTERS,\n    LONG_PRESS,\n    OUTPUT_CLUSTERS,\n    PROFILE_ID,\n    SHORT_PRESS,\n    TURN_OFF,\n    TURN_ON,\n)\n\nDIAGNOSTICS_CLUSTER_ID = 0x0B05  # decimal = 2821\n\n\nclass BasicCluster(CustomCluster, Basic):\n    \"\"\"Centralite acceleration cluster.\"\"\"\n\n    def __init__(self, *args, **kwargs):\n        \"\"\"Init.\"\"\"\n        super().__init__(*args, **kwargs)\n        self.attributes = super().attributes.copy()\n        self.attributes.update({0x0031: (\"phillips\", t.bitmap16)})\n\n\nclass PhilipsRWL021(CustomDevice):\n    \"\"\"Phillips RWL021 device.\"\"\"\n\n    signature = {\n        #  <SimpleDescriptor endpoint=1 profile=49246 device_type=2096\n        #  device_version=2\n        #  input_clusters=[0]\n        #  output_clusters=[0, 3, 4, 6, 8, 5]>\n        ENDPOINTS: {\n            1: {\n                PROFILE_ID: zll.PROFILE_ID,\n                DEVICE_TYPE: zll.DeviceType.SCENE_CONTROLLER,\n                INPUT_CLUSTERS: [Basic.cluster_id],\n                OUTPUT_CLUSTERS: [\n                    Basic.cluster_id,\n                    Identify.cluster_id,\n                    Groups.cluster_id,\n                    OnOff.cluster_id,\n                    LevelControl.cluster_id,\n                    Scenes.cluster_id,\n                ],\n            },\n            #  <SimpleDescriptor endpoint=2 profile=260 device_type=12\n            #  device_version=0\n            #  input_clusters=[0, 1, 3, 15, 64512]\n            #  output_clusters=[25]>\n            2: {\n                PROFILE_ID: zha.PROFILE_ID,\n                DEVICE_TYPE: zha.DeviceType.SIMPLE_SENSOR,\n                INPUT_CLUSTERS: [\n                    Basic.cluster_id,\n                    PowerConfiguration.cluster_id,\n                    Identify.cluster_id,\n                    BinaryInput.cluster_id,\n                    64512,\n                ],\n                OUTPUT_CLUSTERS: [Ota.cluster_id],\n            },\n        }\n    }\n\n    replacement = {\n        ENDPOINTS: {\n            1: {\n                INPUT_CLUSTERS: [Basic.cluster_id],\n                OUTPUT_CLUSTERS: [\n                    Basic.cluster_id,\n                    Identify.cluster_id,\n                    Groups.cluster_id,\n                    OnOff.cluster_id,\n                    LevelControl.cluster_id,\n                    Scenes.cluster_id,\n                ],\n            },\n            2: {\n                INPUT_CLUSTERS: [\n                    BasicCluster,\n                    PowerConfiguration.cluster_id,\n                    Identify.cluster_id,\n                    BinaryInput.cluster_id,\n                    64512,\n                ],\n                OUTPUT_CLUSTERS: [Ota.cluster_id],\n            },\n        }\n    }\n\n    device_automation_triggers = {\n        (SHORT_PRESS, TURN_ON): {COMMAND: COMMAND_ON},\n        (LONG_PRESS, TURN_OFF): {COMMAND: COMMAND_OFF_WITH_EFFECT},\n        (SHORT_PRESS, DIM_UP): {\n            COMMAND: COMMAND_STEP,\n            CLUSTER_ID: 8,\n            ENDPOINT_ID: 1,\n            ARGS: [0, 30, 9],\n        },\n        (LONG_PRESS, DIM_UP): {\n            COMMAND: COMMAND_STEP,\n            CLUSTER_ID: 8,\n            ENDPOINT_ID: 1,\n            ARGS: [0, 56, 9],\n        },\n        (SHORT_PRESS, DIM_DOWN): {\n            COMMAND: COMMAND_STEP,\n            CLUSTER_ID: 8,\n            ENDPOINT_ID: 1,\n            ARGS: [1, 30, 9],\n        },\n        (LONG_PRESS, DIM_DOWN): {\n            COMMAND: COMMAND_STEP,\n            CLUSTER_ID: 8,\n            ENDPOINT_ID: 1,\n            ARGS: [1, 56, 9],\n        },\n    }\n", "path": "zhaquirks/philips/rwl021.py"}]}