Commit 53890c2
authored
Add CC specific utility functions (#270)
* Add CC specific utility functions
* fix typing
* Add helper type for meter scale types
* remove unused imports
* Remove guards, we will see what happens
* remove unused type
* Raise an error when we get an invalid enum value
* Add typing
* Add artificial tests to test when ccSpecific meterType or scale are invalid values1 parent 0633cf9 commit 53890c2
File tree
6 files changed
+1466
-8
lines changed- test
- fixtures
- util
- zwave_js_server
- util
6 files changed
+1466
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
78 | 84 | | |
79 | 85 | | |
80 | 86 | | |
| |||
455 | 461 | | |
456 | 462 | | |
457 | 463 | | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
0 commit comments