Skip to content

Commit

Permalink
HM-MOD-RPI-PCB korrigiert - alt RPI-RF-MOD-PCB
Browse files Browse the repository at this point in the history
HM-MOD-RPI-PCB korrigiert - alt RPI-RF-MOD-PCB
  • Loading branch information
christian1180 committed Jan 7, 2025
1 parent afce0b0 commit 02e9f8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
function RPI_RF_MOD_PCB($component) {
function HM_MOD_RPI_PCB($component) {
// if ($component['parent_device_interface'] == 'HmIP-RF' ) {
$modalId = mt_rand();
if (!isset($component['color'])) $component['color'] = '#00CC33';
Expand Down
2 changes: 2 additions & 0 deletions js/script.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -2776,6 +2776,8 @@
}
break;
case 'HmIP-CCU3':
case 'RPI-RF-MOD':
case 'HM-MOD-RPI-PCB':
$('[data-id="' + ise_id + '"]').html((Math.round(value * 10) / 10) + ' &percnt;');
break;
default:
Expand Down

1 comment on commit 02e9f8f

@Baxxy13
Copy link

@Baxxy13 Baxxy13 commented on 02e9f8f Jan 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wie im anderen Commit schon erwähnt, das HM-MOD-RPI-PCB wird nicht als Gerät angelegt und kann somit auch nicht ausgelesen werden.
Jeglichen Code bezogen auf das HM-MOD-RPI-PCB könnt ihr wieder entfernen.

Please sign in to comment.