require "core"

local gateway = core.get_gateway()
local device = core.add_device( { gateway_id = gateway.id, ... } )