Fix css bulb reference

This commit is contained in:
Robert Strouse 2023-10-11 09:22:01 -07:00
parent 47eeeaecac
commit e3c35e7a31
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View file

@ -2881,8 +2881,6 @@ class Somfy {
flipPosition = false; flipPosition = false;
flipCommands = false; flipCommands = false;
break; break;
default: default:
if (ico.classList.contains('icss-window-blind')) ico.classList.remove('icss-window-blind'); if (ico.classList.contains('icss-window-blind')) ico.classList.remove('icss-window-blind');
if (ico.classList.contains('icss-awning')) ico.classList.remove('icss-awning'); if (ico.classList.contains('icss-awning')) ico.classList.remove('icss-awning');
@ -2892,8 +2890,10 @@ class Somfy {
if (!ico.classList.contains('icss-window-shade')) ico.classList.add('icss-window-shade'); if (!ico.classList.contains('icss-window-shade')) ico.classList.add('icss-window-shade');
if (ico.classList.contains('icss-garage')) ico.classList.remove('icss-garage'); if (ico.classList.contains('icss-garage')) ico.classList.remove('icss-garage');
if (ico.classList.contains('icss-shutter')) ico.classList.remove('icss-shutter'); if (ico.classList.contains('icss-shutter')) ico.classList.remove('icss-shutter');
if (ico.classList.contains('icss-lightbulb')) ico.classList.remove('icss-lightbulb');
document.getElementById('divTiltSettings').style.display = 'none'; document.getElementById('divTiltSettings').style.display = 'none';
tilt = false; tilt = false;
light = false;
break; break;
} }
document.getElementById('fldTiltTime').parentElement.style.display = tilt ? 'inline-block' : 'none'; document.getElementById('fldTiltTime').parentElement.style.display = tilt ? 'inline-block' : 'none';