2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

mqtt2.template: shelly-roller: add setStateFormat

git-svn-id: https://svn.fhem.de/fhem/trunk@18228 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Beta-User 2019-01-13 07:55:20 +00:00
parent 826ec6ff5f
commit 22f626ccd1

View File

@ -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.