Aqara Vibration Sensor Sensitivity Adjustment - lumi.vibration.aq1

Hi,

I’m trying to change the sensitivity of the lumi.vibration.aq1 sensor but without success, I always get the error: Failed to execute action zha/set_zigbee_cluster_attribute. Failed to set attribute: value: 1 attribute: 65293 cluster_id: 0 endpoint_id: 1

I’m using Home Assistant OS 16.0 and core-2025.7.2
Below is the system log, can anyone help understand the error?

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:258
integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 13:20:26 (2 occurrences)
Last logged: 13:20:56

[140115677406176] Unexpected exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/zigpy_znp/zigbee/application.py", line 924, in send_packet
    await self._send_request_raw(
    ...<11 lines>...
    )
  File "/usr/local/lib/python3.13/site-packages/zigpy_znp/zigbee/application.py", line 838, in _send_request_raw
    raise InvalidCommandResponse(
    ...<2 lines>...
    )
zigpy_znp.exceptions.InvalidCommandResponse: Unsuccessful request status code: <Status.MAC_NO_ACK: 233>

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.13/site-packages/zha/zigbee/device.py", line 1001, in write_zigbee_attribute
    response = await cluster.write_attributes(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        {attribute: value}, manufacturer=manufacturer
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/zigpy/zcl/__init__.py", line 651, in write_attributes
    return await self.write_attributes_raw(attrs, manufacturer, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/zigpy/zcl/__init__.py", line 660, in write_attributes_raw
    result = await self._write_attributes(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        attrs, manufacturer=manufacturer, **kwargs
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/zigpy/quirks/__init__.py", line 388, in _write_attributes
    return await super()._write_attributes(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        attributes, *args, manufacturer=manufacturer, **kwargs
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/zigpy/zcl/__init__.py", line 378, in request
    return await self._endpoint.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<9 lines>...
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/zigpy/endpoint.py", line 270, in request
    return await self.device.request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<11 lines>...
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/zigpy/device.py", line 378, in request
    await send_request()
  File "/usr/local/lib/python3.13/site-packages/zigpy/application.py", line 844, in request
    await self.send_packet(
    ...<14 lines>...
    )
  File "/usr/local/lib/python3.13/site-packages/zigpy_znp/zigbee/application.py", line 987, in send_packet
    raise DeliveryError(f"Failed to send request: {status!r}", status=status)
zigpy.exceptions.DeliveryError: Failed to send request: <Status.MAC_NO_ACK: 233>

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 258, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<7 lines>...
    )
    ^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2799, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2842, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1120, in _async_admin_handler
    return await task
           ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/zha/websocket_api.py", line 1333, in set_zigbee_cluster_attributes
    response = await zha_device.write_zigbee_attribute(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ...<6 lines>...
    )
    ^
  File "/usr/local/lib/python3.13/site-packages/zha/zigbee/device.py", line 1014, in write_zigbee_attribute
    raise ZHAException(
    ...<5 lines>...
    ) from exc
zha.exceptions.ZHAException: Failed to set attribute: value: 1 attribute: 65293 cluster_id: 0 endpoint_id: 1

Thank you!

I did this in an automation

entity_id:
  - binary_sensor.mysensor
attribute: vibrationstrength
above: 15
trigger: numeric_state

Hi, you must first wake up the sensor by pressing the small button. Then send the values, sometimes you need more attempts.
Gruß Günter

Hi,

Thanks for your reply. I tried everything but I couldn’t change the attribute, so I changed it to zigbee2mqtt. Now everything is working perfectly and I managed to change the sensitivity.