Skip to content

Commit

Permalink
- Fixed: Dummy, Creating a new sensor always used the same id
Browse files Browse the repository at this point in the history
  • Loading branch information
gizmocuz committed Oct 15, 2016
1 parent e7d4ca5 commit 4485790
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions History.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ Version 3.xxxx (October xx 2016)
- Fixed: Blockly, fixed extra quote when setting a user variable string value
- Fixed: Database backup is now only possible for admin users
- Fixed: Double checking command rights
- Fixed: Dummy, Creating a new sensor always used the same id
- Fixed: Dummy, when new sensor is created, Add it to the EventSystem
- Fixed: Fix Off Delay not handled for Selector switch (#538).
- Fixed: Fix On/Off delays not saved on the selector switch edit form (#532).
Expand Down
2 changes: 1 addition & 1 deletion hardware/Dummy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ namespace http {

if (result.size() > 0)
{
nid = atol(result[0][0].c_str());
nid = atol(result[0][0].c_str()) + 1;
}
nid += 82000;
char ID[40];
Expand Down

0 comments on commit 4485790

Please sign in to comment.