diff --git a/doc/api/pupdevices/remote.rst b/doc/api/pupdevices/remote.rst index 9988384..7d1d536 100644 --- a/doc/api/pupdevices/remote.rst +++ b/doc/api/pupdevices/remote.rst @@ -13,6 +13,9 @@ Remote Control .. autoclass:: pybricks.pupdevices.Remote :no-members: + .. autoattribute:: pybricks.pupdevices::Remote.address + :annotation: + .. automethod:: pybricks.pupdevices::Remote.light.on .. automethod:: pybricks.pupdevices::Remote.light.off diff --git a/pybricks/pupdevices.py b/pybricks/pupdevices.py index 2607a17..ee3a4d2 100644 --- a/pybricks/pupdevices.py +++ b/pybricks/pupdevices.py @@ -31,7 +31,7 @@ class Remote: light = _ColorLight() buttons = _Keypad() address = None - """Bluetooth address of the remote.""" + """Bluetooth address of the remote, or ``None`` if it is not connected.""" def __init__(self, address=None, timeout=10000): """Connects to the remote.