Skip to content

Conversation

@amytsengtw
Copy link
Contributor

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.

…ndant type information from attributes docstring
@ko1in1u ko1in1u merged commit bc9a505 into google:master Dec 22, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add documentation for writing custom controllers

3 participants