From 8008acc34c94a931d0931896478f22197c45652b Mon Sep 17 00:00:00 2001 From: Christoph Weitkamp Date: Fri, 3 Dec 2021 14:22:30 +0100 Subject: [PATCH 1/2] Added pattern for DateTime channel types Signed-off-by: Christoph Weitkamp --- .../src/main/resources/OH-INF/thing/thing-types.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/bundles/org.openhab.binding.chromecast/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.chromecast/src/main/resources/OH-INF/thing/thing-types.xml index 401cfb187ad89..74ae63f52bcc8 100644 --- a/bundles/org.openhab.binding.chromecast/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.chromecast/src/main/resources/OH-INF/thing/thing-types.xml @@ -244,7 +244,8 @@ DateTime The broadcast date of the currently playing media - + time + @@ -258,7 +259,8 @@ DateTime The creation date of the currently playing media - + time + @@ -300,7 +302,8 @@ DateTime The release date of the currently playing media - + time + From 728f8c6f3f3e5313c7974dd6be006dda52dc3a7d Mon Sep 17 00:00:00 2001 From: Christoph Weitkamp Date: Sat, 4 Dec 2021 16:19:00 +0100 Subject: [PATCH 2/2] Incorporated comments from review Signed-off-by: Christoph Weitkamp --- .../src/main/resources/OH-INF/thing/thing-types.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bundles/org.openhab.binding.chromecast/src/main/resources/OH-INF/thing/thing-types.xml b/bundles/org.openhab.binding.chromecast/src/main/resources/OH-INF/thing/thing-types.xml index 74ae63f52bcc8..5c7bbf6bf1cd0 100644 --- a/bundles/org.openhab.binding.chromecast/src/main/resources/OH-INF/thing/thing-types.xml +++ b/bundles/org.openhab.binding.chromecast/src/main/resources/OH-INF/thing/thing-types.xml @@ -244,7 +244,7 @@ DateTime The broadcast date of the currently playing media - time + Calendar @@ -259,7 +259,7 @@ DateTime The creation date of the currently playing media - time + Calendar @@ -302,7 +302,7 @@ DateTime The release date of the currently playing media - time + Calendar