Correct Danfoss window states script
switch (Attr.val) {
- case "0":
+ case 0:
Item.val = "Quarantine";
break;
- case "1":
+ case 1:
Item.val = "Closed";
break;
- case "2":
+ case 2:
Item.val = "Hold";
break;
- case "3":
+ case 3:
Item.val = "Open";
break;
- case "4":
+ case 4:
Item.val = "Open (external), closed (internal)";
break;
}
\ No newline at end of file
