2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-02 19:15:31 +00:00

mqtt2.template: bugfix in shellydw

git-svn-id: https://svn.fhem.de/fhem/trunk@22583 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Beta-User 2020-08-12 14:45:31 +00:00
parent 3cc962c5e4
commit 131927cd7d

View File

@ -2348,7 +2348,7 @@ attr DEVICE readingList shellies/DEVNAME/online:.* online\
shellies/DEVNAME/sensor/vibration:.* vibration\
shellies/DEVNAME/sensor/lux:.* lux\
shellies/DEVNAME/sensor/battery:.* batteryPercent\
shellies/DEVNAME/announce:.* { json2nameValue($EVENT) }
shellies/DEVNAME/announce:.* { json2nameValue($EVENT) }\
shellies/announce:.* { $EVENT =~ m,..id...DEVNAME...mac.*, ? json2nameValue($EVENT) : return }
attr DEVICE setList x_update:noArg shellies/DEVNAME/command update_fw\
x_mqttcom shellies/DEVNAME/command $EVTPART1