diff --git a/www/app/log/DeviceLog.js b/www/app/log/DeviceLog.js index eee4fbbaae..56c261455a 100644 --- a/www/app/log/DeviceLog.js +++ b/www/app/log/DeviceLog.js @@ -31,6 +31,10 @@ define(['app', 'log/TextLog', 'log/TemperatureLog', 'log/LightLog', 'log/GraphLo return undefined; } + if (vm.device.Type === 'Heating') { + return (vm.device.SubType != 'Zone'); + } + var isLightType = [ 'Light', 'Light/Switch', 'Color Switch', 'Chime', 'Security', 'RFY', 'ASA', 'Blinds' @@ -48,6 +52,11 @@ define(['app', 'log/TextLog', 'log/TemperatureLog', 'log/LightLog', 'log/GraphLo if (!vm.device) { return undefined; } + + if (vm.device.Type === 'Heating') { + return (vm.device.SubType === 'Zone'); + } + //This goes wrong (when we also use this log call from the weather tab), for wind sensors //as this is placed in weather and temperature, we might have to set a parameter in the url //for now, we assume it is a temperature @@ -66,4 +75,4 @@ define(['app', 'log/TextLog', 'log/TemperatureLog', 'log/LightLog', 'log/GraphLo ].includes(vm.device.SubType) } }); -}); \ No newline at end of file +});