Skip to content

Commit

Permalink
Update version to 1.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
RWensveen committed Jul 14, 2018
1 parent 28c35a3 commit bd1fa75
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "com.broadlink",
"version": "1.3.3",
"version": "1.3.4",
"compatibility": ">=1.5.0",
"sdk": 2,
"name": {
Expand All @@ -14,7 +14,8 @@
"nl": "Voegt ondersteuning voor Broadlink apparaten toe."
},
"category": [
"appliances"
"appliances",
"lights"
],
"permissions": ["homey:manager:api"],
"images": {
Expand Down
3 changes: 2 additions & 1 deletion lib/DataStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ class DataStore {

let fileName = '/userdata/' + this.storeName + '.json';
let data = JSON.stringify( this.dataArray );

fs.writeFile( fileName, data,
function( err ) {
if( err ) {
Expand Down Expand Up @@ -116,6 +116,7 @@ class DataStore {
let arr = JSON.parse(data);

for( var i =0; i < arr.length; i++ ) {

let elem = {
name: arr[i].name,
cmd : new Uint8Array( Object.values(arr[i].cmd) )
Expand Down

0 comments on commit bd1fa75

Please sign in to comment.