updated my dashticz
Posted: Monday 27 April 2020 15:48
Hi, i updated my dashticz to the latest version, and i get a error
cannot read property value of undefined.
The kw usage of my 2103_1 is displayed when i delete the below function.
When i activate the function i get an error as described...
cannot read property value of undefined.
The kw usage of my 2103_1 is displayed when i delete the below function.
When i activate the function i get an error as described...
Code: Select all
function getStatus_2103_1(idx,value,device)
{
if (parseFloat(device.value) >2)
{
blocks['2103_1']['title'] = 'Wasmachine Aan';
blocks['2103_1']['icon'] = 'fas fa-thermometer-full';
}
else {
blocks['2103_1']['title'] = 'Wasmachine Uit';
blocks['2103_1']['icon'] = 'fas fa-thermometer-half';
}
}