Skip to content

Commit

Permalink
same
Browse files Browse the repository at this point in the history
  • Loading branch information
zoic21 authored Oct 30, 2024
1 parent b698424 commit 9556f3d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion core/class/zwavejs.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,11 @@ public static function postConfig_zwavejs_mode($_value) {
}

public static function additionnalDependancyCheck() {
if(config::byKey('zwavejs::mode', 'zwavejs') == 'distant'){
$return = array();
$return['state'] = 'ok';
return $return;
}
$return = array();
$return['state'] = 'ok';
if (config::byKey('lastDependancyInstallTime', __CLASS__) == '') {
Expand All @@ -287,6 +292,11 @@ public static function additionnalDependancyCheck() {
}

public static function dependancy_info() {
if(config::byKey('zwavejs::mode', 'zwavejs') == 'distant'){
$return = array();
$return['state'] = 'ok';
return $return;
}
$return = array();
$return['progress_file'] = jeedom::getTmpFolder(__CLASS__) . '/dependance';
$return['state'] = 'ok';
Expand All @@ -305,7 +315,7 @@ public static function deamon_info() {
$return['launchable'] = 'ok';
$return['state'] = 'ok';
return $return;
}
}
$return = array();
$return['log'] = __CLASS__;
$return['launchable'] = 'ok';
Expand Down

0 comments on commit 9556f3d

Please sign in to comment.