dev #9

Merged
marko merged 4 commits from dev into patch-CoolTux 2023-01-04 18:36:53 +00:00
2 changed files with 9 additions and 3 deletions
Showing only changes of commit 1659fdd270 - Show all commits

View File

@ -1,2 +1,2 @@
UPD 2023-01-04_18:24:55 16959 FHEM/70_Matrix.pm
UPD 2023-01-04_17:59:18 51844 lib/FHEM/Devices/Matrix/Client.pm
UPD 2023-01-04_18:41:07 16959 FHEM/70_Matrix.pm
UPD 2023-01-04_19:01:30 51934 lib/FHEM/Devices/Matrix/Client.pm

View File

@ -179,7 +179,10 @@ sub _Init { # wir machen daraus eine privat function (CoolTux)
# Update necessary?
Log3( $name, 1,
$name . ': Start V' . $hash->{VERSION} . ' -> V' . $VERSION )
$name
. ': Start V'
. $hash->{VERSION} . ' -> V'
. FHEM::Meta::Get( $hash, 'version' ) )
if ( $hash->{VERSION} );
return ::readingsSingleUpdate( $hash, 'state', 'please set password first',
@ -1632,6 +1635,9 @@ sub _SyncNextRequest {
my $hash = shift;
my $nextRequest = shift;
my $def;
my $value;
if ( $nextRequest eq 'sync' && $hash->{helper}->{repeat} ) {
$def = $hash->{helper}->{repeat}->{def};
$value = $hash->{helper}->{repeat}->{value};