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
Martin Hjelmare
df0125abdd
Patch Z-Wave platforms in api tests ( #140988 )
2025-03-20 12:54:40 +01: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
Erik Montnemery
78337a6846
Disable zwave_js testing resetting the controller ( #138595 )
...
* Improve zwave_js test of resetting the controller
* Disable the test
2025-02-15 20:16:07 +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
29b48d02de
Bump zwave-js-server-python to 0.60.0 ( #132059 )
2024-12-02 13:21:54 +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
Martin Hjelmare
0a99c1c633
Bump zwave-js-server-python to 0.58.1 ( #127114 )
...
* Bump zwave-js-server-python to 0.58.1
* Update tests
2024-09-30 18:35:14 +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
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
epenet
0b2aac8f4c
Use registry fixtures in tests (z) ( #118300 )
2024-05-28 18:25:49 +02:00
Raman Gupta
61b906e29f
Bump zwave-js-server-python to 0.56.0 ( #117288 )
...
* Bump zwave-js-server-python to 0.56.0
* Fix deprecation warning
* Fix tests
---------
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2024-05-12 22:19:47 -04:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Marc Mueller
87165c0d6e
Add empty line after module docstring [tests t-z] ( #112712 )
2024-03-08 14:44:56 +01:00
kpine
be8af7bea3
Fix zwave_js set_config_parameter WS api regression ( #109042 )
2024-01-29 18:04:05 +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
5afba6327c
Bump zwave-js-server-python to 0.51.1 ( #99652 )
...
* Bump zwave-js-server-python to 0.51.1
* Update test
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-09-05 09:58:32 -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
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
872cd47e87
Add proper support for zwave_js Indicator CC ( #90248 )
...
* Add proper support for zwave_js Indicator CC
* remove stale test
* Make all indicators diagnostic
* only set entity category if it is specified
* Only set properties from discovery if specified
* Conditionally set assumed state as well
* fix const name
* Don't create task
* Disable property keys 3-5 by default
* add additional dispatcher_connects so we catch all signals
* be consistent about order
* rename new discovery parameter
* comment
* exclude property keys 3-5
* fix remove logic
* add comment so I don't forget
* Switch entity category to config where necessary
* cut line
* less lines
* Update homeassistant/components/zwave_js/switch.py
Co-authored-by: kpine <keith.pine@gmail.com>
* Move async_remove to respond to interview started event
* Set up listener immediately so we don't wait for platform creation
* remove dupe import
* black
* append
---------
Co-authored-by: kpine <keith.pine@gmail.com>
2023-05-24 09:09:38 -04:00
Raman Gupta
c11a3881af
Bump zwave-js-server-python to 0.47.0 ( #90212 )
2023-03-27 12:25:04 +02:00
epenet
a0f725dfcb
Add type hints to tests ( #89497 )
2023-03-10 12:06:50 +01: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
epenet
1128041899
Add type hints to integration tests (zwave_js) ( #88311 )
2023-02-18 14:59:26 +01:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +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
86cef27e1c
Rename zwave_js ws API command ( #87336 )
2023-02-03 15:26:20 -05:00
Raman Gupta
8d1a70391e
Improve zwave_js test coverage ( #83372 )
...
* Improve zwave_js test coverage
* review comments and clean up test
2022-12-06 12:18:21 -07:00