Skip to content

Commit

Permalink
Merge pull request #10 from JEALG/beta
Browse files Browse the repository at this point in the history
Ajout type de générique pour le capteur de fumée
  • Loading branch information
zoic21 authored Jan 9, 2024
2 parents c02fe3c + 3fa41f0 commit c2d14cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/config/devices/NSD.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"name": "Fumée",
"type": "info",
"subtype": "binary",
"generic_type": "SMOKE",
"isVisible": 1,
"isHistorized": 0,
"logicalId": "smoke",
Expand Down
1 change: 1 addition & 0 deletions desktop/js/netatmo.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ function addCmdToTable(_cmd) {
tr += '<td>';
tr += '<label class="checkbox-inline"><input type="checkbox" class="cmdAttr" data-l1key="isVisible" checked/>{{Afficher}}</label> '
tr += '<label class="checkbox-inline"><input type="checkbox" class="cmdAttr" data-l1key="isHistorized" checked/>{{Historiser}}</label> '
tr += '<label class="checkbox-inline"><input type="checkbox" class="cmdAttr" data-l1key="display" data-l2key="invertBinary"/>{{Inverser}}</label> '
tr += '<div style="margin-top:7px;">'
tr += '<input class="tooltips cmdAttr form-control input-sm" data-l1key="configuration" data-l2key="minValue" placeholder="{{Min}}" title="{{Min}}" style="width:30%;max-width:80px;display:inline-block;margin-right:2px;">'
tr += '<input class="tooltips cmdAttr form-control input-sm" data-l1key="configuration" data-l2key="maxValue" placeholder="{{Max}}" title="{{Max}}" style="width:30%;max-width:80px;display:inline-block;margin-right:2px;">'
Expand Down

0 comments on commit c2d14cc

Please sign in to comment.