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
Raman Gupta
86cef27e1c
Rename zwave_js ws API command ( #87336 )
2023-02-03 15:26:20 -05:00
Raman Gupta
c715534821
Bump zwave-js-server-python to 0.45.0 ( #86771 )
2023-01-30 14:27:37 -05:00
epenet
5442d6af01
Improve msg type hint in websocket commands ( #80530 )
2022-10-18 16:41:17 +02:00
Raman Gupta
27413cee19
Bump zwave_js lib to 0.43.0 and fix multi-file firmware updates ( #79342 )
2022-10-04 10:40:49 -04:00
Raman Gupta
3884b4b6bf
Bump zwave-js-server-python to 0.42.0 ( #79020 )
2022-09-28 21:24:04 -04:00
epenet
13f250319d
Import websocket api constants from root ( #78250 )
2022-09-12 22:07:58 -04:00
Raman Gupta
eab0ff5185
Bump zwave-js-server-python to 0.41.0 ( #76903 )
2022-08-27 21:27:41 -04:00
Raman Gupta
4aa6300b8b
Update zwave_js WS API names ( #75797 )
2022-07-27 23:42:17 +02:00
Raman Gupta
3a8748bc93
Bump zwave-js-server-python to 0.40.0 ( #75795 )
2022-07-27 18:01:00 +02:00
Raman Gupta
768e53ac2d
Add zwave_js/get_any_firmware_update_progress WS cmd ( #73905 )
2022-06-23 20:13:37 -04:00
Raman Gupta
e53372f559
Add zwave_js/get_firmware_update_progress
WS command ( #73304 )
...
Add zwave_js/get_firmware_update_progress WS command
2022-06-19 15:33:58 -04:00
Raman Gupta
bb5a6a7104
Add zwave_js/get_firmware_update_capabilties
WS command ( #73691 )
...
* Add zwave_js/get_firmware_update_capabilties WS command
* Fix test
2022-06-19 14:50:47 -04:00
Raman Gupta
801ba6ff8e
Add target option to zwave_js firmware upload view ( #73690 )
2022-06-19 14:50:05 -04:00
Raman Gupta
7714183118
Add zwave_js/subscribe_node_status
WS API cmd ( #73249 )
...
* Add zwave_js/subscribe_node_status WS API cmd
* add ready to event
2022-06-19 10:09:26 -04:00
Raman Gupta
63b51f566d
Fix zwave_js add node schemas ( #73343 )
...
* Fix zwave_js add node schemas
* Code cleanup
* Add test
2022-06-11 02:13:50 -04:00
Raman Gupta
7980e3f406
Tweak zwave_js firmware upload view ( #73202 )
...
Small tweaks to zwave_js firmware upload view
2022-06-08 08:10:48 +02:00
Raman Gupta
394442e8a9
Use device_id for zwave_js/replace_failed_node command ( #72785 )
2022-06-01 06:42:07 +02:00
Raman Gupta
5fdc694325
Bump zwave-js-server-python to 0.37.1 ( #72731 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-30 22:05:09 -07:00
Raman Gupta
5e52b11050
Add additional data to zwave_js device statistics WS API ( #72520 )
...
* Add additional data to zwave_js device statistics WS API
* Rename variables
* fix logic
* correct typehint
* Update homeassistant/components/zwave_js/api.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* black
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-26 19:21:50 -04:00
Marc Mueller
48cc3638fa
Cleanup unused function return values ( #72512 )
2022-05-26 13:17:08 +02:00
Raman Gupta
fe3fa0ae17
Bump zwave-js-server-python to 0.37.0 ( #72395 )
2022-05-25 10:46:55 -07:00
Raman Gupta
9b40de18cd
Allow zwave_js/network_status WS API to accept device or entry ID ( #72205 )
...
* Allow zwave_js/network_status WS API to accept device or entry ID
* Fix based on upstream feedback
* Fixt ests
* Fixes
2022-05-25 12:49:04 -04:00
Martin Hjelmare
f9f87c607e
Clean zwave_js api typing ( #72484 )
...
* Clean zwave_js api typing
* Add temporary type ignore
2022-05-25 12:35:54 -04:00
Raman Gupta
352b7e86af
Move zwave_js node metadata comments to separate WS API cmd ( #71513 )
...
* Move zwave_js node metadata comments to separate WS API cmd
* fix pr
2022-05-24 22:11:43 -04:00
Martin Hjelmare
c4ca106379
Clean zwave_js api driver access ( #72419 )
2022-05-24 17:16:58 -04:00
Raman Gupta
5f7594268a
Switch zwave_js firmware upload view to use device ID ( #72219 )
...
* Switch zwave_js firmware upload view to use device ID
* Store device registry in view
2022-05-20 01:50:13 -04:00