Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
zoic21 authored Jan 22, 2024
1 parent 64135f6 commit 8c21285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/class/z2m.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1108,7 +1108,7 @@ public static function convertXYToRGB($x, $y, $bri = 255) {
/* * *********************Methode d'instance************************* */

public function preSave(){
if($this->getType() == 'action'){
if($this->getType() == 'action' && $this->getSubType() != 'color'){
if(version_compare(jeedom::version(), '4.4.2') < 0){
$logicalId = $this->getConfiguration('logicalId',$this->getLogicalId());
}else{
Expand Down

0 comments on commit 8c21285

Please sign in to comment.