Skip to content

Commit

Permalink
Update jeephilipsHue.php
Browse files Browse the repository at this point in the history
  • Loading branch information
zoic21 authored Oct 16, 2023
1 parent cf54eea commit 5b44bf8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/php/jeephilipsHue.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,8 @@
philipsHue::syncState($i);
continue;
}
philipsHue::syncState($i, json_decode($datas, true)[0]);
$datas_decode = json_decode($datas, true);
foreach($datas_decode as $data){
philipsHue::syncState($i, $data);
}
}

0 comments on commit 5b44bf8

Please sign in to comment.