Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ relies on the PlugApi as well.
There are also some small utilities included,`ps-plugevents` and `ps-rawplug`
showcasing the use of the first interface approach, and `ps-events` the latter.
.
The `ps-events` is effectively a consumer of the the PowersensorDevices event
The `ps-events` is effectively a consumer the PowersensorDevices event
stream and dumps all events to standard out. Similary, `ps-plugevents` shows
the event stream from a single plug (plus whatever it might be relaying for),
and `ps-rawplug` shows the raw event stream from the plug. Note that the format
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,16 @@ Issues = "https://github.com/DiUS/python-powersensor_local/issues"
ps-events = "powersensor_local.events:app"
ps-rawplug = "powersensor_local.rawplug:app"
ps-plugevents = "powersensor_local.plugevents:app"
ps-zcevents = "powersensor_local.zc_events:app"

[build-system]
requires = [ "hatchling" ]
build-backend = "hatchling.build"

[project.optional-dependencies]
zeroconf = [
"zeroconf>=0.38.0",
]
docs = [
"sphinx>=7.0.0",
"sphinx-rtd-theme>=1.3.0",
Expand Down
1 change: 1 addition & 0 deletions requirements.test.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
mypy
pytest
pytest-coverage
zeroconf
10 changes: 7 additions & 3 deletions src/powersensor_local/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,16 @@
'PlugApi',
'__version__',
'PlugListenerTcp',
'PlugListenerUdp'
'PlugListenerUdp',
'PowersensorDevices',
'PowersensorLegacyDevices',
'PowersensorZeroconfDevices',
]
__version__ = "2.1.2"
from .devices import PowersensorDevices
__version__ = "2.1.3"
from .devices import PowersensorDevices, PowersensorLegacyDevices
from .legacy_discovery import LegacyDiscovery
from .plug_api import PlugApi
from .plug_listener_tcp import PlugListenerTcp
from .plug_listener_udp import PlugListenerUdp
from .virtual_household import VirtualHousehold
from .zeroconf_devices import PowersensorZeroconfDevices
Loading