async def METHOD_NAME(self):
    if await fhem.checkIfDeviceExists(
        self.hash, "TYPE", "weblink", "NAME", "esphome_dashboard"
    ):
        return
    hostname = socket.gethostname()
    local_ip = socket.gethostbyname(hostname)
    await fhem.CommandDefine(
        self.hash, "esphome_dashboard weblink iframe http://" + local_ip + ":6052/"
    )
    await fhem.CommandAttr(
        self.hash,
        (
            "esphome_dashboard htmlattr width='900' height='700' "
            "frameborder='0' marginheight='0' marginwidth='0'"
        ),
    )
    await fhem.CommandAttr(self.hash, "esphome_dashboard room ESPHome")