%include file="/pageheader.html"/> <%! from kaithem.src import devices %>
You may want to consider creating the device in a module instead, as modules offer many extra features.