1
0
mirror of https://github.com/home-assistant/core.git synced 2026-02-26 04:46:08 +00:00
Files
core/tests/components
Raman Gupta dd908caeba Add zwave_js device triggers (#51968)
* Initial support for zwave_js device triggers

* lint

* Add node status changed trigger

* comments

* create helper function and simplify trigger logic

* simplify code

* fix exception

* remove unused type ignore

* switch to append to make future changes easier

* make exception consistent

* Add state config schema validation

* comment

* remove 0 from falsy check

* increase test coverage

* typos

* Add central scene and scene activation value notification triggers

* reorder things for readability and enumerate node statuses

* Add support for Basic CC value notifications

* fix schemas since additional fields on triggers aren't very flexible

* pylint

* remove extra logger statement

* fix comment

* dont use get when we know key will be available in dict

* tweak text

* use better schema for required extra fields that are ints

* rename trigger types to make them easier to parse

* fix strings

* missed renaming of one trigger type

* typo

* Fix strings

* reduce complexity

* Use Al's suggestion for strings

* add additional failure test cases

* remove errant logging statement

* make CC required

* raise vol.Invalid when value ID isn't legit to prepare for next PR

* Use helper function

* fix tests

* black
2021-07-14 14:14:36 -04:00
..
2021-06-01 15:09:23 +02:00
2021-07-14 10:45:47 +02:00
2021-06-11 15:05:57 +02:00
2021-06-02 21:25:15 +02:00
2021-06-26 15:36:45 -07:00
2021-06-11 13:35:03 +02:00
2021-06-11 13:35:03 +02:00
2021-06-11 13:35:03 +02:00
2021-07-09 07:55:26 +02:00
2021-06-11 13:35:03 +02:00
2021-04-27 13:44:59 -07:00
2021-05-02 21:52:48 -07:00
2021-06-15 20:34:05 -05:00
2021-06-11 13:35:03 +02:00
2021-05-27 15:35:17 +02:00
2021-06-28 16:59:17 +02:00
2021-05-15 20:22:32 +02:00
2021-06-20 13:38:02 +08:00
2021-06-11 13:35:03 +02:00
2021-06-11 13:35:03 +02:00
2021-06-11 13:35:03 +02:00
2021-06-27 15:06:25 -04:00
2021-06-11 13:35:03 +02:00
2021-06-24 23:16:07 +02:00
2021-06-11 13:35:03 +02:00