core/homeassistant/components/zwave_js
Raman Gupta c785983cce
Handle entity creation on new added zwave_js value (#55987)
* Handle new entity creation when a new value is added

* spacing

* Update homeassistant/components/zwave_js/__init__.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* change variable name and use asyncio.gather

* Centralized where discovered value IDs gets managed

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-09-10 23:49:31 +02:00
..
docs
translations
triggers
README.md
__init__.py Handle entity creation on new added zwave_js value (#55987) 2021-09-10 23:49:31 +02:00
addon.py
api.py Fix zwave_js/node_state WS API command (#55979) 2021-09-09 14:04:27 -04:00
binary_sensor.py
climate.py
config_flow.py
const.py
cover.py Bump zwave-js-server-python to 0.30.0 (#55831) 2021-09-06 13:37:12 -07:00
device_condition.py
device_trigger.py
discovery.py Handle entity creation on new added zwave_js value (#55987) 2021-09-10 23:49:31 +02:00
discovery_data_template.py Bump zwave-js-server-python to 0.30.0 (#55831) 2021-09-06 13:37:12 -07:00
entity.py
fan.py
helpers.py
light.py
lock.py
manifest.json Bump zwave-js-server-python to 0.30.0 (#55831) 2021-09-06 13:37:12 -07:00
migrate.py
number.py
select.py
sensor.py Fix state class for zwave_js energy entities (#56026) 2021-09-09 16:19:28 -04:00
services.py
services.yaml
siren.py
strings.json
switch.py Bump zwave-js-server-python to 0.30.0 (#55831) 2021-09-06 13:37:12 -07:00
trigger.py

README.md

Z-Wave JS Architecture

This document describes the architecture of Z-Wave JS in Home Assistant and how the integration is connected all the way to the Z-Wave USB stick controller.

Architecture

Connection diagram

alt text

Z-Wave USB stick

Communicates with devices via the Z-Wave radio and stores device pairing.

Z-Wave JS

Represents the USB stick serial protocol as devices.

Z-Wave JS Server

Forward the state of Z-Wave JS over a WebSocket connection.

Z-Wave JS Server Python

Consumes the WebSocket connection and makes the Z-Wave JS state available in Python.

Z-Wave JS integration

Represents Z-Wave devices in Home Assistant and allows control.

Home Assistant

Best home automation platform in the world.

Running Z-Wave JS Server

alt text

Z-Wave JS Server can be run as a standalone Node app.

It can also run as part of Z-Wave JS 2 MQTT, which is also a standalone Node app.

Both apps are available as Home Assistant add-ons. There are also Docker containers etc.