mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
mqtt2.template: bugfix in shelly plus 1
git-svn-id: https://svn.fhem.de/fhem/trunk@25780 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e03f411f50
commit
2e44e7ed43
@ -3431,7 +3431,7 @@ attr DEVICE readingList $\DEVICETOPIC/online:.* online\
|
||||
$\DEVICETOPIC/status/sys:.* { json2nameValue($EVENT, 'sys_', $JSONMAP) }\
|
||||
$\DEVICETOPIC/status/switch_0:.* { $EVENT =~ s/"output":true/"state":"on"/g; $EVENT =~ s/"output":false/"state":"off"/g; json2nameValue($EVENT, 'switch_', $JSONMAP) }\
|
||||
$\DEVICETOPIC/status/cloud:.* {}\
|
||||
$\DEVICETOPIC/rpc:.* { json2nameValue($EVENT, 'req_', $JSONMAP, 'in_mode')\
|
||||
$\DEVICETOPIC/rpc:.* { json2nameValue($EVENT, 'req_', $JSONMAP, 'in_mode')}\
|
||||
$\DEVICETOPIC/status/input_0:.* { json2nameValue($EVENT, 'input_', $JSONMAP) }\
|
||||
fhem2shelly/rpc:.* {}
|
||||
attr DEVICE getList in_mode:noArg in_mode $\DEVICETOPIC/rpc {"id": 1,"src":"$\DEVICETOPIC", "method": "Switch.GetConfig", "params": {"id": 0}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user