add support for Nuki 3.0 SmartLock

This commit is contained in:
Marko Oldenburg 2021-11-26 09:47:31 +01:00
parent a612cdf1e4
commit 897105af79
2 changed files with 4 additions and 1 deletions

View File

@ -75,6 +75,8 @@ sub Initialize {
}
1;
=pod

View File

@ -547,7 +547,8 @@ sub CreateUri {
{
$uri .= '&action=' . $lockActionsSmartLock{$param}
if ( $endpoint ne 'callback/add'
&& $deviceType == 0 );
&& ( $deviceType == 0
|| deviceType == 4 ) );
$uri .= '&action=' . $lockActionsOpener{$param}
if ( $endpoint ne 'callback/add'