fix FRM_PWM_Set restoreOnReconnect
git-svn-id: https://svn.fhem.de/fhem/trunk@4060 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -40,7 +40,7 @@ FRM_PWM_Init($$)
|
||||
}
|
||||
my $value = ReadingsVal($name,"value",undef);
|
||||
if (defined $value and AttrVal($hash->{NAME},"restoreOnReconnect","on") eq "on") {
|
||||
FRM_OUT_Set($hash,$value);
|
||||
FRM_PWM_Set($hash,$name,$value);
|
||||
}
|
||||
main::readingsSingleUpdate($hash,"state","Initialized",1);
|
||||
return undef;
|
||||
|
||||
Reference in New Issue
Block a user