Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • xaal/code/python
1 result
Show changes
Commits on Source (2)
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