From 69ca7a3bde691d5bc7bfb95062c1ddea57c2da65 Mon Sep 17 00:00:00 2001 From: lokonli Date: Sat, 11 Jan 2020 16:51:25 +0100 Subject: [PATCH] TwenteMilieu garbage collection --- docs/releasenotes/releasenotes.rst | 1 + js/garbage.js | 3 +++ 2 files changed, 4 insertions(+) diff --git a/docs/releasenotes/releasenotes.rst b/docs/releasenotes/releasenotes.rst index 72f07de1..35c0843d 100644 --- a/docs/releasenotes/releasenotes.rst +++ b/docs/releasenotes/releasenotes.rst @@ -11,6 +11,7 @@ Fixes * Multiple stationclocks * Background fill complete screen in case of single screen * Add dimmer for RGBWWZ devices + * TwenteMilieu garbage collection 3.3.0 Beta (5-1-2020) --------------------- diff --git a/js/garbage.js b/js/garbage.js index 81e41680..633a13e2 100644 --- a/js/garbage.js +++ b/js/garbage.js @@ -88,6 +88,7 @@ function getIcalData(address, date, random, url) { } function getWasteApiData(address, date, random, companyCode) { + $.post('https://wasteapi.2go-mobile.com/api/FetchAdress', { 'companyCode': companyCode, 'postCode': address.zipcode, @@ -113,6 +114,8 @@ function getWasteApiData(address, date, random, companyCode) { 'NOTAVAILABLE2': 'Kerstbomen', 'NOTAVAILABLE3': 'Restgoed', 'PACKAGES': 'Verpakkingen', + 'TREE': 'Kerstbomen', + 'PAPER': 'Papier' }; dataFiltered.push({ date: moment(dateElement),