@@ -520,7 +520,7 @@ public function AddCommand($Name, $_logicalId, $Type = 'info', $SubType = 'binar
520
520
$ Cmd ->setIsVisible ($ IsVisible );
521
521
$ Cmd ->setIsHistorized ($ IsHistorized );
522
522
if ($ invertBinary_display != null && $ SubType == 'binary ' ) {
523
- $ Cmd ->setdisplay ('invertBinary ' , 1 );
523
+ $ Cmd ->setDisplay ('invertBinary ' , 1 );
524
524
}
525
525
if ($ invertBinary_config != null ) {
526
526
$ Cmd ->setConfiguration ('invertBinary ' , 1 );
@@ -533,26 +533,26 @@ public function AddCommand($Name, $_logicalId, $Type = 'info', $SubType = 'binar
533
533
}
534
534
}
535
535
if ($ icon != null ) {
536
- $ Cmd ->setdisplay ('icon ' , '<i class=" ' . $ icon . '"></i> ' );
536
+ $ Cmd ->setDisplay ('icon ' , '<i class=" ' . $ icon . '"></i> ' );
537
537
}
538
538
if ($ forceLineB != null ) {
539
- $ Cmd ->setdisplay ('forceReturnLineBefore ' , 1 );
539
+ $ Cmd ->setDisplay ('forceReturnLineBefore ' , 1 );
540
540
}
541
541
if ($ forceLineA != null ) {
542
- $ Cmd ->setdisplay ('forceReturnLineAfter ' , 1 );
542
+ $ Cmd ->setDisplay ('forceReturnLineAfter ' , 1 );
543
543
}
544
544
if ($ _iconname != null ) {
545
- $ Cmd ->setdisplay ('showIconAndNamedashboard ' , 1 );
546
- $ Cmd ->setdisplay ('showIconAndNamemobile ' , 1 );
547
- //$Cmd->setdisplay ('title_disable', true);
545
+ $ Cmd ->setDisplay ('showIconAndNamedashboard ' , 1 );
546
+ $ Cmd ->setDisplay ('showIconAndNamemobile ' , 1 );
547
+ //$Cmd->setDisplay ('title_disable', true);
548
548
}
549
549
if ($ _display_parameters != null ) {
550
- $ Cmd ->setdisplay ('parameters ' , $ _display_parameters );
550
+ $ Cmd ->setDisplay ('parameters ' , $ _display_parameters );
551
551
$ Cmd ->save ();
552
552
}
553
553
if ($ _noiconname != null ) {
554
- $ Cmd ->setdisplay ('showNameOndashboard ' , 0 );
555
- $ Cmd ->setdisplay ('showNameOnmobile ' , 0 );
554
+ $ Cmd ->setDisplay ('showNameOndashboard ' , 0 );
555
+ $ Cmd ->setDisplay ('showNameOnmobile ' , 0 );
556
556
}
557
557
if ($ _calculValueOffset != null ) {
558
558
$ Cmd ->setConfiguration ('calculValueOffset ' , $ _calculValueOffset );
@@ -586,7 +586,7 @@ public function AddCommand($Name, $_logicalId, $Type = 'info', $SubType = 'binar
586
586
if ($ invertBinary_config != null && $ SubType == 'binary ' ) { //Correction pour prise en compte fonction Core
587
587
log::add ('Freebox_OS ' , 'debug ' , '| ───▶︎ Application Correctif pour prendre en compte fonction Core pour la commande : ' . $ Name . ' - Type de sensor : ' . $ _home_config_eq );
588
588
$ Cmd ->setConfiguration ('invertBinary ' , $ invertBinary_config );
589
- $ Cmd ->setdisplay ('invertBinary ' , $ invertBinary_display );
589
+ $ Cmd ->setDisplay ('invertBinary ' , $ invertBinary_display );
590
590
}
591
591
$ Cmd ->setConfiguration ('info ' , $ _home_config_eq );
592
592
}
@@ -683,7 +683,7 @@ public function AddCommand($Name, $_logicalId, $Type = 'info', $SubType = 'binar
683
683
// Mise à jour des noms de la commande pour le Wifi en cas de changement de box
684
684
if ($ forceIcone_widget == true ) {
685
685
if ($ icon != null ) {
686
- $ Cmd ->setdisplay ('icon ' , '<i class=" ' . $ icon . '"></i> ' );
686
+ $ Cmd ->setDisplay ('icon ' , '<i class=" ' . $ icon . '"></i> ' );
687
687
}
688
688
if ($ Template != null ) {
689
689
$ Cmd ->setTemplate ('dashboard ' , $ Template );
@@ -692,14 +692,14 @@ public function AddCommand($Name, $_logicalId, $Type = 'info', $SubType = 'binar
692
692
$ Cmd ->setIsVisible ($ IsVisible );
693
693
694
694
if ($ forceLineB != null ) {
695
- $ Cmd ->setdisplay ('forceReturnLineBefore ' , 1 );
695
+ $ Cmd ->setDisplay ('forceReturnLineBefore ' , 1 );
696
696
}
697
697
if ($ forceLineA != null ) {
698
- $ Cmd ->setdisplay ('forceReturnLineAfter ' , 1 );
698
+ $ Cmd ->setDisplay ('forceReturnLineAfter ' , 1 );
699
699
}
700
700
701
701
if ($ _iconname != null ) {
702
- $ Cmd ->setdisplay ('showIconAndNamedashboard ' , 1 );
702
+ $ Cmd ->setDisplay ('showIconAndNamedashboard ' , 1 );
703
703
}
704
704
}
705
705
if ($ listValue != null ) {
0 commit comments