change GetCallBridgeAlive Endpoint because of a bug
https://developer.nuki.io/t/support-for-new-smart-lock-3-0-3-0-pro/12842/12?u=leongaultier
This commit is contained in:
@ -503,15 +503,7 @@ sub GetCheckBridgeAlive {
|
||||
if ( !::IsDisabled($name)
|
||||
&& $hash->{helper}->{iowrite} == 0 )
|
||||
{
|
||||
if ( $hash->{helper}->{runInfo} == 0 ) {
|
||||
Write( $hash, 'info', undef );
|
||||
$hash->{helper}->{runInfo} = 1;
|
||||
}
|
||||
else {
|
||||
Write( $hash, 'list', undef );
|
||||
$hash->{helper}->{runInfo} = 0;
|
||||
}
|
||||
|
||||
Write( $hash, 'list', undef );
|
||||
::Log3( $name, 4, "NUKIBridge ($name) - run Write" );
|
||||
}
|
||||
|
||||
@ -530,7 +522,6 @@ sub FirstRun {
|
||||
Write( $hash, 'list', undef )
|
||||
if ( !::IsDisabled($name) );
|
||||
|
||||
$hash->{helper}->{runInfo} = 0;
|
||||
::readingsSingleUpdate( $hash, 'configAuthSuccess', 'unknown', 0 )
|
||||
if ( ::ReadingsVal( $name, 'configAuthSuccess', 'none' ) eq 'none' );
|
||||
|
||||
|
Reference in New Issue
Block a user