mobly icon indicating copy to clipboard operation
mobly copied to clipboard

Docs: Add tutorial for writing custom controllers

Open amytsengtw opened this issue 1 month ago • 0 comments

Summary

This PR adds a new tutorial document explaining how to implement custom controller modules for non-Android devices (e.g., smart lights, PDUs). It includes a complete example with type hinting and proper error handling.

Solves

Closes #613

Changes

  • Added docs/tutorial_custom_controller.md with a SmartLight example.
  • Updated docs/index.rst to include the new tutorial in the table of contents.

Verification

I have verified that the example code adheres to Google Python style guidelines and passes local checks.

amytsengtw avatar Dec 08 '25 03:12 amytsengtw