Skip to content

Commit

Permalink
v1.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
FredBardin committed Sep 19, 2023
1 parent bcc7597 commit a223def
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions histo.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
v1.8.1 - 19/09/2023 :
- Color Temperature Light with ct=0 (if not used for a long time) does not generate an error anymore
v1.8 - 14/02/2021 :
- Sensor name can now be updated when selected in 'Rules' tab
v1.7.4 - 06/01/2021 :
Expand Down
4 changes: 2 additions & 2 deletions include/about.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
<SCRIPT language="javascript">
$('#detail').hide("slide");
</SCRIPT>
<DIV ID=about>phpMyHue 1.7.4<BR>
&copy; <A HREF="mailto:bardin.frederic@gmail.com" CLASS=about>F. Bardin</A> 04-2015/01-2021<BR>
<DIV ID=about>phpMyHue 1.8.1<BR>
&copy; <A HREF="mailto:bardin.frederic@gmail.com" CLASS=about>F. Bardin</A> 04-2015/09-2023<BR>
<small>
<?php echo $trs['Bridge_IP']?> : <?php echo $bridgeip?><BR>
<SPAN CLASS=aligntxt><?php echo $trs['Current_language']?> : </SPAN>
Expand Down
6 changes: 5 additions & 1 deletion include/huecolor.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,11 @@ function display_light($lnum){
break;
case "Color temperature light" :
$colortype = "ct";
$rgbcolor = CTToRGB($lstate['ct'],$lstate['bri']);
if ($lstate['ct'] == 0){
$rgbcolor = 0;
} else {
$rgbcolor = CTToRGB($lstate['ct'],$lstate['bri']);
}
break;
default :
$colortype = "rgb";
Expand Down

0 comments on commit a223def

Please sign in to comment.