Skip to content

Commit

Permalink
Merge pull request #3611 from murrant/roomalert3e
Browse files Browse the repository at this point in the history
Draw graphs for avtech switch state.
  • Loading branch information
murrant committed Jun 7, 2016
2 parents 722df8d + b37d0f2 commit db6ccf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions includes/discovery/functions.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -781,8 +781,8 @@ function avtech_add_sensor($device, $sensor) {
//Create State Translation
if (isset($state_index_id)) {
$states = array(
array($state_index_id,'Off',0,0,-1),
array($state_index_id,'On',0,1,0),
array($state_index_id,'Off',1,0,-1),
array($state_index_id,'On',1,1,0),
);
foreach($states as $value){
$insert = array(
Expand Down

0 comments on commit db6ccf1

Please sign in to comment.