Skip to content

Commit

Permalink
revert shoppinglist
Browse files Browse the repository at this point in the history
  • Loading branch information
Garfonso committed Dec 9, 2023
1 parent aacfa4a commit b066abf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
5 changes: 2 additions & 3 deletions lib/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -922,13 +922,12 @@ class WebServer {
entityHome.last_updated = this.systemConfig.ts;

//shoppindlist:
let entityShoppingList = entityData.entityId2Entity['todo.shoppinglist'];
/*let entityShoppingList = entityData.entityId2Entity['todo.shoppinglist'];
if (!entityShoppingList) {
entityShoppingList = {
'entity_id': 'todo.shoppinglist',
'state': 'unknown',
'attributes': {
'hidden': true,
'friendly_name': 'Shopping List',
'icon': 'mdi:cart'
},
Expand All @@ -940,7 +939,7 @@ class WebServer {
};
entityData.entities.push(entityShoppingList);
entityData.entityId2Entity[entityShoppingList.entity_id] = entityShoppingList;
}
}*/
}

/**
Expand Down
3 changes: 1 addition & 2 deletions test/integrationTests/testTools.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@ const lovelaceUpdateTimeout = 500;
*/
exports.getNumConstEntities = function () {
//zone.home
//todo.shopping_list
//alarm_control_panel.defaultAlarm
return 3;
return 2;
};

/**
Expand Down

0 comments on commit b066abf

Please sign in to comment.