98_weekprofile: fix log ccutype not defined (forum #1113306)
git-svn-id: https://svn.fhem.de/fhem/trunk@23404 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- bugfix: 98_weekprofile: Log ccutype not defined (forum #1113306)
|
||||
- change: Device::Firmata removed, use CPAN version (forum #114552)
|
||||
- bugfix: 10_FRM: Device::Firmata check (forum #114552 msg #1112141)
|
||||
- bugfix: 55_DWD_OpenData: forecast rotation (forum #83097 msg #1108423)
|
||||
|
||||
@@ -179,8 +179,8 @@ sub weekprofile_getDeviceType($$;$)
|
||||
}
|
||||
my $model = $devHash->{ccutype};
|
||||
if (!defined($model)) {
|
||||
Log3 $me, 2, "$me(getDeviceType): ccutype not defined - take HM-xxx (HMCCU_HM)";
|
||||
$model = "HM-xxx";
|
||||
Log3 $me, 4, "$me(getDeviceType): ccutype not defined";
|
||||
return undef;
|
||||
}
|
||||
Log3 $me, 5, "$me(getDeviceType): $devHash->{NAME}, $model";
|
||||
$type = "HMCCU_IP" if ( $model =~ m/HmIP.*/ );
|
||||
|
||||
Reference in New Issue
Block a user