From bad22dd2a860c2b03e111388b58b1393ad22a06b Mon Sep 17 00:00:00 2001 From: Mictronics Date: Thu, 31 Oct 2024 19:58:20 +0100 Subject: [PATCH] Added entry point. --- setup.cfg | 4 ++-- src/meshtastic2hass/meshtastic2hass.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.cfg b/setup.cfg index cc7d200..5ab3f6b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -62,8 +62,8 @@ testing = [options.entry_points] # Add here console scripts like: -# console_scripts = -# script_name = meshtastic2hass.module:function +console_scripts = + meshtastic2hass = meshtastic2hass:main # For example: # console_scripts = # fibonacci = meshtastic2hass.skeleton:run diff --git a/src/meshtastic2hass/meshtastic2hass.py b/src/meshtastic2hass/meshtastic2hass.py index b6665f8..c3fd28a 100644 --- a/src/meshtastic2hass/meshtastic2hass.py +++ b/src/meshtastic2hass/meshtastic2hass.py @@ -38,7 +38,7 @@ __author__ = "Michael Wolf aka Mictronics" __copyright__ = "2024, (C) Michael Wolf" __license__ = "GPL v3+" -__version__ = "1.0.16" +__version__ = "1.0.17" def onReceiveTelemetry(packet, interface, topic=pub.AUTO_TOPIC):