diff --git a/themes/ccchh/assets/js/roomstate.js b/themes/ccchh/assets/js/roomstate.js index 7f78c7a..8aa829a 100644 --- a/themes/ccchh/assets/js/roomstate.js +++ b/themes/ccchh/assets/js/roomstate.js @@ -44,10 +44,6 @@ function updateRoomState(openState, lastChangeTimestamp) { function parseResponse(apiJson) { console.debug('SpaceAPI got:', apiJson) - if (typeof apiJson.api === "undefined") { - console.error("SpaceAPI JSON invalid: 'api' item not present") - return [null, null] - } if (typeof apiJson.state === "undefined") { console.error("SpaceAPI JSON invalid: 'state' item not present") return [null, null]