mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 10:46:53 +00:00
36_JeeLink.pm: cleanup of model internal (by HCS)
git-svn-id: https://svn.fhem.de/fhem/trunk@14707 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e2f429083a
commit
2512b59365
@ -708,7 +708,17 @@ JeeLink_Parse($$$$)
|
||||
}
|
||||
|
||||
if($dmsg =~ m/^\[/ ) {
|
||||
if($dmsg =~ m/^\[LaCrosseITPlusReader/) {
|
||||
my $model = "";
|
||||
my $settings = "";
|
||||
($model, $settings) = split(/ /, $dmsg, 2);
|
||||
chop($settings);
|
||||
$hash->{model} = substr($model, 1);
|
||||
$hash->{settings} = $settings;
|
||||
}
|
||||
else {
|
||||
$hash->{model} = $dmsg;
|
||||
}
|
||||
|
||||
if( ReadingsVal($name,"state","" ) eq "opened" ) {
|
||||
if( my $initCommandsString = AttrVal($name, "initCommands", undef) ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user