Martin Hjelmare
0b1875de14
Fix Z-Wave controller hard reset ( #144389 )
2025-05-07 13:32:27 +03:00
Petar Petrov
0aaa4fa79b
Create empty Z-Wave JS device on smart start provisioning ( #140872 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-04-17 13:18:48 +02:00
Petar Petrov
3fb0290fba
Remove unused params in "zwave_js/provision_smart_start_node" API ( #140982 )
2025-03-20 10:19:26 +01:00
Petar Petrov
516aaa741d
Add Z-Wave JS lookup_device API ( #140802 )
...
* ZwaveJS lookup_device API
* add FailedCommand test
* test tweak
2025-03-18 12:05:10 +01:00
Petar Petrov
de0efd61d1
Add Z-Wave JS NVM backup and restore API ( #139233 )
...
* ZWaveJS: NVM backup and restore API
* remove unused const
* test fix
* switch to WS commands
* Backup & restore MVP
* Use base64 data directly
* update tests
* fix mistake
* Apply suggestions from code review
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* PR comments
* update tests
* more tests
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2025-03-14 15:17:23 +01:00
Petar Petrov
ae8709be21
Expose ZWaveJSsupports_long_range
to the frontend ( #140489 )
...
* Expose ZWaveJS`supports_long_range` to the frontend
* update test
2025-03-14 12:19:49 +01:00
Petar Petrov
a003f89a5e
Fix Z-WaveJS inclusion in the background ( #138717 )
...
* Fix Z-WaveJS inclusion in the background
* improve async handling
* just return the `requested_grant` to the driver
* handle controller busy state
2025-02-18 15:17:13 +01:00
epenet
b43379be7d
Standardize helpers.xxx_registry
imports ( #136688 )
...
Standardize registry imports
2025-01-28 08:48:34 +01:00
Petar Petrov
30f84f55a4
Handle Z-Wave JS S2 inclusion via Inclusion Controller ( #132073 )
...
* ZwaveJS: Handle S2 inclusion via Inclusion Controller
* improved tests
2024-12-06 09:35:48 +01:00
Petar Petrov
3a19c2f47f
Support Z-Wave JS abort S2 bootstrapping ( #132140 )
...
ZWaveJS: abort S2 bootstrapping when inclusion is canceled
2024-12-03 13:29:44 +01:00
Petar Petrov
061c19fbf8
Add Z-Wave installer_mode
yaml option ( #129888 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-11-20 12:04:29 +01:00
Petar Petrov
3eab0b704e
Get/Set custom config parameter for zwave_js node ( #129332 )
...
* Get/Set custom config parameter for zwave_js node
* add tests
* handle errors on set
* test FailedCommand
2024-11-08 15:12:18 +01:00
Robert Resch
5900413c08
Add zwave_js node_capabilities and invoke_cc_api websocket commands ( #125327 )
...
* Add zwave_js node_capabilities and invoke_cc_api websocket commands
* Map isSecure to is_secure
* Add tests
* Add error handling
* fix
* Use to_dict function
* Make response compatible with current expectations
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-11-01 00:32:01 +01:00
Petar Petrov
47bf0ebb47
Resume adding Z-Wave device if the page is refreshed ( #129081 )
...
* ZwaveJS: Resume adding a device if the page is refreshed
* add test
* address PR comments
2024-10-25 11:08:07 +02:00
Petar Petrov
106746ce58
Include Z-Wave JS lowSecurityReason in node added websocket message ( #128896 )
...
* Propagate lowSecurityReason to FE when adding a zwavejs device insecurely
* update tests
2024-10-21 14:27:04 +02:00
Marcel van der Veldt
1dd1de2636
Pass default value in Z-Wave websocket handler for configuration values ( #125343 )
...
* Pass default value in zwave websocket handler for configuration values
* Update test
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-09-19 10:07:28 +02:00
Raman Gupta
6a5c1fc613
Replace custom validator from zwave_js with from_dict
funcs ( #120279 )
2024-06-24 08:43:13 +02:00
AlCalzone
8ca0de1d20
Forward Z-Wave JS node found
event to frontend ( #118866 )
...
* forward Z-Wave `node found` event to frontend
* add tests
2024-06-12 13:48:47 +02:00
Raman Gupta
89ae425ac2
Update zwave_js WS APIs for provisioning ( #117400 )
2024-05-29 02:47:09 -04:00
Marc Mueller
25d1ca747b
Use PEP 695 for decorator typing (3) ( #117640 )
2024-05-17 16:27:32 +02:00
Raman Gupta
1f792fc2aa
Start using runtime_data for zwave_js ( #117261 )
...
* Start using runtime_data for zwave_js
* fix bug
2024-05-11 14:08:30 -04:00
Sid
b456d97e65
Replace pylint protected-access with Ruff SLF001 ( #115735 )
2024-05-06 20:33:26 +02:00
Marc Mueller
81c34ac952
Fix spelling [docstrings + comments] ( #114168 )
2024-03-25 11:33:00 +01:00
Marc Mueller
c773d57d39
Add empty line after module docstring [w-z] ( #112706 )
2024-03-08 10:35:45 -05:00
Marc Mueller
8ca127df2a
Use KEY_HASS [h-z] ( #112610 )
2024-03-07 18:03:44 +01:00
Marc Mueller
5de76c0be0
Include exception when reraising inside except ( #109706 )
2024-02-06 12:17:39 +01:00
kpine
be8af7bea3
Fix zwave_js set_config_parameter WS api regression ( #109042 )
2024-01-29 18:04:05 +01:00
Marc Mueller
c93abd9d20
Improve decorator type annotations [zwave_js] ( #104825 )
...
* Improve decorator type annotations [zwave_js]
* Improve _async_get_entry annotation
2023-12-06 16:22:32 +01:00
Raman Gupta
a074c06f92
Add alert to zwave_js device info page for custom device config ( #104115 )
2023-11-26 10:08:20 +01:00
Raman Gupta
ec3ee7f02c
Update zwave_js/hard_reset_controller WS cmd ( #102280 )
2023-10-24 21:31:03 -04:00
Raman Gupta
70a0cd579d
Add Z-Wave WS command to hard reset controller ( #101449 )
2023-10-09 13:33:31 -04:00
Raman Gupta
70e3da207a
Automatically enable/disable zwave_js server logging in lib ( #100837 )
...
* Bump zwave-js-server-python to 0.52.0
* Add WS command to enabled zwave_js server logging in lib
* enable and disable server logging automatically
* fix conditionals
* fix tests
* Add logging
* small tweaks
* Add logger as a dependency
* fix test
* Prepare for movement of event constant
* Add constant so tests pass
2023-09-27 01:17:52 -04:00
Raman Gupta
176f5dc2d6
Bump zwave-js-server-python to 0.52.0 ( #100833 )
...
* Bump zwave-js-server-python to 0.52.0
* remove old function
* fix tests
2023-09-26 17:05:54 -04:00
Raman Gupta
6e5f4566d5
Add zwave_js controller status sensor ( #99252 )
...
* Add zwave_js controller status sensor
* Also update network status command
* fix tests
* Remove WS command since we have a sensor entity
* Update sensor.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* move driver assertion out of closures
* store state in tests
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-08-30 06:50:23 -04:00
Raman Gupta
be126da72d
Bump zwave-js-server-python to 0.51.0 ( #99250 )
...
* Bump zwave-js-server-python to 0.51.0
* Fix how we patch the command
2023-08-29 02:45:43 -04:00
Robert Resch
b0f68f1ef3
Use @require_admin decorator ( #98061 )
...
Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2023-08-14 15:07:20 +02:00
Raman Gupta
5d3d66e47d
Bump zwave-js-server-python to 0.50.1 ( #94760 )
...
* Bump zwave-js-server-python to 0.50.0
* handle additional upstream changes
* Additional changes
* fix tests
* Convert two similar functions to be one function
* Fix docstring
* Remove conditional pydantic import
* Revert scope change
* Bump zwave-js-server-python
* Set default return value for command
* Remove line breaks
* Add coverage
2023-08-10 01:28:08 -04:00
Erik Montnemery
7539cf25be
Don't require passing identifiers to DeviceRegistry.async_get_device ( #96479 )
...
* Require keyword arguments to DeviceRegistry.async_get_device
* Update tests
* Update tests
* Don't enforce keyword arguments
2023-07-13 13:39:25 -04:00
Raman Gupta
4119d3198a
Support zwave config parameters not on endpoint 0 ( #93383 )
...
* Support zwave config parameters not on endpoint 0
* Update device automation logic
* Make endpoint required
* Update homeassistant/components/zwave_js/services.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update homeassistant/components/zwave_js/services.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-05-30 23:52:12 -04:00
Raman Gupta
fc78290e2f
Remove callback decorators where unneeded ( #90478 )
...
* Remove callback decorators where unneeded
* revert extra replace
2023-03-30 00:04:39 +02:00
Raman Gupta
a689ce7283
Remove unused constant ( #89071 )
2023-03-02 23:21:40 -05:00
Raman Gupta
5739782877
Add support for firmware target in zwave_js FirmwareUploadView ( #88523 )
...
* Add support for firmware target in zwave_js FirmwareUploadView
fix
* Update tests/components/zwave_js/test_api.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/zwave_js/test_api.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/zwave_js/test_api.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* Update tests/components/zwave_js/test_api.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* fix types
* Switch back to using Any
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-02-23 13:24:55 -05:00
Raman Gupta
05a7df5629
Add controller support to zwave_js/subscribe_firmware_update_status
( #87348 )
2023-02-22 12:08:57 -05:00
Raman Gupta
cab8a59be4
Add dsk option to zwave_js/add_node WS command ( #87823 )
...
* Add dsk option to zwave_js/add_node WS command
* Bump zwave-js-server-python to 0.46.0 (#88520 )
* fix tests
2023-02-22 11:53:22 -05:00
Raman Gupta
1f9f6ab1f0
Update zwave_js FirmwareUploadView to support controller updates ( #87239 )
...
* Update zwave_js FirmwareUploadView to support controller updates
* Add coverage
* Change None check to assertion
2023-02-22 11:52:00 -05:00
Raman Gupta
5683d21931
Add new zwave_js WS command to parse DSK from QR code ( #87237 )
...
* Add new zwave_js WS command to parse DSK from QR code
* remove minimum character check since it is not needed in this case
2023-02-22 11:51:40 -05:00
Raman Gupta
8722f5b42b
Bump zwave-js-server-python to 0.46.0 ( #88520 )
2023-02-21 07:15:55 +01:00
Raman Gupta
8aa64c8008
Add has_firmware_update_cc
bool to zwave_js/node_status cmd ( #87310 )
...
* Add `has_firmware_update_cc` bool to zwave_js/node_status cmd
* fix test
* Switch order of equality check
2023-02-10 00:49:09 -05:00
Raman Gupta
a2530e7f19
Add RF region property to zwave_js/network_status cmd ( #87236 )
2023-02-05 14:13:55 -05:00
Franck Nijhof
fcb612cd6f
Collection of code styling tweaks ( #87344 )
2023-02-03 23:51:27 +01:00