diff --git a/J_ALTUI_plugins.js b/J_ALTUI_plugins.js index 105ca15..87af042 100644 --- a/J_ALTUI_plugins.js +++ b/J_ALTUI_plugins.js @@ -176,6 +176,7 @@ var ALTUI_PluginDisplays= ( function( window, undefined ) { style += ".altui-dimmable-qubino-btn { padding: 3px 0px 0px 0px; height:25px;}"; style += ".altui-dimmable-qubino-btn-img { width:100%; height:100% }"; style += ".altui-dimmable-slider { margin-left: 60px; margin-right: 70px; margin-top:5px;}"; + style += ".altui-window-slider { margin-left: 60px; margin-right: 110px; margin-top:5px;}"; style += ".altui-colorpicker { margin-top: 2px; width:30px; margin-right: 15px; }"; style += ".altui-infoviewer-log-btn,.altui-infoviewer-btn,.altui-window-btn,.altui-datamine-open { margin-top: 10px; }"; style += ".altui-infoviewer-pattern { font-size: 14px; }"; @@ -689,11 +690,12 @@ var ALTUI_PluginDisplays= ( function( window, undefined ) { html += (" ").format( (status==0) ? 'active' : '' ); html += ""; html += ""; - + html += (""+status+"% "); + html += ("
").format(device.altuiid); html += ""; - return html; }; @@ -776,8 +778,8 @@ var ALTUI_PluginDisplays= ( function( window, undefined ) { // "w,c,r,g,b" - w = warm white value, c = cool white value // "ct" - ct = color temperature value in Kelvin (integer between 2000 and 9000) - // try Target then Current - current = MultiBox.getStatus(device,'urn:micasaverde-com:serviceId:Color1','TargetColor') || MultiBox.getStatus(device,'urn:micasaverde-com:serviceId:Color1','CurrentColor'); + // try Current then Target + current = MultiBox.getStatus(device,'urn:micasaverde-com:serviceId:Color1','CurrentColor') || MultiBox.getStatus(device,'urn:micasaverde-com:serviceId:Color1','TargetColor'); if (current!=null) { var parts = current.split(","); // 0=0,1=0,2=0,3=0,4=255 // normalize the values @@ -1840,7 +1842,7 @@ var ALTUI_PluginDisplays= ( function( window, undefined ) { } html += " "+ ""; - } + } html += "