Files
core/tests/components
Raman Gupta 6db4075a23 Add OZW node config parameters websocket commands (#40527)
* add websocket commands to retrieve and set config parameters for a node

* move set_config_parameter into generic function and refactor service and WS API

* add payload to return to make service call behave the same way it did before

* create response class

* update error message to pass tests

* move things a bit to reduce LOC

* add tests

* handle logging errors better and make new response class more generic to prepare for lock user code work

* remove unused function parameter

* invert check

* add additional error checking

* refactor a bit to remove repeat code

* revert log msg change

* one more refactor to create generic get_config_parameters function

* change if logic for consistency

* fix test

* add support to provide bool value in set_config_parameter service call

* standardize parameter names on service call

* add test coverage

* fix tests and message sending

* remove unnecessary logging import

* fix one test to get missing coverage

* update per martin and kpines reviews

* remove false assertion

* string line length

* add support for Decimal config param, remove node instance ID as input, and move helper functions to node.py

* cast Decimal appropriately

* revert change to support Decimal for config params since they are not supported as a config param type

* revert to using error arguments to make next PR for WS lock commands easier

* switch to class method and add guard for list Value not being a number

* update logic to use new openzwavemqtt util methods

* add support for bitsets

* use parent exception class

* bump openzwavemqtt version, remove node.py from .coveragerc and put file references in the right place

* add comment

* improve config validation

* remove bitset support from config validation

* re-add bitset support with some additional tests

* move send_result out of try block
2020-10-05 21:47:28 +02:00
..
2020-08-27 13:56:20 +02:00
2020-07-13 17:43:11 +02:00
2020-06-08 12:26:40 -07:00
2020-09-29 11:32:42 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-06-08 12:26:40 -07:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-06-08 12:26:40 -07:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-10-04 14:27:22 +02:00
2020-08-27 13:56:20 +02:00
2020-09-15 22:38:45 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2019-07-31 12:25:30 -07:00
2020-06-08 12:26:40 -07:00
2020-06-08 12:26:40 -07:00
2020-07-22 20:21:32 -10:00
2020-06-08 12:26:40 -07:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-07-13 17:43:11 +02:00
2020-08-27 13:56:20 +02:00
2020-08-28 15:33:08 +00:00
2020-10-01 16:15:24 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-06-08 12:26:40 -07:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-10-04 15:24:07 +02:00
2020-08-19 11:33:04 +02:00
2020-02-08 13:10:59 +01:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-06-08 12:26:40 -07:00
2020-08-17 11:54:56 -05:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-10-03 15:18:05 +02:00
2020-08-27 13:56:20 +02:00
2020-07-13 17:43:11 +02:00
2020-06-08 12:26:40 -07:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2019-07-31 12:25:30 -07:00
2020-08-27 13:56:20 +02:00
2020-04-30 14:23:30 +02:00
2020-08-27 13:56:20 +02:00
2020-01-29 18:18:24 +01:00
2020-08-19 11:33:04 +02:00
2020-08-27 13:56:20 +02:00
2020-09-19 12:08:16 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-06-08 12:26:40 -07:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-01-14 13:03:02 -08:00
2020-06-08 12:26:40 -07:00
2020-08-27 13:56:20 +02:00
2020-09-04 15:13:11 -05:00
2020-06-08 12:26:40 -07:00
2020-06-08 12:26:40 -07:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-06-08 12:26:40 -07:00
2020-09-03 12:22:00 -04:00
2020-04-09 00:57:47 +02:00
2020-08-27 13:56:20 +02:00
2019-07-31 12:25:30 -07:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-06-29 09:39:24 -07:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-06-08 12:26:40 -07:00
2020-06-08 12:26:40 -07:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-06-08 12:26:40 -07:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-08-27 13:56:20 +02:00
2020-06-08 12:26:40 -07:00
2020-09-02 18:42:12 +02:00
2020-08-27 13:56:20 +02:00
2020-09-21 10:41:30 -05:00
2016-03-09 10:25:50 +01:00
2020-08-27 13:56:20 +02:00