Question de codage pour z-wave

Pour compléter le script précédent

$eqLogics = eqLogic::byType('openzwave');
foreach($eqLogics as $eqLogic) {
  
  $scenario->setLog($eqLogic->getLogicalId() . $eqLogic->getHumanName() . ' ' .$eqLogic->getConfiguration()['product_name']);
  if( $eqLogic->getConfiguration()['product_name'] == 'Eurotronic') {
    // équipements du type voulu
  }
}


1 « J'aime »