Skip to content
Snippets Groups Projects
Commit d598ae29 authored by KERDREUX Jerome's avatar KERDREUX Jerome
Browse files

Project init

parent e9104e7c
Branches
Tags
No related merge requests found
ZwaveJS
[project]
name = "xaal.zwavejs"
version = "0.1"
description = "xAAL support for ZwaveJS"
readme = "README.rst"
authors = [
{ name = "Jerome Kerdreux", email = "Jerome.Kerdreux@imt-atlantique.fr" },
]
license = { text = "GPL License" }
classifiers = ["Programming Language :: Python", "Topic :: Home Automation"]
keywords = ["xaal", "zwave","zwavejs"]
dependencies = ["xaal.lib", "zwave-js-server-python"]
[tool.setuptools.packages.find]
include = ["xaal.zwavejs"]
[project.urls]
Homepage = "https://recherche.imt-atlantique.fr/xaal/"
Documentation = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/entry/code/Python/branches/0.7/devices/protocols/ZwaveJS/README.rst"
Source = "https://redmine.imt-atlantique.fr/projects/xaal/repository/xaal/show/code/Python/branches/0.7/devices/protocols/ZwaveJS"
[tool.ruff]
line-length = 122
[tool.ruff.format]
quote-style = "preserve"
[tool.black]
line-length = 122
skip-string-normalization = true
__path__ = __import__('pkgutil').extend_path(__path__, __name__)
from .gw import setup
\ No newline at end of file
from . import gw
from xaal.lib import aiohelpers
aiohelpers.run_async_package(gw.PACKAGE_NAME, gw.setup)
# from xaal.lib import tools
import logging
PACKAGE_NAME = 'xaal.zwavejs'
logger = logging.getLogger(__name__)
class GW:
def __init__(self, engine):
self.engine = engine
logger.debug("ZwaveJS gateway initialized")
def setup(eng):
GW(eng)
return True
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment