(function(){
let w = window.innerWidth;
function setHeaderCssVar() {
const headerEle = document.getElementById('shoplaza-section-header');
if(!headerEle){ return };
document.body.style.setProperty('--window-height', `${window.innerHeight}px`);
document.body.style.setProperty('--header-height', `${headerEle.clientHeight}px`);
const mdScorllHideEle = headerEle.querySelector('.header__mobile .header__scroll_hide');
if (mdScorllHideEle) {
document.body.style.setProperty('--header-scroll-hide-height-md', `${mdScorllHideEle.clientHeight}px`);
}
const pcScorllHideEle = headerEle.querySelector('.header__desktop .header__scroll_hide');
if (pcScorllHideEle) {
document.body.style.setProperty('--header-scroll-hide-height-pc', `${pcScorllHideEle.clientHeight}px`);
}
}
function handlResize() {
if(w == window.innerWidth){return};
w = window.innerWidth;
setHeaderCssVar();
};
function init(){
setHeaderCssVar();
window.removeEventListener('resize', window._theme_header_listener)
window._theme_header_listener = handlResize;
window.addEventListener('resize', window._theme_header_listener);
}
init();
})();
${data.index + 1}/8
Beschreibung
【Features】
--[Power Statistics Function] View energy reports to properly track your home's energy usage. Find out which appliances consume the most energy and make plans to save energy and electricity bills.
--[Mini Body] We are smaller, more convenient and easy to install, we can put it directly in the switch bottom box. So you don't have to climb stairs to install the controller
--[Two ways to connect] The controller is only connected to N and L wires, not to the switch. This smart DIY switch can be used with your old 2 Gang control switch. In particular, you can still manually control the old switch after installation.
--[Voice Control] Fully compatible with Amazon Alexa and Google Home/Tmall Genie.
--[Timer function] Set the time to turn on the lights, set the cooking time...
--【Grouping function】Can turn off or on grouped devices together, more convenient --【Flame retardant material】More safe to use
--[3 restart states] default on or off, or memory state, go out without worrying about the state of the light
${isCart ? 'The items in the shopping cart do not participate in any recommendation rule. Add the participating items to your shopping cart to check the design.' : ''}
${isProduct ? 'This product did not participated in any recommendation rule. Switch to another product to check the design.' : ''}
${isCollection ? 'The items in this collection do not participate in any recommendation rule. Switch the participating items to check the design.' : ''}
${isIndex ? 'The home page do not participate in any recommendation rule.' : ''}
(This prompt would not display on client-side)