def include(macro, environ, pagename=None, *args, **kwargs):

    if pagename is None:
        return None

    db = environ["db"]
    page = db.get(pagename, None)

    if page is not None:
        environ["page.name"] = pagename

        return environ["parser"].generate(page, environ=environ)
Return the name of the device if any.
dataset/ETHPy150Open circuits/circuits/examples/web/wiki/macros/include.py/include--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/switch/hikvisioncam.py/HikvisionMotionSwitch.name