Skip to content

Commit

Permalink
Add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
starkillerOG committed Oct 7, 2022
1 parent a9ea661 commit 49ef800
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions miio/devicestatus.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ class DeviceStatus(metaclass=_StatusMeta):
introspectable way. See :func:`@property`, :func:`switch`, and :func:`@setting`.
* :func:`embed` allows embedding other status containers.
* The __repr__ implementation returns all defined properties and their values.
* A `Property` of a embeded `ModuleStatus` container of the `MainStatus` container
can be accesed using `ModuleStatus.MainStatus.Property`
or `getattr(ModuleStatus, MainStatus:Property)`
"""

def __repr__(self):
Expand Down

0 comments on commit 49ef800

Please sign in to comment.