House Modes ArticlesFunctionality house_modes module subscribe(script_name[, events_filter]) unsubscribe() switch(mode_id) cancel_switch() get_current() get_modes() get_mode(mode_id) find_mode_by_name(mode_name) Objects House modes lua objects Mode Events House Modes events house_modes_switched house_mode_alarmed Values Switch status