Commit Graph
9 Commits
Author SHA1 Message Date
mkdev11 11f451d7f2 fix: add type field to condition test objects
The processMonitorConditions function expects conditions with
type: 'expression' field. Fixed test cases to use correct format.
2026-01-06 03:57:34 +02:00
mkdev11 8b145d2522 refactor: split MQTT check() into smaller functions
Per CommanderStorm's feedback, refactor the check() method into:
- checkKeyword() - for legacy keyword matching
- checkJsonQuery() - for legacy JSONata query
- checkConditions() - for new conditions system

Also add test cases for MQTT conditions:
- Message condition with contains operator
- Topic condition with equals operator
- Condition mismatch rejection
- Multiple conditions with AND logic

This improves readability and maintainability.
2026-01-06 03:48:31 +02:00
Markus ReisenhoferandFrank Elsinga d096e2902c feat(gamedig): Update gamedig implementation to v5 (#4949)
Co-authored-by: Frank Elsinga <frank@elsinga.de>
2026-01-03 05:56:38 +00:00
Frank Elsinga 3cb3e7a8c3 add a testcase 2026-01-02 07:43:35 +01:00
Frank Elsinga cf1e17f587 fix lint 2026-01-01 17:08:36 +01:00
Frank Elsinga f426e5819a reword more of our testsuite names 2026-01-01 17:01:32 +01:00
Frank Elsinga afef0c0e61 move websokcet 2026-01-01 16:35:26 +01:00
Frank Elsinga 9abded0baf fix imports 2026-01-01 16:34:05 +01:00
Frank Elsinga b91b73a4eb move monitoring tests to better folder 2026-01-01 16:27:37 +01:00