mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 13:29:26 +00:00
fix minor
git-svn-id: https://svn.fhem.de/fhem/trunk@4004 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d66ebdec5f
commit
bfa4fb2313
@ -204,7 +204,8 @@ sub CUL_HM_updateConfig($){
|
|||||||
# --- set default attrubutes if missing ---
|
# --- set default attrubutes if missing ---
|
||||||
if ($hash->{helper}{role}{dev}){
|
if ($hash->{helper}{role}{dev}){
|
||||||
$attr{$name}{expert} = AttrVal($name,"expert" ,"2_full");
|
$attr{$name}{expert} = AttrVal($name,"expert" ,"2_full");
|
||||||
$attr{$name}{autoReadReg}= AttrVal($name,"autoReadReg","4_reqStatus");
|
$attr{$name}{autoReadReg}= AttrVal($name,"autoReadReg","4_reqStatus")
|
||||||
|
if(CUL_HM_getRxType($hash)&0xEB);
|
||||||
}
|
}
|
||||||
CUL_HM_Attr("attr",$name,"expert",$attr{$name}{expert});#need update after readings are available
|
CUL_HM_Attr("attr",$name,"expert",$attr{$name}{expert});#need update after readings are available
|
||||||
}
|
}
|
||||||
@ -2773,7 +2774,7 @@ sub CUL_HM_Set($@) {
|
|||||||
splice @a,2,0,substr($a[1],5);
|
splice @a,2,0,substr($a[1],5);
|
||||||
$a[3] = ($a[3] eq "off")?4.5:($a[3] eq "on"?30.5:$a[3]);
|
$a[3] = ($a[3] eq "off")?4.5:($a[3] eq "on"?30.5:$a[3]);
|
||||||
}
|
}
|
||||||
return "select one of auto,manu,party,boost,comfort,lower"
|
return "select one of auto,boost,comfort,lower of mode_manu, mode_party"
|
||||||
if ($a[2] !~ m/^(auto|manu|party|boost|comfort|lower)$/);
|
if ($a[2] !~ m/^(auto|manu|party|boost|comfort|lower)$/);
|
||||||
my ($temp,$party);
|
my ($temp,$party);
|
||||||
if ($a[2] =~ m/^(auto|boost|comfort|lower)$/){
|
if ($a[2] =~ m/^(auto|boost|comfort|lower)$/){
|
||||||
|
Loading…
Reference in New Issue
Block a user