From 3fd7e30b189fc46174df53aacefcaf74f64223c2 Mon Sep 17 00:00:00 2001
From: Otto123 <>
Date: Thu, 20 May 2021 12:48:41 +0000
Subject: [PATCH] mqtt2.template:Bugfix filter rockrobo RE
git-svn-id: https://svn.fhem.de/fhem/trunk@24478 2b470e98-0d58-463d-a4d8-8e2adae1ed80
---
fhem/FHEM/lib/AttrTemplate/mqtt2.template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fhem/FHEM/lib/AttrTemplate/mqtt2.template b/fhem/FHEM/lib/AttrTemplate/mqtt2.template
index d110d73a1..d0f2b5e64 100644
--- a/fhem/FHEM/lib/AttrTemplate/mqtt2.template
+++ b/fhem/FHEM/lib/AttrTemplate/mqtt2.template
@@ -4167,7 +4167,7 @@ setreading DEVICE attrTemplateVersion 20200522 or prior
# The rockrobo device for valetudo RE
name:roborockRE
-filter:TYPE=MQTT2_DEVICE:FILTER=readingList=.*valetudo[/].*
+filter:TYPE=MQTT2_DEVICE:FILTER=readingList=.*\/valetudo.*
desc:use this for a rooted Xiamoni Vacuum / Roborock with valetudo RE installed. For details visit https://github.com/rand256/valetudo/wiki
NOTE: Only tested with Gen1, Forum Board MQTT
order:X_03a
par:BASE_TOPIC; is typically valetudo; {(split '/',ReadingsVal("DEVICE",'subscriptions','valetudo/rockrobo'))[0]}