hass-core/homeassistant/components/zwave_js
Raman Gupta 8cc0b41daf
Fix zwave_js update entity (#78116)
* Test zwave_js update entity progress

* Block until firmware update is done

* Update homeassistant/components/zwave_js/update.py

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

* revert params

* unsub finished event listener

* fix tests

* Add test for returned failure

* refactor a little

* rename

* Remove unnecessary controller logic for mocking

* Clear event when resetting

* Comments

* readability

* Fix test

* Fix test

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-09-09 22:10:56 +02:00
..
docs
translations [ci skip] Translation update 2022-09-07 00:27:56 +00:00
triggers Use TriggerActionType [w-z] (#76814) 2022-08-15 20:15:57 +02:00
__init__.py Fix zwave_js device re-interview (#78046) 2022-09-08 20:15:27 +02:00
addon.py Fix zwave_js addon info (#76044) 2022-08-03 22:33:05 +02:00
api.py Bump zwave-js-server-python to 0.41.0 (#76903) 2022-08-27 21:27:41 -04:00
binary_sensor.py Use CO Device Class Instead of Gas in zwave_js (#75649) 2022-07-23 13:24:34 +02:00
button.py Fix device info for zwave_js device entities (#77821) 2022-09-05 12:15:14 +02:00
climate.py Use _attr_precision in entities (#77477) 2022-08-29 22:02:29 +02:00
config_flow.py Fix zwave_js default emulate hardware in options flow (#78024) 2022-09-08 10:59:40 +02:00
config_validation.py
const.py Increase rate limit for zwave_js updates 2022-09-08 12:53:30 -04:00
cover.py
device_action.py
device_automation_helpers.py
device_condition.py Remove callback decorator from coroutine functions (#75626) 2022-07-22 19:09:02 +02:00
device_trigger.py Use TriggerActionType [w-z] (#76814) 2022-08-15 20:15:57 +02:00
diagnostics.py Add value ID to zwave_js device diagnostics (#78015) 2022-09-08 09:13:01 +02:00
discovery.py Add zwave_js speed configuration for Leviton ZW4SF fans (#60677) 2022-09-09 22:06:01 +02:00
discovery_data_template.py
entity.py Fix zwave_js device re-interview (#78046) 2022-09-08 20:15:27 +02:00
fan.py
helpers.py Fix device info for zwave_js device entities (#77821) 2022-09-05 12:15:14 +02:00
humidifier.py Use platform constants from root (#78032) 2022-09-08 12:24:45 +02:00
light.py
lock.py
logbook.py Use platform constants from root (#78032) 2022-09-08 12:24:45 +02:00
manifest.json Bump zwave-js-server-python to 0.41.1 (#77915) 2022-09-07 07:28:47 +02:00
migrate.py
number.py
README.md
select.py Improve type hints in zwave_js select entity (#76449) 2022-08-08 14:55:23 +02:00
sensor.py Fix device info for zwave_js device entities (#77821) 2022-09-05 12:15:14 +02:00
services.py
services.yaml
siren.py Use platform constants from root (#78032) 2022-09-08 12:24:45 +02:00
strings.json
switch.py
trigger.py Use TriggerActionType [w-z] (#76814) 2022-08-15 20:15:57 +02:00
update.py Fix zwave_js update entity (#78116) 2022-09-09 22:10:56 +02:00

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.