MYSENSORS: provide sketch name and version as readings.

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@9820 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
ntruchsess
2015-11-08 11:33:28 +00:00
parent 73d8533a93
commit b62a5561cd

2
fhem/FHEM/10_MYSENSORS_DEVICE.pm Normal file → Executable file
View File

@@ -520,10 +520,12 @@ sub onInternalMessage($$) {
};
$type == I_SKETCH_NAME and do {
$hash->{$typeStr} = $msg->{payload};
readingsSingleUpdate($hash,"SKETCH_NAME",$msg->{payload},1);
last;
};
$type == I_SKETCH_VERSION and do {
$hash->{$typeStr} = $msg->{payload};
readingsSingleUpdate($hash,"SKETCH_VERSION",$msg->{payload},1);
last;
};
$type == I_REBOOT and do {