fix state disable problem, see Forum #1106857

This commit is contained in:
Marko Oldenburg 2021-01-04 14:57:08 +01:00
parent 6c715e9b5d
commit bdf9052535
2 changed files with 3 additions and 3 deletions

View File

@ -1,2 +1,2 @@
UPD 2020-11-09_13:01:44 6262 FHEM/98_backupToStorage.pm
UPD 2020-11-09_13:35:28 19356 lib/FHEM/backupToStorage.pm
UPD 2021-01-04_14:37:28 6262 FHEM/98_backupToStorage.pm
UPD 2021-01-04_14:53:20 19356 lib/FHEM/backupToStorage.pm

View File

@ -371,7 +371,7 @@ sub _CheckIsDisabledAfterSetAttr {
my $name = $hash->{NAME};
my $state = ( IsDisabled($name)
? 'disabled'
? 'inactive'
: 'ready' );
Log3( $name, 3, qq{backupToStorage ($name) - _CheckIsDisabledAfterSetAttr} );