Skip to content

Commit

Permalink
Merge branch 'homematic-community:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
etofi authored Oct 2, 2024
2 parents 71e15c3 + 71225ea commit e1d44ad
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/HmIP-RGBW.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ function HmIP_RGBW($component) {
$modalId = mt_rand();
// COMBINED_PARAMETER
if (!isset($component['color'])) $component['color'] = '#FFCC00';
if(!isset($component['button'])) {
$component['button'] = '';
}
return '<div class="hh" style=\'border-left-color: '.$component['color']. '; border-left-style: solid;\'>'
. '<!--<div data-toggle="collapse" data-target="#' . $modalId . '">-->'
. '<div class="pull-left"><img src="icon/' . $component["icon"] . '" class="icon">' . $component['name'] . '</div>'
Expand Down

0 comments on commit e1d44ad

Please sign in to comment.