From 22f626ccd15af96712760089d75562e7c47f7051 Mon Sep 17 00:00:00 2001 From: Beta-User <> Date: Sun, 13 Jan 2019 07:55:20 +0000 Subject: [PATCH] mqtt2.template: shelly-roller: add setStateFormat git-svn-id: https://svn.fhem.de/fhem/trunk@18228 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/lib/AttrTemplate/mqtt2.template | 1 + 1 file changed, 1 insertion(+) diff --git a/fhem/FHEM/lib/AttrTemplate/mqtt2.template b/fhem/FHEM/lib/AttrTemplate/mqtt2.template index 162ea03c0..2fd5344d1 100644 --- a/fhem/FHEM/lib/AttrTemplate/mqtt2.template +++ b/fhem/FHEM/lib/AttrTemplate/mqtt2.template @@ -370,6 +370,7 @@ attr DEVICE readingList shellies/DEVNAME/roller/0/pos:.* pct\ shellies/DEVNAME/announce:.* { json2nameValue($EVENT, '', $JSONMAP) } attr DEVICE devStateIcon 0:fts_shutter_100 100:fts_shutter_10 9\d.*:fts_shutter_10 8\d.*:fts_shutter_20 7\d.*:fts_shutter_30 6\d.*:fts_shutter_40 5\d.*:fts_shutter_50 4\d.*:fts_shutter_60 3\d.*:fts_shutter_70 2\d.*:fts_shutter_80 1\d.*:fts_shutter_90 0\d.*:fts_shutter_100 attr DEVICE stateFormat pct +attr DEVICE setStateList open close stop attr DEVICE model A_11b_shelly2_roller # shelly2 using original firmware.