Commit Graph

10 Commits (afae2534328fcc9acfe24bee480c8b7c7b323fce)

Author SHA1 Message Date
Charles Garwood 3c35b6558b
Return states list from zwave_js get_config_parameters websocket if available () 2021-02-23 09:31:47 -05:00
Raman Gupta 1cecf229b9
Add zwave_js set_config_parameter WS API command ()
* add WS API command

* handle error scenario better

* fixes and remove duplicate catch

* make elif statement more compact

* fix conflict

* switch to str(err)
2021-02-22 20:34:47 -05:00
Raman Gupta 20ccec9aab
Add zwave_js/get_log_config and zwave_js/update_log_config WS API commands ()
* Add zwave_js.update_log_config service

* fix comment

* reduce lines

* move update_log_config from service to ws API call

* fix docstring

* Add zwave_js/get_log_config WS API command

* resolve stale comments

* remove transports since it will be removed from upstream PR

* add support to update all log config parameters since they could be useful outside of the UI for advanced users

* fix comment

* switch to lambda instead of single line validator

* fix rebase

* re-add ATTR_DOMAIN
2021-02-22 18:35:19 -05:00
Charles Garwood 04e07d8b2c
Add get_config_parameters websocket command to zwave_js ()
* Add get_configuration_values websocket command to zwave_js

* Tweak return value

* Review comments and cleanup returned values

* Update test

* Rename to get_config_parameters

* Add get_configuration_values websocket command to zwave_js

* Rename to get_config_parameters

* fix test

* fix tests 

* Add readable to metadata

Co-authored-by: Raman Gupta <7243222+raman325@users.noreply.github.com>
2021-02-22 17:03:38 -05:00
Raman Gupta 47dcd2bf32
Format zwave_js dump as json () 2021-02-19 18:44:15 -05:00
tkdrob a5a45f29e2
Cleanup unused loggers () 2021-02-14 13:46:58 +01:00
Paulus Schoutsen 40ba182144
Upgrade Z-Wave JS Python to 0.17.0 () 2021-02-03 11:58:46 +01:00
Marcel van der Veldt 8bcb4092df
Fix removing nodes in zwave_js integration () 2021-01-28 23:45:36 +01:00
Martin Hjelmare 122a4e03f8
Bump zwave-js-server-python to 0.14.1 () 2021-01-27 11:17:47 +01:00
Paulus Schoutsen b9a525a9a7
Add an HTTP view to dump the Z-Wave JS state ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-01-26 10:27:20 +01:00