diff --git a/meshtastic/observable.py b/meshtastic/observable.py index 0d06a73..d57330c 100644 --- a/meshtastic/observable.py +++ b/meshtastic/observable.py @@ -10,7 +10,7 @@ class Event: def __getattr__(self, name: str) -> typing.Any: """We dynamically add attributes to this class, so stub out __getattr__ so that mypy doesn't complain.""" - pass + class Observable: """A class that represents an observable object. diff --git a/meshtastic/powermon/__init__.py b/meshtastic/powermon/__init__.py index d83d496..d8b4104 100644 --- a/meshtastic/powermon/__init__.py +++ b/meshtastic/powermon/__init__.py @@ -1 +1,3 @@ -from .riden import * \ No newline at end of file +"""Support for logging from power meters/supplies.""" + +from .riden import * diff --git a/meshtastic/powermon/riden.py b/meshtastic/powermon/riden.py index 41b82cd..8d7c131 100644 --- a/meshtastic/powermon/riden.py +++ b/meshtastic/powermon/riden.py @@ -55,4 +55,3 @@ class RidenPowerSupply(PowerSupply): """Get the current watt-hour reading.""" self.r.update() return self.r.wh -