subscribe(script_name[, events_filter]) Subscribe a script for house_modes events, optionally specifying event filter rules Params Return Example Edit script_name: string events_filter: table Edit subscriber_id: string Edit local house_modes = require("house_modes") house_modes.subscribe("HUB:zwave/scripts/events_handling")