From 6da7defddf2321ca1b819e01f54fd43b7775a091 Mon Sep 17 00:00:00 2001 From: Christoph Weitkamp Date: Sat, 4 Dec 2021 14:50:13 +0100 Subject: [PATCH] Added pattern for DateTime channel types (#11681) Signed-off-by: Christoph Weitkamp --- .../main/resources/OH-INF/thing/channels.xml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/bundles/org.openhab.binding.logreader/src/main/resources/OH-INF/thing/channels.xml b/bundles/org.openhab.binding.logreader/src/main/resources/OH-INF/thing/channels.xml index 4b9db8aa39768..6cc27f0185da0 100644 --- a/bundles/org.openhab.binding.logreader/src/main/resources/OH-INF/thing/channels.xml +++ b/bundles/org.openhab.binding.logreader/src/main/resources/OH-INF/thing/channels.xml @@ -8,62 +8,60 @@ String Displays contents of last [ERROR] event - + String Displays contents of last [WARN] event - + String Displays contents of last custom event - + Number Displays number of [WARN] lines matched to search pattern + Number Displays number of [ERROR] lines matched to search pattern + Number Displays number of custom lines matched to search pattern + DateTime Last time when log rotated recognized - + Time + trigger Fires when a new [ERROR] appears in the log - - trigger Fires when a new [WARN] appears in the log - - trigger Fires when a new [CUSTOM] appears in the log - -